groundflash visible without LOS

groundflash visible without LOS

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

groundflash visible without LOS

Post by TradeMark »

yeah, i need that, could someone put in the code if(groundflash["alwaysvisible"] == 1) show_particle = true;

thanks
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: groundflash visible without LOS

Post by Peet »

Unfortunately people generally only commit things that will compile.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: groundflash visible without LOS

Post by TradeMark »

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?
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Re: groundflash visible without LOS

Post by Caydr »

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.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: groundflash visible without LOS

Post by TradeMark »

i dont care what OTA was, i just need groundflash alwaysvisible tag in it...
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Re: groundflash visible without LOS

Post by tombom »

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.
It's possible to set units as alwaysvisible with Lua.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: groundflash visible without LOS

Post by KDR_11k »

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.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: groundflash visible without LOS

Post by TradeMark »

it doesnt work for groundflash, can you make it work for it pls
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: groundflash visible without LOS

Post by rattle »

I think KDR was referring to an internal attribute.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: groundflash visible without LOS

Post by Pxtl »

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.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: groundflash visible without LOS

Post by TradeMark »

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...
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: groundflash visible without LOS

Post by KDR_11k »

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.
CEGs don't have such attributes, only the particles they spawn can get it.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: groundflash visible without LOS

Post by TradeMark »

So are we going to get this feature in Spring at all?
Post Reply

Return to “Feature Requests”