Skip to content

Commit

Permalink
Merge pull request #1 from andrewfullard/master
Browse files Browse the repository at this point in the history
Update Blender Plugin
  • Loading branch information
gruenwaldlk authored Jul 23, 2023
2 parents 04932aa + 198b303 commit bfe3cb9
Show file tree
Hide file tree
Showing 12 changed files with 1,687 additions and 674 deletions.
30 changes: 20 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Blender-ALAMAO-Plugin
# Blender-ALAMO-Plugin

A plugin that allow reading and writing of ALAMO-Engine model(.alo) and animation(.ala) files.
Specifically designed to work with Empire at War: Forces of Corruption.
Expand Down Expand Up @@ -50,26 +50,36 @@ However it also means that an exported shadow mesh should not be able to cause a
## Sidebar

The sidebar(default hotkey: 'N') offers an ALAMO properties option.
This lists the file format specific properties of the active object.
The avaible properties change depending on the mode and object type.
This lists the file format specific properties of the active object.

Scene propierties(always avaible):
- ActiveSkeleton: Files can only contain a single skeleton. Choose the skeleton that is used when exporting
- AnimationEndFrame: per action, length of the animation
Validate:
- Check for any problems that would cause an export to fail.

Object properties(Mesh in object-mode):
Object tools (Mesh in object-mode):
- HasCollision: treated as collider ingame
- Hidden: invisible ingame

Armature Settings (always avaible):
- ActiveSkeleton: Files can only contain a single skeleton. Choose the skeleton that is used when exporting

Bone properties (Bone in edit-mode):
Bone Tools (Bone in edit-mode):
- billboardMode: Sets the billboard mode. Can only be set on individually-selected bones.
- Visible: Visibility of attached object
- EnableProxy: bone is a proxy to spawn effects ingame, enables additional options:
- proxyIsHidden: flag that determines if the proxy is initially hidden
- altDecreaseStayHidden: prevents proxies to become visible when the alt level decreases
- ProxyName: name of the effect to be attached to the proxy
- ProxyName: name of the effect to be attached to the proxy. Can only be set on individually-selected bones.

Bone properties (Bone in pose-mode):
- proxyIsHiddenAnimation: animated visibility of the proxy, when hovering over it with mouse: press 'I' to set keyframe
- proxyIsHiddenAnimation: animated visibility of the proxy
- Action End Frames: per action, length of the animation

Debug:
- Unmodified original UI

### Gotchas
- Any clicks on the sidebar, but not on an active control, will be treated as a click in the 3d view. This can cause you to lose your selection.
- On validation, errors only pop up briefly, and warnings don't pop up at all. Recommend opening an Info panel when validating.

## Alamo material properties

Expand Down
Loading

0 comments on commit bfe3cb9

Please sign in to comment.