Custom properties in map XML

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
lenchis001
Posts: 17
Joined: Sun Sep 18, 2016 5:44 pm
Location: Belarus, Grodno

Custom properties in map XML

Post by lenchis001 »

Hello everyone! Say me please: can i define custom scene node properties in map XML? If "yes", then how can i read it and where can i find sample?

Thank you.
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: Custom properties in map XML

Post by Brainsaw »

Do you mean custom scene nodes in files that can be loaded using ISceneManager::loadScene? You can create your own custom scene nodes to load and save data to these files (http://irrlicht.sourceforge.net/docu/example003.html is a good starting point). I am (still) using IrrEdit to create the scene files for my games, and it is possible to create plugins for this application to have access to the custom nodes. It took me (back then) some time to figure out how to write the plugins (I think samples are included), but once you got that running it works really fine for me (I use my IrrEdit plugins to define the physical parts of the scene, see "IrrODE" (that project is outdated, but it includes a plugin for IrrEdit)
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Post Reply