Possible interactive preset config based on a string of #?
13 posts
• Page 2 of 2 • 1, 2
Re: Possible interactive preset config based on a string of
NitemareMarauder wrote:Would it also be possible to allow in script code to modify the preset code? My idea stems from picking a weapon name and stance name with two comboboxes and then using those two conditions to set the options based on a database of preset codes for example weapon1 and stance1 is preset1, weapon1 and stance2 is preset2 etc. So i guess that also means this preset code option has to have configurable variables for which bytes/bits are going to be the ones set by the preset code.
Good idea, maybe it is possible to implement with a printf command like the GCMD for refreshing the interactive configuration window.
So when I want to update the byteoffsets 1,2 and 5 I can do something like #1:14#2:33#5:2
printf("GCMD:IC.Set:#1:14#2:33#5:2");
Where
#1:14 = 1: is the byteoffset
#1:14 = 14: is the value for the byteoffset
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Possible interactive preset config based on a string of
I have created something like that for a personal script, settings multiple value of Interactive Configuration controls with a single string according to a combobox selection.
It is added to the Online Resource, some more info here: viewtopic.php?f=23&t=8228&p=60067#p60067
It is added to the Online Resource, some more info here: viewtopic.php?f=23&t=8228&p=60067#p60067
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Possible interactive preset config based on a string of
Scachi wrote:I have created something like that for a personal script, settings multiple value of Interactive Configuration controls with a single string according to a combobox selection.
It is added to the Online Resource, some more info here: viewtopic.php?f=23&t=8228&p=60067#p60067
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
13 posts
• Page 2 of 2 • 1, 2
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 116 guests