Scripts in Game Play

General talk about Nightfire

Scripts in Game Play

Postby DeadMan on Tue Feb 26, 2008 6:19 am

This is not a cheat! And will still work for those of you in cheat blocked servers.

How often do you shoot someone with the sniper rifle and then have that precious wasted time waiting to #### the gun again before you cn fire the fatal blow?

Happens to me and I figured out a quick fix. You could scroll to a machine gun or even your pistol and shoot a few times to kill the person who's left with one bar from the sniper shot, but I have a quicker way since we can't control that wheel well when we're running around trying not to be shot.

Here's a few things I have in my config file.

Code: Select all
alias "gun1" "sniper"
alias "gun2" "pdw"
alias "pdw" "SelectItem weapon_pdw90;bind q gun1"
alias "sniper" "SelectItem weapon_l96a1;bind q gun2"
alias "raptor" "SelectItem weapon_raptor;bind q gun1"
bind "1" "alias gun1 sniper;alias gun2 pdw"
bind "2" "alias gun1 sniper;alias gun2 raptor"
bind "q" "pdw"


That list of codes allows me to press q and it will switch back and forth between the PDW90 and the Sniper Rifle. If I press 2, the two weapons will be the Raptor and the Sniper Rifle. (Depends on the level and wepon availability)

I find this very useful and its possibilities are endless depending on what weapons you prefer to use.

Next, this is a cheat. When DeadMan's Dead Men allowed cheats, I had this script written: (I'll only use a few numbers for example and I don't have the coordinate points anymore)

Code: Select all
alias "romania1" "goto #,#,#"
alias "romania2" "goto #,#,#"
.
.
alias "romania8" "goto #,#,#"
alias "island1" "goto #,#,#"
.
.
alias "island8" "goto #,#,#"

bind "KP_END" "bind 1 romania1;bind 2 romania2;...bind 8 romania8"
bind "KP_DOWN" "bind 1 island1;bind 2 island2;...bind 8 island8"



Then I would have critical teleport points or hiding places for every level always bound to numbers 1-8 for a certain level. The map changes to romania, just press 1 on the KeyPad. if Island, then 2. Using this system, If I used 1-8 above the letters and 1-8 on the keypad, I can make 64 teleport points bounded to 16 keys.

If anyone has any other clever scripts they wrote to help them in gameplay, share them here.
User avatar
DeadMan
SIS Graduate
SIS Graduate
 
Posts: 77
Joined: Fri Dec 08, 2006 4:23 am

Re: Scripts in Game Play

Postby [George] on Tue Feb 26, 2008 4:12 pm

DeadMan wrote: You could scroll to a machine gun or even your pistol and shoot a few times to kill the person who's left with one bar from the sniper shot, but I have a quicker way since we can't control that wheel well when we're running around trying not to be shot.


ive never heard of anyone not being able to use the mouse wheel to change weapon.. and if you press q then you cant press either w or a (depend on which finger you use) so it would actually make a problem about dodging..

i never much saw the point in aliases.. specially with that teleport thing, as you would put it in a cfg file anyway (unless youre insane) and it would just take longer to make the aliases.

although the idea of making binds to change binds back and forth is quite clever, although with the fact that all good servers are patched, it means that its fairly useless unfortunately - unless you have a LOT of text binds. (i could also see using a bind to activate another bind to activate another bind to do an rcon_password blahblahblahblahblahblah - for example, BOT clan servers rcon, which would mean the chances of pressing it accidentily in another server is pretty remote)


Code: Select all
[jbnightfire]
fpmt=1051903159
chatchannel=#GSP!jbnightfire
pushchannel=#jbnightfire_updates
engine=gcs2
jointemplate=#EXEPATH# +connect "#SERVERIP#:#SERVERPORT#" [$SERVERPW$ +password #SERVERPW#] +cl_name  "Name Goes Here"


that allows you to join a server with a different name to what you have in gsa, which is useful for some.
Flies Spread Disease - Keep Yours Zipped.
Image
:lsaber:
Me Fail English? That's Unpossible!
User avatar
[George]
00 Agent
00 Agent
 
Posts: 1337
Joined: Tue Dec 19, 2006 8:46 pm
Location: E-N-G-L-A-N-D

Postby DeadMan on Tue Feb 26, 2008 5:48 pm

I didn't say I couldn't use my wheel to switch, I said mine jumps over a few weapons sometimes and makes it hard to get the weapon I want.

Maybe I'm the only person with this bad mouse wheel, but as for pressing q, it is very easy to press it and get back to a for necessary movement.

Maybe I'm just used to it too because when I did allow cheats for DMC to have some fun messing around, I had item_armor_vest bound to q.

As for aliases, they are very useful because once you get long codes in one line, it gets confusing and sometimes it doesn't work.

It's merely a shortcut. I have these aliases in my game.

Code: Select all
alias "k" "kick"
alias "r" "rcon"
alias "s" "status"
alias "rh" rcon host_status"


it just makes thing a lot quicker and then when I choose to write new binds, like my multipower switch.

Code: Select all
bind "HOME" "r mp_multipower 1"
bind "END" "r mp_multipower 0"


I've been meaning to switch that into an on/off switch by pressing opnly one key.

I just prefer it to make things quicker.

In my example above with the teleports, aliases made it very very easy to switch numbers around. I would usually keep the most used teleports at 1, 2 & 3. If I found I was using a certain spot over another, I could edit my config file by just switching bind 1 romania1 to bind 1 romania4.

Nightfire Utility Script, i believe, automatically makes an alias for bind, alias "b" "bind" Maybe that's in the game alrewady, I forget. It just makes things a little quicker and more organized.

When I had my teleports, it was easy to see a long list of them:

Code: Select all
alias "romania1" "goto #,#,#"
alias "romania2"goto #,#,#"
alias "romania3 "goto #,#,#"
alias "romania4 "goto #,#,#"
alias "romania5 "goto #,#,#"
alias "romania6 "goto #,#,#"
alias "island1" "goto #,#,#"

bind "KP_END" "bind 1 romania1;bind 2 romania2" AND SO ON
FOR EVERY LEVEL!


Versus having them all in one line:
Code: Select all
bind "KP_END" "bind 1 goto #,#,#;bind 2 goto #,#,#;bind 3 goto #,#,#;bind 4 goto #,#,#;bind 5 goto #,#,#"  AND SO ON


The first example makes it easer to see which key is changing to which level because a bunch of numbers can be jiberish when there's so many.

That's the end of my rant of excuses for what I did. I was not trying to challenge you George, just explain why I did what I did. Everyone has their own preferences.
User avatar
DeadMan
SIS Graduate
SIS Graduate
 
Posts: 77
Joined: Fri Dec 08, 2006 4:23 am

Postby [George] on Tue Feb 26, 2008 6:03 pm

right....

but still, by making aliases you just have to type more, and i still think its easier without them.

i can see one reason for aliases for your example, if you were to put something like

romeredflag
romeblueflag
romeredvest
romebluevest

etc. etc. instead of romania1, romania2, and so on. but apart from that (which still doesnt make a whole lot of sense, as you could just write down 1 = blue flag, 2 = red flag etc.) i just dont see any need for them.

although possibly using a short alias such as..

Code: Select all
alias "info" "rcon host_status_formatted"


as that is probably the longest command - the rest of them are just too short to bother with (in my opinion)
Flies Spread Disease - Keep Yours Zipped.
Image
:lsaber:
Me Fail English? That's Unpossible!
User avatar
[George]
00 Agent
00 Agent
 
Posts: 1337
Joined: Tue Dec 19, 2006 8:46 pm
Location: E-N-G-L-A-N-D

Postby UltimateSniper on Fri Mar 07, 2008 4:14 pm

i just dont use scripts except to change my name when i go in-game
Pop goes the sniper! :-)
BOOOOM! goes the pistol! :-D
Why does network cable have 8 wires?
Image
To electricute an octopus...
User avatar
UltimateSniper
Global Moderator
Global Moderator
 
Posts: 1469
Joined: Sat Nov 04, 2006 8:23 pm
Location: The Wonderful Land Of Denmark


Return to Nightfire

Who is online

Users browsing this forum: No registered users and 0 guests

cron