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

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Thu Apr 25, 2024 9:05 pm

All times are UTC




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

Joined: Tue Sep 22, 2009 4:29 pm
Posts: 10
I would like to have one of the weapons in a kit shoot out a DPV. I have done this before by accident (I made a plane drop a whole scud truck instead of just the scud projectile) but it was a long time ago and i cant figure out how i did it. When i try to make the land mines shoot a DesertPatrolVehicle it crashes the server soon as its fired. Any ideas? Is it because of the weapon type?


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Oct 01, 2009 4:53 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
viewtopic.php?f=3&t=4098&hilit=+shoot+vehicle


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

Joined: Tue Sep 22, 2009 4:29 pm
Posts: 10
That didnt work. I changed my aagunspawner to DesertPatrolVehicle in the CTF object spawn template then i added

rem dpv landmine
ObjectTemplate.Active LandmineProjectile
ObjectTemplate.addTemplate aagunspawner
ObjectTemplate.Active aagunspawner
ObjectTemplate.team 2

ObjectTemplate.Active LandmineProjectile
ObjectTemplate.addTemplate aagunspawner
ObjectTemplate.Active aagunspawner
ObjectTemplate.team 1

to the bottom of the object spawn template and nothing changed. It still throws land mines.


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

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


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

Joined: Tue Sep 22, 2009 4:29 pm
Posts: 10
when i put that in it doesnt throw anything


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

Joined: Tue Sep 22, 2009 4:29 pm
Posts: 10
Ok i got it working but you have to move out of the way before the dpv will drop. is there any way of adjusting where it drops the dpv?


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

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
Velocity of the projectile is always how I did it, but you might be able to manage it with some sort of position offset, although I am unsure on how that would apply. It's been a while since I did anything like this.


Top
 Profile  
 
PostPosted: Thu Oct 01, 2009 6:09 pm 
Offline
User avatar

Joined: Fri Oct 03, 2008 4:37 pm
Posts: 513
Location: Levelland, Texas

_________________
ImageImage
I have cameras in your head!


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 1, 2, 3  Next

All times are UTC


Who is online

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