Fractal Softworks Forum
Starsector => Mods => Modding => Topic started 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]
-
Fairly certain its intended. the projectile displays but the rest of the weapon (i.e the rack) doesnt
-
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.
-
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.
-
Pretty much no way for you to know, that hint is rather well... hidden :)
-
Are there any hidden mounts on vanilla ships, even?
-
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.
-
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