[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/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 - Weapon that shoots vehicle as projectile

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Thu Apr 18, 2024 4:50 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 17 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: Thu Oct 01, 2009 6:41 pm 
Offline

Joined: Tue Sep 22, 2009 4:29 pm
Posts: 10
I tried Object.absolutePosition 1/1/1 and ObjectTemplate.projectilePosition 1/1/1 and it still throws the dpv over your head so u have to move before it will spawn.


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Oct 01, 2009 7:25 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
ObjectTemplate.Active Landmine
ObjectTemplate.ProjectileTemplate aagunspawner
ObjectTemplate.projectilePosition 0/0/10

The last number is how far to the front or back, I haven't tried this, it could be -10 to get it in front of you.


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Oct 01, 2009 7:52 pm 
Offline

Joined: Mon Jan 26, 2009 5:37 pm
Posts: 28


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Oct 01, 2009 8:14 pm 
Offline

Joined: Tue Sep 22, 2009 4:29 pm
Posts: 10
LMAO OMG i change the object spawn to
ObjectTemplate.create
ObjectSpawner aagunspawner
ObjectTemplate.setObjectTemplate 2 DesertPatrolVehicle
ObjectTemplate.setObjectTemplate 1 DesertPatrolVehicle
ObjectTemplate.MinSpawnDelay 40
ObjectTemplate.MaxSpawnDelay 80
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 5
ObjectTemplate.Distance 5
ObjectTemplate.DamageWhenLost 10

and changed the projectile to

rem dpv landmine
ObjectTemplate.Active Landmine
ObjectTemplate.ProjectileTemplate aagunspawner
ObjectTemplate.Active aagunspawner
ObjectTemplate.team 1
rem Object.absolutePosition 0/0/20
rem ObjectTemplate.projectilePosition 0/0/30
ObjectTemplate.spawnOffset 0/0/20
That is hillarious. It puts the spawnpoint north of you no matter which way you are facing and even after you are long gone they still keep spawning. I had a mountain of exploding dpvs. I think im going to take the ObjectTemplate.spawnOffset 0/0/20 back out.


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Oct 01, 2009 10:11 pm 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Oct 02, 2009 12:44 am 
Offline
User avatar

Joined: Fri Oct 03, 2008 4:37 pm
Posts: 513
Location: Levelland, Texas
It's best to add the spawner on the projectile and not directly fired from the firearem. ;)

That way the spawner goes away when the projectile does. Also spawners tend to not work when on projectiles that have network info. ;)

_________________
ImageImage
I have cameras in your head!


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Oct 02, 2009 3:08 pm 
Offline

Joined: Tue Sep 22, 2009 4:29 pm
Posts: 10
When i had the ObjectTemplate.spawnOffset 0/0/20 in, it didnt go away. It just kept respawning. We had so many dpvs piling up and exploding we couldnt even use ingame chat it was lagging so bad.


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Oct 02, 2009 4:51 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
First time for you? We used it in 'nam all the time, You gotta do MaxObjects on the spawner.

add this line to the spawner
ObjectTemplate.maxNrOfObjectSpawned 1


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

All times are UTC


Who is online

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