Deploy Health Droid?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Slime615
Lieutenant General
Lieutenant General
Posts: 704
Joined: Thu Jan 07, 2010 9:38 am

Deploy Health Droid?

Post by Slime615 »

Okay, so I have been wanting to create a "Deploy Health Droid" for quite some time now. A weapon that places a droid onto the battlefield, which heals allies that are close enough.
Sounds simple enough?


FIrst thing I did was replace the Auto turret deploy with the Health Droid that you find in maps. It spawned, but did not heal.

I then tried to replicate the Auto Turret as close a possible, only I switched the weapon for a buffed, "Regeneration Buff" and added "AutoFire = "1"" to make sure it continuously used the weapon.

Still nothing.

Has anyone tried something similar and got one working?
noMatt
2nd Lieutenant
2nd Lieutenant
Posts: 398
Joined: Sun Mar 10, 2013 12:30 pm
Projects :: The Map has no name so see alpha
Games I'm Playing :: Crysis Battlefront
xbox live or psn: No gamertag set
Location: Germaneeee
Contact:

Re: Deploy Health Droid?

Post by noMatt »

no but i have a funny idea
replace the heal droid with the turret but set the damage to a negativ value, so everyone who gets shot by the turret gets plus to his lifepoints :D
dont know maybe that does not work but i will definitley try it
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: Deploy Health Droid?

Post by Cleb »

Sorry nomatt, that won't work. What I think might work is an autoturret that uses lines from the fusion cutter (AddHealth) and set to target friendly units only. Look at the fusion cutter ODF for reference. I have made a healgun before, so I know that it could work.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Deploy Health Droid?

Post by Noobasaurus »

I believe that you can simply go into the health and ammo pack dispenser odf (or one of the many) and change the object that it dispenses to the odf of the healing droid. I've done this with vehicles and it's quite fun. Yep, right click and instant tie fighter.
Slime615
Lieutenant General
Lieutenant General
Posts: 704
Joined: Thu Jan 07, 2010 9:38 am

Re: Deploy Health Droid?

Post by Slime615 »

^
It spawns alright, but its dosen't heal...
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Deploy Health Droid?

Post by Bob »

I tried the method with the buffing autoturret, and it works. Make sure that your autoturret's (the "building's) ODF has it's own parent. The parent only needs to be a renamed copy of com_bldg_inf_autoturret.odf, but if you use com_bldg_inf_autoturret.odf as parent it won't work for some stupid reason.
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: Deploy Health Droid?

Post by CressAlbane »

Also, using negative values for damage doesn't heal, it does an instant kill.
Slime615
Lieutenant General
Lieutenant General
Posts: 704
Joined: Thu Jan 07, 2010 9:38 am

Re: Deploy Health Droid?

Post by Slime615 »

Thanks Bob - I don't know why it didn't work before, I remade all of the Parents, and created new ones.

Now the question is, how can I do the same for ammo?
Hmm...
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Deploy Health Droid?

Post by Bob »

No buff for that, but if you like autoturrets you can let one dispense these ammo powerups people drop on death. Just remind to get that turret it's own parent.
Post Reply