BGForums

BattleGoat Studios | Supreme Wiki | Facebook | Twitter | YouTube
It is currently May 25 2013

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: DEFAULT.PICNUMS tutorial?
PostPosted: Mar 22 2012 
Offline
Captain

Joined: Oct 08 2011
Posts: 141
Is there a guide somewhere that explains what the values from the various columns of DEFAULT.PICNUMS stand for? I know which is the ID and which is the model number, but I`d like to know what the rest of the numbers do.


Top
 Profile  
 
 Post subject: Re: DEFAULT.PICNUMS tutorial?
PostPosted: Mar 22 2012 
Offline
Captain

Joined: May 11 2009
Posts: 136
Location: UK
Been a while since i've looked in that file but the last number changes the scale of the 3d model assigned to that unit in game. Then there are a load of commas to the left and then another number that assigns which mesh is used for the unit.

That's all I could figure out when I was experimenting.


Top
 Profile  
 
 Post subject: Re: DEFAULT.PICNUMS tutorial?
PostPosted: Mar 23 2012 
Offline
Captain

Joined: Oct 08 2011
Posts: 141
Thanks! That`s about as much as I`ve figured out myself. The main reason I`m trying to figure out what the rest of the values do is because I was trying to use the mesh of the AH-1 Cobra helicopter on a different entry without adjusting anything else but the mesh number of the new line. The result was that in game the Cobra was missing its rotor blades and showing only its main body. Adjusting for the new line all the values to match those of the original Cobra entry from DEFAULT.PICNUMS resulted in the entire helicopter showing properly in game. So obviously, some of the settings from DEFAULT.PICNUMS are pretty important. They probably tell the engine how many parts a model has and other such things.


Top
 Profile  
 
 Post subject: Re: DEFAULT.PICNUMS tutorial?
PostPosted: Mar 23 2012 
Offline
Captain

Joined: Oct 08 2011
Posts: 141
I haven`t tested it yet, but I`ve been looking at the wiki article on DEFAULT.PICNUMS:
http://www.supremewiki.com/index.php/Mod_Unit_3D_Meshes
and it says:
Quote:
#31 is defined as using mesh #31 with two elements.

I`m not sure what the "elements" means, but looking at that entry I can only guess that it refers to this column:
Quote:
31, 0, 1, , , -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 13, , , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, , , , , , 0.7,

and that that value might determine whether the model has more than one part.

EDIT: actually, that`s probably not it. I`d really appreciate some input on this. I have to wonder why each game file can`t have a comment at the beginning naming what each column does. It would make things so much easier modding wise.

Btw, the SR2020 files had tags like FALSE and TRUE which in SRCW seem to have been replaced with -1 for TRUE and 0 for FALSE if I read this correctly.


Top
 Profile  
 
 Post subject: Re: DEFAULT.PICNUMS tutorial?
PostPosted: Mar 26 2012 
Offline
Captain

Joined: Oct 08 2011
Posts: 141
@Balthagor could you please confirm that the only difference(aside from new units) between the DEFAULT.PICNUMS of SR2020 and the one from SRCW is the translation of the FALSE and TRUE tags into 0 and -1? As far as I can see the two files(from SRCW and SR2020) are interchangeable and recognized by either of the two`s engine, but I want to make sure I`m not missing something important.


Top
 Profile  
 
 Post subject: Re: DEFAULT.PICNUMS tutorial?
PostPosted: Mar 26 2012 
Offline
Supreme Ruler

Joined: Jun 04 2002
Posts: 16497
Location: BattleGoat Studios
I can't confirm it, I don't work directly in either file. I'd have to sit down and to a bunch of checking. It sounds right, I don't remember us discussing changes to the file. I can confirm that 0/-1 is the same as true/false for the code, they are interchangeable.

_________________
Chris Latour
BattleGoat Studios
chris@battlegoat.com


Top
 Profile  
 
 Post subject: Re: DEFAULT.PICNUMS tutorial?
PostPosted: Mar 26 2012 
Offline
Captain

Joined: Oct 08 2011
Posts: 141
Thank you for the reply!
Quote:
I can't confirm it, I don't work directly in either file. I'd have to sit down and to a bunch of checking.

I didn`t mean to make you lose time checking the files to figure things out. I just presumed you`re encyclopedic. :D

Quote:
I can confirm that 0/-1 is the same as true/false for the code, they are interchangeable.

Thank you! That`s important to know.


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


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:  
Powered by phpBB® Forum Software © phpBB Group