[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - Another Question about Repair/Supply points

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue May 21, 2024 2:33 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: Wed Aug 02, 2006 4:49 pm 
Offline

Joined: Thu Jul 06, 2006 5:30 am
Posts: 24


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Thu Aug 03, 2006 10:23 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
This code was taken from DCF.
Making the speed differant makes all objects with same name same speed. If code doesn't work for you, change the green text to whatever you find in your objects.con under repairpoints for your vehicle

So if you have another repairpoint with same name you can do this....
Slow the speed to half and ad two repairpoints where you need faster speed. I think it works with . (dots) in code, this means you can get almost any speed you like here. And when you need higher speed, ad more repair rearm points. No icon will be showed when you get repaired or getting ammo, but it works non the less. Shoot a few rounds and see for yourself.

Changed code (placed in ObjectSpawnTemplate.con)

ObjectTemplate.Active Coalition_Repairpoint
ObjectTemplate.addVehicleType AH64 -1 2 0
ObjectTemplate.addVehicleType UH-60 -1 2 0
ObjectTemplate.addVehicleType UH-60q -1 2 0
ObjectTemplate.addVehicleType UH-60l -1 2 0
ObjectTemplate.addVehicleType AV-8A -1 2 0
ObjectTemplate.addVehicleType AV-8B -1 2 0
ObjectTemplate.addVehicleType AV-8C -1 2 0
ObjectTemplate.addVehicleType AV-8H -1 2 0
ObjectTemplate.addVehicleType AV-8M -1 2 0
ObjectTemplate.addVehicleType AH-6 -1 2 0
ObjectTemplate.addVehicleType OH-6 -1 2 0
ObjectTemplate.addVehicleType MH-6 -1 2 0
ObjectTemplate.addVehicleType MH-53 -1 2 0
ObjectTemplate.addAmmoType 8 -1 5 0
ObjectTemplate.addAmmoType 7 -1 5 0
ObjectTemplate.addAmmoType 0 -1 5 0

This is original code for repair point (found in objects.con)

ObjectTemplate.create SupplyDepot Coalition_Repairpoint
ObjectTemplate.radius 40
ObjectTemplate.Team 2
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addVehicleType AH64 -1 4 0
ObjectTemplate.addVehicleType UH-60 -1 4 0
ObjectTemplate.addVehicleType UH-60q -1 4 0
ObjectTemplate.addVehicleType UH-60l -1 4 0
ObjectTemplate.addVehicleType AV-8A -1 4 0
ObjectTemplate.addVehicleType AV-8B -1 4 0
ObjectTemplate.addVehicleType AV-8C -1 4 0
ObjectTemplate.addVehicleType AV-8H -1 4 0
ObjectTemplate.addVehicleType AV-8M -1 4 0
ObjectTemplate.addVehicleType AH-6 -1 4 0
ObjectTemplate.addVehicleType OH-6 -1 4 0
ObjectTemplate.addVehicleType MH-6 -1 4 0
ObjectTemplate.addVehicleType MH-53 -1 4 0
ObjectTemplate.addAmmoType 8 -1 10 0
ObjectTemplate.addAmmoType 7 -1 10 0
ObjectTemplate.addAmmoType 0 -1 10 0
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 0

When you do SSM you have to be creative.
As you see you can change repair speed for differant vehicles aswell.
And differant speed on differant ammo when you reload.
Ad some land vehicles that can reload/rearm here aswell if you like.

I hope this helped you some more.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Thu Aug 03, 2006 4:39 pm 
Offline

Joined: Thu Jul 06, 2006 5:30 am
Posts: 24
Great, thanks
I'll try it tonight...


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Sat Aug 05, 2006 7:54 am 
Offline

Joined: Thu Jul 06, 2006 5:30 am
Posts: 24
that didn't work :(


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Tue Aug 08, 2006 12:45 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
As you can see it works.

What game are you modding and witch map?
Where do you put it?
After you told us that we can help you.

For all I know you could do ssm to a bf2 map.
Due to your first post I think your into DCF ssm.
But becouse of that it doesn't work for you I know your not DCF ssm.

Very hard to help someone that doesn't tell you what the problem is.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 233 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group