Came up with a way to make things even easier on anyone who needs to edit the data files… This is the new format
Which can be written as:
to get the same effect, relying on default MOSParticle class’ default initialization values.
Basically, the difference from the last post is that I got rid of the special Parent properties required before to define the values of parent properties. Keeping track of the class hierarchy while reading is just a chore the program and not the human should be doing.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
Hehe, nice.
Not to mention you’ve pretty much halved the script loading/parsing time 🙂 (in this example at least)
The only disadvantage I can see from this is that you’d have to keep some documentation around of all the variables the modder can access.
[…] On the file system, a module simply looks like a folder in the game’s directory, named “MyMod.rte” or something. It contains at least one .ini (index.ini) and whatever other resources like bitmaps and binary data files used by that module. For organizational purposes, the index ini can ‘include’ (IncludeFile = MyMod.rte/Weapons.ini) other ini files within the same module, like a ‘Scenes.ini’ or ’Actors.ini’. All these ini files use the new data formatting system throughout (see earlier post). […]