Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Support Class (Giving Ammo to teammates) https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4092 |
Page 1 of 2 |
Author: | 100fps [ Mon Jun 09, 2008 6:53 pm ] |
Post subject: | Support Class (Giving Ammo to teammates) |
hey guys! I need so,me help, because I thought about crating a support class for BF1942 who´s able to give ammo to allied soldiers. (Like the medic gives health to soldiers nearby) I want to use the medic pack with another texture for the "mobile ammobox". I know how to create a new texture and i know how to copy the whole "medicpack files" but i dont know how to code the "mobile ammobox". IMPORTANT: The "mobile ammobox" should be a handfirearm like the medicpack and not a static object like the normal ammobox. Thanks in advance! - 100fps |
Author: | ZOOMER [ Mon Jun 09, 2008 9:16 pm ] |
Post subject: | Re: Support Class (Giving Ammo to teammates) |
Just have the engineer hold out his mortar/landmine/healthpack apparatus and reammo his teammates...and heal them. SSM! We have knive maps that heal when out. We have knive maps that have death bubbles when out. |
Author: | Iced Earth [ Mon Jun 09, 2008 10:01 pm ] |
Post subject: | Re: Support Class (Giving Ammo to teammates) |
^ Not a bad idea like zoomer said... Also, is this for DC or 1942?!? It sounds like 42 but im not sure. The easiest way would simply be to create maybe two ammo "packs"...one for allies, one for axis, and make up a supplydepot (so you don't give an enemy ammo!) ..well, now that I think about it..if you kill an enemy and pick up his kit...you won't reload yourself/teammates. lol. ![]() Just another idea.. |
Author: | dheathcote [ Mon Jun 09, 2008 10:08 pm ] |
Post subject: | Re: Support Class (Giving Ammo to teammates) |
i would personaly stick to sticking ammo boxs to the hemets much easier |
Author: | Iced Earth [ Mon Jun 09, 2008 10:11 pm ] |
Post subject: | Re: Support Class (Giving Ammo to teammates) |
no!!! adding static objects FTL! Just add supplydepots. ftw ![]() |
Author: | dheathcote [ Mon Jun 09, 2008 10:19 pm ] |
Post subject: | Re: Support Class (Giving Ammo to teammates) |
but its fun putiing on a patch and shooting at people with ammo box heads ![]() |
Author: | 100fps [ Tue Jun 10, 2008 11:09 am ] |
Post subject: | Support Class (Giving ammo to teammates) |
thanks for your answers, but i would be glad about a complete code for my "ammo pack". ObjectTemplate.create SupplyDepot hanomagSupplyDepot ObjectTemplate.radius 1.4 ObjectTemplate.team 0 ObjectTemplate.setHealth -1 4.0 0 ObjectTemplate.addAmmoType 1 -1 15 0 ObjectTemplate.addAmmoType 2 -1 1.2 0 ObjectTemplate.addAmmoType 3 -1 1.2 0 ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc This is the "invisible ammobox" of the german hanomag and i dont know how to use these values for my "mobile ammopack". My "ammo pack" should be a "handfirearm object" (not a static one like the normal ammobox) and the player should be able to give ammo to his teammates by holding down the left mousebutton. (Like the medic do) thanks in advance - 100fps |
Author: | Urglub [ Tue Jun 10, 2008 11:18 am ] |
Post subject: | Re: Support Class (Giving Ammo to teammates) |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |