Quick Q: How to manually manage game attribute lists [SORTA SOLVED]

SpookyBurger

  • Posts: 82
I'm wondering how I can clear a Game Attribute List manually from the settings -> attributes menu.  So far when I select all the "items" in the list and press delete nothing happens, and when I press the - button it only deletes one.  Thanks in advanced.

« Last Edit: October 23, 2013, 12:01:49 am by SpookyBurger »
Please try out my latest build of Patient 9 here.   http://www.stencyl.com/game/play/23179

SadiQ

  • Posts: 1795
I think you're stuck with deleting each item individually :(
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

SpookyBurger

  • Posts: 82
Wow that's . . . yikes!  Hopefully I hear some better news in the next posts.
Please try out my latest build of Patient 9 here.   http://www.stencyl.com/game/play/23179

SpookyBurger

  • Posts: 82
bump, hoping for a confirmation
Please try out my latest build of Patient 9 here.   http://www.stencyl.com/game/play/23179

mdotedot

  • Posts: 1640
Hello SpookyBurger,

There is another way, but it is kind of ... spooky.

First quit Stencyl!

Depending on your platform there is a directory where your files are located
(windows xp:)
C:\Documents and Settings\Administrator\Application Data\Stencyl\stencylworks\games\game

Inside this directory is a game.xml file.


First make copy of the game.xml file !!!

Next edit the file and search for the attributes section:

Code: [Select]
   <attributes>
        <list cid="-1" id="0" name="nu" save="true" val="list">
            <number order="0" value="7.0"/>
            <number order="1" value="8787.0"/>
            <number order="2" value="8787.0"/>
        </list>
        <list cid="-1" id="2" name="9u0u09y" save="true" val="list">
            <text order="0" value="j9j9j"/>
        </list>
        <text cid="-1" id="1" name="u9j9j" save="true" value="j9j9j0"/>
    </attributes>

So you are left with this:
Code: [Select]
<attributes> </attributes>
Only in that section! So do not touch the others.

Now start up Stencyl again and load your game and check the settings!


Hope this helps.

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

SpookyBurger

  • Posts: 82
Thanks, that worked like a charm.  I was going to start deleting the variables and start creating new ones with the same names and then import the lists.  But this works too.  I'm still kind of sad there isn't a easy way to do this.
Please try out my latest build of Patient 9 here.   http://www.stencyl.com/game/play/23179