Rakewell Posted August 11, 2009 Share Posted August 11, 2009 I posted this yesterday, but for whatever reason, my topic was deleted. Mods: did I do something wrong? Please advise so I won't make the same mistake twice. I am looking for a mod that cycles through weapons (ie tagged weapons 1-9) like your general FPS. Something that utilizes the mouse scroll for this, but mapped keys for next/previous weapon would be acceptable. I have googled the hell out of this and am coming up with nothing. Please forgive if it has been asked before. Is there such a mod? Thanks in advance. Link to comment Share on other sites More sharing options...
Skree000 Posted August 12, 2009 Share Posted August 12, 2009 your solution would lie with FOSE (fallout script extender) it has remapped keypress controls for each button and command of both keyboard, mouse and also your preset game keys as well, so you can make 'whatever makes you jump, do something else' or alternatively you can just make the spacebar do something. its alot of control, and its great. Read the bottom few lists of the document here:http://fose.silverlock.org/ theres a doc/html at that link. check it out: 256: Left Mouse Button257: Right Mouse Button258: Middle/Wheel Mouse Button259: Mouse Button 3260: Mouse Button 4261: Mouse Button 5262: Mouse Button 6263: Mouse Button 7264: Mouse Wheel Up265: Mouse Wheel Down so all youd need to do is make a script that asks for Control #264 and #265 and it would do something :) youd likely need to write a script that handles weapon cycling, ie. (user must have weapons linked in weapon slots 1 and 2 at minimum to get it to work. The script would basically cycle numerically in an increasing number from 1-8 every time, using the GetKeyPressed and the scancode #, um this command i think: GetKeyPressAlias: gkpParameters:1 index:IntegerReturn Type: scanCode:IntegerOpcode: 0x1441 (5185)Condition Function: NoIntroduced In: 1Calling Convention: BDescription: Returns the scancode of the nth key which is currently being held down then a short series of if statements saying that if the mousewheel is scrolled up, the numbers 1-8 are pushed incrementally in sequence ascending.if the mousewheel is scrolled down, the numerical sequence decreases. Youd also have to add some checks to 'get current weapon selection' so it would scroll from the current one to the next higher or lower, instead of restarting from 1 every time, know what i mean.... Its totally doable, surprised nobody has yet in the end you need: FOSE.Basic flowchart as to layout the groundwork for your script you will have to write, including what you want it to do. Once you have that scripting will be easier. Script needs;instructions to recognize mousewheel inputsinstructions on how to get the current equipped hotkey/weapon and return that as a valuecode to add to that numerical value, or subtract from it when mousewheel input is recognized i think? im no coder, just an artist... but thats how id try it Link to comment Share on other sites More sharing options...
Albath Posted August 12, 2009 Share Posted August 12, 2009 http://www.fallout3nexus.com/downloads/file.php?id=8040 Already available, if this is what you're looking for. Cheers. Link to comment Share on other sites More sharing options...
Rakewell Posted August 12, 2009 Author Share Posted August 12, 2009 http://www.fallout3nexus.com/downloads/file.php?id=8040 Already available, if this is what you're looking for. Cheers. SPLENDID. Thank you so much Albath- EXACTLY what I was looking for. Cheers mate :thanks: Link to comment Share on other sites More sharing options...
Rakewell Posted August 12, 2009 Author Share Posted August 12, 2009 your solution would lie with FOSE (fallout script extender) it has remapped keypress controls for each button and command of both keyboard, mouse and also your preset game keys as well, so you can make 'whatever makes you jump, do something else' or alternatively you can just make the spacebar do something. its alot of control, and its great. Read the bottom few lists of the document here:http://fose.silverlock.org/ theres a doc/html at that link. check it out: 256: Left Mouse Button257: Right Mouse Button258: Middle/Wheel Mouse Button259: Mouse Button 3260: Mouse Button 4261: Mouse Button 5262: Mouse Button 6263: Mouse Button 7264: Mouse Wheel Up265: Mouse Wheel Down so all youd need to do is make a script that asks for Control #264 and #265 and it would do something :) youd likely need to write a script that handles weapon cycling, ie. (user must have weapons linked in weapon slots 1 and 2 at minimum to get it to work. The script would basically cycle numerically in an increasing number from 1-8 every time, using the GetKeyPressed and the scancode #, um this command i think: GetKeyPressAlias: gkpParameters:1 index:IntegerReturn Type: scanCode:IntegerOpcode: 0x1441 (5185)Condition Function: NoIntroduced In: 1Calling Convention: BDescription: Returns the scancode of the nth key which is currently being held down then a short series of if statements saying that if the mousewheel is scrolled up, the numbers 1-8 are pushed incrementally in sequence ascending.if the mousewheel is scrolled down, the numerical sequence decreases. Youd also have to add some checks to 'get current weapon selection' so it would scroll from the current one to the next higher or lower, instead of restarting from 1 every time, know what i mean.... Its totally doable, surprised nobody has yet in the end you need: FOSE.Basic flowchart as to layout the groundwork for your script you will have to write, including what you want it to do. Once you have that scripting will be easier. Script needs;instructions to recognize mousewheel inputsinstructions on how to get the current equipped hotkey/weapon and return that as a valuecode to add to that numerical value, or subtract from it when mousewheel input is recognized i think? im no coder, just an artist... but thats how id try it Thanks for the ideas - I'm going to use your FOSE suggestion for some other commands I've been wanting to rescript. I love the mod community. Cheers- :biggrin: Link to comment Share on other sites More sharing options...
Recommended Posts