I've made a cog for a level pack I'm working on and thought other editors would like to use it so I want to submit it to Massassi. The problem is that in the submission instructins it says don't send anything to the staff account but it doesn't give an alternative e-mail address.
If your interested it's a cog that changes the player's skin when a surface is activated and changes it back when it's reactivated. I've already tested it over a network (a laggy one at that) and it works fine.
Here's the code:
If your interested it's a cog that changes the player's skin when a surface is activated and changes it back when it's reactivated. I've already tested it over a network (a laggy one at that) and it works fine.
Here's the code:
Code:
# Jedi Knight Cog Script # # cloakroom.cog # # This cog controls a surface that changes your skin # # [DB] [BB] Berlick B'ja - berlick@yahoo.co.uk # # THIS COG IS NOT MADE, DISTRIBUTED, OR SUPPORTED BY LUCASARTS ENTERTAINMENT COMPANY. # # PERMISSION GRANTED FOR SLIGHT MODIFICATIONS. # ======================================================================================== flags=0x40 symbols message activated surface clothes model cloak model original=ky.3do local model current local int player local end # ======================================================================================== code activated: player = GetSourceRef(); current = GetThingModel(player); if (current == cloak) { SetThingModel(player, original); return; } else { original = current; SetThingModel(player, cloak); return; } return; end