Left - the original obj...
Right the generated sur reimported, the bounding box later is almost identical to the hull layer
![](http://lancersreactor.org/images/avatars/67/138-67bb0b769d7419eff3190e4c97286aa8b0bd4704.jpg)
Ship mesh Importing Problem
-
- Request:
- AestheticDemon
- Thread is marked as Resolved.
-
-
So, does anybody remember how you hex edit a sur to set the correct ship mass for anti spin etc.
I told you, use SurDump and the -o option. For example:Code- E:\contrib\games\Freelancer\surdump>surdump -o \Games\Freelancer\DATA\SHIPS\CIVI
- LIAN\CV_STARFLIER\cv_starflier.sur |head -18
- --> \Games\Freelancer\DATA\SHIPS\CIVILIAN\CV_STARFLIER\cv_starflier.sur <--
- 00008 Root (0x12688F2D)
- 00010 !fxd - not fixed
- 00014 exts - Extents
- 00018 minimum: -5.283840, -3.918445, -4.196498
- 00024 maximum: 5.283819, 3.522413, 9.034879
- 00030 surf - Surface
- 00038 center: 0.000271, -0.231819, 3.537381
- 00044 inertia: 9.689320, 14.079065, 14.775331
- 00050 radius: 10.157594
- 00054 scale: 0.876
- 00055 size: 0x2A84 (10884)
- 00058 bits ofs: 0x2790
At hex offset 44, you'll find three floats (aka single) containing the inertia values (surs don't have mass). -
Thanks Adoxa, I can work out suitable values, offset hex 44, brilliant.
-
I'm missing your point here, what are those images supposed to prove? Have you tried it in game? If the sur was shrink wrapped, you wouldn't be able to fly through sections, you would simply bounce off. Only way round that in the case of say a base model is to use the phantom physics command. The OBJ->SUR converter makes form fitting surs, end of.
Here's proof. If you don't know how to use the converter, then follow the tutorial i put up but please stop saying it makes shrink wrapped surs because it doesn't. Everyone else is making form fitting surs with this utility, you are just misunderstanding what you are seeing.
Videos to prove my point.
YouTube
- Kanal von Wargibbon -
I'm missing your point here, what are those images supposed to prove?
LEFT - form fitted obj file, note fore deck, tower, aft deck - fitted
RIGHT - sur mesh generated - tents over the structure - NOT fittedQuoteHave you tried it in game?
Yes, non-fitted sur
QuoteIf the sur was shrink wrapped, you wouldn't be able to fly through sections, you would simply bounce off.
That's what happens...
QuoteOnly way round that in the case of say a base model is to use the phantom physics command.
I'm sure your right
Quote...Here's proof. If you don't know how to use the converter, then follow the tutorial i put up but please stop saying it makes shrink wrapped surs because it doesn't. Everyone else is making form fitting surs with this utility, you are just misunderstanding what you are seeing.
In fact, I've read SEVERAL tutorials about this ulility, on your forum, here, and even that other place, the one pretending to be here, that we dont mention...
I'm sure it CAN make form fitting sutrs, with care in the hands of an expert, all I said was "I'm tired of messing with thisas I have other stuff to work on, its close enough for this ship that it will do".
I understand what I see just fine, thank you very much.
Enough. Problem Solved. Move along, nothing to see here...
-
Whatever