groundflash visible without LOS
Moderator: Moderators
groundflash visible without LOS
yeah, i need that, could someone put in the code if(groundflash["alwaysvisible"] == 1) show_particle = true;
thanks
thanks
Re: groundflash visible without LOS
Unfortunately people generally only commit things that will compile.
Re: groundflash visible without LOS
what
no that code doesnt work, just example how it probably should be done, lol.
i dont know where is the file which defines which effect is visible and which not
if you know where it is, can you put that option, so we can see groundflash without LOS also?
no that code doesnt work, just example how it probably should be done, lol.
i dont know where is the file which defines which effect is visible and which not
if you know where it is, can you put that option, so we can see groundflash without LOS also?
Re: groundflash visible without LOS
This is how it worked in OTA, I'm still undecided on whether it was a good thing or not. Do you mean something defined in modinfo, or on a per-weapon basis?
I think we can currently define weapons as being always visible, can we not? I thought I saw that in a changelog. Anyway it's a start.
What would be really great is if we could set buildings as being always visible, then we could have some RA2-ish superweapons.
I think we can currently define weapons as being always visible, can we not? I thought I saw that in a changelog. Anyway it's a start.
What would be really great is if we could set buildings as being always visible, then we could have some RA2-ish superweapons.
Re: groundflash visible without LOS
i dont care what OTA was, i just need groundflash alwaysvisible tag in it...
Re: groundflash visible without LOS
It's possible to set units as alwaysvisible with Lua.Caydr wrote:What would be really great is if we could set buildings as being always visible, then we could have some RA2-ish superweapons.
Re: groundflash visible without LOS
AlwaysVisible is a property of WorldObject BTW, I think that variable works for anything, provided it's set. I'm not sure if the groundflash is a real object tho.
Re: groundflash visible without LOS
it doesnt work for groundflash, can you make it work for it pls
Re: groundflash visible without LOS
I think KDR was referring to an internal attribute.
Re: groundflash visible without LOS
At the very least, shouldn't the groundflash inherit "alwaysvisible" from the object that spawned it? After all, if I can see the object or the explosion, I should damned well see the groundflash, shouldn't I?
However, I could see a modder wanting the groundflashes to be visible when nothing else is, but can't imagine the reverse case.
However, I could see a modder wanting the groundflashes to be visible when nothing else is, but can't imagine the reverse case.
Re: groundflash visible without LOS
yeah i want groundflash visible when my explosion is alwaysvisible too... could someone say which file has that check, and i will change the code for us all...
Re: groundflash visible without LOS
CEGs don't have such attributes, only the particles they spawn can get it.Pxtl wrote:At the very least, shouldn't the groundflash inherit "alwaysvisible" from the object that spawned it? After all, if I can see the object or the explosion, I should damned well see the groundflash, shouldn't I?
However, I could see a modder wanting the groundflashes to be visible when nothing else is, but can't imagine the reverse case.
Re: groundflash visible without LOS
So are we going to get this feature in Spring at all?