[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
https://battlefieldmodding.com/ssm/phpBB3/

Weapon that shoots vehicle as projectile
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=5276
Page 2 of 3

Author:  dbrown7080 [ Thu Oct 01, 2009 6:41 pm ]
Post subject:  Re: Weapon that shoots vehicle as projectile

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.

Author:  [TKO]Twist [ Thu Oct 01, 2009 7:25 pm ]
Post subject:  Re: Weapon that shoots vehicle as projectile

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.

Author:  Datoneer [ Thu Oct 01, 2009 7:52 pm ]
Post subject:  Re: Weapon that shoots vehicle as projectile


Author:  dbrown7080 [ Thu Oct 01, 2009 8:14 pm ]
Post subject:  Re: Weapon that shoots vehicle as projectile

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.

Author:  freddy [ Thu Oct 01, 2009 10:11 pm ]
Post subject:  Re: Weapon that shoots vehicle as projectile


Author:  Apache Thunder [ Fri Oct 02, 2009 12:44 am ]
Post subject:  Re: Weapon that shoots vehicle as projectile

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. ;)

Author:  dbrown7080 [ Fri Oct 02, 2009 3:08 pm ]
Post subject:  Re: Weapon that shoots vehicle as projectile

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.

Author:  [TKO]Twist [ Fri Oct 02, 2009 4:51 pm ]
Post subject:  Re: Weapon that shoots vehicle as projectile

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

Page 2 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/