Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Spawn vehicles with a weapon, is it possible? https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=23&t=3163 |
Page 1 of 6 |
Author: | Artoo [ Fri Jul 13, 2007 2:00 am ] |
Post subject: | Spawn vehicles with a weapon, is it possible? |
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? |
Author: | Hal Moore [ Fri Jul 13, 2007 2:48 am ] |
Post subject: | Re: Spawn vehicles with a weapon, is it possible? |
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. |
Author: | Artoo [ Fri Jul 13, 2007 2:57 am ] |
Post subject: | Re: Spawn vehicles with a weapon, is it possible? |
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. |
Author: | Why Two Kay [ Fri Jul 13, 2007 5:53 am ] |
Post subject: | Re: Spawn vehicles with a weapon, is it possible? |
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. |
Author: | freddy [ Fri Jul 13, 2007 7:02 am ] |
Post subject: | Re: Spawn vehicles with a weapon, is it possible? |
maybe this can help? viewtopic.php?f=9&t=2691 dunno if it works with BFV tho. |
Author: | Artoo [ Fri Jul 13, 2007 6:49 pm ] |
Post subject: | Re: Spawn vehicles with a weapon, is it possible? |
Author: | Urglub [ Fri Jul 13, 2007 7:04 pm ] |
Post subject: | Re: Spawn vehicles with a weapon, is it possible? |
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. |
Author: | Artoo [ Fri Jul 13, 2007 7:16 pm ] |
Post subject: | Re: Spawn vehicles with a weapon, is it possible? |
Page 1 of 6 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |