this cog lets you change the templates and testures(woohoo!) of your lightsaber
Code:
# Jedi Knight Cog Script # # saber.cog # # Changes the texture and Templates of a lightsaber in SP levels. # 2005 Reid Booth # invader_scoog@yahoo.com # # This cog is not supported by LEC symbols message startup message timer material SaberTip=saberpurple0.mat material SaberSide=saberpurple1.mat template tpl_wall=+ssparks_wall.tpl template tpl_blood=+ssparks_blood.tpl template tpl_saber=+ssparks_saber.tpl int player local end # ------------------------------------------------------ code # ------------------------------------------------------ startup: { setTimer(0.5); } return; # ------------------------------------------------------ timer: { jkSetSaberInfo(getLocalPlayerThing(), SaberTip, SaberSide, 0.003, 0.001, 0.120, tpl_wall, tpl_blood, tpl_saber); } return; end