Thehornet's Full Script
TheHornet
Join Date: 2002-10-31 Member: 1776Members, Constellation
<div class="IPBDescription">Marines, Aliens, Commander, all in one!</div> Well here's my opening shot into the scripting world... These were made mostly by me, but i had some help along the way. basicly all it does is gives radio commands for marines, and aliens, morphing for aliens, and all the commanders stuff.... I like it, it seems pretty buggless to me, but i haven't fully tested it either. So download it at your leasure... sorry it has to be GeoCities... but o well, and Please tell me what you think.
<a href='http://www.geocities.com/capncow/NS.html' target='_blank'>Get it Here!</a>
Here's the key setup:
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
Marine:
Keypad 1-Need Medpack!
Keypad 2-Need Ammo!
Keypad 3-Need Order!
Keypad 4-In Position!
Keypad 5-All Clear!
Keypad 6-Acknowledged!
Keypad 7-Enemy Spotted!
Keypad 8-Follow me!
Keypad 9-Taunt!
Alien:
Keypad 1-Morph Skulk!
Keypad 2-Morph Gorge!
Keypad 3-Morph Lerk!
Keypad 4-Morph Fade!
Keypad 5-Morph Onos!
Keypad 6-Incoming!
Keypad 7-Need Backup!
Keypad 8-Need Healing!
aKeypad 9-Chuckle!
Commander:
Keypad 1-Drop Health!
Keypad 2-Drop Ammo!
Keypad 3-Drop Mines!
Keypad 4-Drop Welder!
Keypad 5-Drop Shotgun!
Keypad 6-Drop HMG!
Keypad 7-Drop Grenade Launcher!
Keypad 8-Drop JetPack!
KeyPad +-Drop Heavy Armour!
Keypad 9-Drop ScannerSweep!
KeyBoard B-Basic Build Menu
KeyBoard R-Build Resource Tower
KeyBoard T-Build Turret
KeyBoard I-Build Infantry Portal
KeyBoard A-Build Armory
KeyBoard F-Build Turret Factory
KeyBoard S-Build Siege Cannon
KeyBoard C-Build Command Center
KeyBoard V-Advanced Build Menu
KeyBoard O-Build Observatory
KeyBoard L-Build Arms Lab
KeyBoard P-Build Prototype lab
KeyBoard G-Build Phase Gate
KeyBoard D-Recycle Structure <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Constructive Critism is encouraged <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo--> but flat out cruelity is also accepted.
<a href='http://www.geocities.com/capncow/NS.html' target='_blank'>Get it Here!</a>
Here's the key setup:
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
Marine:
Keypad 1-Need Medpack!
Keypad 2-Need Ammo!
Keypad 3-Need Order!
Keypad 4-In Position!
Keypad 5-All Clear!
Keypad 6-Acknowledged!
Keypad 7-Enemy Spotted!
Keypad 8-Follow me!
Keypad 9-Taunt!
Alien:
Keypad 1-Morph Skulk!
Keypad 2-Morph Gorge!
Keypad 3-Morph Lerk!
Keypad 4-Morph Fade!
Keypad 5-Morph Onos!
Keypad 6-Incoming!
Keypad 7-Need Backup!
Keypad 8-Need Healing!
aKeypad 9-Chuckle!
Commander:
Keypad 1-Drop Health!
Keypad 2-Drop Ammo!
Keypad 3-Drop Mines!
Keypad 4-Drop Welder!
Keypad 5-Drop Shotgun!
Keypad 6-Drop HMG!
Keypad 7-Drop Grenade Launcher!
Keypad 8-Drop JetPack!
KeyPad +-Drop Heavy Armour!
Keypad 9-Drop ScannerSweep!
KeyBoard B-Basic Build Menu
KeyBoard R-Build Resource Tower
KeyBoard T-Build Turret
KeyBoard I-Build Infantry Portal
KeyBoard A-Build Armory
KeyBoard F-Build Turret Factory
KeyBoard S-Build Siege Cannon
KeyBoard C-Build Command Center
KeyBoard V-Advanced Build Menu
KeyBoard O-Build Observatory
KeyBoard L-Build Arms Lab
KeyBoard P-Build Prototype lab
KeyBoard G-Build Phase Gate
KeyBoard D-Recycle Structure <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Constructive Critism is encouraged <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo--> but flat out cruelity is also accepted.
Comments
- in ccoms.cfg, you have a typo: <i>bind "b" "hotke<u>t</u>86" //basic build menu</i>. Same thing later on: <i>bind kp_+ "hotke<u>t</u>38" //Heavy Armour</i>.
- Aside from little functionality issues like that, it's a good script.
The biggest hurdles after simple scripts like this one involve distribution... traditionally, scripts had a dead-easy interface that allowed users to bind commands (eg: half-life "controls" menu, or an external *.exe that did the same thing). We're dealing with at least 2 complete remaps of the keyboard, though, so it's harder to accomplish this in NS.
I am trying to write a program right now to remap keys, but seeing as I don't know how to program, I am having troubles <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo--> I am slowly working through VB tutorials like a total idiot right now.
basicaly it is a one key deal
alias alien "execute alien.cfg; echo KHAARA!; bind x marine"
alias marine "execute marine.cfg; echo TSA!; bind x commie"
alias comie "execute comie.cfg; echo CC OnLine; bind c alien"
bind x alien
youcould also set up 2 keys, one that always sitches you to alien and one that flips through the 2 marine ones, or just set up one for each playstyle (don't forget to remove the bind x ... and the end of each)
for those of yoy who know some basics you shouls understand that, the one problem is that I don't remember the exact way of executing a .cfg
as a side note the .cfgs are where you stick your 2 bindings
TFC actualy has this built in, they have a CFG for each class so all you have to do is change classes and you automaticly get the CFG that you set up for that
<a href='http://half-life.gamehelp.com/' target='_blank'>http://half-life.gamehelp.com/</a>
I love it, except for the say_team things, which I'm not fond of at all. But they're easy to edit out, took me just a few seconds. I love it. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
well, those echos are NOT team say, they are put into your console, basicaly it is to remind you that what you did
it is also advisable to put an echo and the end of you CFG (ie marine.cfg loaded)
so yah <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
well, those echos are NOT team say, they are put into your console, basicaly it is to remind you that what you did
it is also advisable to put an echo and the end of you CFG (ie marine.cfg loaded)
so yah <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
i think he's talking about, when you morph to a new alien it does a team say like Morphing into a FADE! it can be annoying but i find it helpful...
I'll take that into consideration.. maybe find teh F keys to the different upgrades... Thanks for the support guys
i'm pretty quick with a mouse, but moving my mouse as much as i have to while commanding is bound to give me carpal tunnel. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
i think i'll tinker with this to see if i can't get some of acheron's concepts working. if i come up with something worthwhile i'll share it with you if you'd like.
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
Marine:
Keypad 1-Need Medpack!
Keypad 2-Need Ammo!
Keypad 3-Need Order!
Keypad 4-In Position!
Keypad 5-All Clear!
Keypad 6-Acknowledged!
Keypad 7-Enemy Spotted!
Keypad 8-Follow me!
Keypad 9-Taunt!
Alien:
Keypad 1-Morph Skulk!
Keypad 2-Morph Gorge!
Keypad 3-Morph Lerk!
Keypad 4-Morph Fade!
Keypad 5-Morph Onos!
Keypad 6-Incoming!
Keypad 7-Need Backup!
Keypad 8-Need Healing!
Keypad 9-Chuckle!
KeyBoard F2-Upgrade Regeneration!
KeyBoard F3-Upgrade Carapace!
KeyBoard F4-Upgrade Redemption!
KeyBoard F6-Upgrade Cloaking!
KeyBoard F7-Upgrade Enhanced Sight!
KeyBoard F8-Upgrade Scent of Fear!
KeyBoard F10-Upgrade Adrenaline!
KeyBoard F11-Upgrade Celerity!
KeyBoard F12-Upgrade Silence!
Commander:
Keypad 1-Drop Health!
Keypad 2-Drop Ammo!
Keypad 3-Drop Mines!
Keypad 4-Drop Welder!
Keypad 5-Drop Shotgun!
Keypad 6-Drop HMG!
Keypad 7-Drop Grenade Launcher!
Keypad 8-Drop JetPack!
KeyPad +-Drop Heavy Armour!
Keypad 9-Drop ScannerSweep!
KeyBoard B-Basic Build Menu
KeyBoard R-Build Resource Tower
KeyBoard T-Build Turret
KeyBoard I-Build Infantry Portal
KeyBoard A-Build Armory
KeyBoard F-Build Turret Factory
KeyBoard S-Build Siege Cannon
KeyBoard C-Build Command Center
KeyBoard V-Advanced Build Menu
KeyBoard O-Build Observatory
KeyBoard L-Build Arms Lab
KeyBoard P-Build Prototype lab
KeyBoard G-Build Phase Gate
KeyBoard D-Recycle Structure <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
<a href='http://www.geocities.com/capncow/NS.html' target='_blank'>Get It Here!</a> and dont forget to tell me what you think <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
Wot u can also do is find any more keys binds and woteva and stuff `em in but try not to use any DEFAULT keys made by half life which would be overwritten to like make it so the player can play wit his original keys tho the template thingy does help wit this
sorry if i made some totally stuipid things ere but i am stuipid
A step-by-step instuction list to how to get a script working would help greatly, thanks!
Eidal
A step-by-step instuction list to how to get a script working would help greatly, thanks!
Eidal<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
It's simple <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
1. Read the instructions, so you know what the script does in the first place (simple, but it's a step <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->)
2. Place the script wherever it tells you to. If it doesn't tell you, assume your half-lfe/ns directory (for NS at least. /cstrike for CS, etc.)
3. Type "exec <scriptname>.cfg" to load the .cfg file. So if it's Half-Life\NS\commander.cfg, type "exec commander.cfg" in the console to run it.
That will do whatever the script does. You can also bind a key with "bind <key> whatever.cfg" to run the cfg on keypress.
-PD
Last night, I did the autoexec.cfg thing -- but when I hit Insert, it said Alien and wouldn't change to Marine no matter how many times I pressed Insert after that.
Does that sound familiar? Scripts kick my **obscenity** <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
Kind of im kind of asking u to put a template thingy of some sort like a manual on how ur script worx so we can put some keys some placez for those who dont know how to script
im also trying to say try and add more thingys but not say overwrite the main default keys like WASD kind of thingy something like END for lets say u want to ask for back up on this new bind thing of some sort most people im assuming would just use most default keys like WASD but if u overite W then people can be **obscenity** its most thingys like left arror and HOME which aren't usually affected
i hope im making sense if i just made it worse just smack me
That is bcoz u need the resources AND the actually hives for the upgrade lets say u try a onos u get that only coz 1 u dont av like 3 hives or 2 not enooof resources thats my assumption tho
I dont know ok im typing like this if it makes u happy