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 → How do you change starting force powers?
How do you change starting force powers?
2001-08-13, 6:47 AM #1
you obviously start with none normally. How do you make it so you start with some as standard?

------------------
ReaperFett
"By god lets give them what for!"
2001-08-14, 7:28 AM #2
symbols

message startup
message timer

thing player local
int i local

end

code

startup:
SetMasterCOG(GetSelfCOG());
player = GetLocalPlayerThing();
SetInv(player, 99, 1000);

SetFireWait(player, -1);
SetMountWait(player, 0);
SetCurInvWeapon(player, 0);
SelectWeapon(player, GetWeaponBin(12));
SetTimer(0.25);
Return;

timer:
SetInv(player,21, 2);
SetInvAvailable(player,21, 1);
// etc.

// Force ranking
SetInv(player, 20, 2);
SetInv(player, 14, 100);
jkSyncForcePowers();
Return;

end


Note: This cog isn't tested and it might not work.

Thanks
JKMeteor
"Maybe you like rainbows"
I can't remember what to say!!!!
Click here for my homepage.

↑ Up to the top!