[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/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 - Multiple Submarines

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Wed Jun 18, 2025 7:17 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: Multiple Submarines
PostPosted: Sun May 14, 2006 10:49 pm 
Offline

Joined: Fri Oct 28, 2005 12:00 am
Posts: 77
I did a search and found that to make more than one of an object I change the maxnrofobjects or whatever it is value. But when I try it for subs it doesn't work. Is it because Subs are spawn carrying items? and if so how can I make it so that when I get in a sub and sail away another will show up a few seconds later?


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Sun May 14, 2006 11:29 pm 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
To spawn multiple objects, add this to your Objects Spawn Template for that spawner:

ObjectTemplate.MaxNrOfObjectSpawned xx

To make more spawn, change the spawn time down to like 5, and when the vehicle drives off, a new one will spawn, up to that value.

The only problem with doing this, is that ships that have spawners on them will spawn you between them if there are multiple. That is why there is Fletcher and Fletcher2.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 15, 2006 2:35 am 
Offline

Joined: Fri Oct 28, 2005 12:00 am
Posts: 77
Crap. Midway is such a water filled map the only way I can think of to get people to the subs would be to put them in a set place and people can use lcvps and the like.


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Mon May 15, 2006 3:43 am 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
Well, you can spawn them if you like, but people will be placed between them. I mean that being if you place 2 subs, they will spawn on one or the other, not in the water.

I forget, if somebody is in the sub, can you still spawn on it? If not, then this might be an issue, because they will spawn in a sub, but if it's occupied they will spawn on another, etc.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 15, 2006 3:06 pm 
Offline

Joined: Fri Oct 28, 2005 12:00 am
Posts: 77
No, when someone gets in it the spawn point goes away.


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Mon May 15, 2006 8:49 pm 
Offline

Joined: Thu Jan 26, 2006 12:00 am
Posts: 47
if the spawn point disapears when someone gets in then you shouldnt have a problem, apart form you wont be able to chouse which sub to spawn on unless its the last one left, the other option is to remove the spawns completly and just sail out to the sub. If you want the spawn points removed and as your new to modding let me know and if you promise not to call me a jackass again ill work the code out for you although you may find it more rewarding to do a search on how to remove templates and work it out yourself.

_________________
<a href='http://www.clanservers.com/?ref=1594991'>
<img src='http://ads.clanservers.com/banner.php?b=8&ref=1594991'></a>


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 33 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