Droid Dispenser Boarding RC Style
Moderator: Moderators
- Lagomorphia
- Major

- Posts: 502
- Joined: Sun Dec 13, 2009 10:02 am
Droid Dispenser Boarding RC Style
I know its possible to make things move with ZeroEditor. I also know its possible to turn command posts on and off. So is it possible to animate a droid dispenser to fly into a hanger with some sort of flame effect moving with it (so it looks like it's flying) then turn off the flame, have it drop to the floor, then start spawing droids while remaining destructible?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
- Lagomorphia
- Major

- Posts: 502
- Joined: Sun Dec 13, 2009 10:02 am
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Droid Dispenser Boarding RC Style
Have the dispenser come flying in with an activated propulsion effect. Then, when it has finished it's landing animation you made in zeroeditor, kill the effect via you .lua. Then activate the CP.
-
Executer94
- Major

- Posts: 504
- Joined: Fri May 01, 2009 7:45 am
- Location: Chalmuns Cantina
Re: Droid Dispenser Boarding RC Style
I really don't want to be unfriendly but why just this short yes it really doesn't help.Fiodis wrote:Yes.
I know it's a simple question for you and there are tuts which explane it.
Here is a tut for "moving objects" in ZE
http://www.gametoast.com/forums/viewtop ... =27&t=5865
For making flames just take the "hoth_effect" from the hot odf.
And change prop_steamgrate to a good effect which makes flames.
Take me 5 min to write and search.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Droid Dispenser Boarding RC Style
Then by inference it would take him five minutes to search and write. There are tutorials that explain the various aspects of this. Forgive me for thinking that Lagomorphia would take the initiative and try to find out for himself.Executer94 wrote:I really don't want to be unfriendly but why just this short yes it really doesn't help.Fiodis wrote:Yes.
I know it's a simple question for you and there are tuts which explane it.
Take me 5 min to write and search.
- Lagomorphia
- Major

- Posts: 502
- Joined: Sun Dec 13, 2009 10:02 am
Re: Droid Dispenser Boarding RC Style
How do you 'kill' the effect? The documentation isn't helping much.
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Droid Dispenser Boarding RC Style
You "kill" the emitter of that effect.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Droid Dispenser Boarding RC Style
Except, in this case, the emmiter is the command post object.
My advice: pre-place the CP at where you want it to land. Then place another "dummy" object, which sends out the effect. Use LUA code to kill the CP at the start of the match, fly the dummy in, kill the dummy and respawn the CP.
My advice: pre-place the CP at where you want it to land. Then place another "dummy" object, which sends out the effect. Use LUA code to kill the CP at the start of the match, fly the dummy in, kill the dummy and respawn the CP.
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Droid Dispenser Boarding RC Style
It's possible to do what I said; If you'd have 2 separate objects, the not yet activated cp and the emmitter and animate those 2 as a group.
- Lagomorphia
- Major

- Posts: 502
- Joined: Sun Dec 13, 2009 10:02 am
Re: Droid Dispenser Boarding RC Style
I now have the droid dispenser alone moving and dropping. I assume this is the dummy?
How do you get the LUA to recognize when the emitter has reached the end of its animation and when the dispenser has hit the ground?
How do you get the LUA to recognize when the emitter has reached the end of its animation and when the dispenser has hit the ground?
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Droid Dispenser Boarding RC Style
Kill the animation with the function that checks whether or not the animation is complete.
- Lagomorphia
- Major

- Posts: 502
- Joined: Sun Dec 13, 2009 10:02 am
Re: Droid Dispenser Boarding RC Style
So is this script okay (the function I don;t know is represented by *)the function that checks whether or not the animation is complete.
Hidden/Spoiler:
-
Executer94
- Major

- Posts: 504
- Joined: Fri May 01, 2009 7:45 am
- Location: Chalmuns Cantina
Re: Droid Dispenser Boarding RC Style
Also a point of view. He has to learn that.Fiodis wrote:Then by inference it would take him five minutes to search and write. There are tutorials that explain the various aspects of this. Forgive me for thinking that Lagomorphia would take the initiative and try to find out for himself.Executer94 wrote:I really don't want to be unfriendly but why just this short yes it really doesn't help.Fiodis wrote:Yes.
I know it's a simple question for you and there are tuts which explane it.
Take me 5 min to write and search.
- Lagomorphia
- Major

- Posts: 502
- Joined: Sun Dec 13, 2009 10:02 am
Re: Droid Dispenser Boarding RC Style
I did. I read the docs and the relevant ones were useless. They just waffled on in code about something that had practically nothing to do with the title. So, having failed to work it out myself, I asked. Is that not what the modding forum is for?Forgive me for thinking that Lagomorphia would take the initiative and try to find out for himself.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Droid Dispenser Boarding RC Style
first Docs =/= useless is a statement of somebody who either doesnt want to understand them.
they may not have a chapter which explains exactly how to do what you want to know though....
the modding forum is for asking questions regarding swbf2-modding which werent answered before and not for letting other people do the work for you e.g. searching for things you could have searched yourself or explaining things which have been answered several times before
but about the emitter: start a timer when the anim starts which ends when the anim ends and then kill the emitter and the dummy and spawn the actual object when the timer elapses
(that i dont write the actual code means that you can the needed events and commands easily in the documentation or the faqthread or other topics)
they may not have a chapter which explains exactly how to do what you want to know though....
the modding forum is for asking questions regarding swbf2-modding which werent answered before and not for letting other people do the work for you e.g. searching for things you could have searched yourself or explaining things which have been answered several times before
but about the emitter: start a timer when the anim starts which ends when the anim ends and then kill the emitter and the dummy and spawn the actual object when the timer elapses
(that i dont write the actual code means that you can the needed events and commands easily in the documentation or the faqthread or other topics)
