turning off map-art.cfg autosave

Talk about anything related to Platinum Arts Sandbox here!
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
Captain_Ahab
Member
Member
Posts: 98
Joined: June 10th, 2009, 5:12 pm
Name: Richard
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

turning off map-art.cfg autosave

Postby Captain_Ahab » September 22nd, 2009, 8:28 am

Is there a way to turn off the map-art.cfg autosave?
I am frustrated by having map-art.cfg continually overwritten and not being able to set it up the way I prefer.
I'm not saying to get rid of it, because its obviously a nice thing, but just to give the option to not use it/turn it off.
for example...
'savecfg 1' to allow it to save as usual
'savecfg 0' to prevent it from being saved automatically and overwriting what was there before.

Just a matter of personal preferences where I might set map-art.cfg up like this;

exec map-variables.cfg
exec map-textures.cfg
exec map-models.cfg
exec map-soundfx.cfg
exec map-music.cfg

where it calls a .cfg for each section where I can use and reuse each for different maps with each section laid out as I wish ( which is not neccessarily like the standard map-art.cfg's format )..
I'd use map.cfg in a similar fashion but with sections for triggers, events, each npc, scripting for shops,etc.
Image

Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: turning off map-art.cfg autosave

Postby Hirato » September 22nd, 2009, 7:24 pm

the -art.cfg is setup to house the variables (map based) and art (so this should probably be called map-data.cfg instead)
the cfg however is no longer autosaved, mostly since I realised I was stupid for including an exec line in there :P

so the .cfg should be used for saving triggers, and anything which adds to or overwrites things inside the -art.cfg
This is not a url, clicking it is pointless


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Sandbox General Chat”

Who is online

Users browsing this forum: No registered users and 1 guest