[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 - Spawn vehicles with a weapon, is it possible?

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Mon May 13, 2024 9:02 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 41 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: Fri Jul 13, 2007 2:00 am 
Offline

Joined: Fri Jul 13, 2007 1:58 am
Posts: 8
Firstly, This site is a god send for me, been modding BFV recently, great to see so many ideas are soultions to my issues.

Now, my problem, I want to try and spawn vehicles using a weapon, I just cant figure out the code. The tutorial for 1942 is helpful in its theory but not the execution. So is it possible to do so? and if so how?


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 2:48 am 
Offline

Joined: Mon May 28, 2007 4:08 am
Posts: 166
i have an idea here. dont yell at me i have no clue what im talking about here probly.

maybe you could make the weapon fire the vehicle?
or maybe you could make the weapon shoot a spawner that spawns the vehicle?

id go with the first one, and remove speed damage.

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 2:57 am 
Offline

Joined: Fri Jul 13, 2007 1:58 am
Posts: 8
Tried having the cosair projectile be the JeepSpawner, then following the tutorial code had it spawn the basic jeep, and it resulting in the bombs disappearing from the racks(as if theyve droped) but no object being spawned. The more I read the tutorial the more Im thinking its not possible.


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 5:53 am 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
The ability to spawn something by shooting a weapon comes from the fact that in Desert Combat, a mod for BF1942, there was an object that existed that when it was "shot" it actually "shot" a spawner. This was something already on client's computers, so it worked server-side.

Now, BFV might have something similar... any destroyable objects? Things like that sometimes work.


Top
 Profile  
 
PostPosted: Fri Jul 13, 2007 7:02 am 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253
maybe this can help? viewtopic.php?f=9&t=2691
dunno if it works with BFV tho.


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 6:49 pm 
Offline

Joined: Fri Jul 13, 2007 1:58 am
Posts: 8


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 7:04 pm 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
TowerSpawner are normal spawners but without Object.setOSId
It has Object.setteam instead.
You can do that to any vehicle.
On some maps it's done to Quad50 becouse of lazy patchers.
Look into mortars, there you have your solution I think.
They spawn spawners when shooting.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 7:16 pm 
Offline

Joined: Fri Jul 13, 2007 1:58 am
Posts: 8


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.  [ 41 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

All times are UTC


Who is online

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