Help needed with custom ship
-
You say using another .mat solved the crash (but not desired as a fix)
sounds like your textures are corrupt, i take it you used .dds but did you convert them properly for Freelancer?? the engines picky about non squared textures. use the old .tga type for them if you must have a particular “non-format” (rectangle) texture… look for info on this… as its a pain in the ass to track… but easy to just not do it and make all your textures conform before exporting from ms3d…
correct naming of textures & cmp nodes goes along way to preventing this as well… i say this due to the fact the bretonia .mat worked… it probably shouldn’t have… hard to tell why, fluke maybe, not something i would have thought possible as the .mat data ties into the .cmp using similar names for all ie: Bretonia .mat works with br_ ships… but not ku_ or li_ … some textures will show, grill/mounting block, but the mains should be white as the data just ain’t there to tie to the .mat from the .cmp
could also be an arch error… did u define EVERYTHING propely… engine#'s, shieldlink params for the fighter type… could also be a bad good entry… strip the shields and anything but engine,power,scanner & tractor… try agian…
-
When you exported the model from gmax, what uvw did you use? shrink wrap?
How did the model appear in ms3d when you imported from md3? black or white?How did you make entry for the ship? by manual or FLe? If you use FLe, can you see the ship at the shipdealer when you clicking on preview?
Its gonna be a good idea if you post your goods.ini and shiparch.ini only that part which contains your ship of course.
-
to check the .3db worry… just use this line…
item_icon = equipment\models\commodities\nn_icons\EQUIPICON_nomadpower.3db
that solves the prob if its your icon… this icon is good for when you have no good icon as well.
and i’ll second the 4 or more entry’s in the ship markets prob… seen that one… easy fix just use 1… your custom ship & never more than 3
also… you used a lot of tools for the task… when in theory it’s easyer (for some things) to do by hand… tools can make BAD mistakes that when starting out will stress you alot (as you don’t know… you don’t recognize them…) we normally use tools to place & template our data… then handcode (lol… copy/paste… edit…) our final file… Hcmp dont fall into that category though… brilliant proggy, BUT… it will show you a working ship… and FL still crashes as it handles the CMP with less vigilance than the game… it will also show textures the wrong way on many ships… but they flip fine ingame and look correct (mainly a .dds thing)
If i were u… I’d swap out the icon 1st… if still crashing, scrutinize your goods & arch (or have another do it for you)… if all else fails… send someone like me (who lives inside his shiparch.ini & ms3d) your ship for simple debugging… the 3rd is costly though… as you may have to share your ship as payment for services rendered… mwhahaa… erm sry…
-
Davis wrote:
When you exported the model from gmax, what uvw did you use? shrink wrap?
How did the model appear in ms3d when you imported from md3? black or white?How did you make entry for the ship? by manual or FLe? If you use FLe, can you see the ship at the shipdealer when you clicking on preview?
Its gonna be a good idea if you post your goods.ini and shiparch.ini only that part which contains your ship of course.
I did use shrink wrap and when i imported it appeared white.
here is my entire xml file for the entry of the new ship,
the file paths to the corresponding " MyMod.* " are in mod folder. -
Xarian_Prime wrote:
to check the .3db worry… just use this line…item_icon = equipment\models\commodities\nn_icons\EQUIPICON_nomadpower.3db
that solves the prob if its your icon… this icon is good for when you have no good icon as well.
and i’ll second the 4 or more entry’s in the ship markets prob… seen that one… easy fix just use 1… your custom ship & never more than 3
also… you used a lot of tools for the task… when in theory it’s easyer (for some things) to do by hand… tools can make BAD mistakes that when starting out will stress you alot (as you don’t know… you don’t recognize them…) we normally use tools to place & template our data… then handcode (lol… copy/paste… edit…) our final file… Hcmp dont fall into that category though… brilliant proggy, BUT… it will show you a working ship… and FL still crashes as it handles the CMP with less vigilance than the game… it will also show textures the wrong way on many ships… but they flip fine ingame and look correct (mainly a .dds thing)
If i were u… I’d swap out the icon 1st… if still crashing, scrutinize your goods & arch (or have another do it for you)… if all else fails… send someone like me (who lives inside his shiparch.ini & ms3d) your ship for simple debugging… the 3rd is costly though… as you may have to share your ship as payment for services rendered… mwhahaa… erm sry…
The new icon fixed it with no crashes……now for the bad news.
the ship still doesn’t appear on the ship floor but i know it exists, how do i know this? well this is what happens when i take the ship out for a spin…
For positioning information the gun is supposed to be on the left wing if looking at it head on.
-
No, i didnt missed but hps are orig your ship is not.
Your entirely ship is missing so it cant be that only your textures are wrong because i cant see the glass either.
So as your hps appear on the ship in order, only problem is: the model itself.
Its very simple, you wrote you made new cockpit for this ship. Have you modified the camera_offset? If yes, to where?EDIT: where is your prev post?
-
Davis wrote:
No, i didnt missed but hps are orig your ship is not.
Your entirely ship is missing so it cant be that only your textures are wrong because i cant see the glass either.
So as your hps appear on the ship in order, only problem is: the model itself.
Its very simple, you wrote you made new cockpit for this ship. Have you modified the camera_offset? If yes, to where?EDIT: where is your prev post?
I removed it as you changed yours and it didn’t need to be there.
-
Davis wrote:
Yeah, because you answered my question i wanted to ask while i was writing my post. k
So my last question is the scale.
What was the last setting in cmp export and in fl model tool?It would have been the default settings, my hardpoints are all in the right place but the ship is flying it the 90 degrees clockwise instead.
the placing of my hardpoints looks like the right scale but is obviously wrong.
-
It would have been the default settings, my hardpoints are all in the right place but the ship is flying it the 90 degrees clockwise instead.
thats not good… ok:
first you have to turn your entirely model anticlockwise 90 degrees in milkshape, ctrl+a, rotate y -90, and then still assigned your model, move/ absolute x,y,z= 0 (very important in cmp the ship must be appear at the front!!!)in regard you wrote i suspect you havent used flmodel_tool, what is necessary, to put that ship in game properly.
if you dont know this great prog then download the version 1.0a beta 6 simply open your cmp in that and scale up to 25 at first then save, open its sur, if it is orig then rescale it to ship/automatic, if its custom then first ship and after scenery, save it and thats all. -
Davis wrote:]
thats not good… ok:
first you have to turn your entirely model anticlockwise 90 degrees in milkshape, ctrl+a, rotate y -90, and then still assigned your model, move/ absolute x,y,z= 0 (very important in cmp the ship must be appears in the front!!!)in regard you wrote i suspect you havent used flmodel_tool, what is necessary, to put that ship in game properly.
if you dont know this great prog then download the version 1.0a beta 6 simply open your cmp in that and scale up to 25 at first then save, open its sur, if it is orig then rescale it to ship/automatic, if its custom then first ship and after scenery, save it and thats all.done the whole resize, definitely not that, just made my hard points further away from my ship and the collision corresponds with that,
am i right in saying it must be the .mat thats not working correctly?
-
could be then. so you renamed the vanila textures if im right, and put them on your ship… have you modified anything? color, hue etc… if they are in tga format yet, then convert them to dds as Xarian mentioned.
i have no more idea, do the texture names matching with the material names in milkshape?What i didnt read, do the textures appear in cmp?
-
Davis wrote:
could be then. so you renamed the vanila textures if im right, and put them on your ship… have you modified anything? color, hue etc… if they are in tga format yet, then convert them to dds as Xarian mentioned.
i have no more idea, do the texture names matching with the material names in milkshape?What i didnt read, do the textures appear in cmp?
I renamed the vanilla texture yes.
put them on my ship yes.
modified anything i.e color…. no
.tga format? yes*
texture name match with materials in milkshape yes.
do the texture appear in hcmp? never thought to check it and just makes the ship a dark colour…there could be my problem…
think i’m gonna start a fresh from the importing into milkshape stage, thanks for the help davis and prime, just need to learn a bit more on .mat creation as everything else “seemed” to work…
-
wait with that.
first check the textures in cmp, click “w”
if you got dark color without textures then you have problem with the mat, there is no reason to redo your ship again.
first dds convert, swap the textures in milkshape to the dds formats with same name, mat exporter again, check your cmp, if you got textured model thats a good start. -
Davis wrote:
wait with that.
first check the textures in cmp, click “w”
if you got dark color without textures then you have problem with the mat, there is no reason to redo your ship again.
first dds convert, swap the textures in milkshape to the dds formats with same name, mat exporter again, check your cmp, if you got textured model thats a good start.ok ok, will do, quick question (probably a nooby one) how do i convert to dds, google isnt helping at all
-
“Paint.net” & there’s a dds progy somewhere here i think in the downloads if that fails to work with dds (it should convert easily just save as)
-
how much i love this day… vga memo off, im off, shop almost off…
heres an other:
http://www.filefront.com/3577988/DDS-Converter-2-1.0/