Re: Force Powers


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

Posted by Ryan on July 13, 1998 at 19:05:51:

In Reply to: Force Powers posted by Chris Hill on July 13, 1998 at 18:34:21:

To give the character force powers you need to edit your level's master cog. If you don't have one, generate one using JED's EPISODE EDITOR. Now you need to do a little editing.

STEP 1: Set Force Ranking-add the following to master cog:

SetInv(player, 20, 5.0);
SetInv(player, 14, 5*50);

Bin 20 is for the different names, the num 5 is for Charge I think, for other ranks like Journeyman, etc. have different numbers.

The next line sets Force Mana, which is handled in bin 14. I think for the game's purpose each rank you achieve gets a 50-point boost, hence the fifth level (Charge) has 5*50 points of mana.

STEP 2: Individual Powers-add the following to master cog:

SetInv(player, 22, 2.0);
SetInvAvailable(player, 22, 1);

This example is for Speed, handled in bin 22. In this case, the num of stars put towards the power is 2, hence the 2. The 2nd line makes it aviable to use in the game.

For any other powers, change 22 to the bin number of that particular power and manipulate the number of stars (between 1 and 4). Add the second line to every power you set, but be sure to change the bin number to that power.

example:

// Healing
SetInv(player, 25, 2.0);
SetInvAvailable(player, 25, 1);

Hope all that helped!

Ryan




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 ]