 |
Forum Info
|
 |
Forum Members: 18,581
Total Threads: 8,669
Posts: 94,547
Administrators:
DeeZire, Redemption
There are currently 51 users online.
|
 |
Partner Links
|
 |
 |
Advertisements
|
 |
|
| Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here. |
03-02-2005, 11:16 PM
|
#1 (permalink)
|
|
Member
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 66
|
Whats the conditionstate after constructing?
I've got a unit moving to a construction site to build something. I've also created a transition starte for moving to actively_constructing. During this time it plays a small animation and then starts constructing playing another animation during its construction phase.
What I'm looking for, is after the building is fully constructed, I want to play the same animation I played during the transitionstate but in reverse once. I know I set the animation mode to:
AnimationMode = ONCE_BACKWARDS
But I don't know waht state comes after a building has finished building. Any assistance?
|
|
|
03-02-2005, 11:23 PM
|
#2 (permalink)
|
|
Senior Member
Join Date: Aug 2003
Posts: 1,087
|
Make another transition state, going from contructing to NONE, or contructing to MOVING, or both.I assume that a unit would do one or the other of these thing immediately after finishing its task.
|
|
|
03-02-2005, 11:32 PM
|
#3 (permalink)
|
|
Member
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 66
|
Yeah thats what I figured too, got one for moving, one for stand and one for none. All of them dont work, which means theres definitely a state after a unit finishes constructing. You know how it backs away from the building after it finishes it? Anyone knoww hat the state is?
|
|
|
03-02-2005, 11:36 PM
|
#4 (permalink)
|
|
Senior Member
Join Date: Aug 2003
Posts: 1,087
|
If you open up gamde.dat in notepad/word, and search it for any conditionstate, you will find every other available conditionstate on the same string.Hope that helps.
*Edit actually they are not all in the same string, but they are grouped together.
|
|
|
03-02-2005, 11:50 PM
|
#5 (permalink)
|
|
Member
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 66
|
Hmm slightly helpful. Just dont know what I'm loking for.
|
|
|
03-02-2005, 11:54 PM
|
#6 (permalink)
|
|
Senior Member
Join Date: Aug 2003
Posts: 1,087
|
I found "actively_constructing" and "construction_completed"
The first is used with structures, cant find any use of the other though.
doh yes I could, I was searching for files named not containing text..but you are using actively_constructing and it works for the mech so the other should I guess
|
|
|
03-03-2005, 12:18 AM
|
#7 (permalink)
|
|
Member
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 66
|
Just gave that a shot then. nope. Just jumps from the construction animation to the unit moving away form the building it just finished building. I do hope what I'm asking is possible. If you can create a transition state from moving to actively_constructing, you'd figure a transition from construction_complete to moving would work., Any others ideas? Anyone?
|
|
|
03-03-2005, 12:36 AM
|
#8 (permalink)
|
|
Senior Member
Join Date: Aug 2003
Posts: 1,087
|
Have you tried the undocking state?
|
|
|
03-03-2005, 12:41 AM
|
#9 (permalink)
|
|
Member
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 66
|
Nah undocking sounds like when u send a damaged tank to repair at your war factory. It needs to dock in a special spot. And Undock from it as well. But will try it out anyways
edit. there is no state called undocking. just docking ending
|
|
|
03-03-2005, 02:44 AM
|
#10 (permalink)
|
|
Senior Member
Join Date: Dec 2003
Posts: 217
|
To "Dock" means to unload at a supply center, I think.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:29 PM.
|