Forums Index >> Modding >> Question about health gates



Page : <1> :


Is there a way to make the health gate appear on the other game modes (not just scrum)?

Wednesday, April 26, 2006 at 11:20:09 AM

There's something in the special.cs for that, right after the reload and health-gate datablocks I think. Sorry, but I don't have that version of the special.cs anymore, so I'm not much help.

Wednesday, April 26, 2006 at 12:17:59 PM

 

 

[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.

Wednesday, April 26, 2006 at 12:59:12 PM

It works
thnx guys! B)

Monday, May 01, 2006 at 11:24:10 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald