Aller au contenu

Photo

Solved: Windmills and waterwheels - how do I make them rotate?


  • Veuillez vous connecter pour répondre
9 réponses à ce sujet

#1
PavelNovotny

PavelNovotny
  • Members
  • 344 messages
In Redcliff and Lothering the windmills rotate and in Redcliff the waterwheel rotates. I don't see any fx for this in the level files for those towns or in the fx lists in the toolset. Does anybody know how to make these rotate?

Thanks!

Modifié par PavelNovotny, 09 janvier 2010 - 08:59 .


#2
DarthParametric

DarthParametric
  • Members
  • 1 409 messages
Rotation would be an animation, not FX. That would mean you'd have to place them in the area editor like other placeables (doors, etc.), not in the level editor .

Modifié par DarthParametric, 08 janvier 2010 - 12:33 .


#3
PavelNovotny

PavelNovotny
  • Members
  • 344 messages
Thanks for the tip - that gave me an idea where to look.



It looks like you put an animation in, but you do it through the Level Editor, not the Area Editor. You attach the animation to the model in the level editor through the Default Animation field in the models Object Properties. In the case of the windmill it's wind.



Anyone want to do an animation tutorial for the wiki. :-)

#4
Bibdy

Bibdy
  • Members
  • 1 455 messages
Yeah, its supposed to be in the level editor. Simple way to figure out how to do things is download the source files for levels here and look at how Bioware did it. You can see rotating windmills built into the level of places like Lothering.

In fact, those files are useful for pretty much ANYTHING, from design, to lighting placement/style, how to create a cool-looking cave etc. If you haven't downloaded those already and taken a look at them, DO IT!

Modifié par Bibdy, 08 janvier 2010 - 05:26 .


#5
PavelNovotny

PavelNovotny
  • Members
  • 344 messages
Turns out the default animations are:



Windmill - wind

Waterwheel - Turn



Thanks to DarthParametric for the suggestion that led me to the animations.

#6
DarthParametric

DarthParametric
  • Members
  • 1 409 messages
Ah, interesting. I didn't think you could add animations in the level editor. I thought all animated statics had to be placeables and thus had to be added in the area editor. I assume this applies to any animated non-interactive model? Defiantly worth putting the info on the wiki in the level editor section.

#7
Angrycrow

Angrycrow
  • Members
  • 21 messages
that's just lowercase 'wind' right? No special dashes or spaces? Can I preview this animation in the level editor or do I have to export and test in game?

#8
Obadiah

Obadiah
  • Members
  • 5 718 messages
Is there something else I need to do besides putting "wind" in the DefaultAnimation property? I added it to an fhec_windmillwhl_0 model, and it won't turn. I also added a Wind object just for good measure.

#9
-Semper-

-Semper-
  • Members
  • 2 256 messages
no, just type the word within the defaultAnim field. that only works with the appropriate props. those little boats also have one. just type boat and they will behave like a boat at sea.

#10
Obadiah

Obadiah
  • Members
  • 5 718 messages
Hmm... I had to export it from Single Player to get it to work. Oh well.