Fractal Softworks Forum

Starsector => Mods => Modding => Topic started by: ucws on March 14, 2014, 08:05:03 AM

Title: I can't believe this problem still there?
Post by: ucws on March 14, 2014, 08:05:03 AM
The hidden missile still display in gameplay.
Since V0521a I know starfarer, this problem is bothering me... :(
I am very happy to see in the next version something changed?  :)

[attachment deleted by admin]
Title: Re: I can't believe this problem still there?
Post by: PCCL on March 14, 2014, 08:32:28 AM
Fairly certain its intended. the projectile displays but the rest of the weapon (i.e the rack) doesnt
Title: Re: I can't believe this problem still there?
Post by: Alex on March 14, 2014, 08:45:35 AM
Yeah, that's the intended behavior. If you don't want the missiles to render, either set this render hint:
RENDER_LOADED_MISSILES_UNLESS_HIDDEN

Or do not set the RENDER_LOADED_MISSILES hint on the weapon.

I know that doesn't help if you want HIDDEN to fully hide vanilla missiles, but that's the only way to go if you really want that behavior. Also, some fighters (i.e. Dagger, Thunder) rely on this behavior to render properly.
Title: Re: I can't believe this problem still there?
Post by: ucws on March 14, 2014, 10:00:59 AM
Yeah, that's the intended behavior. If you don't want the missiles to render, either set this render hint:
RENDER_LOADED_MISSILES_UNLESS_HIDDEN

Or do not set the RENDER_LOADED_MISSILES hint on the weapon.

I know that doesn't help if you want HIDDEN to fully hide vanilla missiles, but that's the only way to go if you really want that behavior. Also, some fighters (i.e. Dagger, Thunder) rely on this behavior to render properly.

RENDER_LOADED_MISSILES_UNLESS_HIDDEN
Sorry I didn't know there is such a good hint...
Very helpful thanks.
Title: Re: I can't believe this problem still there?
Post by: Alex on March 14, 2014, 04:49:26 PM
Pretty much no way for you to know, that hint is rather well... hidden :)
Title: Re: I can't believe this problem still there?
Post by: Cycerin on March 14, 2014, 06:02:06 PM
Are there any hidden mounts on vanilla ships, even?
Title: Re: I can't believe this problem still there?
Post by: Wyvern on March 14, 2014, 06:43:14 PM
Hidden mounts, in vanilla, are only used on fighters.  And they don't use this hint; either they display missiles, or they're using swarmers that don't display missiles normally.
Title: Re: I can't believe this problem still there?
Post by: dmaiski on March 28, 2014, 03:03:44 PM
you could allways just use a script to turn the transparency value of misile sprite to 0 if the missile is within the launching ships colbox using evry frame combat script