[Sur Tutorial] Hitbox from 3DSMAX to Freelancer
-
ā¦ much closer to the modelā¦ much more polygonsā¦ much more calculations needed for hit detectionā¦ but like you saidā¦ everybody are free to use the way he want ^^
Ya, we like this method because we use a lot of custom ships that donāt fit with any normal Freelancer .surs. It offers a lot better hitboxes for us. Mirkha and CzW were nice enough to share this information to the entire community, so we can all benefit from what theyāve accomplished - something that I hope other mods communties do when advancements in FL Modding are made. Whether you use it for your server is up to you; for total conversion mods, I believe itās a necessity.
-
Why donāt you make a tutorial and show people how you did that? That way people have options.
-
There are actually many such tutorials, even if you limit yourself to this site alone. The options are numerous and easy to find. My method is basically BJās, no SUR slicer, just export from MS3D and play; OP uses the sur-splicer; and you use this method. Itās what works best for us.
MK
-
I guess I must have missed them then, my apologies.
-
CzW and Mirkha and TrueSilver and FF (and anyone else I missed who contributed to this?)-
Very many thanks for this super tutorial, it is very encouraging.
And for making me use my little French language knowledge again after 20 years of last use, itās a lot better now after 2 days of using online translators!
No, please leave the original French post, itās good for this community that people can post Tutorials in their own language for clarity in my opinion, and the translated ones can be posted below as in this case. And it did my French knowledge the world of good! German or Spanish next please!
May I suggest links to .pdf files of the tutorials so people can download them easily too?
Clearly our problem with the old ways of making surs is MilkShape then, and possibly some exporter problems too.
There are two things which I do differently:-
1. Break down my ships into at least the quantity of sur parts that I need
2. Name the ship cmp groups sensible names starting with the ship name, such as:BlackSun_Hull
BlackSun_LWing
BlackSun_RWing
BlackSun_LEng
BlackSun_REng
BlackSun_TopFin
BlackSun_BotFin
and my surs for this would be named:BlackSun_Hull_lod1
BlackSun_LWing_lod1
BlackSun_RWing_lod1
BlackSun_LEng_lod1
BlackSun_REng_lod1
BlackSun_TopFin_lod1
BlackSun_BotFin_lod1
and my sur-spicer input.ini file will be:-BlackSun_Hull_lod1.sur root
BlackSun_LWing_lod1.sur BlackSun_LWing_lod1
BlackSun_RWing_lod1.sur BlackSun_RWing_lod1
BlackSun_LEng_lod1.sur BlackSun_LEng_lod1
BlackSun_REng_lod1.sur BlackSun_REng_lod1
BlackSun_TopFin_lod1.sur BlackSun_TopFin_lod1
BlackSun_BotFin_lod1.sur BlackSun_BotFin_lod1
By doing this:--
a. there is no accidental mixing of parts between two different ships if they appear together (this happens when two different ship models are visible which each have one group with exactly the same internal name as the other - You may end up with groups named Group02 to Groupnn in more than one ship that you make, for example, and bs1_sur01 can mean BlackSun Sur01 or BattleShipOne Sur01 etc, but BlackSun_Hull_lod1 is explicit to one ship).
-
b. the sur names (shipgroupname_lod1 etc.) will now be correct and will match the cmp file FIX data, so there is no need to check or change it, and the xxx_cons_fix.dat file made by sur-splicer will not be used (it must still be specified in the ini file though).
-
c. there is no need to add extra dummy ship cmp groups (the small spheres) to make the sur part names attach, they will attach to the ship groups correctly.
-
d. When exporting the cmp, the number of groups will be the same as the model groups, the quantities will be the number of parts making each group (for example the group BlackSun_LEng may have parts LEngIntake, LEngExhaust and LEngGrills) so this group quantity will be 4.
-
e. When exporting the surs, the group count will still be 1 (1 by 1 export) and they cannot have sub-parts.
CzW, Mirkha -
Can you please tell me if doing it this way instead of making the extra spheres will cause any problems?One more suggestion - the Havok tools for 3DSMAX enable convex hull parts to be created quickly from the ship groups, and these can be used as they are (or you can now put in your hollow bits) as the collision box parts - do you have any bad experience in making surs with these tools?
Many thanks again for this tutorial. The revelation for me is 3DSMAX. I did use it before but must have changed the sur parts in MilkShape somehow, probably by using Face - Smooth All, which changes the orientation of the normals I believe?
Even when avoiding concave parts, the problems I had still caused me a lot of frustration and a lot of wasted time before I got it right (sometimes), but I still have difficulties with some parts from time to time, so I am one who will definitely benefit from this method.
Please ignore whatever negative comments, you have proven that it works.
One general comment on the replies I have seen here - I do dislike it (VERY much!) when people are off-handed with a person who has put so much time and effort into making a new and very useful addition or tutorial such as this one.
The ones who brag āIāve done such and such xxx timesā etc. and are knowledgeable but have never given out their precise method clearly, but only made vague hints and innuendos, are being unkind even though they do not realise this. Their inconclusive posts have caused me many days of wild-goose chases and more time wasting than necessary in the past, and Iām speaking from personal experience.
Opr8R old pal - I do respect your greater knowledge my friend, but youāve gone back to your old short and sour ways again, please stop it! Be NICE - tell us YOUR foolproof way to make first-time surs 300 times with only MilkShape, sur-splicer (? no sur-splicer?), the cmp exporter (which version?), the sur exporter (which version?) and a piece of string (was it wet?) and a piece of used chewing gum!!! Get a bad Russian woman or something, put a smile on your face (until your frau hits you)!! (Hey - Youāre not a Scot too, secretly, are you? I thought youāre a Sachsenach!)
-
-
sry but i didnt post a tutorial because I believe that every FL community has those tutorials already and my methods are not much different from those explained on those tutorials (maybe a bit fasterā¦ maybe with less steps to doā¦ but generally the same procedure)
I simply believe that there is no need to write new tutorials while there are existing onesā¦ especially now that im in the final phase to release a 2gb FL mod (and there is still much to do)Its not my intention to talk bad about this methodā¦ i just mentioned that there are situations where the other methods might work better.
-
pdf : good idea, iāll make it this week
i donāt rename the ships groups because i rename the dummy object and when i export the cmp each cmp group have the dummy object name.
at the end we need to rename only the group1.CzW, Mirkha -
Can you please tell me if doing it this way instead of making the extra spheres will cause any problems?i donāt know. i use the truesilver method to export so i donāt have made test without the spheres.
One more suggestion - the Havok tools for 3DSMAX enable convex hull parts to be created quickly from the ship groups, and these can be used as they are (or you can now put in your hollow bits) as the collision box parts - do you have any bad experience in making surs with these tools?
not yet tested but ā¦ my processor is an AMD. and itās a intel toolsā¦
in my to do list and i give you feedback.
but what i know is if you use other tool than the Standard primitive, your sur will be good BUT the suns flare throught your model ā¦for example with spline tools :
without :
Many thanks again for this tutorial. The revelation for me is 3DSMAX. I did use it before but must have changed the sur parts in MilkShape somehow, probably by using Face - Smooth All, which changes the orientation of the normals I believe?
yes. you must not change the hitbox made in 3dsmax with milkshape.
and in my opinion : why do this ?
3dsmax is more powerfull to make changes on your shapes ;).Please ignore whatever negative comments, you have proven that it works.
as usual. you know, iām admin of a french communauty
the french guys sometimes are ā¦ grouser ^^
not problem for who thinks that this technique is not good :).
each is free to use or not ^^ each is free to think what he wants and itās good like this
anyway, itās just another way and iām sure other people can do great work without this technique. -
Good Tutorial Mirkha! This is good for the 3dsMAX users and those more comfortable with its easy to use interface.
For those looking to make SURās without use of SUR Splicing (i.e. ships without multiple components), please check this tutorial I postedā¦ http://the-starport.net/index.php?option=com_smf&Itemid=26&topic=1002.msg7934#msg7934
You can decide which suits your needs.
-
Would i be possible that this could be submitted into the Tutorial Archives? The tutorial section was made for a reason
http://the-starport.net/index.php?option=com_ja_submit&Itemid=40
-
Itās getting lost down the list already, had trouble finding it today!
Can any moderator or admin move it or make it sticky for now?
-
Itās getting lost down the list already, had trouble finding it today!
Can any moderator or admin move it or make it sticky for now?
Its sticky for now.
-
I am having the problem of a large object disappearing when the centre is not in view.
Normally this was cured by using FL Model Tool, but that does not work in this case.
When I made a sur for it, the problem stopped.
I do not want to have a sur for this object.
Does anyone know what is causing this, or how it can be cured?
-
CzW, Mirkhaā¦
As far as options go, select āBack To Frontā, collision must be āShrink Wrappedā and scale down set to ā1ā, mass on 100.
Once all good, click on OK; you will have a file bsl_S06.sur.
Doing this will bridge the gaps and hollows in the sur, as part of the shrink-wrap export. So all sur parts will be made convex automatically by the exporter.
So when you make a shape with a dock cut into it for example, I donāt understand how a ship will pass through as yet. I havenāt made one to check. Any comments please?
Alsoā¦
When we change the name of the root part in the cmp, we are replacing the ship root with the 1st sphere. Why exactly?
This will leave us one group short, remember we only made x-1 spheres, because the first is the root - i.e. the ship.
Could it be that this method is working precisely because we have removed the root group?
Thanks.
-
To cure the disappearing act, simply set the type to one of the stellar object types (planets, moons) and it should clear up the problem.