Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

VMeshRef

The general place to discuss MOD''ing Freelancer!

Post Mon Apr 26, 2004 5:17 am

VMeshRef

Couldn't find this anywhere so thought i'd better post it. Radius in vmeshref should fix objects disappearing once their center goes off screen.

VMeshRef
{
dword 0x3c
dword VMeshID
word start_vert
word end_vert
word start_vert_reference
word end_vert_reference
word mesh_number
word number_of_meshes

float bounding_box[6 (minx, maxx, miny, maxy, minz, maxz)
float unknown[3
float radius
} = 60 bytes

Post Mon Apr 26, 2004 2:13 pm

nice one brutus, that really hacks me off when using custom ships (i'm kinda anal about the visual aspects of games lol). I know it's a way off topic but changing the HpMount position with UTF edit makes big ships land properly instead of nose buried in landing spot (for instance with the small transport i got 0, -30, 0 for the position and it works well)

Post Mon Apr 26, 2004 2:56 pm

lol Anton, you don't have to copy what other people wrote in the thread right beneath this one ya know.


Post Mon Apr 26, 2004 3:01 pm

heh, see what you mean sorry i was thinking about the way the ship looks when landed at a planet rather than docking (i'm using the uses_berths method for that though your HpMout and moors thing has me smiling cos i would prefer to have the docking animations and get the sounds back for you are cleared for moor <n>...

Post Wed Apr 28, 2004 8:44 am

"Should" being the operative word.

Seriously though... while it's handy info, you don't really elaborate on HOW it can be used to fix existing custom models. I mean, the vmeshref sections in .cmp files don't make much sense unless you view them as int arrays, and even then they're just piles of seemingly unrelated numbers with no indication which is which, so it'd be great if you could clear that part up too.

Post Wed Apr 28, 2004 12:48 pm

export the vmeshref section, use a hex editor (XVI32 is a good one; it's free too) along with this handy hex<->float conversion program see? easy as 0A+ E2FD

edit* - oh yeah, best to import the edited bit again too
+++ out of cheese error - redo from start +++

Edited by - Anton on 4/28/2004 1:49:37 PM

Edited by - Anton on 4/28/2004 1:51:05 PM

Post Tue May 04, 2004 4:38 pm

Anton,

Your first link works fine, the second gets a "page unavailable" message.. I have been looking for a conversion program... any chance of some help..

Another question I have been wondering about... why is it when you select a custom ship and scan it you see nothing of the mesh...?, only the weapons.. yet standard freelancer ships show a wireframe..

This is a general question, perhaps someone knows the answer.

Harrier..


Retreat[![! ---- I'm too badly messed up now[![!

Post Tue May 04, 2004 4:56 pm

odd, i just clicked it myself and the file offered to d/l... it may have been a temporary server glitch...

*edit : if you still have problems, goto www.programmersheaven.com and search for the filename

*edit 2 : no idea how to make that mesh show in scanner.. would love to know tho... Brutus? any ideas?

+++ out of cheese error - redo from start +++

Edited by - Anton on 5/4/2004 5:58:21 PM

Edited by - Anton on 5/4/2004 5:59:42 PM

Post Tue May 04, 2004 11:41 pm

yeah its a server glitch alright...


a message from firebase...

Post Wed May 05, 2004 2:37 pm

The mesh in the scanner might be generated by the VWireData in the ships cmp file.

I think this was discussed in one of the forum threads I read some time ago.

Post Wed May 05, 2004 6:59 pm

it IS generated by the WireData, however the cmp exporter doesn't produce any new data for the WireData. In other words, we would need a new cmp exporter which can export not only vmeshref, vmeshdata, but also the vWireData. Don't think anyone has put up how to manually make the wire mesh data for the scanner, don't think anyone will bother either, a minute aspect of the game.

Post Thu May 06, 2004 6:19 am

minute maybe, but it appeals to the visually anal like myself no harm in trying eh?

+++ out of cheese error - redo from start +++

"Psycho-ceramics. We are the cracked pots of mankind.
Would you like me to decipher a Rorschach for you?"
- Dean Harding, 'One Flew Over The Cuckoos Nest' by
Ken Kesey

Post Thu May 06, 2004 10:48 am

Anal huh? Just what do you look like? Hmm... This stuff seems way to complicated... Do you think anyone will even bother with this junk?

I don't care to belong to a club that accepts people like me as members.
-----------------------------------------
According to radiometric dating I am a lot older than you think

Post Thu May 06, 2004 1:26 pm

as for what i look like... see my yahoo profile as for will anyone bother... see the thread asking for help - only one unknown DWORD in header and a list of (probably) vertex refs.... Shouldn't be too hard for someone with 3D knowledge...

+++ out of cheese error - redo from start +++

"Psycho-ceramics. We are the cracked pots of mankind.
Would you like me to decipher a Rorschach for you?"
- Dean Harding, 'One Flew Over The Cuckoos Nest' by
Ken Kesey

Post Fri May 07, 2004 12:19 am

Yeah, and it is a very good hint that the targeted ship is near its doom...


a message from firebase...

Return to Freelancer General Editing Forum