Questorial: FLModelTool / Fl Sur Builder
-
I get an error message when I try to run the app ()
This application has failed to start because d3dx9_41.dll was not found. Re-installing the application may fix this problem.
Now what?! How do I fix this?
Iāll google for that .dll, but if anyone here knows what or how, please inform me!
EDIT: Cool, I found it on the web, downloaded it (had to struggle thru a forest of advertisements prompting me to install their registry managing software) and put it in my system 32 folder. Now at least the app works
So, moving on to the next problem :roll:
-
You need the latest DX redistributable from Microsoft, 2009 version or higher.
-
Ehh :-? I indeed managed to create a .sur file, quite amazingly because the program didnāt let me know it did anyhting and I also couldnāt see anything (had expected some visualization). So I looked in the output folder, and there it was.
Put in my mod, but I still get the same result: no collision data, and disappearing when the center goes offscreen.
So, any suggestions? Maybe I didnāt use the app properly?
Meanwhile Iāll google the forum. I guess this kind of thing must have been discussed earlier.
-
LancerSolurus wrote:
You need the latest DX redistributable from Microsoft, 2009 version or higher.That. Itās not because you added a single DLL that you have everything; there may be something missing that you need to add.
Otherwise, youāll have to play with the settings. There WILL be a visualization of the SUR when itās setup properly.
-
FriendlyFire wrote:
LancerSolurus wrote:
You need the latest DX redistributable from Microsoft, 2009 version or higher.That. Itās not because you added a single DLL that you have everything; there may be something missing that you need to add.
Otherwise, youāll have to play with the settings. There WILL be a visualization of the SUR when itās setup properly.
I completely missed LSās post! I will go after it. Thanks guys!!
-
Okay, I installed DirectX End-User Runtimes (February 2010) and i guess itās adequate, coz the app seems to work.
Yet the in-game issues with the model remain: no collision, and disappearing if the center is offscreen. Ergo, no properly working .sur file.
Btw, the visualization in FL sur builder only works, when I, under Min-Max Sort, chose āDisable Sortingā
Iāve also tried with, under Secondary Sorting, āDisable Sortingā both selected and unselected. It didnāt make a difference.
The only thing I can imagine (but as you may guess, Iām not very skilled in this field) is that the .3db file itself (space_habitat_wide.3db, enlarged with FLModelTool by a factor of 25) is not very suitable to create a .sur offā¦ On the other hand, itās a simple octagonal cylinder-like shape, and it looks fine in-game.
Anyway, as usual, Iāll be happy with suggestions, advice etc.
Thanks!
-
Only the one that created a visualization is going to be able to make a valid sur. Once it does that and animates it (unless you turned off animation). Simply click āMake Surā and copy the .sur file over the stationās sur file. Both the cmp and sur should be in the same folder. FL does have a command you can use that will allow you to put sur files into anothe folder, IE āsur = filepathā
-
LancerSolurus wrote:
Only the one that created a visualization is going to be able to make a valid sur. Once it does that and animates it (unless you turned off animation). Simply click āMake Surā and copy the .sur file over the stationās sur file. Both the cmp and sur should be in the same folder.Thatās what I have done. I only got a visual with Disable Sorting.
Maybe I should try another value for Duplicate Radius? Iāve tried 1 and 10 (because in the readme you wrote that small ships and weapons work best with 0.1). Iām gonna try it with 0 nowā¦
-
Another thing that was reported to me yesterday is the very large models were having collision misses. Since I can simply generate a cube shape sur to test (only 12 surfaces, 2 per side) I am going to do some research into that problem. May need to increase the face density over large open areas of the sur.
-
I tried it with any of the 3 Min-Max sort options, and Duplicate Radius 0. Without succes - the issue persists.
@ LancerSolurus - can I send you the 3db file so you can have a look? Email it or upload it thru rapidshare? (btw No Problem if you donāt want to.)
EDIT Again I miss a post! Just read your last one. Yeah my model is quite large. Not huge, but large indeed. So I guess Iāll best await your investigations on the matter.
-
FriendlyFire wrote:
Seriously guys? Youāre still recommending to resize vanilla SURs for custom models?Iām sorry, but LSās tool is already functional and is many steps above that. Whining that it only does convex SURs so far does not change the fact that it is much better than attempting to poorly fit vanilla SURs onto new models.
So stop right now and grab the utility there:
http://digitalbrilliance.com/modules.php?name=Forums&file=viewtopic&p=3318#3318The ONLY reason you wouldnāt want to use it is if you already have near-perfect custom SURs, and even then you most likely will still have errors on them. The SUR exporter is broken in too many ways to list, most importantly because the format was never completely cracked to make it.
While this might be sound advice in general, note that Moonhead is merely enlarging a model already present in FL, and so using FLModelTool to enlarge it actually makes sense in this case. That, in fact, would be the route that Iād take, although I donāt understand why itās causing issues. It does have the same name as the model, right?
MK
-
@MK: Agreed for this very specific instance, but in general, that shouldnāt be the case. Since Moonhead seemed to want to apply this method to everything, I thought this was antiquated.
As with everything, different methods can serve different purposes.
-
Moonhead:
If I remember correctly the model disappearing from view when its centre is off-screen is because the bounding box of the .3db/.cmp is incorrect.
I know I have fixed this in the past, just canāt remember 100% but I think you need just to open the .3db in FL Model Tool and just immediately save it again?
-
I found that FLMT didnāt really handle resizing surs too well, so I wrote my own (to experiment with the Wireframes problem). Iāve attached the resulting x25 space_habitat_wide.sur for you.
-
That might also be interesting for meā¦thanks
-
@ Moonhead
I did the same as you. Resized the habitat wide model by x25. Opened up the sur builder, and made one without problems. These are the values i used,
**Duplicate radius
0.1Min-Max sort
TYPE 1 - TICKEDSecondary sort
DISABLE SORTING - TICKED**Ivāe included it here. You might need to change the name. Not tested this.
** EDIT **
Just realised, you might want to use your model for creating the sur as i used the standard habitat_wide model and made the sur using that, even though itās x25 times biggerā¦
-
Gibbon wrote:
@ MoonheadI did the same as you. Resized the habitat wide model by x25. Opened up the sur builder, and made one without problems. These are the values i used,
**Duplicate radius
0.1Min-Max sort
TYPE 1 - TICKEDSecondary sort
DISABLE SORTING - TICKED**Ivāe included it here. You might need to change the name. Not tested this.
Hey Gibbon, thanksalot man!! (I guess I missed your post. Iām not quite used to the forum setup I guess. Though I really like the looks )
I will try out the model asap and letya know if it works.
EDIT: I didnāt work. Both your .sur file and the one I created using your settings, did produce the familiar issue.
I guess I have to wait until LS gets the app to cover larger models.
Thanks anyway!!
-
I tried adoxaās sur and it works very well.
-
mknote wrote:
Did you try adoxaās SUR that he posted?MK
I keep missing posts here! Iām prolly too busy with too many things. Thanks for bringing it to my attention, prolly would have missed it entirely.