Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +30€

Current balance: -190€
(last updated 04/2017)

Please make a donation if you want to help keeping The-Starport online:

Bitcoin address:
Thanks!
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
28 user(s) are online (17 user(s) are browsing Forum)

Members: 0
Guests: 28

more...
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 54 users playing Freelancer on 44 servers.
May. 26, 2017

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Sur position problem
Just can't stay away
Joined:
2010/8/25 22:40
From Romania
Group:
Registered Users
Posts: 188
Offline
Hello. I remade some of the station models and added animation doors.
But when I convert it from obj to sur the moving surs don't stay where the obj mesh is located like in this picture:

Open in new window

There is the model opened in the new UTF editor.

And here is how the docking bay surs stay.

Open in new window

In OBJ-SUR converter, here is how the meshes look.

Open in new window

To mention that i tried to put object center to 0,0,0 too, to automatic, add root mesh as "static", moving parts belonging to root, but this is the best result so far.
Why those doors stay like that, any ideas ?

Posted on: 5/1 7:46
Top
Re: Sur position problem

Joined:
2010/8/27 14:02
Group:
Registered Users
Posts: 33
Offline
It's all related to how parts and hitboxes are arranged in modeling software prior to exporting. Most likely your door hitbox groups in obj happen to have extra offset they don't need (sur parts inherit position and orientation of compound parts they're assigned to).

Posted on: 5/1 10:45
Top
Re: Sur position problem
Just can't stay away
Joined:
2010/8/25 22:40
From Romania
Group:
Registered Users
Posts: 188
Offline
This is even weirder. I tried to export sur mesh as obj with 3dsmax, and i saw it didn't export with dot as name, like door03.rev exports as door03_rev and noticed later, when sur was invisible, don't match name in sur with cmp model.
And in UTF editor it showed perfectly matched:

Open in new window

So I changed just the mesh name inside sur with hex editor.
After I put names correclty I checked again the sur, and surprise:
This is how the sur look like:

Open in new window

And I didn't modify any of vertex coordinates.

Posted on: 5/1 12:49
Top
Re: Sur position problem
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3419
Offline
I'd double check with HardCMP to see if there's a difference, I've had next to no feedback on whether the SUR viewer in the UTF Editor actually works properly.

If HardCMP displays it correctly, I'd appreciate having access to your model and SUR to debug the issue.

Posted on: 5/1 14:54
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
Top
Re: Sur position problem
Just popping in
Joined:
3/1 17:22
From Bavaria
Group:
Registered Users
Posts: 3
Offline
Well I'm with Treewyrm on this one, the Position/Offset data for the doors is probably the cause of your problem.

@FriendlyFire: It works well with all the surs I have created so far. Attached is a picture of my animated jump gate.

Attach file:



jpg  akeela_tor.jpg (135.60 KB)
46303_5908f60105a86.jpg 500X421 px

Posted on: 5/2 22:12
Top
Re: Sur position problem
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3419
Offline
Glad to hear it! I'm just saying that considering how recent the viewer features are, it's very possible there are still bugs lurking beneath

Posted on: 5/2 22:17
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
Top