[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/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/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 - making planes heal faster over either healing hangers

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 7:14 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Mar 24, 2008 9:15 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
You're close...

You don't need to add it to a spawner in OST.con, so you can remove that part. Also, if you made up the "airplanerepairpointspawner", you will get a crash to desktop.

Just spawn the repairthingy in os.con, like you have at the bottom.

C'mon now...to make it heal faster/reload faster...you posted the code already! You active'd the allied and axis spawner, and you can see they have the line "setHealth"...there's your answer...and, to tweak weapon resupply, change the 2nd number under "addVehicletype"


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Mar 24, 2008 10:08 pm 
Offline

Joined: Sat Nov 03, 2007 10:25 pm
Posts: 104
ok now heres da deal i added this to my os.con
now the planes at the us base r getting ammo fast and healing the way i want it
the planes at the iraqi base are doing the same now if i fly a us plane over to the iraqi hanger to heal and get ammo i get nothing same with if i fly a iraqi plane over to us base i get nothing am i missing something here?


rem * ************************************************
rem * Airplane Supply Depots
rem * ************************************************

ObjectTemplate.Active AlliedAirplaneSupplyDepot
ObjectTemplate.radius 35
ObjectTemplate.setHealth 0 2 0
ObjectTemplate.addAmmoType 10 -1 100 0
ObjectTemplate.addAmmoType 9 -1 4 0
ObjectTemplate.addAmmoType 8 -1 100 0
ObjectTemplate.addAmmoType 7 -1 4 0
ObjectTemplate.addVehicleType Mirage -1 100 0
ObjectTemplate.addVehicleType Mig29 -1 100 0
ObjectTemplate.addVehicleType F16 -1 100 0
ObjectTemplate.addVehicleType AV-8C -1 100 0
ObjectTemplate.addVehicleType F-15C -1 100 0
ObjectTemplate.addVehicleType su-25 -1 100 0
ObjectTemplate.addVehicleType A10_C -1 100 0


ObjectTemplate.Active AxisAirplaneSupplyDepot
ObjectTemplate.radius 35
ObjectTemplate.setHealth 0 2 0
ObjectTemplate.addAmmoType 10 -1 100 0
ObjectTemplate.addAmmoType 9 -1 4 0
ObjectTemplate.addAmmoType 8 -1 100 0
ObjectTemplate.addAmmoType 7 -1 4 0
ObjectTemplate.addVehicleType Mirage -1 100 0
ObjectTemplate.addVehicleType Mig29 -1 100 0
ObjectTemplate.addVehicleType F16 -1 100 0
ObjectTemplate.addVehicleType AV-8C -1 100 0
ObjectTemplate.addVehicleType F-15C -1 100 0
ObjectTemplate.addVehicleType su-25 -1 100 0
ObjectTemplate.addVehicleType A10_C -1 100 0


rem
rem *** ***
rem
rem *** repairs all air vehicles ***
Object.create AirplaneRepairpoint
Object.absolutePosition 1500.76/53.090/805.892
Object.rotation 0/0/0
Object.setTeam 11



rem
rem *** ***
rem
rem *** repairs all air vehicles ***
Object.create AirplaneRepairpoint
Object.absolutePosition 331.912/52.9394/1351.0
Object.rotation 0/0/0
Object.setTeam 4


Last edited by convict0 on Mon Mar 24, 2008 10:20 pm, edited 2 times in total.

Top
 Profile Send private message E-mail  
 
PostPosted: Mon Mar 24, 2008 10:11 pm 
Offline

Joined: Thu Jan 18, 2007 6:59 am
Posts: 76


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Mar 24, 2008 10:12 pm 
Offline

Joined: Sat Nov 03, 2007 10:25 pm
Posts: 104
i done that i coordinate them on top of the hanger and im getting healing really slow also i need ammo 2


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Mar 24, 2008 10:21 pm 
Offline

Joined: Thu Jan 18, 2007 6:59 am
Posts: 76


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Mar 24, 2008 11:14 pm 
Offline

Joined: Sat Nov 03, 2007 10:25 pm
Posts: 104
ok now i have my healing at both runways i added this code down both runways now i need ammo also down the runways and i need it to get healing and ammo quick so if this code is for healing whats the code for ammo

rem *** repairs all air vehicles ***
Object.create AirplaneRepairpoint
Object.absolutePosition 258.809/41.1976/1403.2
Object.rotation 0/0/0



rem *** repairs all air vehicles ***
Object.create AirplaneRepairpoint
Object.absolutePosition 295.177/41.2000/1197.1
Object.rotation 0/0/0


rem *** repairs all air vehicles ***
Object.create AirplaneRepairpoint
Object.absolutePosition 297.906/41.2000/1163.9
Object.rotation 0/0/0


rem *** repairs all air vehicles ***
Object.create AirplaneRepairpoint
Object.absolutePosition 299.276/41.1929/1118.4
Object.rotation 0/0/0

rem *** repairs all air vehicles ***
Object.create AirplaneRepairpoint
Object.absolutePosition 296.525/41.1882/1050.4
Object.rotation 0/0/0


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Mar 25, 2008 12:30 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
Dude...I have the most patience of anyone I know...and I'm starting to get frustrated, lol.

Everything you need has BEEN POSTED already. LOOK at tekk's post above yours.


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Mar 25, 2008 12:39 am 
Offline

Joined: Sat Nov 03, 2007 10:25 pm
Posts: 104
thanx tekk and all who helped i finally got it :lol:


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.  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 37 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