Re: Modifying the Health/Shield Indicator


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]

Posted by Diamond on April 18, 1998 at 01:38:30:

In Reply to: Modifying the Health/Shield Indicator posted by Anakin_Solo_JM on April 17, 1998 at 00:36:17:

: I need a little help trying to figure out how to modify
: the Health/Shield indicator to show the full (modified)
: amount of Health & Shields. If you can help me it would
: be very appreciated.

: Here's an example of what I'm trying to do:

: Shows 100/200 even when I have 200/400. (modified limits)
: Would like to reflect the true value 200/400 = 200/400.
: Please help me if you can. Thanx

Have you checked to make sure that the starting values which are
listed in kyle.cog are set to match your maximums. From what I
can tell the game doesn't change this automatically. Just open up
kyle.cog and go down to the following:

init_kyle:
SetActorFlags(player, 8);
SetTimerEx(1.50, 1, player, 0);

// Set Health to full
SetThingHealth(player, 100);# <-change this number to 200

// Set Mana to full
SetInv(player, 14, GetInv(player, 20) * 50);

// Set Shields to 100
SetInv(player, 60, 100);# <-and this to 400

That should do it. Modifying this cog also allows you to change
starting weapons, ammo and equipment.

Diamond



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]