Script To Change Crosshairs
Kardoffel
Join Date: 2004-04-03 Member: 27711Members, Constellation
<div class="IPBDescription">is there a way?</div> So I`m really good at scripting. Made my own Commandmenu, Gorgemenu etc.
But i really want to know if theres a way to change crosshairs just with pushing a key ingame.
I would like to know this cause Public im playing with normal crosshairs but when im playing a pcw i would like to change to fanas crosshairs cause i aim better with them.
I dont want to change the directories every war and public, just want to push a key so can somebody Help me?
But i really want to know if theres a way to change crosshairs just with pushing a key ingame.
I would like to know this cause Public im playing with normal crosshairs but when im playing a pcw i would like to change to fanas crosshairs cause i aim better with them.
I dont want to change the directories every war and public, just want to push a key so can somebody Help me?
Comments
www.knifegaming.org
www.knifegaming.org<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
<a href='http://www.knifegaming.com/roster/fana104.zip' target='_blank'>http://www.knifegaming.com/roster/fana104.zip</a>
^This one actually works. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo-->
www.knifegaming.org<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
<a href='http://www.knifegaming.com/roster/fana104.zip' target='_blank'>http://www.knifegaming.com/roster/fana104.zip</a>
^This one actually works. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
dont <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo--> at me son
Just make a program in C++ that opens and edits the corresponding weapon text file. The only tricky part is getting the program to run without having to alt+tab.
You can't swap the sprite files either, because the engine will detect the change, and crash.
The weapon text files are loaded when the level loads. You don't have to restart NS; you merely have to wait for a map change, retry, or connect to a different server.
www.knifegaming.org<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
<a href='http://www.knifegaming.com/roster/fana104.zip' target='_blank'>http://www.knifegaming.com/roster/fana104.zip</a>
^This one actually works. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo--> <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
dont <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo--> at me son<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
<img src='http://img215.exs.cx/img215/3188/winkfix8ob.gif' border='0' alt='user posted image' />
edit: Did you put a lot of effort into making the smilie so... speckly?
It might be possible to, inside the program, tell it to look for a key, and it will look through NS, but I'm not sure... And it would have to be a little-used key, like one of the function keys or scroll lock maybe. But it would be different for eveyone so we would have to recompile, etc. I don't even think I have a free key, ALL of my keyboard is used.
Pwn. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->
It might be possible to, inside the program, tell it to look for a key, and it will look through NS, but I'm not sure... And it would have to be a little-used key, like one of the function keys or scroll lock maybe. But it would be different for eveyone so we would have to recompile, etc. I don't even think I have a free key, ALL of my keyboard is used. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
Would it be possible to run the program, by using the shortcut key function that's built into Windows?
It might be possible to, inside the program, tell it to look for a key, and it will look through NS, but I'm not sure... And it would have to be a little-used key, like one of the function keys or scroll lock maybe. But it would be different for eveyone so we would have to recompile, etc. I don't even think I have a free key, ALL of my keyboard is used. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
Would it be possible to run the program, by using the shortcut key function that's built into Windows? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
Probably not. Elsewise, you'd expect to encounter other Windows key-related functions as well (such as the StickyKeys popup for pressing Shift too much, if you haven't disabled that already).
It might be possible to, inside the program, tell it to look for a key, and it will look through NS, but I'm not sure... And it would have to be a little-used key, like one of the function keys or scroll lock maybe. But it would be different for eveyone so we would have to recompile, etc. I don't even think I have a free key, ALL of my keyboard is used. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
Would it be possible to run the program, by using the shortcut key function that's built into Windows? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
That's exactly what I was thinking. And, inside C programs for windows, you have to declare the windows hotkeys. If you declared an extra one and made it call a function, it might work. Not too sure though.
On a side note, I probably won't have the time to do this until spring break.