Post news RSS Changes to LGS.

I've been working on some changes to LGS, the scripting language of the cellblock 9 engine. These modification are made so that i can more easily move game-code from inside the engine to LGS scripts. The bad news is that mods/games for the cellblock 9 engine (LBZ alpha and all mods for LBZ alpha) will need some changes to their scripts... (LBZ 8460 mods are unaffected)

Posted by on

I've been working on some changes to LGS, the scripting language of the cellblock 9 engine.
These modification are made so that i can more easily move game-code from inside the engine to LGS scripts.
The bad news is that mods/games for the cellblock 9 engine (LBZ alpha and all mods for LBZ alpha) will need some changes to their scripts... (LBZ 8460 mods are unaffected)

The changes are:
The #texture command used to take 1 parameter: the name of a texture...
New syntax for #texture is: "#texture "data/somefile.tga" as tsomename", when using this texture: "texture_set($tsomename);" ... The old style "texture_set(0);" will no longer work.
The #model command is changed in exactly the same way: "#model blah.xml as mmymodel" and "setmodel($mmymodel);"
The #modelanim command is also changed in exactly the same way: "#modelanim animname as mmyanim" and "modelanim($mmyanim);"

This update will go life in a couple of days, i'll post again when it does.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.