Page 1 of 1
Getting the engineer to heal other ai
Posted: Mon Jul 11, 2011 3:35 pm
by naruto2693
I tried editing the powerup dispenser so that the ai would heal other ai, besides just healing the player but when I started the game, the ai only healed me, what's going on? Could this be done, or is this hardcoded into swbfII and can't be edited?
I added
TargetEnemy = "0"
TargetNeutral = "0"
TargetFriendly = "1"
TargetPerson = "1"
TargetAnimal = "0"
TargetDroid = "0"
TargetVehicle = "0"
TargetBuilding = "0"
AITargetPerson = "1"
AITargetAnimal = "1"
AITargetDroid = "1"
AITargetVehicle = "0"
AITargetBuilding = "0"
Re: Getting the engineer to heal other ai
Posted: Mon Jul 11, 2011 10:18 pm
by Dakota
are you sure that they don't heal other ai?
it took me over a month just to find out that giving the driod engineers a fusion cutter and setting it to heal actually makes them self heal.
(also on that same day in the same battle i found out that the clone engineer could fusion cutter kill driods from anywhere, completly ignoring ranges that i set)
Re: Getting the engineer to heal other ai
Posted: Tue Jul 12, 2011 2:02 am
by AQT
@Dakota: That is nothing new. Naruto2693 was referring to how AI units with the Dispense Health & Ammo weapon and UnitType Pilot do not give powerup packs to other AI units but only to human players and themselves.
This could be hardcoded, but I am not sure.
Re: Getting the engineer to heal other ai
Posted: Tue Jul 12, 2011 1:26 pm
by Dakota
AQT wrote:@Dakota: That is nothing new. Naruto2693 was referring to how AI units with the Dispense Health & Ammo weapon and UnitType Pilot do not give powerup packs to other AI units but only to human players and themselves.
This could be hardcoded, but I am not sure.
i know that he was refering to the powerups but i was just giving him an example.
Re: Getting the engineer to heal other ai
Posted: Tue Jul 12, 2011 2:56 pm
by naruto2693
This could be hardcoded, but I am not sure.
OH NOES
I am going to keep trying until I get results, I just might discover something, if this has been discovered, tell me who did it, LOL I really need to know.
EDIT
Dakota wrote:are you sure that they don't heal other ai?
it took me over a month just to find out that giving the driod engineers a fusion cutter and setting it to heal actually makes them self heal.
(also on that same day in the same battle i found out that the clone engineer could fusion cutter kill driods from anywhere, completly ignoring ranges that i set)
Yeah they self heal because you set the fusion cutter to heal droids, which is itself, that is awesome.
Double posting is against the RULES; please EDIT your post instead -Staff
Re: Getting the engineer to heal other ai
Posted: Tue Jul 12, 2011 4:17 pm
by AQT
@naruto2693: You need to please stop double posting.
Dakota wrote:i know that he was refering to the powerups but i was just giving him an example.
An example of a completely different weapon, but okay.
Re: Getting the engineer to heal other ai
Posted: Tue Jul 12, 2011 11:43 pm
by 1FGR1NightGhost
Funny, the AI units used in my mods give themselves fakehealth. Its so sad but almost funny watch

Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 8:39 am
by Dakota
1FGR1NightGhost wrote:Funny, the AI units used in my mods give themselves fakehealth. Its so sad but almost funny watch

yes, its real funny all the way to the point they run up to you and give you a good taste...
I just got an idea. do you have to use the regular powerups? you could use either buffs that regan (which i know the ai use on each other) or maybe make a custom heal gun (you could set it to ai target friendlies and then have the gun be an emitter weapon with a negative damage), you could try just modding the arccaster to remove the push, lightning, and jump and then set the damage value to a negative. those are two alternatives that make the ai heal each other.
Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 9:22 am
by naruto2693
Dakota wrote:1FGR1NightGhost wrote:Funny, the AI units used in my mods give themselves fakehealth. Its so sad but almost funny watch

yes, its real funny all the way to the point they run up to you and give you a good taste...
I just got an idea. do you have to use the regular powerups? you could use either buffs that regan (which i know the ai use on each other) or maybe make a custom heal gun (you could set it to ai target friendlies and then have the gun be an emitter weapon with a negative damage), you could try just modding the arccaster to remove the push, lightning, and jump and then set the damage value to a negative. those are two alternatives that make the ai heal each other.
I'll try it

Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 1:02 pm
by THEWULFMAN
Dakota wrote:then set the damage value to a negative.
When you set something to negative, like this -1 it means infinite, so setting the damage value to anything negative it will just kill anything instantly.
Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 2:03 pm
by 1FGR1NightGhost
THEWULFMAN wrote:Dakota wrote:then set the damage value to a negative.
When you set something to negative, like this -1 it means infinite, so setting the damage value to anything negative it will just kill anything instantly.
Thats funny, cus during beta testing, there were 2 levels of fakehealth (wound or kill) (now poison or kill)
The value of wound was -100, so it would take away half the units life (more or less)
The value of kill is like 2000, so it kills everyone (except when the "juggernaught" cheat is on)
Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 2:42 pm
by THEWULFMAN
1FGR1NightGhost wrote:
Thats funny, cus during beta testing, there were 2 levels of fakehealth (wound or kill) (now poison or kill)
The value of wound was -100, so it would take away half the units life (more or less)
The value of kill is like 2000, so it kills everyone (except when the "juggernaught" cheat is on)
What are you talking about? Fakehealth? Juggernaut cheat?
Are you using Fake Console? I am afraid I dont understand.
Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 2:42 pm
by Dakota
THEWULFMAN wrote:Dakota wrote:then set the damage value to a negative.
When you set something to negative, like this -1 it means infinite, so setting the damage value to anything negative it will just kill anything instantly.
i thought it was different with emitters like certain force moves, buffs, and arccasters.
EDIT: oh look wulf posted while i was typing...
anyway hes talking of a mod he made and released with his friends. the fake health is a health pack that gives a negative value for the health regan causing death or health decrease. Juggernaut mode isn't really a cheat. its just giving a certain unit or team extra high health and everyone goes against that one unit.
Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 3:39 pm
by 1FGR1NightGhost
THEWULFMAN wrote:1FGR1NightGhost wrote:
Thats funny, cus during beta testing, there were 2 levels of fakehealth (wound or kill) (now poison or kill)
The value of wound was -100, so it would take away half the units life (more or less)
The value of kill is like 2000, so it kills everyone (except when the "juggernaught" cheat is on)
What are you talking about? Fakehealth? Juggernaut cheat?
Are you using Fake Console? I am afraid I dont understand.
Fakehealth is a weapon, like health and ammo, but kills you instead (used on our mods by rebels/cis units)
Juggernaut cheat is Code Console on FC. You set a units health to like 4,000 and everyone tries to kill you....
Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 4:06 pm
by naruto2693
Burr... still doesn't work, I am going to try the fusioncutter and try and set it to aitargetperson and targetfriendly
Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 4:10 pm
by Dakota
naruto2693 wrote:Burr... still doesn't work, I am going to try the fusioncutter and try and set it to aitargetperson and targetfriendly
which thing doesn't work, the regan, the arccaster, the powerups, or what?
Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 4:45 pm
by naruto2693
Dakota wrote:naruto2693 wrote:Burr... still doesn't work, I am going to try the fusioncutter and try and set it to aitargetperson and targetfriendly
which thing doesn't work, the regan, the arccaster, the powerups, or what?
The regen works, but the arccaster doesn't heal the other ai, it only heals me, lol
Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 7:29 pm
by Dakota
naruto2693 wrote:Dakota wrote:naruto2693 wrote:Burr... still doesn't work, I am going to try the fusioncutter and try and set it to aitargetperson and targetfriendly
which thing doesn't work, the regan, the arccaster, the powerups, or what?
The regen works, but the arccaster doesn't heal the other ai, it only heals me, lol
so the arccaster does work...
this would be a perfect time to tell a certain person...
TheWulfMan
but i'm nicer than that.
Re: Getting the engineer to heal other ai
Posted: Wed Jul 13, 2011 8:06 pm
by THEWULFMAN
Dakota wrote:so the arccaster does work...
Yeah, thus lies my bad, see I was lazy and only skimmed parts of what had been said, I never saw the word "arccaster". An Arccaster uses the same kind of ord that buffs use, which are different. Buff ords can be given negative values and heal units, they however are the exception. Both in DT2 and my TCW mod there is a Bacta Gun that works like that.
Any other type of Ord or Exp when given a negative value gives infinite damage.
Dakota wrote:but i'm nicer than that.