Home   Help Search Login Register  

Author Topic: Building Animation Prob  (Read 7784 times)

0 Members and 2 Guests are viewing this topic.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Building Animation Prob
« Reply #30 on: 28 Nov 2004, 23:13:46 »
Not sure if it makes any difference, but you could meantime try removing the space here:

ladders[]={ {"start","end"}, {"start1", "end1"} };
.............................................................^.................

Probably doesn't make much difference, but you never know.


Planck
I know a little about a lot, and a lot about a little.

Offline Pilot

  • Contributing Member
  • **
Re:Building Animation Prob
« Reply #31 on: 28 Nov 2004, 23:38:40 »
No, it didn't do anything for me.  I haven't found anything obvious in the commented config, but I'll keep checking.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Building Animation Prob
« Reply #32 on: 28 Nov 2004, 23:48:04 »
Another thing to check with your ladders is the points in the model file itself.

If I recall correctly there are two points defining the ladder position.

Make sure they are not exactly lined up one above the other make one or the other slightly out of line with its partner.

I can't recall which way though, just make sure they are not exactly lined up.


Planck
I know a little about a lot, and a lot about a little.

Offline Pilot

  • Contributing Member
  • **
Re:Building Animation Prob
« Reply #33 on: 29 Nov 2004, 00:08:14 »
Thank You Planck!

Your're suggestion with changing the line-up of the points worked! :D

You have been a great help!

All I need to do now is figure out how to make ladders and animations work in .wrp placed objects.

Thank you for you time and expertise!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Building Animation Prob
« Reply #34 on: 29 Nov 2004, 00:15:34 »
You are welcome

The ladders do work I think in .wrp files, Just the eventhandlers that don't I think.


I'll see what I can do about separating your configs for you

Planck
« Last Edit: 29 Nov 2004, 00:16:42 by Planck »
I know a little about a lot, and a lot about a little.

Offline Pilot

  • Contributing Member
  • **
Re:Building Animation Prob
« Reply #35 on: 29 Nov 2004, 00:26:53 »
That's odd, because they aren't working for me with .wrp placed objects.  Does the map have to be binarized for this to work, or should it work with an unbinarized version too?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Building Animation Prob
« Reply #36 on: 29 Nov 2004, 00:31:49 »
I'm not sure about the island.......is it not in OPRW format?

I know that the model files must be in ODOL format to be placed in .wrp files.


Planck
I know a little about a lot, and a lot about a little.

Offline Pilot

  • Contributing Member
  • **
Re:Building Animation Prob
« Reply #37 on: 29 Nov 2004, 00:35:30 »
No, the map is in the "4WVR" format.  I am working in WRPTool, and it saves the maps in a different format than WRPEdit.

All of my models are in ODOL format, so that is not the problem.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Building Animation Prob
« Reply #38 on: 29 Nov 2004, 00:41:15 »
One other thing.........I never put anything in Res\Addons unless absolutely necessary.

All Addons I use are put in the standard addons folder.

A bit hard to change on your models as they are pointing to the Res\Addons

I'll see what I can do with your configs anyway



Planck
« Last Edit: 29 Nov 2004, 00:42:46 by Planck »
I know a little about a lot, and a lot about a little.

Offline Pilot

  • Contributing Member
  • **
Re:Building Animation Prob
« Reply #39 on: 29 Nov 2004, 00:48:57 »
Ok, I will move everything to my addons folder.  Thanks for your input!

Offline Pilot

  • Contributing Member
  • **
Re:Building Animation Prob
« Reply #40 on: 29 Nov 2004, 03:12:08 »
Ok, I have divided my addon into 2 pbo's.  One containing the island, the other the buildings.  I have also moved the addons from the Res\Addons folder to the Addons folder, and adjusted the configs so they look for the addons in the Addons folder (I hope this is clear).

The result:

My ladders now work on .wrp placed objects! :D  

Thank you so much Planck.  I have been working on this for over a year, and could never find a solution.  Thank you so much!

All I have left to accomplish is the animation problem.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Building Animation Prob
« Reply #41 on: 29 Nov 2004, 04:31:47 »
You might have to accomplish the animations on a per mission basis.

i.e.  When you are making a mission put the code to start the animations in the mission init.sqs

You would need to get the object ID numbers for all the relevant objects on your island and start the animations with that.


Planck
I know a little about a lot, and a lot about a little.

Offline Pilot

  • Contributing Member
  • **
Re:Building Animation Prob
« Reply #42 on: 29 Nov 2004, 23:34:13 »
Ok, I have decided just to do that.  However, I still have a problem.

Here is my init.sqs
Code: [Select]
object 2847 animate ["ani_radar", 1]
object 1856 animate ["ani_beacon", 1]
exit

The second command, the one for the Tower, works fine.  However, the first one for the radar doesn't.  The radar is in ODOL Format, I have triple checked the object ID, and made sure all the proper sections in the model are properly defined.  So what is wrong?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Building Animation Prob
« Reply #43 on: 29 Nov 2004, 23:47:52 »
Try this instead:


"(object 2847) animate [""ani_radar"", 1]"
"(object 1856) animate [""ani_beacon"", 1]"


Planck
I know a little about a lot, and a lot about a little.

Offline Pilot

  • Contributing Member
  • **
Re:Building Animation Prob
« Reply #44 on: 29 Nov 2004, 23:54:42 »
No, that didn't work, and now my Tower animation isn't working.