New tanks directory

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: New tanks directory
PostPosted: Sun Aug 31, 2003 9:32 am 
User avatar
Charred
Not Signed Up For Stats

Joined: Tue Aug 05, 2003 9:47 pm
Posts: 157
Location: 49.9N 99.9W
After playing with the new milkshape3d model (and two textures for each model-texture+alpha), my scorched/data/tanks directory has become a little bit of a mess (it was already a mess but it's worse now.. and will only continue to get worse). On my own system I've placed every model in a sub directory of the tanks directory, and just changed the paths in the tanks.xml file. This allows for a better management system of models in my opinion since I can put all the skins and the model for one tank in one place, or to group them by category etc.

Now on my system this works fine(with a caviat-see below)... but I'm running windows and so the path in the tanks file is now tank6/tank6.ase.... copy tanks.xml to a unix machine and this will crap out.

Gavin can you add path recognition to the tanks xml/xml parser??? Now this is a trivial change and I could prob. do it myself but I was thinking that we need to decide on which slash we should use, and if there were any other path character problems that could be encountered.... (off the top of my head I can only think of the two slashes / and \:?:, but I know the old mac : seperator might be a problem as well, even if OS X now uses the / like unix).'

Also the path trick doesn't work for the new milkshape models since the texture paths are relative to the txt file and with this system the code is not able to figure that out.

Cam

P.S.: I don't know if this would interest you guys but I could also dump my .psd's that I do skins with to these directories as well as the orig. milkshape files I have for each model, but this is quite a chunk of disk space at 20 megs or so :oops: ..
There are only 10 types of people in this world:
Those that understand binary and those that don't


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2003 12:30 pm 
User avatar
Site Admin
Not Signed Up For Stats

Joined: Mon Aug 04, 2003 4:09 pm
Posts: 4771
Location: Scotland
Unix uses /
Windows uses \

However windows can also use / just like unix.
Just make sure all the paths have / in them and not \ and we should be fine on all systems.

I have fixed the MS model file format so the textures are relative to the MS file (not tanks directory), and I have moved the guntower models into a seperate directory to show how this works.

Don't wory about the psds for the moment, the source is already too large :).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group