[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 - adding vehicle and keeping serverside

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Wed Jun 18, 2025 9:15 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 29 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: Sat Oct 08, 2005 8:55 pm 
Offline

Joined: Mon Sep 12, 2005 12:00 am
Posts: 31
I think i understand, instead of adding the ah-6 to the objectemplate, i replace a object in the objectspawntemplate and then add another object with the objectpawn name in the objecttemplate.con. Thats starting to make sense. I was looking at some other maps as reference and was just getting confused, I will give it a go. thanks for everyones help.


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Sun Oct 09, 2005 1:35 am 
Offline

Joined: Mon Sep 12, 2005 12:00 am
Posts: 31
I know you guys think im retarded but I cant make any heli's spawn in. I have gotten the dpv, stinger and vss to appear but nothing i try will get the heli to spawn in. I am working with guadelcanel TDM. I wanted the mh-6 to spawn in but no luck at all using the same methods given on earlier replies. Is there a diferent name for it? I am in need of some example or exact code to go by.


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Sun Oct 09, 2005 2:45 am 
Offline

Joined: Tue May 17, 2005 12:00 am
Posts: 325
Location: Bay Area, Cali
post the changes you used to try spawing a helo (post all of the ost.con). from that we will see the errors.


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Sun Oct 09, 2005 9:35 am 
Offline

Joined: Wed May 04, 2005 12:00 am
Posts: 546
This is 1 way of doing it:
Find this existing spawner (or any other) and change ObjectTemplate.setObjectTemplate 2 so it's like this:

ObjectTemplate.create ObjectSpawner UH-60spawner
ObjectTemplate.setObjectTemplate 2 MH-6
ObjectTemplate.setObjectTemplate 1 Mi8
ObjectTemplate.MinSpawnDelay 40
ObjectTemplate.MaxSpawnDelay 70
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10

For that spawner it will change all UH-60L's to MH-6's.

Another way:

Find this spawner in objectspawn templates and add the blue line to it:

ObjectTemplate.create ObjectSpawner UH-60spawner
ObjectTemplate.setObjectTemplate 3 MH-6
ObjectTemplate.setObjectTemplate 2 UH-60L
ObjectTemplate.setObjectTemplate 1 Mi8
ObjectTemplate.MinSpawnDelay 40
ObjectTemplate.MaxSpawnDelay 70
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10

Add this to objectspawns (change position and rotation coordinates for your own):

Object.create UH-60spawner
Object.absolutePosition 90/90/90
Object.rotation 0/0/0
Object.setTeam 3

Doing it this way will mean only the MH-6 will spawn no matter who controls the outpost. It will also spawn at a neutral outpost.

_________________
CTF for BF2:
http://desert-conflict.org/


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Tue Oct 11, 2005 7:08 pm 
Offline

Joined: Mon Sep 12, 2005 12:00 am
Posts: 31


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Tue Oct 11, 2005 9:02 pm 
Offline

Joined: Wed May 04, 2005 12:00 am
Posts: 546

_________________
CTF for BF2:
http://desert-conflict.org/


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Wed Oct 12, 2005 12:12 am 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 12, 2005 1:09 am 
Offline

Joined: Tue May 17, 2005 12:00 am
Posts: 325
Location: Bay Area, Cali
Image

Its a Soviet car. Most of Iraqy weapons came from the Soviet (HIND, AK47, Tanks, Stinger, Rpg, etc...)

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

All times are UTC


Who is online

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