That might mean that you're having an issue with the menu itself. Check the code to make sure it's working and make sure the menu is viable (not missing any elements).
Controller(GamePad) Universal Compatibility Mod
-
A55K1KA
- Posts: 120
- Joined: Thu Apr 03, 2014 6:32 am
My Current and hopefully
My Current and hopefully final issue resides in the attached "problematic script"
it seems to do all the steps correctly, but for some reason never adds the last token to the player.
also attached is a SCOF debug report i generated.
If anyone has any ideas, I'd really appreciate it.
Thanks.
edit* by the way you were right Talmas, the menu did have an issue, its been resolved now. Thanks.
In That It's One Of The Few Things
That One Can Truly Wrap Their Head Around"
-A55K1KA
-
A55K1KA
- Posts: 120
- Joined: Thu Apr 03, 2014 6:32 am
a version of the script
a version of the script without the reference notes
In That It's One Of The Few Things
That One Can Truly Wrap Their Head Around"
-A55K1KA
-
A55K1KA
- Posts: 120
- Joined: Thu Apr 03, 2014 6:32 am
The issues posted above (all
The issues posted above (all of them) are fixed, however it seems my method for altering the hot keys was lacking something, ill be trying a few alternate methods i have been thinking of. Will post if I cant resolve the issue or if by some stroke of genius (or in my case luck) it works out for me.
In That It's One Of The Few Things
That One Can Truly Wrap Their Head Around"
-A55K1KA
-
A55K1KA
- Posts: 120
- Joined: Thu Apr 03, 2014 6:32 am
Basically the scripts seem
Basically the scripts seem good to me, however in game it is not disabling the original DPad key functions and I am not entirely sure it is adding my new ones (I cannot test this effectively since my HUD is playing up at the moment).
If anyone wants to take a look be my guest, I have attached a 7z file containing the 3 scripts in TXT files and the ESP.
Anyone who looks at the ESP may notice the file size difference from previous versions, I cut the Modifier Key Configuration messages/scripts. At this point I just want this to work, I could care less about catering to the end users preference right now.
--------------------------------------------------------------------------------------------------------------------------------------------
I will write a basic outline of the mod functions below, so you get a general idea what i am trying to accomplish...
Basically the ESP has a quest that starts at launch on the condition that the player hasnt already had the quest run ( i added the final token as a condition, the player cant have it if the quest is to trigger).
The quest then adds a token to the player, the token displays a warning message and stops the quest from running and also adds another token to the player if they accept.
The 2nd token will run a startup of sorts that will set variables, and then remove the first token.
once the first token is removed, the remaining portion of the script is unlocked and *SHOULD* start disabling the DPad functions and then apply the modifier and hotkey system.
The last line there is the problem area.
Added a alternate version of ScriptC.txt to the uploads, it changes several variables to directly reference to controller's buttons and removes a few un needed variables that i forgot to delete. Note this version of ScriptC also does not work although i do not see why it wouldnt.
In That It's One Of The Few Things
That One Can Truly Wrap Their Head Around"
-A55K1KA
-
A55K1KA
- Posts: 120
- Joined: Thu Apr 03, 2014 6:32 am
Script update to include
Script update to include print notes and print added
In That It's One Of The Few Things
That One Can Truly Wrap Their Head Around"
-A55K1KA
-
A55K1KA
- Posts: 120
- Joined: Thu Apr 03, 2014 6:32 am
My last trick up my sleeve...
My last trick up my sleeve...
Basically I will run a calibration, which will disable AI and player movement, that will be triggered by the player equiping an item (i think ill use a copy of the sunglasses), this will make it save to do the following steps...
the calibration, will show some messages asking the player to press and hold a button until a menu message shows, which will basically ask the player the confirm that they were holding the correct button.
Upon confirmation, a token is added which will tell the game not to re run the first part of the loop.
Here is an example of this..
if player.getitemcount XTokenA == < 1
show message XRecuringMessageA
Set iModKeyVariableA to Get the key that is being held (i cant remember the line for that right now)
if key found (again not sure of line)
Show message XMenuMessageA
(insert usual menu find button pressed bs here)
if its true it will add the token XTokenA
A poor example but i am sure you get the idea...
That part is repeated until i have all the information i need,
The variables that are set by the calibration (above) will then be used to disable function on those keys and then add my existing commands over the top.
That should pretty much sum it up (assuming you have looked at my current script)
AND this should be foolproof, if it isnt i call to kill the wizard that is fucking with me...
In That It's One Of The Few Things
That One Can Truly Wrap Their Head Around"
-A55K1KA
-
A55K1KA
- Posts: 120
- Joined: Thu Apr 03, 2014 6:32 am
My Latest attempt at the
My Latest attempt at the Script, check it out if you're interested... I warn you its a long one.
In That It's One Of The Few Things
That One Can Truly Wrap Their Head Around"
-A55K1KA
-
A55K1KA
- Posts: 120
- Joined: Thu Apr 03, 2014 6:32 am
Well I have hit a wall, it
Well I have hit a wall, it seems the controller doesnt use the same "Control codes" that are listed with things like NVSE..
so the "IsControlPressed" line i was using, will never pick up the control pressed because it is not in the numbers listed (0 to 27)..
Everything i write from here on just hit me as i was writing this... I am going to post it anyway, so i can refer back to this and as can anyone else.
However the game does pick up the control, because it stopped printing the message when i hit the button..
in short there is a way to find the controller's control codes, but it might take me a while to find.. I do not know where the control codes end or how far they go..
Ill make a script to find the control codes and print the results to a txt file via the SCOF command.
If I do manage to find the codes i will share them with grib so he can update his NVSE docs page ( i think that was grib's page, it might just be someone with a similar name), and ofcouse post them here.
In That It's One Of The Few Things
That One Can Truly Wrap Their Head Around"
-A55K1KA
-
A55K1KA
- Posts: 120
- Joined: Thu Apr 03, 2014 6:32 am
My solution to the control
My solution to the control codes not being documented... a script that will find any controls code between 0 and 9,999.
Written all by hand...
Hah nah I am smarter than that.. NotePad's replace feature made this super fast to do.
Gona try it the script shortly, if it fails.. well i up the anti a little.. ill try 99,999 next and so on in that style until i find these damneded codes...
In That It's One Of The Few Things
That One Can Truly Wrap Their Head Around"
-A55K1KA