Author |
Message |
Forum: Battlefield Vietnam Topic: Spawn vehicles with a weapon, is it possible? |
Artoo |
Posted: Fri Jul 13, 2007 2:00 am
|
|
Replies: 40 Views: 16562
|
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... |
|
|
Forum: Battlefield Vietnam Topic: Spawn vehicles with a weapon, is it possible? |
Artoo |
Posted: Fri Jul 13, 2007 2:57 am
|
|
Replies: 40 Views: 16562
|
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. |
|
|
Forum: Battlefield Vietnam Topic: Spawn vehicles with a weapon, is it possible? |
Artoo |
Posted: Fri Jul 13, 2007 6:49 pm
|
|
Replies: 40 Views: 16562
|
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... |
|
|
Forum: Battlefield Vietnam Topic: Spawn vehicles with a weapon, is it possible? |
Artoo |
Posted: Fri Jul 13, 2007 7:16 pm
|
|
Replies: 40 Views: 16562
|
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. I did indeed check the Mo... |
|
|
Forum: Battlefield Vietnam Topic: Spawn vehicles with a weapon, is it possible? |
Artoo |
Posted: Fri Jul 13, 2007 7:39 pm
|
|
Replies: 40 Views: 16562
|
Tried a quick mod, instead on deploying the mortar i switched it the the OH-6, all it did was do the animation and nothing appeared, obviously more to it then im aware, but ill keep working on it, thanks though. |
|
|
Forum: Battlefield Vietnam Topic: Spawn vehicles with a weapon, is it possible? |
Artoo |
Posted: Sat Jul 14, 2007 2:38 am
|
|
Replies: 40 Views: 16562
|
YES! Finally got it to work with the Mortars, turns out the code Bob posted is exactly what you need to do, only thing i did wrong is i didnt have the placement values set correctly, spawned the item under the ground instead of above, hence I didnt see anything. Thanks for all you helps guys, great... |
|
|
Forum: Battlefield Vietnam Topic: Flamethrower on a cobra. please help! |
Artoo |
Posted: Sun Jul 15, 2007 2:26 am
|
|
Replies: 6 Views: 3962
|
Which flame code are you using? If your using the zippo one, it has a pretty good range, as for following the gunners view, you would need to put it as the ammo for the gun(not missle) and it should fire from the turret and follow the gunners crosshair. |
|
|
Forum: Battlefield Vietnam Topic: Spawn vehicles with a weapon, is it possible? |
Artoo |
Posted: Fri Jul 13, 2007 8:26 pm
|
|
Replies: 40 Views: 16562
|
Tried several different things, but havent gotten anywhere, the coding for spawning is something I dont quite understand, heres the code mabye someone can work something out of it, everything ive tried has failed. Code for had weapon USmortar ObjectTemplate.create HandFireArms USMortar ObjectTemplat... |
|
|
Sort by: |