Posted by Billcow [JiB] on February 20, 1998 at 08:19:45:
In Reply to: Re: I got the saber part.... posted by Executor2 on February 19, 1998 at 19:48:32:
> > Hi guys, i have a question:
> > I am trying to get kyle to spawn with a saber and level 8 force(singleplayer). How would i get that to happen correctly? Thanx in advance!
> > --Pele
> Saber is easy, just edit kyle.cog. Find where it says init_kyle:. Now, see this part:
> // When player starts, give him fists, and a bryar.
> SetInv(player, 1, 1.0);
> SetInv(player, 2, 1.0);
> Add a line that says "SetInv(player, 10, 1.0);" (no quotes). This will give the player 1 saber at startup :) I'm not sure about the force power part...i saw it once, but i forget how to do it :) I think you have to edit the player file, but i'm not sure....
>
Um, do the same thing with the inventory numbers for the force powers.
if you want it only in single player, add:
if (!IsMulti())
{
put commands here
}