.obj -> .sur converter
-
ST - you made a spelling mistake!
-
Yes, so I did!
Itās hard using that hand in my mouth to hit the keys, itās still fresh and not rigor-mortisād yet!
-
Okay, for the Discovery mod Iāve used this tool to rehitbox 205 custom ships (and counting). So far, no problems, although hitbox testing is still ongoing. Some thoughts:
Someone mentioned shield bubbles. Those are seperate SURs assigned through the shiparch and the corresponding shield entry in select_equip. Would be outside of the scope of this, although I see no reason why this tool should not be able to create a hitbox of a very simple egg shape. Point being itās a seperate model entirely, and not part of the ship itself.
Being able to assign named components so destructable models and hitboxes moving along with animations can exist, would definately be a plus. Thatād make bases with animated bay doors possible.
Iāve fed the tool clusters of convex shapes (basically, when supplied a model, I manually break it up into pieces, use Milkshapes convex tool to wrap a convex untextured shape around them, and delete the original shape). Noticed if I donāt check the box to use convex hull instead of splicing, the SUR tends to get a lot larger. Not sure why.
-
Someone mentioned shield bubbles. Those are seperate SURs assigned through the shiparch and the corresponding shield entry in select_equip. Would be outside of the scope of this, although I see no reason why this tool should not be able to create a hitbox of a very simple egg shape. Point being itās a seperate model entirely, and not part of the ship itself.
So no need shield bubble cause theyāre paired in the shiparch.ini with the selected shield equipement ?
-
So, i made the surfor the station which i have uploaded the CMP earlier, the sur was made using the Ben_Kai Tuto.
Hit detection on station is Very good and operational
Collision detection work, but when i hurt the station, FL began to LAG hardly, and if i go forward slowly, i can pass through the station.So, i think i really have a problem, with the CMP or the SUR. Donāt know which of them
If anyone can take the CMP previously uploaded and make/test the sur using schmack tool and ben kai tuto and see if you can se where the problem can be, it will be very cool.
Thanks
-
Gibbon i think you should write the tutorial in the tutorial section no ?
and at the end you have to add :
"- open flmodeltools, open the cmp, without any modification save it"
if not, the cmp doesnāt have a radius (i think Sushi has already said this) and so your cmp is only visible when you look right to him
-
The tutorial i posted isnāt mine. I made no mention of FLModelTool anywhere either. Sushi suggested that i might have used it somewhere while i was converting the rock base. I might have used it but donāt remember doing so, as i just had a look at the original OBJ file i used for conversion and it went straight to harpointing after i made the cmp. Not really sure what caused it tbh.
-
and ? itās not your tutorial but you can post it for every one and give the credits no ?
for the flmodeltools, trust me itās necessary, iām on the TOWās bases and if you donāt save the cmp at the end, it doesnāt have a radius so you cannot see him if youāre not just in front of him
-
Gibbon, I believe Sushi said the opposite: that you might have forgotten to do it and that that would explain your base disappearing. FLModelTool recalculates the radius and bounding box of the models, which are used by FL for many things including visibility calculations. Basically, if the bounding box is off-screen, it wonāt even bother trying to calculate whether the actual model is off-screen and will just assume it is. If your bounding box is zero, as it often is, then youād need to see the center of the mesh for it to show up.
-
Well put it this way, on the multipart version of the base, the one in the video, i definitely did not use FLModelTool and it works fine. So iām not so sure it has to be used at all. I donāt doubt if thereās a problem then maybe run it through that and it will fix it, but i wouldnāt say itās a requirement as since then iāve made a few more without issues.
-
Ben_Kai wrote:
I was going to post the tut in the Tutorials section but I guess only staff can post thereā¦.?Everyone should be able to post thereā¦ As far as Iām aware =D
-
Gibbon wrote:
Well put it this way, on the multipart version of the base, the one in the video, i definitely did not use FLModelTool and it works fine. So iām not so sure it has to be used at all. I donāt doubt if thereās a problem then maybe run it through that and it will fix it, but i wouldnāt say itās a requirement as since then iāve made a few more without issues.you export with the 0.3 plugin ?
if yes, itās normal, he puts a radius on the cmp
i prefer use the 0.2.1 because he doesnāt have the scale bugedit : just to say :
if you start from a cmp, the sur you get is far more complex than the one you can do āby handā in milkshape or 3dsmax
honnestly what i recommend is to build the shapes in a 3d program and then export as an obj and use the Schmackbozlen toolas an example :
for the kaliida base
my sur : 73.5 ko and 1452 vertices
the one done by the Schmackbolzen tool from the cmp: 633.3 ko and 16435 vertices
the one done by the Schmackbolzen tool from the sur : 69.8 ko and 1488 verticesnevertheless the hit/collision detection is better with the tool than by hand
-
Yes i am using the 0.3 exporter which might explain the lack of issues. For some reason, multi group models donāt export well for me using the 0.2 exporter.
The method you describe to make your sur is certainly one way to make them. I keep emphasizing the fact that not everyone knows their way around a 3D program so this is the reason Ben_Kaiās tutorial works for me and probably many others.
With regard to simplified surs, thatās the whole point of direct x mesh reduction surely? Saves making one from scratch when all you have to do is reduce the poly count in the model using this tool. I also find Lithunwrap does a very good job at reducing the poly and vertice count as well.
-
Gibbon wrote:
With regard to simplified surs, thatās the whole point of direct x mesh reduction surely? Saves making one from scratch when all you have to do is reduce the poly count in the model using this tool. I also find Lithunwrap does a very good job at reducing the poly and vertice count as well.from my opinion direct x mesh reduction makes the models too bad if i can say
i have the choice to build a correct sur and to use the Schmackbolzen tool which has the advantage to not burdening the cmp
So i do like that but i understand perfectly that you donāt want or canāt use 3dsmax or other