Script Trouble
Barlow
Join Date: 2005-02-10 Member: 40597Members
Hey everyone <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo--> I used to play NS in its early days and have only just recently got back into it. I was browsing these forums the other day and saw topics about scripts. DoD is my game of choice, and in that I have a script which where by pressing my mouse wheel down I get out my knife/spade and attack with it until I release it, whereby I return to my last weapon I had out before it.
I have tried to mold this one for NS but I can't get it to work properly.
This is what I have in my 'userconfig.cfg' file:
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->alias "+getmaknife" "hud_fastswitch 1; weapon_knife;wait;wait;wait;wait;+attack"
alias "-getmaknife" "-attack;wait;lastinv"<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
With mouse3 bound to "+getmaknife" in config. When I press the wheel in game I just seem to get my previous weapon out , looking at the console as I'm pressing it I see 'Unknown Command : -getmaknife'
So, in short <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo--> By pressing mouse3, I should get out my knife and attack with it, when I release the button I should stop attacking and switch back to my last used weapon. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
Any help would be greatly appreciated.
Edit:
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->alias "+getmaknife" "weapon_knife;wait;wait;wait;wait;+attack"
alias "-getmaknife" "-attack;wait;lastinv"<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
With this one I treid, When I press mouse3, I attack with the wepon I have out, and when I release it I switch to my previous weapon.
I have tried to mold this one for NS but I can't get it to work properly.
This is what I have in my 'userconfig.cfg' file:
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->alias "+getmaknife" "hud_fastswitch 1; weapon_knife;wait;wait;wait;wait;+attack"
alias "-getmaknife" "-attack;wait;lastinv"<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
With mouse3 bound to "+getmaknife" in config. When I press the wheel in game I just seem to get my previous weapon out , looking at the console as I'm pressing it I see 'Unknown Command : -getmaknife'
So, in short <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo--> By pressing mouse3, I should get out my knife and attack with it, when I release the button I should stop attacking and switch back to my last used weapon. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
Any help would be greatly appreciated.
Edit:
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->alias "+getmaknife" "weapon_knife;wait;wait;wait;wait;+attack"
alias "-getmaknife" "-attack;wait;lastinv"<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
With this one I treid, When I press mouse3, I attack with the wepon I have out, and when I release it I switch to my previous weapon.
Comments
Have fun!