Infantry Type Technician
You know a mechanic infantry was available in Deezire mod via game hack
who is infantry type but has the ability to repair vehicles with the repair
bullet weapon. It was available as only free unit with Service Depot. This
time you can build it from barracks.
Here is how to make an [InfantryType] Technician who can repair both
vehicles and structures (heal structure, not as engineer) with its weapon.
First of all open the rules file and now you have to make an technician
as a normal infantry. Don't give the technician any weapons right now.
We'll first make a weapon for the technician to heal vehicles and structures.
Suppose the Heal weapon is 'RepairWrench'. Now we write a weapon code for
This is for how much heal the weapon will do. Its positive value actually
doesn't damage but heal due to the warhead we will make. Set the heal damage
to 1 to do a delay heal by another part of the weapon, we are not actually
doing heal with the damage code. The technician should need some times
to repair damaged parts, right?
As usual, rate of fire.
DO NOT decrease the value, lowering this value can cause technical
Now we can add a little sparking effects by the followings
Now we add the warhead named 'WrenchTool', this warhead is the key
The weapon code is finished. Now we will make the warhead 'WrenchTool'
for the weapon.
The versus against vehicles and structures are set to negative values.
So instead of getting damage, the vehicles and structures will be healed.
Now we will add an animation which is used for the final healing.
As we added a new animation so we must add the animation TECHHEAL to
[Animations] list in the rules file.
Now we jump to Art(md).ini and add the followings codes for that animation.
The animtion TECHHEAL is now spawning a particle 'RepairTick' which
we'll use as heal particle. We hop back to the rules file to add the following
Here we are now actually doing 50 heal damage since the particle sharing
same negative damage warhead 'WrenchTool'.
The weapon coding is finished. Now goto the technician code and add
the following three lines:
Also change some codes as following:
Now, you have a fully functional technician. During games, technicians
will be available in the Infantry tab and you can build them from the barracks.
To heal any of your vehicles or structures, select the technitian and move
cursor over damaged vehicle or structure, click the mouse. The technician
will repair it.
Remember you can also repair enemy vehicles or structures because the
game system will suppose the weapon as normal damaging weapon.