Help - Search - Members - Calendar
Full Version: Someamazing scripter wanna script this oen for 3.2?
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Scripting Discussion
Jimyd
So as you know now you can scroll as commander, problem is you gotta use the arrow keys.

Wouldnt it be so much better if it worked like a real rts game.

Can someone do a script where you push mouse2, and whatever direction you move the mouse, it scrolls that way.


So basically all i need to know is what are the axis commands for the mouse in naturalselection(halflife).


Someone do this or help me on this, thanks. =)
digz
I don't believe this is possible with conventional scripting.
GreyFlcn
Would be a difficult macro as well ;D
noize
+jlook? +mlook perhaps? with sensitivity boosters aswell biggrin-fix.gif
Bloo
If someone made something like that he would be the reincarnation of jesus in my eyes

jimyd. You meen like in red alert 2 where you use the MOUSE 2 to get a <^> crusor right?
noize
I will have a go at doing this using scripting. its worth a try biggrin-fix.gif
noize
Ok now this is a VERY primitive version of the script and it is UNTESTED on natural selection.

As i cant actually get into NS, i cant test it so i will be looking ffor feedback as to whether this works!!

Try it with the buttons that are there or change them if you know how to. I will work on a mouse2 only thingy for it but i cant test it "ARGH"

CODE

echo "noize_commscroller Loaded..."
echo "Script Made by noize 21/01/2007"
echo "enjoy"

/NOTE: place this in your nsp folder and add the line "exec noize_commscroller.cfg" to your

userconfig.cfg or autoexec.cfg, ENJOY!

alias    "+[nz]side"    "lookstrafe 1;m_side 1;sensitivity 5"
alias    "-[nz]side"    "lookstrafe 0;m_side 0"
alias    "+[nz]forward"    "-mlook;m_yaw 0"
alias    "-[nz]forward"    "+mlook;m_yaw 0.0220"

alias     "+[nz]UpDown"    "[nz]UDRB"
alias    "-[nz]UpDown"    "[nz]BASERB"

alias     "+[nz]LeftRight"    "[nz]LRRB"
alias    "-[nz]LeftRight"    "[nz]BASERB"



//this needs to be bound to what you want to use for moving the cursor Up and Down
alias     "[nz]UDRB"    "bind [ +[nz]forward"

//this needs to be bound to what you want to use for moving the cursor Side to Side
alias     "[nz]LRRB"    "bind ] +[nz]side"

//this needs to be rebound to your specifications
alias    "[nz]BASERB"    "bind MOUSE2 +popupmenu"
Voodo_HUN
move your mouse to the egde of the screen lol
noize
lol having not played ns for about 1 and a half years, i didnt even know that was poss. there aint much need for this script or and need in requesting it. The only thing i can say that might speed it up is binding mouse2 with sensitivity 6 or zoom_sensitivity (if thats poss in the comm chair)

lol... well my script works if you wanan be lazy and use JSUT your mouse to play.. i dont see why unless u got a 15 button mouse rofl.
Voodo_HUN
comm view is using windows sens
sawce
Also, mouse button binds do not work in comm mode. All you can get off of your mouse is the wheel.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.