anyway it is one big kludge start to finish, and I am releasing this along with the other scripts tonite, welcoming remixes and improvements to my more or less "concept sketches that happen to work in spite of themselves"
as this is doing complicated stuff its best to switch weapons when not surrounded by monsters etc and not in the middle of a pile of spellspam etc, use common sense and it works pretty well for a hunk of rubbish
also please note to equip your first weapon configuration before switching setups otherwise the script goes crazy mainly because I am a lazy pratt who is fine with putting on the first config before using the hotkeys, and didn't write a proper initialization so that it doesn't blow up.
Code: Select all
;Weapon-Svitch-Inator! v1.36 - Lovingly Hacked together with paperclips and sticky tape by Yoda
;I apologize as always for horrible psychological scarring from reading what is likely clumsy smashmouth scripting
;revision v1.36 tweaked speed again so there is less hammering rearmer
;Todo for next update: clean this up to one subbie with arguements
;revusuib v1.35 tweaked speed for MOAR reliabilty and not hammering Rearmer
;revision v1.0 - 1.25 MOAR SPEED!!
set %shield AZQYKQD ; Set the id of your shield
set %weapon1 EBOORND ; Set the id of your weapon
set %weapon2 VSXKZVD ; Set the id of your other weapon
set %weapon3 REEXIUD ; Set the id of your other weapon
set %weapon4 GVRZROD ; Set the id of your other weapon
set %weapon5 LDSGWMD ; Set the id of your other weapon
set %weaponLuggage KCYNZQD ; ID of Blessed Bag
set %curWeap %weapon1
Begin:
set #lObjectID %weaponLuggage
event macro 17 0
wait 1s
HotKeyLoop:
OnHotKey f1 shift
gosub Switcheroo1
OnHotKey f2 shift
gosub Switcheroo2
OnHotKey f3 shift
gosub Switcheroo3
OnHotKey f4 shift
gosub Switcheroo4
OnHotKey f5 shift
gosub Switcheroo5
GOTO HotKeyLoop
sub Switcheroo1
{
{
exevent drag %curWeap
wait 11
exevent dropc %weaponLuggage
wait 11
exevent drag %shield
wait 11
exevent dropc %weaponLuggage
wait 11
event exmsg #charid 3 0 Pike Of The Jedi!
exevent drag %weapon1
wait 11
exevent droppd
wait 11
exevent drag %shield
wait 11
exevent droppd
wait 11
set %curWeap %weapon1
event exmsg #charid 3 0 Mischeif Managed!
}
return True
}
return False
sub Switcheroo2
{
{
exevent drag %curWeap
wait 11
exevent dropc %weaponLuggage
wait 11
exevent drag %shield
wait 11
exevent dropc %weaponLuggage
wait 11
event exmsg #charid 3 0 A Light Axe?
exevent drag %weapon2
wait 11
exevent droppd
wait 11
exevent drag %shield
wait 11
exevent droppd
wait 11
set %curWeap %weapon2
wait 11
event exmsg #charid 3 0 Mischeif Managed!
}
return True
}
return False
sub Switcheroo3
{
{
exevent drag %curWeap
wait 11
exevent dropc %weaponLuggage
wait 11
exevent drag %shield
wait 11
exevent dropc %weaponLuggage
wait 11
event exmsg #charid 3 0 A Jedi Master's Bow!
exevent drag %weapon3
wait 11
exevent droppd
wait 11
exevent drag %shield
wait 11
exevent droppd
wait 11
set %curWeap %weapon3
wait 11
event exmsg #charid 3 0 Mischeif Managed!
}
return True
}
return False
sub Switcheroo4
{
{
exevent drag %curWeap
wait 11
exevent dropc %weaponLuggage
wait 11
exevent drag %shield
wait 11
exevent dropc %weaponLuggage
wait 11
event exmsg #charid 3 0 LightSaber Version Two!
exevent drag %weapon4
wait 11
exevent droppd
wait 11
exevent drag %shield
wait 11
exevent droppd
wait 11
set %curWeap %weapon4
wait 11
event exmsg #charid 3 0 Mischeif Managed!
}
return True
}
return False
sub Switcheroo5
{
{
exevent drag %curWeap
wait 11
exevent dropc %weaponLuggage
wait 11
exevent drag %shield
wait 11
exevent dropc %weaponLuggage
wait 11
event exmsg #charid 3 0 Blaze Of Yoda!
exevent drag %weapon5
wait 11
exevent droppd
wait 11
exevent drag %shield
wait 11
exevent droppd
wait 11
set %curWeap %weapon5
wait 11
event exmsg #charid 3 0 Mischeif Managed!
}
return True
}
return False