
![]() |
[ Resend Validation Email ] |
Welcome Guest [ Log In · Register ] |
![]() ![]() |
![]() ![]() ![]() ![]() |
Gneralas |
Posted: January 21, 2005 08:54 am
|
||
![]() Last hope of Mankind ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 680 Joined: January 15, 2005 ![]() |
I made this little script to make upgrade selecting a little easier but it doesn't work, whats wrong with it? Please no Flames. ![]() -------------------- |
||
Zpin |
Posted: January 21, 2005 10:29 am
|
![]() Einherjar ![]() Group: IronOak Leader (Admin) Posts: 1337 Joined: July 14, 2002 ![]() |
you can just use the commands:
hpup - adds a skillpoint to hitpoints dmgup - adds a skillpoint to skill spdup - adds a skillpoint to speed -------------------- The race is not to the swift or the battle to the strong, nor does food come to the wise or wealth to the brilliant or favor to the learned; but time and chance happen to them all. - Ecclesiastes IX. 11.
--- The fool speaks, the wise man listens. - unknown |
Gneralas |
Posted: January 21, 2005 11:35 am
|
![]() Last hope of Mankind ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 680 Joined: January 15, 2005 ![]() |
Oh cool, i didnt know that, thanks!
Are there commands for spawning as a human and zombie? I would like to know whats wrong with my script anyway please because this is the first one i have written and i just want to know my mistakes. -------------------- |
Immoral Sniper |
Posted: January 21, 2005 04:07 pm
|
The force is strong in me ![]() Group: BB Betatesters Posts: 1177 Joined: December 10, 2004 ![]() |
You never, ever, EVER, declare an alias within a script.
It should be "bind mouse3 mouse_off" and "bind mouse3 mouse_on" instead of your aliases as the last command. -------------------- BB Maps I've made...
bb_stronghold {Beta 9} bb_shootingrange {Beta 1} Threads you should read before posting... Immoral's List of Things Not to Suggest Immoral's Mapping Guide Forum Spammers Name (Number of spamming citations issued) Nikku (3), -KRUX- (2), Mitchell (2), hunter (2), Gneralas (2), CHAY (2), vyvu (2), Rustie1821 (1), w00t (1), dagny (1), Nandu666 (1), The.Raver(1), moecomputer (1), -=Jouni=- (1), santa_kills (1), DarknessGlams (1) |
XxAvalanchexX |
Posted: January 22, 2005 12:47 am
|
||
![]() Rotten Meat Group: Members Posts: 4 Joined: January 19, 2005 ![]() |
Put your aliases in userconfig.cfg. And also, it is perfectly fine to alias inside of a script. This is my userconfig.cfg for Day of Defeat:
-------------------- ![]() Run. Think. Shoot. Live. |
||
Gneralas |
Posted: January 22, 2005 08:24 am
|
||
![]() Last hope of Mankind ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 680 Joined: January 15, 2005 ![]() |
After seeing what immoral sniper had written i changed my script but it still doesn't work, is this what you mean? I still want to know what the commands are for spawning as a human and as a zombie because since i found out that i can just use 3 different buttons for upgrading surely there are buttons for respawning as things. I should have said this at the start but what happens with my script is, i press the button and thats fine then it doesn't toggle it back off so i have to type -mouse in the console to get rid of it. -------------------- |
||
Zpin |
Posted: January 22, 2005 11:57 am
|
![]() Einherjar ![]() Group: IronOak Leader (Admin) Posts: 1337 Joined: July 14, 2002 ![]() |
rehuman - respawn as human
dzombie - play as zombie (as soon as you escaped) dspectate - spectate again (as soon as you escaped) I'll add all of these commands in the keyboard settings next version. -------------------- The race is not to the swift or the battle to the strong, nor does food come to the wise or wealth to the brilliant or favor to the learned; but time and chance happen to them all. - Ecclesiastes IX. 11.
--- The fool speaks, the wise man listens. - unknown |
Gneralas |
Posted: January 22, 2005 01:50 pm
|
![]() Last hope of Mankind ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 680 Joined: January 15, 2005 ![]() |
Cool, thanks so much Spin!
-------------------- |
Immoral Sniper |
Posted: January 22, 2005 03:35 pm
|
||
The force is strong in me ![]() Group: BB Betatesters Posts: 1177 Joined: December 10, 2004 ![]() |
This should work... -------------------- BB Maps I've made...
bb_stronghold {Beta 9} bb_shootingrange {Beta 1} Threads you should read before posting... Immoral's List of Things Not to Suggest Immoral's Mapping Guide Forum Spammers Name (Number of spamming citations issued) Nikku (3), -KRUX- (2), Mitchell (2), hunter (2), Gneralas (2), CHAY (2), vyvu (2), Rustie1821 (1), w00t (1), dagny (1), Nandu666 (1), The.Raver(1), moecomputer (1), -=Jouni=- (1), santa_kills (1), DarknessGlams (1) |
||
XxAvalanchexX |
Posted: January 22, 2005 06:03 pm
|
![]() Rotten Meat Group: Members Posts: 4 Joined: January 19, 2005 ![]() |
Oh, I see. Unfortunately, it will not work. When you bind a +command to a key, the -command is automatically called when you release the key. Just like your mouse1 is bound to +attack (most likely, anyway), -attack is called as soon as you release it. However, if you open up your console and type +attack, you will keep firing until you go back into the console and type -attack.
-------------------- ![]() Run. Think. Shoot. Live. |
|2enegade |
Posted: January 23, 2005 12:10 am
|
||||||
![]() Last hope of Mankind ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 752 Joined: November 29, 2004 ![]() |
what went wrong is when you put alias mouseToggle mouse_off in your last line of mouse_on. It should be this:
notice I have removed the "alias mouseToggle" prefixes. To switch the alias mouseToggle from mouse_on to mouse_off all you have to type is "mouse_on" or "mouse_off" you do not need to type alias mouseToggle mouse_on, that was what the problem was. Also @ avalanche, - commands are ONLY activitaded on *hardcoded* + commands (i.e. +attack, +jump, +mouse) any *user* defined +commands MUST have corresponding - commands in the script. Thus if you have +attack, you do not need to type -attack (it is automatically followed because +attack is a hardcoded command) however if you have +mycustomcommand you must type a -mycustomcommand because that is a userdefined command, so HL won't automatically run the - command for it. P.S. @Spin, that's a good idea!! binding those commands to a key would save a lot of time, thx! -------------------- |
||||||