Search the Community
Showing results for tags 'lighting'.
Found 2 results
Hi, i not really good know english but i try. I wanna do lightning strike for my character and i wrote this code. local function ThunderSpell(inst) if not (GLOBAL.TheWorld and GLOBAL.TheWorld.ismastersim) then return end local player=GLOBAL.ThePlayer local cheksan = player.components.sanity:GetPercent() if cheksan >= .25 then player.components.health.invincible = true local pt = GLOBAL.ConsoleWorldPosition() GLOBAL.TheWorld:PushEvent("ms_sendlightningstrike", pt) player.components.sanity:DoDelta(-50) inst.AnimState:PlayAnimation("punch") player.components.health.invincible = false else player.components.talker:Say("The Force is leaving me...") end end local hk_light = GLOBAL.KEY_C AddModRPCHandler(modname, "ThunderSpell", function(inst) ThunderSpell(inst) end) if hk_light then GLOBAL.TheInput:AddKeyDownHandler(hk_light, function() local player=GLOBAL.ThePlayer if player and player.prefab=="revan" and not GLOBAL.IsPaused() and not GLOBAL.TheInput:IsKeyDown(GLOBAL.KEY_CTRL) and not GLOBAL.TheInput:IsKeyDown(GLOBAL.KEY_SHIFT) and not (player.HUD:IsChatInputScreenOpen() or player.HUD:IsConsoleScreenOpen()) then SendModRPCToServer(MOD_RPC[modname]["ThunderSpell"]) end end) end So, its work perfect when i host but when i add cave my server stops after i press button I will be glad if you can help.
Is there any way to make a Mod that will disable the extreme color filter? Everything is so yellow/red in summer and then so blue/greenish in winter. I can not stand it because my character has blue skin and in summer it looks yellow. I have searched the forums and google relentlessly, and only found maybe one or two topics that mention it.. but no answers. I just want to be able to disable the colors all together if possible. I want my character to look more like she does in Spriter. The very few topics I have found that mention this: this person wanted the same thing it seems, they never got any answers sadly =( http://forums.kleientertainment.com/topic/14338-changing-the-overall-color-palette/ This thread mentions it a bit http://forums.kleientertainment.com/topic/52162-lightsetcolour/