Our designer want the functionallity to be able to "mod" our game by just adding new items inside the XML doc instead of having a fix amout of stuff.
At the moment it looks like this
Before new stuff is added
<!--- some other stuff --> <goods type="goods" name="food" tooltip="Used for traveling and in the home city" picture="food.jpg" value="5"/> <!--- some more other stuff -->
After
<!--- some other stuff --> <goods type="goods" name="food" tooltip="Used for traveling and in the home city" picture="food.jpg" value="5"/> <goods type="goods" name="coal" tooltip="do something" picture="coal.jpg" value="25"/> <!--- some more other stuff -->
The designer want to be able to go into the xml document and add a new goods without being forced to edit the code as well. But I have no clue how to do this or even how to think about it to solve it.
Anyone here that has an idea how this can be achived?
This post has been edited by FrozenSnake: 23 January 2013 - 03:04 AM

New Topic/Question
Reply




MultiQuote




|