The script I use for Fiona:
Save it in your auto.lua
Code:
--Nowayz(HaloShadoW)'s Fiona Lua Script
function bind(key,command)
print("bind \""..key.."\" \""..command.."\"")
cmd("bind \""..key.."\" \""..command.."\"")
end
--Set all the binds we want when we press F11
if keyDown_Press(0x7A)~=0 then
bind(";","cc_enter_rochest_from_colhen")
bind("/","changemap_to_current_random_sector")
--etc...
end
--Spam the hammer finish attack with perfect wait time
if keyDown(0x47)~=0 then -- G
cmd("plr_play_overlay_sequence battle_hammer_attack_strong_04_finish_d")
wait(370)
end
--Use heavystander infinitely while holding Q
if keyDown(0x51)~=0 then -- Q
cmd("plr_play_overlay_sequence heavystander_during")
end
--Wait for ; to be pressed and repair all my items
if keyDown_Press(0xBA)~=0 then -- ; Key
cmd("campfire_repair")
end
--Fill all quickbar items with ' or F key (This means infinite spears)
if (keyDown_Press(0xDE)~=0)or(keyDown_Press(0x46)~=0) then -- ' or F key
cmd("bind \";\" \"cc_change_start_game_message\"")
cmd("cc_fill_all_items")
end
--Turn on godmode and one hit kill, and make us glow
if keyDown_Press(0xC0)~=0 then --Tilda key (~)
cmd("cc_efx effects/player/fiona_paladin_body_loop.efx")
cmd("god")
cmd("ohk")
end
--Wait for F10 to be pressed and enable/disable speedhacks
if keyDown_Press(0x79)~=0 then --F10
if getCVar("host_timescale")=="1" then
setCVar("host_timescale","3")
else
setCVar("host_timescale","1")
end
end
Picture:
Useful Code Samples:
Restore full SP:
Code:
--Thanks do DanK
if keyDown_Press(0xBA)~=0 then --;
for v=0,50 do
cmd("plr_play_overlay_sequence dead_resist")
wait(50)
end
end
Razorx2010's auto.lua Script (Evie):
Code:
--I wrote a function to make keybinds easy, since some commands only work when bound
--Just include this at the top of your script and you will be able to use it too!
function bind(key,command)
print("Bound "..key.." to "..command)
cmd("bind \""..key.."\" \""..command.."\"")
end
--Set all the binds we want when we press F11
if keyDown_Press(0x7A)~=0 then
bind(",","cc_enter_rochest_from_colhen")
bind(".","cc_enter_colhen_from_rochest")
bind("'","changemap_to_current_random_sector")
end
if keyDown_Press(0x23)~=0 then --end
print("GodMode enabled!")
cmd("god")
end
if keyDown_Press(0x22)~=0 then --pgdn
print("Normal difficulty enabled!")
cmd("current_combat_difficulty 1")
end
if keyDown_Press(0x21)~=0 then --pgup
print("One Hit Kill enabled!")
cmd("ohk")
end
if keyDown_Press(0x24)~=0 then --home
print("trans level one enabled!")
cmd("plr_play_overlay_sequence paladin_transformation_begin_1")
end
if keyDown_Press(0xDC)~=0 then --\
print("trans level two enabled!")
cmd("plr_play_overlay_sequence paladin_transformation_begin_2")
end
if keyDown_Press(0x4F)~=0 then --o
print("skip level enabled!")
cmd("changelevel 2")
end
if keyDown_Press(0xBF)~=0 then --?
print("sticky bomb enabled!")
cmd("cc_set_sub_weapon sticky_bomb 999")
end
if keyDown_Press(0x26)~=0 then --up
print("spears enabled!")
cmd("cc_set_sub_weapon javelin_lvl2 999")
end
if keyDown_Press(0x25)~=0 then --left
print("mine bombs enabled!")
cmd("cc_set_sub_weapon mining_bomb 999")
end
if keyDown_Press(0x27)~=0 then --right
print("palala bombs enabled!")
cmd("cc_set_sub_weapon flashbang 999")
end
if keyDown_Press(0x28)~=0 then --down
print("bombs enabled!")
cmd("cc_set_sub_weapon handbomb_lvl2 999")
end
if keyDown_Press(0x50)~=0 then --p
print("shield repair enabled!")
cmd("plr_play_overlay_sequence sp_shield_repair")
end
if keyDown_Press(0x4C)~=0 then --l
print("reverse gravity enabled!")
cmd("plr_play_overlay_sequence reverse_gravity")
end
if keyDown_Press(0x4B)~=0 then --k
print("blind arrow enabled!")
cmd("plr_play_overlay_sequence magic_blind_arrow")
end