Modify

Ticket #137 (closed bug: fixed)

Opened 9 years ago

Last modified 9 years ago

Need support for object animation

Reported by: kaydeth_parpg Owned by: beliar
Priority: major Milestone: Techdemo 1
Component: scripts Version: trunk
Keywords: Cc:
Blocked By: Blocking:
Department:

Description

Zeli has created a footlocker graphic with open and close animation. Currently we don't have the ability to link animations to objects. Some infrastructure is setup with the scriptable interface that containers use but it is not being called in the actual code.

Attachments

ObjectAnimation.diff (6.9 KB) - added by Beliar 9 years ago.
ObjectAnimationAndDifferentContainers.diff (11.5 KB) - added by Beliar 9 years ago.
ObjectAnimation.zip (235.7 KB) - added by beliar 9 years ago.
Patch package for ticket:137 and ticket:138. Contains patches for the script files, the map.xml and the lock_box_metal

Change History

comment:1 Changed 9 years ago by Beliar

I'll look into this. There are some problems with the footlocker in the repository though. First the filenames in the animation.xml files do not match the actual images. Second the images have too much unneded empty space which will cause the object editor in the editor to be too big.

comment:2 Changed 9 years ago by Beliar

After some research i found out how to do this. First i tried using scripts but for some reason it called the script of Footlocker for every box so instead i wrote on overload for open and close.

I'll attach a patch and a modified lock_box_metal which shows how this can be done.

Changed 9 years ago by Beliar

comment:3 Changed 9 years ago by barra_parpg

Works fine here with Beliar's patches applied. A programmer would still have to review it before we can apply it.

comment:4 Changed 9 years ago by Beliar

Might be best to combine ticket:138 and this one into a single patch.

I'll add a patch that does this, just use it instead of the one in the zip-archive.

Changed 9 years ago by Beliar

comment:5 Changed 9 years ago by beliar

  • Owner changed from parpg to beliar
  • Status changed from new to assigned

Changed 9 years ago by beliar

Patch package for ticket:137 and ticket:138. Contains patches for the script files, the map.xml and the lock_box_metal

comment:6 Changed 9 years ago by eliedebrauwer

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [395]) Ticket #137 and #138. Patch by Beliar (confirmed by eliedebrauwer). Fixes footlocker animation, added support for opening/closing footlocker animations, added footlocker onto the map, isolates contents of containers. Added copyright notice to layer_fill_utility.py. closes #137

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.