Jump to content
Sign in to follow this  
.kju

Script commands with access on configs

Recommended Posts

hello guys smile_o.gif

this brainstorming is meant to be to discuss what is possible with script commands

which can access (loaded?) configs during the game, like these:

config_name

Quote[/b] ]Returns subentry of config entry with given name. Identical to config/name. (alias for >>).

configFile

Quote[/b] ]Return root of config entries hierarchy.

configName

Quote[/b] ]Returns name of config entry.

count_config

Quote[/b] ]Returns count of subentries.

getArray_config

getNumber_config

getText_config

Quote[/b] ]Extract Array/Number/String from config entry.

inheritsFrom_config

Quote[/b] ]Returns base entry of config entry.

isArray_config

isClass_config

isNumber_config

isText_config

Quote[/b] ]Check if config entry represents Array/Class/Number/String.

missionConfigFile

Quote[/b] ]Return root of mission description.ext entries hierarchy.

select_config

Quote[/b] ]Returns subentry with given index.

Also to be found here: BIKI Category:Command_Group:_System_Commands

The descripition and the examples in the BIKI are not over extensive,

but one can get a rough idea what these are all about.

A friend of mine told me that he uses the commands for a weapon selection

dialog for example. He reads all the names of the weapons and certain

weapon characteristics from the configs and displays them in his dialogs.

I'll try to add the mission / the examples here soon.

So obviously you can read all values from configs, get information about

their structure, your current position and check the type of values.

So the big question here is what you can do with these commands -

what ideas are possible - how to abuse these commands for hacks or

workarounds.

Please share any examples of yours using these commands.

Feel free to add ideas/comments/information - its very welcome!

best regards

Q

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×