Custom SURs
-
If Bj spots this, he is probably going to post here about them
-
Thwacks CoT
Hi MK, welcome to the Starport bud.
No I havenāt left FL, just that abortion thatās destroying the once proud name of TLR.
Iāve been meaning to send you a couple of my files for you to study, but my memory is crap atm (my medication plays havoc with the brain at times).
Basicly the CMP model can have as many groups as you need to make each component, the SUR on the other hand really only wants one group per component, it will work with more but the secret is really low poly SUR components, anything under 400 works well depending on how big the ship is.
This is the upper engine component from the ship Iām using to (try) write the SUR tutorial, it has 7 groups to make up that one component,
where as the same component in the SUR model has only one group.Hereās the ship
it has 25 groups split into 7 components and 802 polygons.While the SUR
has 7 groups & components and 182 polygons.When I make a SUR I try and keep as many of the main vertex positions as possible, that way each component will retain the shape of the CMPās component (thatās why I class my SURs as āskin tightā;)).
Youāve asked me about concave in the past, this
is the main hull from the above ship, concave is all about angles in FL, the angle between the faces of polygons, the angle in the pic is less than 180 degrees and will destroy the root if used.
To stop this you need to fill over the area for the SUR (red wireframe) so you end up with something thatās almost a primitive.
-
AH! BJ, donāt scare me like that. When you werenāt replying, I just assumedā¦
Anyway, Iāll post a few screenies of my SUR model (itās for PantherXās Hellhound model):
Here it is in colored groups. The yellow part (which I made by hand), the red part, the light blue part, and the purple part (the one close to us, not the one further behind) make up the Root SUR. The two middle wings each are made up of three boxes, the rear wings are made up of two boxes, and the two engines (unseen) are made up of a cylinder and a box. I donāt know what you mean by polygons, but the SUR model has 212 vertices and 352 triangles. Hereās the rear of the model:
Notice that some of the groups are also shown in the upper right. Perhaps this gives you a better feel? How do I export this correctly? Assuming I have this correct, that is.
MK
-
Biggest real problem I can see is that youāve picked a stinker of a ship, shape wise, to learn with.
The yellow part (which I made by hand), the red part, the light blue part, and the purple part (the one close to us, not the one further behind) make up the Root SUR
This means they will be exported as one piece, leaving the root with a lot of concave angles, ideally you only want the yellow bit as the root.
Those 4 blue lines show a couple of the concave angles that will stop the root from working.I started working on this ship recently myself, and I can tell you itās giving me problems because of itās shape. This is what will be exported as the Root in the CMP
Right away I know that this will be a b*tch to get the SURs root right with, that cockpit sticking above everything means this canāt be āskin tightā as it would have concave angles all over it, the underside doesnāt help any either as itās almost corrigated in shape, but that doesnāt really matter as all of the vanilla SURs are the same as only the components are āskin tightā
I havenāt started the SUR yet as just regrouping this for the CMP gave me a headache, but as always the components will be a breeze itās just the Root that will take some work. -
If that were true, how do you explain the fact that I got a SUR with full hit detection with that model? Yes, said SUR doesnāt work with components, but it does work, even with those concave angles. I was under the impression that the angles couldnāt be concave on a certain group, but if you put together multiple groups for a component it was dandy. Iām thinking about hex editing together a SUR I made with Exporter v1.2 (say what you want about it, but Iāve had a bit of success with it).
MK
-
if you made it so you have multiple parts of the SUR MESH, then cutting it up and exporting them as thier own sur and then splicing them together, they there would be no proplems with itā¦ put thats my own opinions based from experience lol.
-
Bejaymac, does the concave problem apply outside of the āRootā sur?
-
Amateur question:
Does the number of objects in the SUR have to match the number of objects in the CMP?
For example, if I am not going for destructible components, but simply a close-fitting SUR; I have the model exported as a single-object CMP, but if I design the SUR to be single-component, it either ends up concave, or, not quite close-fitting.I mean, is it ok to have #ofCMPcomponents < #ofSURcomponents?
-
This might be of interest to youā¦
When DA/MS built FL they used Havok for the physics and collision. I posted about this on Lancers some years back after having a conversation with one of their programmers. Unfortunately nobody was able to do anything with it as they needed a commercial Havok licence to get at the source and Havok couldnt provide a plugin for us due to workloads.Last week Havok finally released their physics and collision as āfreeā for download for non commercial use on PCās only.
For those who have the time, there are two downloads, one to use with modelling (a plugin for max etc) and the source for programming physics.
People with a level of knowledge on surs already, might be able to use this and map the collision data to a point where its possible to be used. Or god forbid, the plugin actually might help solve the sur files issue.
Heres the links - you need to reg. to get the downloads, but its free. Either way I would have thought that this should be usefull.
-
im gunna have a butchers when i get back from work
-
MK after more than two years of working on SURs Iāve seen almost everything, including what youāve posted about, the reality of the situation is that anything is possible.
(by āyouā I mean everybody that reads this post) What you want to achieve depends entirely on you & your abilities, and the app you use (looks at CoT ). I donāt just mean your modeling ability, but your ability to understand whatās required, and to āseeā what you need to do to get the CMP & SUR to work together, I only figured out this part after spending about a month studying the meshes Iād pulled out of DAās CMPs & SURs. Even after two years Iām no expert as I still get caught out, take the hellhound (the model mknote is working on), itās an awkward shape and at first I thought it only needed to be done as 9 components, so thatās what I made the CMP, last night I was half way through the SUR when I realised that the bloody cockpit would knacker the āRootā, so the cockpit became the tenth component, which meant I had to alter the model for the CMP and export a new CMP.
@ Lancer Solurus, yes, itās only the āRootā you need to worry about, components can be concave without problems.
@ BBalazs, you might find this link useful, if you donāt want to go through the āhassleā of multi-component CMP & SURs, iirc itās what OPR8R uses for his CF ships, it still takes a bit of work & modelling knowledge, but is (just) better than a resized vanilla SUR.
-
**Thanks Bejaymac, thats what I needed to know.
If anyone is interested, there is a site with some info about the Havok engine. Go to google and do a search on
IVP_Controller_Phantom
that is found in Common.dll. You will see what I mean
There should only be 3 items found, look at the first or second one. Many of the nicknames dealing with sur collisions found in the Common.dll can be found on this siteā¦.If you find out this is pirated info, let me know and I will remove this part of my post.**
-
Iāve found a problem. I e-mailed BJ about it, but I wanted to open it to everyone, as well. Iāve completed three SUR files: one for PanterXās Hellhound, one for the Basilisk ship Iāve seen floating around in several mods, and one for PanterXās Fury.
All three of them get hit detectionā¦ most of the time. However, when shots come in from certain angles, they completely pass through the ship. Iāve checked and am certain that they arenāt slightly missing the ship, Iāve seen shots go through dead center. It seems to occur at several angles, most notably from straight ahead. I think that where it hits is irrelavent, only the angle at which it hits is relavent. I wouldnāt place my confidence on this at 100%, however.
So, has anyone encountered the problem before? Or have any idea on possible causes/solutions?
MK
edit
I regrouped the model to reduce the number of components (I speak of the Fury here). The problem remains, however. I also noticed that for ~75% of the ship, whenever something hits the hull, the hit effect doesnāt show up. Odd.
At any rate, BJās SUR file for the Hellhound works like a charm, and my own works well, but the Fury is not taking many hits. Or is it? Perhaps itās my imagination. Would one of you be will to take a look in-game and see if Iām getting adaquate hits? Barring that, or perhaps in addition to that, could someone in the know look at my MS3D files to make sure Iāve got everything right? I did it (I think) just like my Hellhound, so Iām wondering why this wonāt work.
-
Hey, first post.
Iām Sov, hitbox dude over from Freeworlds.
Iāve got the same problems everyone has, exact same as you mknote. Iāve got the chance to extensively test all the ships Iām working on as static objects, some are headaches to say the least. Iāve gotten several ships with completely custom boxes done and 100% functional, where others give me all sorts of bizarre problems no matter how much redesign work I do.
I think this is a nearly hopeless art, but perhaps someday someone will come through with an answer. In the meantime if you have a troublesome ship, the simpler the box, the better chance it will work it seems. Often enough no matter what shape the box, simply the location on the ship effects it. I have an area on one of our capital ships Iām working on right now that consistently fails to function, I can fly and shoot right through it no matter what shape I cover it with in MS3D.
-
Im getting the same issue, problem is, no matter how many times i export from milkshape, the sur NEVER gets past the ROOT sur. ever. it worked ONCE, then it just decided to give me the finger and run off
-
TBH if it doesnāt fit inside a dreadnoughts docking bay then donāt waste your time with the shield bubble setting, stick to shrinkwrap and the splicer for larger objects. FL only uses the bubble format with the [Ship] FIGHTER & FREIGHTER types, used with any other type and only the Root will register.
-
Ditto that, I splice every single ship & object I do, and weāve ditched shield bubbles all together shrinkwrapping everything. I never had much luck exporting the entire box at once, HardCMP would often see the box correctly but it would remain completely non-functional.
-
Check this out guysā¦
Iām Very Sad it did not emerge until now that this is possible, it saves HOURS of work making sur parts convex.
http://forums.seriouszone.com/showthread.php?t=56348
-
ROFLMFAO ;D ;D ;D Thatās how I used to make my Rootās, I stopped using it so I could do really skin tight SURs.
EDIT
There are a couple of things you need to watch out for with this, high poly models can give you overlapping polygons in the shrinkwrap (very bad news), there are also instances when the shrinkwrap isnāt properly formed around your mesh.PS. I still use this for my damage cap SURs, export the damage mesh to get it āwrappedā, import the SUR & delete the Root group, weld it and then export the SUR again, strip the new āwrapā with the splicer, change the SUR type with FlModelTool, and because proper 3DBās donāt have āRootsā I then hex edit it to change the Root ID tag.