A1 - hidden = 1 command?

The best Modding forum in the Armada community, some of the best modders come here.

Moderators: MrVulcan, thunderchero

Post Reply
User avatar
Shadowtech
Cadet 2nd Year
Cadet 2nd Year
Posts: 25
Joined: Thu Aug 06, 2015 2:58 am

A1 - hidden = 1 command?

Post by Shadowtech » Fri Aug 07, 2015 12:58 am

This is for Armada 1

What is the practical use of the odf command hidden = 1 ? I know that it hides an object when you build something but what good is it? The object is hidden from view and unusable. If anyone knows could you include a practical example.

CABAL
Cadet 1st Year
Cadet 1st Year
Posts: 15
Joined: Wed Jul 29, 2015 10:55 pm

Re: A1 - hidden = 1 command?

Post by CABAL » Fri Aug 07, 2015 2:59 am

There are a few possibilities, but most of them are really weird and work best with 'avoidme = 0', which makes ships pass right through. The stock use is simply to hide the map lights, but other uses include hiding research pods so that only the station can be targeted, "researching" things from a shipyard by building an invisible and intangible ship, or, if you're really nuts, building an invisible and intangible mining station that uses a "freighter" that's actually a combat ship that can turn but not move to create a turret that turns to face the target. That one has the problem where freighters still try to dock with the mining station that isn't technically there, though. There may be a way to get the mining station to automatically shoot itself, but I never got that far.
Good night, forum. Good work. Sleep well. I'll most likely kill you in the morning.​

User avatar
MrVulcan
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 660
Joined: Fri Apr 25, 2003 2:00 am
Location: TO CA

Re: A1 - hidden = 1 command?

Post by MrVulcan » Fri Aug 07, 2015 10:27 am

Those are good suggestions, CABAL

I use it to create invisible map objects that are either a station or a uball object. These can be used for a variety of effects:

adding extra effects to the stock nebula via weapons on the hidden object
light sources, also via weapons with shotspeed = 0
let the AI build more freighters on each moon by letting it build invisible mining stations (yes it can shoot itself, but better option is to give it 0 life support)

User avatar
Shadowtech
Cadet 2nd Year
Cadet 2nd Year
Posts: 25
Joined: Thu Aug 06, 2015 2:58 am

Re: A1 - hidden = 1 command?

Post by Shadowtech » Fri Aug 07, 2015 10:43 pm

Thanks guys! I never could figure out a practical use for the command. Your suggestions are interesting and I'll give them a try!

User avatar
Shadowtech
Cadet 2nd Year
Cadet 2nd Year
Posts: 25
Joined: Thu Aug 06, 2015 2:58 am

Re: A1 - hidden = 1 command?

Post by Shadowtech » Sat Aug 08, 2015 12:32 pm

Just a follow-up question out of curiosity. Does anyone know why the command was included in armada in the first place? Does it have something to do with map objects?

CABAL
Cadet 1st Year
Cadet 1st Year
Posts: 15
Joined: Wed Jul 29, 2015 10:55 pm

Re: A1 - hidden = 1 command?

Post by CABAL » Sat Aug 08, 2015 1:35 pm

There's a directional light object (dlight.odf) that has a model to make it easier to position. The hidden command makes it so the light still works, but you can't see the model. You can still see it in the map editor, though.
Good night, forum. Good work. Sleep well. I'll most likely kill you in the morning.​

Post Reply

Who is online

Users browsing this forum: No registered users