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.

Custom properties in map XML

Postby lenchis001 » Mon Jul 17, 2017 11:21 am

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.
lenchis001
 
Posts: 17
Joined: Sun Sep 18, 2016 5:44 pm
Location: Belarus, Grodno

Re: Custom properties in map XML

Postby Brainsaw » Tue Jul 18, 2017 6:01 am

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)
Brainsaw
 
Posts: 1115
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria


Return to Beginners Help

Who is online

Users browsing this forum: No registered users and 1 guest