Hidden buildings

Started by Asfalto, February 20, 2015, 06:03:50 PM

Previous topic - Next topic

Asfalto

What defines a building visible/non visible?

(i just want to mod all power cables to be invisible..)

Gaesatae

Use an empty texture. It worked for me when I was testing some ideas...

Asfalto

uhm, will try but i don't think the problem is "solved"

i mean, it will work, but there must be a correct way of doing it.. i guess..

thx btw

Igabod

Quote from: Asfalto on February 20, 2015, 07:22:26 PM
uhm, will try but i don't think the problem is "solved"

i mean, it will work, but there must be a correct way of doing it.. i guess..

thx btw

That's the only way to do it as far as I am aware. If you want to make it not selectable to make it completely invisible to the player then just add in the <selectable>false</selectable> and you might also want to add in this bit so things can be built on top of it.


    <building>
      <isEdifice>false</isEdifice>
    </building>

Haplo

I've done this in the power switch mod. There are invisible power conduits that you can research.
They are normal conduits with a few changes. And.. They have a full alpha graphic :)

Asfalto

Quote from: Haplo on February 23, 2015, 03:33:49 PM
I've done this in the power switch mod. There are invisible power conduits that you can research.
They are normal conduits with a few changes. And.. They have a full alpha graphic :)

EH! I used a (h) hidden power conduits b4 alpha9, i just couldn't find them anymore with the search function in the forum to look up how to to them.

Was that yours mod too?

Btw, THX :D i missed your mod while adding all the new a9 ones ;)