.obj -> .sur converter
-
Well it took roughly 6 months to develop the tool as it is now so don’t expect me to work fast As long as the quality is good you should be satisfied (and I never release software which can not stand up to my personal expectations ^^).
-
A Gibbon?
No, you’re too furry and cuddly, old pal!
Besides, I wouldn’t want to compromise your chances with the female gibbons by having two of us on show!
And then again in this day and age they might think we’re “an item”!
Maybe a T-Rex! ??
I’ll look into it, just in case… !We’re your silent audience, Schmackbolzen!
Well… OK, as you know, I’m not the silent type.
-
Yes, I noticed
There seems to be a freeze bug which some of you might have noticed. I noticed it last week while converting all our battleships. There was one model which was impossible to convert. I will try to fix the remaining bugs and release a new version. I can’t say when this will be since I have to find the causes first.
Also I decided to leave the BSP tree issue to be fixed for later (which is the cause some more complicated models do not collide correctly) and try to include multipart first, since this seems to be the most wanted feature right now.
-
That’s great news, Schmack, thanks for your continuing work on this.
I have a question to throw out here now, though, ever since the use of this .sur creator has anyone noticed that their turret hitboxes no longer register hits?
Or in other words, that the turrets no longer detect projectiles or collisions while attached to a model?
-
@Sushi: I never checked this. If you are absolutely sure (means that you can reproduce that on all your models), then i will have to include real geometry for the weapons, thrusters etc. For now I just insert the hardpoints crcs into the .sur file to prevent crashes, but in the vanilla .sur files there also is real geometry for them.
-
Schmackbolzen wrote:
@Sushi: I never checked this. If you are absolutely sure (means that you can reproduce that on all your models), then i will have to include real geometry for the weapons, thrusters etc. For now I just insert the hardpoints crcs into the .sur file to prevent crashes, but in the vanilla .sur files there also is real geometry for them.Ya, I’m getting Adoxa to help with this problem, too. But that would be great if you could possibly include that for future updates.
-
OK. So this is a video showing the problem. The first video is with the old hitbox we custom made (took forever) for the ship. Turret hitboxes were applied appropriately. The second part of the video is with Schmacks amazing new hitbox maker with our old hitboxes for the turrets.
http://www.youtube.com/watch?v=NDe2_fqLhmU
You can see the projectiles no longer register. This issue is ubiquitous in the mod. Would be great for someone else to confirm this issue, though.
Adoxa applied the turret to the .sur like you’re suggesting, Schmack and it worked. So, ya, when you can work on the hitbox exporter, that would be awesome
-
Well I guess then we know now what the HP geometry in the .sur files is for: To further speed up collision detection. I have an idea how to include it, I will try to implement it in the next version.
-
Schmackbolzen wrote:
Well I guess then we know now what the HP geometry in the .sur files is for: To further speed up collision detection. I have an idea how to include it, I will try to implement it in the next version.Awesome, Schmack. Thanks for everything thus far. Get to it when you can, no rush
-
Pretending for a moment that i know nothing about sur files (which i don’t) and cooing like a pigeon when LS’s sur builder and now Schmack’s utility came out for making surs, can someone explain to me in laymans terms why the turret hitbox is needed.
From my perspective, if a custom turret model has it’s own sur, like in vanilla and many custom models, (i make a point of having custom turret models where possible), surely the fact that these models have custom surs and are therefore independent of say a base or capship sur, means that they should work as they are seperate from each other?
-
Yes, that’s that what we assumed initially. But now we can assume that the geometry for the weapons etc. hardpoints in the ship .sur file is used for further calculation speedup, since just adding them without geometry results in them not being hit after all. For a full understanding you would have to look up of what data the .sur format consists of. But I guess that’s not what you want
Please understand that the converter is not final, which means for now it is written for people who understand what they do, since I was not sure how well it would work in the first place. There are still some bugs and there is still the possibility that you have to redo all your .sur files you converted.
Once the version is stable enough I will try to make it more usable for the common modder.
-
Your utility has already allowed me to make surs for some very peculiar shapes, including asteroid bases you can fly into and odd shaped ships and all the surs work fine, (have to check this turret thing as i’m curious now). So take your time, between your utility and Lancers, can make just about any sur i like, (well almost )
-
Hmm, I created a hitbox for this base using the converter.
http://i352.photobucket.com/albums/r330/SilentAssassin82/Untitled-5.png
I actually had to splice the parts together because the doors where animated. In doing this I deleted the HPIDs section of the sur and all the turrets do register hits. I dunno why but the turrets on that model are fine ingame.
-
On stations (stationary objects) the surs of the weapons itself will be used.
On ships the surs of the hardpoints will be used.
(I think) -
SilentAssassin82 wrote:
Hmm, I created a hitbox for this base using the converter.http://i352.photobucket.com/albums/r330/SilentAssassin82/Untitled-5.png
I actually had to splice the parts together because the doors where animated. In doing this I deleted the HPIDs section of the sur and all the turrets do register hits. I dunno why but the turrets on that model are fine ingame.
Interesting. So, in all my ship models, like the ISD in the video, I added HPID section for the hardpoints. I wonder if that’s the issue? Because when we made custom hitboxes, we never had to add that section before…
Interesting. How would I go about deleting this from the .sur, Schmack, to test?
And Skotty, no, I don’t believe it does work like that. The big ship in the video I made is a “station”.
-
OK, that did it. You remove the HPID section from your .sur, and the turret hitboxes magically appear.
So, with that said, what are the hardpoints that must be in the HPID to prevent crashing?
I remember HpCM01…what else was there?
-
Actually I added the option just because of crash reports. See it as a quick fix until I can include real geometry. My hope was to avoid this step, but it seems to be unavoidable
-
Damn. Just so you know, these were the hpid hardpoint sections I was adding, in general, to the hitboxes. Might have been a bit excessive.
Capital Ships
HpMount HpCockpit HpShield01 HpShield02 HpShield03 HpShield04 HpShield05 HpShield06 HpCM01 HpTractor_Source HpTractor01 HpThruster01 HpTorpedo01 HpTorpedo02 HpWeapon01 HpWeapon02 HpEngine01 HpEngine02 HpEngine03 HpEngine04 HpEngine05 HpEngine06 HpEngine07 HpEngine08 HpEngine09 HpPower01 HpPower02 HpPower03 HpTurret01 HpTurret02 HpTurret03 HpTurret04 HpTurret05 HpTurret06 HpTurret07 HpTurret08 HpTurret09 HpTurret10 HpTurret11 HpTurret12 HpTurret13 HpTurret14 HpTurret15 HpTurret16 HpTurret17 HpTurret18 HpTurret19 HpTurret20 HpTurret21 HpTurret22 HpTurret23 HpTurret24 HpTurret25 HpTurret26 HpTurret27 HpTurret28 HpTurret29 HpTurret30 HpTurret31 HpTurret32
Starfighters
HpMount HpCockpit HpShield01 HpCM01 HpTractor_Source HpThruster01 HpTorpedo01 HpTorpedo02 HpWeapon01 HpWeapon02 HpWeapon03 HpWeapon04 HpEngine01 HpEngine02 HpEngine03 HpEngine04