Jump to content


Photo

Buildup animations and upgrades


  • Please log in to reply
2 replies to this topic

#1 Easterling26

Easterling26
  • Members
  • 63 posts

Posted 04 February 2017 - 12:19 PM

Hello everyone.

 

I am trying to add upgrades to my buildings which are supposed to change the model.

For example I want to add a upgrade to my fortress which will add a new object like a

flag.

 

I really dont know how to explain this so I will use the gondor fortress as example.

The gondor fortress has a upgrade that will add gondor flags to the fortress.

 

Must I first add the model of my flags to the fortress model in 3ds max or is that

done via code? How should this code look ? I could not figure it out from the gondor

fortress ini as there are several sections about the flags.

 

And since this is an upgrade I assume that I have to edit the upgrade ini aswell right?

 

This same problem is with buildup animations. I found a tutorial on the 3rd age about doing

the buildup animations in 3ds max but it does not tell how its added to the code.

Are buildup animations upgrades aswell?

 

I hope you guys understand my question. I really dont know how to explain this properly.

 



#2 Rider of Rohan

Rider of Rohan

    The Lazy Modder

  • Division Leaders
  • 1,555 posts
  • Location:The Caribbean
  • Projects:Age of the Ring and the HD Editions
  •  Mathijs' Bug fix expert
  • Division:BFME
  • Job:T3A Leader

Posted 05 February 2017 - 04:31 AM

1.) The Fortress Banners.

Spoiler


2.) Doing Building build ups
Spoiler

Hope this helps.


99dxc486ltde132zg.jpgh5je9noaofg3o26zg.jpg

No parent should have to bury their child - King Theoden


#3 Easterling26

Easterling26
  • Members
  • 63 posts

Posted 05 February 2017 - 02:22 PM

Hello Rider of Rohan.

 

Thank you for the detailed explanation.

I will give it a try.

 

I will let you know if it worked :)

 

 

--------

 

So I first decided to get my buildup animations to work before focusing on upgrades.

I tried to use the second part of your code but it did not work.

 

I replaced the the names of the animation with the name of my model like

you have said. I used the second part because at the moment my building

has no snow texture so its only the standart model.

 

Ingame the animations did not work. The building stayed under ground after

construction. In W3D viewer the animations worked so its most certainly the code

which is incorrect. My game did however not crash at the start.

 

So I assume the first part of your code is the special part of the animations and the

second part is the normal part of the animations? I am talking about the buildups code

section here :)

 

Sorry for being a bit silly but on a closer look your code confused me :)


Edited by Easterling26, 05 February 2017 - 04:23 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users