[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 - exploding planes

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Fri May 10, 2024 3:03 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 23 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: exploding planes
PostPosted: Mon Jun 01, 2009 3:30 am 
Offline

Joined: Tue May 05, 2009 4:10 am
Posts: 110
Location: Philthadelphia Pa, US OF FARGIN A
Hey guys
I added this post as a single topic because there were no replies to the other 'add on'
I placed 2 stangs in my allied base on Battle of the Bulge
They dont touch anything or bounce
However they smoke, flame and blowup eventually
They respawn quickly but id sure like to avoid the exploding stang thing lol!
code:
-----------------------------------
spawn template code:
-----------------------------

ObjectTemplate.create ObjectSpawner DiveBomberSpawner
ObjectTemplate.setObjectTemplate 2 mustang
ObjectTemplate.setObjectTemplate 1 stuka
ObjectTemplate.MinSpawnDelay 40
ObjectTemplate.MaxSpawnDelay 80
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10


ObjectTemplate.create ObjectSpawner FighterSpawner
ObjectTemplate.setObjectTemplate 2 mustang
ObjectTemplate.setObjectTemplate 1 bf109
ObjectTemplate.MinSpawnDelay 40
ObjectTemplate.MaxSpawnDelay 80
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10
---------------------------------------
Object code:
---------------------------------------
rem *** Add Mustang 1 Allied Base ***
Object.create FighterSpawner
Object.absolutePosition 706.23/22.23/203
Object.rotation 50/9.66/0
Object.setTeam 2
rem
rem
rem *** Add Mustang 2 Allied Base ***
Object.create FighterSpawner
Object.absolutePosition 730.23/22.23/203
Object.rotation 10/9.66/0
Object.setTeam 2
rem
-------------------------------------------
I have a Stuka and a bf109 on the Axis with no explosive attitude.
These are outside the base

Thoughts pls?
Thanks guys ;-)

_________________
Image
Its all about gaming and having fun
f the hackers and whiners
Its for fun already
Pull up a chair and have 1 on me


Top
 Profile Send private message E-mail  
 
 Post subject: Re: exploding planes
PostPosted: Mon Jun 01, 2009 3:34 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
Strange. I'll add the code to a 'clean' bulge and see what I get.


Top
 Profile Send private message E-mail  
 
 Post subject: Re: exploding planes
PostPosted: Mon Jun 01, 2009 3:34 am 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
The best I can think of is that the timeToLive part is being activated. What happens is that once the vehicle is "Distance" away from its spawn location and "TimeToLive" has passed, and the vehicle is unoccupied, the plane will start to take critical damage, which means is starts to lose health and die. This is a good thing normally, since when people abandon jeeps or tanks in the middle of nowhere, they will eventually die and respawn after the respawn time has passed.

However, it seems like your spawns here are activating for no reason. One way to solve this is to set distance to 999 or timeToLive to 9999. However, then they will not have the behavior I described earlier. With planes, this is less of an issue, because rarely do the planes survive while sitting out in the middle of nowhere, people either bail out and let it crash, or they just get killed.

If that doesn't fix it, then something else is wrong.


Top
 Profile  
 
 Post subject: Re: exploding planes
PostPosted: Mon Jun 01, 2009 3:55 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027


Top
 Profile Send private message E-mail  
 
 Post subject: Re: exploding planes
PostPosted: Wed Jun 03, 2009 2:55 am 
Offline

Joined: Tue May 05, 2009 4:10 am
Posts: 110
Location: Philthadelphia Pa, US OF FARGIN A
thanks guys
Ummm team 3? lol another discussion.... :lol:

_________________
Image
Its all about gaming and having fun
f the hackers and whiners
Its for fun already
Pull up a chair and have 1 on me


Top
 Profile Send private message E-mail  
 
 Post subject: Re: exploding planes
PostPosted: Wed Jun 03, 2009 6:19 am 
Offline
User avatar

Joined: Fri Dec 28, 2007 12:24 pm
Posts: 204
Location: The Kingdom that is United
Both planes have the same absolutePosition, you are spawning them on top of eachother, this be why they are exploding on spawn.


EDIT: No they don't.

_________________
Image


Last edited by Anarchy on Wed Jun 03, 2009 3:26 pm, edited 1 time in total.

Top
 Profile Send private message E-mail  
 
 Post subject: Re: exploding planes
PostPosted: Wed Jun 03, 2009 9:53 am 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
Dude, 706.23 =/= 730.23 :shock:

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: exploding planes
PostPosted: Wed Jun 03, 2009 3:24 pm 
Offline
User avatar

Joined: Fri Dec 28, 2007 12:24 pm
Posts: 204
Location: The Kingdom that is United
Oh my bad. Or... Oh my eyes

_________________
Image


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.  [ 23 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

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