| View previous topic :: View next topic |
| Author |
Message |
turnerg
Joined: 18 Jan 2004 Posts: 1088 Location: Dallas, Texas
|
Posted: Tue Oct 05, 2004 4:52 pm Post subject: Material Files in model...... |
|
|
I'm more or less just checking with Serg to see if he has any insight into the editing of these, but I know Covet also peeps in every once in a while too.
It would be really nifty if the camo could be removed from Bismarck for obvious reasons, and also if we could add patterns to other ships through material files.
Serg mentioned once that he may have had a clue on how to do it, just checking to see? |
|
| Back to top |
|
 |
sergbuto
Joined: 14 Sep 2002 Posts: 2530 Location: Sweden
|
Posted: Wed Oct 06, 2004 9:24 am Post subject: |
|
|
| What do you mean by "material file"? The JRF section containing texture? This has nothing to do with it. Things like camo on Bismarck and Prinz Eugen, red funnel on Renown, blackish bow deck on Hood, etc. are directly embedded to nodes themselves. Yes, I have seemed to figure how to get rid of those things but have not had time to look at this closer. |
|
| Back to top |
|
 |
CB..
Joined: 30 Apr 2002 Posts: 2306 Location: UK
|
Posted: Wed Oct 06, 2004 10:30 am Post subject: |
|
|
do you have any idea what the x_ship B_ship and so on headers are in the model files Serg'?
and are they significant in any way..
why im asking is that i changed a DD model files header from just ship to N_ship
and it loaded fine but didnt display anypart of the model file at all...just smoke and a wake ..lol...mind you couldnt help thinking it might be usefull for something somehow..
anyhuw wondered if there was a list of possible entrys here |
|
| Back to top |
|
 |
Seeadler
Joined: 14 Mar 2001 Posts: 1992 Location: Germany
|
Posted: Wed Oct 06, 2004 10:45 am Post subject: |
|
|
| CB.. wrote: | | do you have any idea what the x_ship B_ship and so on headers are in the model files |
X_???? nodes are programable switches inside the model structure, they can switch between different parts of the model structure and show only one at time, other parts under X-switch control are hidden. SH/DC normaly use two index for switches, 0 and 1, 0=good_model 1= damage_model. |
|
| Back to top |
|
 |
sergbuto
Joined: 14 Sep 2002 Posts: 2530 Location: Sweden
|
Posted: Wed Oct 06, 2004 11:28 am Post subject: |
|
|
| CB.. wrote: | do you have any idea what the x_ship B_ship and so on headers are in the model files Serg'?
and are they significant in any way..
why im asking is that i changed a DD model files header from just ship to N_ship
and it loaded fine but didnt display anypart of the model file at all...just smoke and a wake ..lol...mind you couldnt help thinking it might be usefull for something somehow..
anyhuw wondered if there was a list of possible entrys here |
What model was that? The word "ship" does not play any role. It is just a"title" for the section. I guess you put N_ship by writing "N_" in front of the "ship" over two dots. In this case you overwrote the groupping info for the section and the model were not loaded correctly.
As to X_ship and B_ship, I guess you refer to the sub models in SH2. X_ship stands for the extra-model which is used in the F9 view. You probably found the word B_ship in P, T, Sargo-class sub model files in PA. I have changed X_ship to B_ship along with other manipulations when trying to get rid of such an extra-model for the F9 view. I do not remember whether this change have helped or the extra-model is not loaded due to other modifications. X_ship may also be just a title for a section. |
|
| Back to top |
|
 |
sergbuto
Joined: 14 Sep 2002 Posts: 2530 Location: Sweden
|
Posted: Wed Oct 06, 2004 11:40 am Post subject: |
|
|
Just saw Seeadler's post. X-switch stuff makes sense.  |
|
| Back to top |
|
 |
turnerg
Joined: 18 Jan 2004 Posts: 1088 Location: Dallas, Texas
|
Posted: Wed Oct 06, 2004 12:04 pm Post subject: |
|
|
Well i guess you ansewered my question, in other words it is possible to get rid of those anomalies we hate, is there any of your knowledge you might share with us on your own free time? anything to get rid of some of these aches would be a gem. |
|
| Back to top |
|
 |
CB..
Joined: 30 Apr 2002 Posts: 2306 Location: UK
|
Posted: Wed Oct 06, 2004 12:42 pm Post subject: |
|
|
| sergbuto wrote: |
What model was that? The word "ship" does not play any role. It is just a"title" for the section. I guess you put N_ship by writing "N_" in front of the "ship" over two dots. In this case you overwrote the groupping info for the section and the model were not loaded correctly.
|
Cheers Serg' Seeadler...lots of info there i'll see if i can absorb some of it...
Serg' the model was the tribal destroyer...yup i just tagged N_ in front of the ship entry..complex hex editing is a little beyond me at present...
what i was doing was trying to follow up on the thought that there was something missing from the model files for the DD's that caused them to be inactive after a save....(theres a reference to a model file designation in the saved game file) so that seemed a logical place to start N_ship being a mission file reference to destroyers/warships etc...
Seeadler! might those damaged versions of the ports be activated useing this stuff might be nice to have damaged ports for some scenarios..(i remember you saying that some of the ports had damaged state modelling incorporated into them , could the damaged state be swopped with the undamaged state to give wrecked buildings etc..? |
|
| Back to top |
|
 |
Seeadler
Joined: 14 Mar 2001 Posts: 1992 Location: Germany
|
Posted: Wed Oct 06, 2004 3:04 pm Post subject: |
|
|
| CB.. wrote: |
Seeadler! might those damaged versions of the ports be activated useing this stuff might be nice to have damaged ports for some scenarios..(i remember you saying that some of the ports had damaged state modelling incorporated into them , could the damaged state be swopped with the undamaged state to give wrecked buildings etc..? |
I think not, the XDock_1 for example have damage models controlled by a x_switch but the game-logic don't use this switch. The x_switches are only give the possibility to hide/unhide parts of a model, but the switch must be used from the program code. The same old thing ...without access to the code, no chance! |
|
| Back to top |
|
 |
CB..
Joined: 30 Apr 2002 Posts: 2306 Location: UK
|
Posted: Wed Oct 06, 2004 5:11 pm Post subject: |
|
|
Damng it thanks for trying tho  |
|
| Back to top |
|
 |
|