Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: MetalDestroyer on December 15, 2005, 02:40:12 pm

Title: Adding shield to models
Post by: MetalDestroyer on December 15, 2005, 02:40:12 pm
I'm wondering how can I put shield into my model ?
Because, whatever the fighter I pilot, it explode immediately when I'm near a shockwave from bomb (like Cyclops).

Or, when I'm at fire range of the Imperial Star Destroyer (that I put in Fs2), I can stay alive long enought. With only 10 shots I'm dead  :shaking:
Title: Re: Adding shield to models
Post by: Goober5000 on December 15, 2005, 04:55:17 pm
Segeltuch is good for that...
Title: Re: Adding shield to models
Post by: Taristin on December 15, 2005, 05:08:20 pm
Ehh. Segeltuch is ****ty at everything else though, and corrupts models easily. Best way is to reconvert the model and give it a proper shield mesh.
Title: Re: Adding shield to models
Post by: knn on December 15, 2005, 05:16:32 pm
Ehh. Segeltuch is ****ty at everything else though, and corrupts models easily. Best way is to reconvert the model and give it a proper shield mesh.

Or copy the pof, make a shield with Segeltuch on the copy, open the original pof with pcs and import the shield from the copy
Title: Re: Adding shield to models
Post by: MetalDestroyer on December 15, 2005, 05:19:43 pm
How ? any tutorial ?
Title: Re: Adding shield to models
Post by: knn on December 15, 2005, 05:35:40 pm
How ? any tutorial ?

http://homepage.ntlworld.com/karajorma/FAQ/modding.html

There are links to more detailed tutorials near the end.
Title: Re: Adding shield to models
Post by: Taristin on December 15, 2005, 06:03:20 pm
Ehh. Segeltuch is ****ty at everything else though, and corrupts models easily. Best way is to reconvert the model and give it a proper shield mesh.

Or copy the pof, make a shield with Segeltuch on the copy, open the original pof with pcs and import the shield from the copy

Bah, if you're going through all that, reconverting is usually easier. Plus you get a proper shield shaped however you want.
Title: Re: Adding shield to models
Post by: MetalDestroyer on December 16, 2005, 07:52:45 am
Ok, i read the bobboau tuto and I didn't found the triangulate button in Ts 6.5 O_o
Title: Re: Adding shield to models
Post by: MetalDestroyer on December 16, 2005, 09:11:29 am
Nevermind, I've just found it.
Title: Re: Adding shield to models
Post by: MetalDestroyer on December 23, 2005, 10:26:58 am
Now, i have another trouble. I gave shield mesh for cruiser where the shield mesh is exactly the same as the cruiser model. BUT, when i played mission with it, 5 sec after, Fs2 crashed badly with no reason. And, I don't know why, but I've made a similar shield for a fighter, and it doesn't make the game crashing.  :confused:

Do you know where my problem comes from ?
Title: Re: Adding shield to models
Post by: StratComm on December 23, 2005, 10:32:28 am
Shield meshes cannot have nearly as many polygons as the hull, to the point that you need to be very careful when doing a duplication like that.  Make a much lower poly mesh as the shield.
Title: Re: Adding shield to models
Post by: MetalDestroyer on December 23, 2005, 10:38:27 am
So, it's because collision between Shield and the model ? I note that, and test it. Thanks. ^^
Title: Re: Adding shield to models
Post by: StratComm on December 23, 2005, 10:51:53 am
No that's not it at all.  I can't remember exactly what the shield mesh collision detection scheme is, but IIRC it's different from the one used for the hull and cannot handle as many polygons.  While it's true that the shield mesh should be appreciably outside of the model, that's actually not what I was getting at.  But try a simpler shield mesh all around.
Title: Re: Adding shield to models
Post by: MetalDestroyer on December 23, 2005, 12:57:51 pm
With a simple mesh, all work perfect.
Title: Re: Adding shield to models
Post by: gevatter Lars on December 24, 2005, 06:39:36 am
Question...how simple has a shieldmesh to be to work...in polygones?
Title: Re: Adding shield to models
Post by: MetalDestroyer on December 24, 2005, 08:26:07 am
Under Truespace, I've just create a Rounded Cube, and give it the best size as possible. When finish, I triangulate it, and it gave me, 248 poly.
Title: Re: Adding shield to models
Post by: Mav on January 16, 2006, 04:42:46 pm
Question...how simple has a shieldmesh to be to work...in polygones?


Good question... the Kilrathi Cruiser shieldmesh I made a year or two ago had about 4000 polys (or so I think I remember) and worked rather fine with SCP 3.5.5 (yes, it was sort of unfinished - some things still sticking outside it, I know... ) .
So far I didn't test it with a newer build, though...  :confused:

btw: hi!  :)
Title: Re: Adding shield to models
Post by: Nuke on January 17, 2006, 09:58:58 am
Segeltuch is good for that...

holy ****, do people still use that?
Title: Re: Adding shield to models
Post by: Mav on January 21, 2006, 02:06:28 pm
Well, I'm not. Whenever I tried, either the pof got terribly corrupted or segeltuch outright crashed (mostly the latter one...). I'm making my shieldmeshs in tS - can get quite complicated, though. :(