Forums Index >> Modding >> Question about health gates
Page : <1> :
[b]ReadMe File[b/]
What it does...
Will replace all ammo gates with health gates in scrum games (solo or team)
Health gate will heal a tank, and replenish its ammo.
No mission editing required for this to work. All existing ammo gates are
swapped to health gates when running a Scrum server.
Feel free to use this in conjunction with Slugthogs Out of bounds script.
The following files (included in this zip) should go in the following locations:
Rehealed.dts -> [Thinktanks folder]gamedatashapesCommon ehealed.dts
rehealedmap.jpg -> [Thinktanks folder]gamedatashapesCommon ehealedmap.jpg
Special.cs -> [Thinktanks folder]gameserverscriptsspecial.cs
-Z-
From the healthgate special.cs find this part... (if you don't have it I guess you could place it over the old Reload datablock)
if ($Game::MissionType !$= "Scrum")
$gateObject = "~/data/shapes/common/recharge.dts";
else
$gateObject = "~/data/shapes/common/rehealed.dts";
Datablock PowerUpData(Reload)
{
category = "PowerUp";
shape = $gateObject;
userseq1 = "activate";
type = "ammo";
shadow = true;
staticShadow = true;
SoundOff = "ReloadSound";
};
Change Scrum to Deathmatch... And it will work on tbm and bm
You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.
It works
thnx guys! B)
Page : <1> :
Is there a way to make the health gate appear on the other game modes (not just scrum)?