Question about control consoles
Moderator: Moderators
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Question about control consoles
Hi, please note I'm german.
Maybe you have played the Battle-Arena 2.0 and there are control consoles, which alow you to make some things appear like at the pool. My question:
I want to make this for a space map, so you shoot at a console and then there apears a barrier, which closes the hangar. If you shoot again at it the barrier is away. I know it doesn't look good but I want it like this.
Hope you understand what I mean
Maybe you have played the Battle-Arena 2.0 and there are control consoles, which alow you to make some things appear like at the pool. My question:
I want to make this for a space map, so you shoot at a console and then there apears a barrier, which closes the hangar. If you shoot again at it the barrier is away. I know it doesn't look good but I want it like this.
Hope you understand what I mean
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: Question about control consoles
open the map in ZE, place the given door inside the ship (somewhere where it can't be seen), make a animation for it (how to is in the documentation), then place your console somewhere and add to your LUA:
replace the OBJECTNAME with the name of your console and ANIMGROUPNAME with the name of the door's animgroupname.
I just don't know how to make this the other way around again...
Code: Select all
OnObjectKill(
function(object, killer)
if GetEntityName(object) == "OBJECTNAME" then
PlayAnimation("ANIMGROUPNAME")
end
end
)
I just don't know how to make this the other way around again...
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Question about control consoles
use "OnObjectRepair" for the other way arund, the syntax is the same
by the way, here is a topic discussing exactly what you asked for: Trigger animation on destruction of object? (FAQ)
it cant be just found by searching, its linked in the everythingyouneedthread aswell.
by the way, here is a topic discussing exactly what you asked for: Trigger animation on destruction of object? (FAQ)
it cant be just found by searching, its linked in the everythingyouneedthread aswell.
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: Question about control consoles
is there anywhere a tutorial about animationgroups? thx for the rest
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Question about control consoles
Yeah:
You should really look in The FAQ / Everything You Need Thread more often.[b][color=#FF8000]The FAQ / Everything You Need Thread Version 2.0[/color][/b] wrote:...
ZeroEditor/Mapping
... ...
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: Question about control consoles
sorry all, but there are so many topics...
ok thank you for your help
ok thank you for your help
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Question about control consoles
that is the reason for the everythingyouneedthread - it is a list of the most important problems and explanations so that you dont have to search manually for them.baumerindustries wrote:sorry all, but there are so many topics...
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: Question about control consoles
Do Animations work when they only take 0.01 sec?
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: Question about control consoles
you could take the pop transistion instead of the linear transition, but this should work, too.
why are you not making a normal doorclose anim?
why are you not making a normal doorclose anim?
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: Question about control consoles
i dont know normal door Animations. so this is.p the only thing i thought of as the Idea came to me. could you explain your way or give me a link?
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: Question about control consoles
what did you animate yet and wich ship and wich door are you using?
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: Question about control consoles
this is MY first Animation and i use the cis ship and the spa_prop_cisdoor
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Question about control consoles
bob meant with "normal door animation" that the doorparts move to the side like automatic doors opposed to something moving just 0.01 seconds.
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: Question about control consoles
i want it like this:
you shoot at the Console.
the hangar doors appears
you repair it , the door disappears.
I hide it in the capital ship while Its unused.
you shoot at the Console.
the hangar doors appears
you repair it , the door disappears.
I hide it in the capital ship while Its unused.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Question about control consoles
if you want the door simply to disappear you can "kill" it when the console is destroyed, instead of "Playanimation" you would use "KillObject("doorname)"
in order to be able to kill the door, you have to give it "destructablebuilding" as class label in the odf and a maxhealth.
in order to be able to kill the door, you have to give it "destructablebuilding" as class label in the odf and a maxhealth.
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: Question about control consoles
oh thx that makes it a lot easier. ok thank you you two!
