Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Use Wrench to Spawn Flak https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3888 |
Page 1 of 1 |
Author: | Zoolander [ Mon Mar 03, 2008 7:56 pm ] |
Post subject: | Use Wrench to Spawn Flak |
Author: | ZOOMER [ Mon Mar 03, 2008 9:03 pm ] |
Post subject: | Re: Use Wrench to Spawn Flak |
ObjectTemplate.Active RepairPack ObjectTemplate.SetBlastAmmoCount 3000 Let us know the results server side spawning the flak_38 or ZPU_4...but I already know. ![]() |
Author: | Zoolander [ Mon Mar 03, 2008 9:13 pm ] |
Post subject: | Re: Use Wrench to Spawn Flak |
Didn't do anything different. I have to shoot a car then run up to it with wrench and fix it to spawn a flak. ObjectTemplate.fireOnce 1 Means that if i hold the fire (repair) button down, 1 flak spawns, but if i keep clicking the keep spawning. Your code didn't appear to change this. |
Author: | Losnar [ Mon Mar 03, 2008 11:09 pm ] |
Post subject: | Re: Use Wrench to Spawn Flak |
Author: | Zoolander [ Mon Mar 03, 2008 11:58 pm ] |
Post subject: | Re: Use Wrench to Spawn Flak |
Sweet, that worked perfect, thanks Losnar ![]() |
Author: | tekk [ Tue Mar 04, 2008 2:31 pm ] |
Post subject: | Re: Use Wrench to Spawn Flak |
Is it possible to tie this code to a diff engineer kit (Jap Engineer) and leave the other normal kits made for the map (Brit Engineer/German Egineer) un-effected? or do all the wrenches share the same code? |
Author: | Urglub [ Tue Mar 04, 2008 3:29 pm ] |
Post subject: | Re: Use Wrench to Spawn Flak |
Hmm ![]() Check in objects.rfa for that info. |
Author: | Zoolander [ Tue Mar 04, 2008 4:10 pm ] |
Post subject: | Re: Use Wrench to Spawn Flak |
All wrenches share the same code. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |