Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Do not want light saber at startup
Do not want light saber at startup
2001-03-01, 12:27 PM #1
Hi, I seem to remember seeing the answer to this question before, but can't find it and the forums search isn't working for me.

In the level I'm creating, I want the player to start up with only the briar pistol (and fists), No light saber. I had JED create the start up cog and then looked at it, part of it has:

Code:
 
  // Give player weapons and ammo
  SetInv(player, 1, 1);   // fists
  SetInv(player, 2, 1);   // briar
  SetInv(player, 11, 100);   // Energy


I tried it out but I still have the light saber available when the level starts. I tried adding:

Code:
SetInv(player, 10, 0);   // no light saber 

But that doesn't work. [http://forums.massassi.net/html/confused.gif]

I do I eliminate access to the light saber?

Thanks

------------------
Sylvicolus JK homepage
If I have ever made any valuable discoveries, it has been owing more to
patient observation than to any other reason. -Isaac Newton
Sylvicolus JK homepage
If I have ever made any valuable discoveries, it has been owing more to
patient observation than to any other reason. -Isaac Newton
2001-03-01, 12:46 PM #2
What I always do is open up the kyle.cog and in the init_multi_kyle I remove the line that says SetInv(player, 10, 1); and I add the kyle.cog to the level.

------------------
Together we stand.
Divided we fall.

↑ Up to the top!