This Mod Pack is for the computer game 'S.T.A.L.K.E.R: Shadow Of Chernobyl', which adds an alternative to the very sought custom key binding functionality.
This mod is product of a long time research to make custom keybinding in STALKER. As the game designers haven't put such a feature in the game, and the only keybindings are DLL hardcoded, this severely limits the modding potential of the game.
This fixed version includes the start.bat file.
============================= HeEr0`s STALKER Keys MOD v0.1 ============================= This Mod Pack is for the computer game 'S.T.A.L.K.E.R: Shadow Of Chernobyl', which adds an alternative to the very sought custom key binding functionality. This mod is product of a long time research to make custom keybinding in STALKER. As the game designers haven't put such a feature in the game, and the only keybindings are DLL hardcoded, this severely limits the modding potential of the game. This mod offers an intermediate solution. It's not perfect in any way, and may contain bugs. It's still in a testing stage, but you're free to use it and experiment with it. You can also write whatever custom code you want in the scripts, depending on your needs. just make sure to notify me if you found a bug, or a way to fix one. See the table of contents below. 1. Features 2. Contents 3. Compatibility 4. Install 5. Uninstall 6. Credits 7. Contacts =========== 1. Features =========== The way the mod works is a bit complex in nature, and it depends on a third-party executable to capture the keycodes. Initialy i tried to make everything STALKER- scripted, but the only objects that had scripted access to the keyboard are the 'CUIScriptWnd' and 'game_cl_mp_script' classes, which are not useful in any way. (The first is a generic responsible for the scripted windows, the second is used in multyiplayer) So i had to think of something else. I wrote a small application that captures the pressed keyboard keys while the game is running and writes them in an LTX file. The game script that comes with the mod constantly reads the values from the LTX file and executes custom scripts. I attached the source of the keycapture app in case you want to edit and recompile. For the mod to work the keycapture app should allways be running with the game. I included a BAT file for easy starting both STALKER and the app. The scripted example allows you to use Antirad with the [J] key ;-) =========== 2. Contents =========== 1. 'gamedata' folder with STALKER scripts 2. stalkerkeys.exe, used to capture the keyboard input in real time and write it to the LTX file (config\keys.ltx) 3. start.BAT file for easy starting both the stalkerkeys.exe and the game, you can edit the starting parameters of the game as you like (by default i included -nologs -nointro -noprefetch) 4. C++ Source of stalkerkeys.exe 5. This readme ================ 3. Compatibility ================ There may be issues of overwriting files of other mods. This works with STALKER v1.0004 , but it should work with other versions too. ========== 4. Install ========== Just copy the 'gamedata' folder into the main STALKER directory. Make sure make a backup in case you already have such a directory. The keycapture app should be in the main STALKER directory (NOT \bin). If you use the BAT then put that there too. =========== 5. Unnstall =========== As simple as deleting all mod files ========== 6. Credits ========== Big greetings to all the modding community, keep up the good work guys! ;-) In case you want to use this mod or part of it in your own packs/mods, you are free to do so. Just make sure to notify me in case you think of improvements that will make this mod better. You can also put a tiny little credit somewhere in your code if you wish :-) ========== 7. Contact ========== For bug reports or other communication: todor[a]mailshack.com HeEr0 12.9.2007
There are no comments yet. Be the first!