[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 - spawning kits

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Wed Jun 05, 2024 4:29 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: spawning kits
PostPosted: Sun Aug 10, 2008 9:27 am 
Offline

Joined: Tue Apr 29, 2008 12:04 pm
Posts: 135
object spawns

Object.create WillySpawner
Object.absolutePosition 832/32/1957
Object.rotation -179.545/0.620431/1.52588e-005
Object.setOSId 3

object spawn templates

ObjectTemplate.create ObjectSpawner Willyspawner
ObjectTemplate.setObjectTemplate 1 US_Medic
ObjectTemplate.setObjectTemplate 2 Jap_Engineer
ObjectTemplate.setObjectTemplate 3 UK_Scout
ObjectTemplate.setObjectTemplate 4 Rus_Assault
ObjectTemplate.setObjectTemplate 5 German_Medic
ObjectTemplate.setObjectTemplate 6 USMarine_Engineer
ObjectTemplate.MaxSpawnDelay 0
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10
ObjectTemplate.maxNrOfObjectSpawned 4

can anyone tell me why this isnt working?

_________________
My BF1942 Server's Homepage
BF1942 Servers Name Modded Omaha
BF1942 Servers IP 212.187.208.16


Top
 Profile Send private message E-mail  
 
 Post subject: Re: spawning kits
PostPosted: Sun Aug 10, 2008 9:44 am 
Offline

Joined: Sat Feb 09, 2008 5:10 pm
Posts: 43
ObjectTemplate.create ObjectSpawner Willyspawner
ObjectTemplate.setObjectTemplate 1 US_Medic
ObjectTemplate.setObjectTemplate 2 Jap_Engineer
ObjectTemplate.setObjectTemplate 3 UK_Scout
ObjectTemplate.setObjectTemplate 4 Rus_Assault
ObjectTemplate.setObjectTemplate 5 German_Medic
ObjectTemplate.setObjectTemplate 6 USMarine_Engineer
ObjectTemplate.MaxSpawnDelay 0
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10
ObjectTemplate.maxNrOfObjectSpawned 4

Hmm..after USMarine_engineer, it should say: MinSpawndelay 4 (number can be optional but not 0)
Also your MaxSpawndelay is wrong, the number has to be over 0 but I suggest having it on 3-6
(If you like quick spawners)..
UK_Scout doesnt sound familiar. Try GB_Scout


Top
 Profile Send private message E-mail  
 
 Post subject: Re: spawning kits
PostPosted: Sun Aug 10, 2008 10:08 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
Yes.
You didn't read tutorial very well.
activate, not create.

And I don't get what sondre is speaking about.
Doesn't make sence to me.
Nothing wrong with that part at all.
There's something wrong with damaged when lost, Y you didn't say something about that?
Kit has no hitpoints, so how can it lose 10 per sec?
Rem that line out.

_________________
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: Re: spawning kits
PostPosted: Sun Aug 10, 2008 10:16 am 
Offline
User avatar

Joined: Thu Oct 19, 2006 5:03 am
Posts: 1209
Use setteam.

_________________
Image

Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: spawning kits
PostPosted: Sun Aug 10, 2008 4:50 pm 
Offline
User avatar

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


Top
 Profile Send private message E-mail  
 
 Post subject: Re: spawning kits
PostPosted: Mon Aug 11, 2008 4:53 pm 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
And you can have a spawn delay of 0. I use it all the time.

_________________
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.  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 161 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:
cron
Powered by phpBB® Forum Software © phpBB Group