Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: aldo_14 on March 21, 2002, 12:46:35 pm

Title: Adding insignias with PCS?
Post by: aldo_14 on March 21, 2002, 12:46:35 pm
How are insignia point sadded with PCS?  It's about the only thing I have left to figure out with pof editing :)
Title: Adding insignias with PCS?
Post by: CP5670 on March 21, 2002, 12:59:19 pm
That is what I am trying to learn as well, but I hardly know anything about texturing or modeling. :p

There seem to be two insignia entries per squad logo position, one for LOD0 and another for LOD1. Each one has a set of xyz coordinates and seven faces. (whatever those are) Each face in turn has some "UV" coordinates, which will probably make more sense to many of you than it does to me, along with three "vertex indices." Then there are also several numbered vertex positions specified at the bottom; I think the numbers are referred to in the vertex indices section.

hey, even Kazan says you should leave that part of the pof alone. ;):D

rectangular coordinates always slightly confuse me for some reason when working with 3D stuff. Why couldn't they use spherical coordinates instead?
Title: Adding insignias with PCS?
Post by: aldo_14 on March 21, 2002, 01:06:37 pm
Quote
Originally posted by CP5670
That is what I am trying to learn as well, but I hardly know anything about texturing or modeling. :p

There seem to be two insignia entries per squad logo position, one for LOD0 and another for LOD1. Each one has a set of xyz coordinates and seven faces. (whatever those are) Each face in turn has some "UV" coordinates, which will probably make more sense to many of you than it does to me, along with three "vertex indices." Then there are also several numbered vertex positions specified at the bottom; I think the numbers are referred to in the vertex indices section.

hey, even Kazan says you should leave that part of the pof alone. ;):D

rectangular coordinates always slightly confuse me for some reason when working with 3D stuff. Why couldn't they use spherical coordinates instead?


I think it was something to do with interesecting the cob witha  specially named light, or something.  PCS can generate it - no point attempting manual editing, though - I just don;t know how.  I do, however, remeber hearing that Bobbau knew how, and I'm assuming a few people should have an idea.
Title: Adding insignias with PCS?
Post by: Eternal One on March 21, 2002, 03:08:30 pm
Quote
Originally posted by aldo_14


I think it was something to do with interesecting the cob witha  specially named light, or something.  PCS can generate it - no point attempting manual editing, though - I just don;t know how.  I do, however, remeber hearing that Bobbau knew how, and I'm assuming a few people should have an idea.


It's done by making a clone object consisting of the faces you wish to have the insignia on. And of course the clone faces must be at the exact same positions as the original faces in the original model, and you have to uv map the cloned faces etc. And then you make this object a child to the main hull, thus you'll need a light.

Unfortunately, I can't remember no longer what the combo-object is to be named. My guesses naturally are insg** and insignia**. :)
Title: Adding insignias with PCS?
Post by: LAW ENFORCER on March 21, 2002, 03:58:40 pm
its called insgLODa or 0

(i use it for every fighter, I pressed people on this ages ago, bob gave me the answer but not clear enough)
Title: Adding insignias with PCS?
Post by: Bobboau on March 22, 2002, 04:02:40 am
INSG chuncks are actualy a seperat bit of geometry, PCS will convert it if you have them in the right subobject name I don't remember exactly what the name is and Truespace is busy rendering out an animation at the momen't, so I'll tell you later :)
Title: Adding insignias with PCS?
Post by: aldo_14 on March 22, 2002, 05:17:08 am
Quote
Originally posted by Eternal One


It's done by making a clone object consisting of the faces you wish to have the insignia on. And of course the clone faces must be at the exact same positions as the original faces in the original model, and you have to uv map the cloned faces etc. And then you make this object a child to the main hull, thus you'll need a light.

Unfortunately, I can't remember no longer what the combo-object is to be named. My guesses naturally are insg** and insignia**. :)


So it's a seperate (UV mapped & light glued) copy of the faces?

Thanks..... just need to figure out how to do that with TS5 now. :)
Title: Adding insignias with PCS?
Post by: Bobboau on March 22, 2002, 01:24:25 pm
no, it is like five faces that fit right on some existing faces, you make a flat plain, triangulate it, erase the faces on the back of it (this will make it an unsolid object) glue all of the two triangle plains together and name it InsgLOD[00] (maybe there shouldn't be thouse brackets)
Title: Adding insignias with PCS?
Post by: Bobboau on March 22, 2002, 01:41:14 pm
here look at this (http://freespace.volitionwatch.com/blackwater/Apollo.zip) now the insg code for PCS is kind of bugy, so after you run it you'll have to copy the INSG chunk out of the new model into an older one (use a hex editor) it generaly comes right before the PINF chunk
Title: Adding insignias with PCS?
Post by: aldo_14 on March 23, 2002, 06:32:20 am
Quote
Originally posted by Bobboau
here look at this (http://freespace.volitionwatch.com/blackwater/Apollo.zip) now the insg code for PCS is kind of bugy, so after you run it you'll have to copy the INSG chunk out of the new model into an older one (use a hex editor) it generaly comes right before the PINF chunk


ah... that seems useful.....  thanks, I'll try and fiddle with it. :)

Just need to dig out a Hex editor, then.........