Model schema

General discussion of ongoing work and such.
User avatar
FLOZi
[S44]Developer
Posts: 823
Joined: Sat Mar 01, 2008 11:06 pm

Model schema

Postby FLOZi » Thu Apr 02, 2015 12:29 pm


User avatar
hokomoko
[S44]Developer
Posts: 17
Joined: Sat Jun 25, 2011 4:07 pm
Location: Israel

Re: Model schema

Postby hokomoko » Thu Apr 02, 2015 12:34 pm

What about flares for more than one weapon? (AP-HE)

I assume turret is always used for vertical aim and sleeve for horizontal aim.
Currently guns use same piece for both, how will that be dictated? (I'm alright with turret_sleeve_bla)

User avatar
FLOZi
[S44]Developer
Posts: 823
Joined: Sat Mar 01, 2008 11:06 pm

Re: Model schema

Postby FLOZi » Thu Apr 02, 2015 12:38 pm

Will have a think on the former;

edit: probably only require the lowest ID and use weaponswithammo to check which other weapons use that flare?

On the latter - Yes, and they need to have empty pieces added in, rotating in 2 axes can have unexpected consequences and shouldn't be done.

User avatar
hokomoko
[S44]Developer
Posts: 17
Joined: Sat Jun 25, 2011 4:07 pm
Location: Israel

Re: Model schema

Postby hokomoko » Thu Apr 02, 2015 2:38 pm

documentation from chat:
[22:12:51] <hokomoko> [S44]Nemo [S44]FLOZi I pushed the script
[22:13:17] <hokomoko> it's in tools/s3o_tools/piece_update.py
[22:14:18] <hokomoko> it's easiest to give it the models root as a parameter => piece_update.py [options] objects3d
[22:14:40] <hokomoko> in options put -d to dump the text files
[22:14:57] <hokomoko> afterwards, -o optimises and -c commits the changes in the text files

If you don't put any options it will just list all discrepancies without changing any file.
Parameter doesn't have to be a folder, it can also be one or more files if you don't like to live dangerously like I do.


Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest