ActorCreator: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Fatilumkin
mNo edit summary
imported>Leoetlino
(→‎Parameters: use {{check}} template)
Line 60: Line 60:
| @M  
| @M  
| matrix34  
| matrix34  
| Position (?)
| Position {{check}}
|-
|-
| @ND  
| @ND  
Line 104: Line 104:
| IsDrop  
| IsDrop  
| bool  
| bool  
| Is Loot or Inventory Item?
| Is Loot or Inventory Item{{check}}
|-
|-
| InitBoundBoxPosOffset  
| InitBoundBoxPosOffset  
Line 144: Line 144:
| RopeFlag  
| RopeFlag  
| bool  
| bool  
| Is Rope?
| Is Rope{{check}}
|-
|-
| RopeAlwaysUpdateRigidParam  
| RopeAlwaysUpdateRigidParam  
| bool  
| bool  
| Update Rope Physics?
| Update Rope Physics{{check}}
|}
|}
[[Category:Internals]]
[[Category:Internals]]
[[Category:Subsystems (BotW)]]
[[Category:Subsystems (BotW)]]

Revision as of 21:18, 15 October 2018

ActorCreator
Subsystem
Official name No
Description Constructs and initialises actors
Init function Switch 1.5.0: 00000071011DBAE4
Wii U 1.5.0: ???
Instance Switch 1.5.0: 00000071026521F0
Debug only No

ActorCreator is responsible for constructing and setting up actor instances.

Creation parameters

To specify actor parameters such as position, a ring buffer structure is used to store and pass parameters to ActorCreator.

Parameter type

Value Type
0 Int
1 ?
2 Float
3 Bool
4 Vec3
5 String
6 Int64
7 Matrix34

Parameters

Name Type Description
@SB bool ?
@P vec3 Position
@R vec3 Rotate
@S vec3 Scale
@M matrix34 Position [check]
@ND bool ?
@RL int ?
@RV vec3 ?
@D int64 ?
@I int ?
@DD float ?
@TV vec3 ?
@PC bool ?
=AT bool ? (special purpose)
SharpWeaponJudgeType int (Weapon) Minimum modifier tier that a weapon can receive
IsDrop bool Is Loot or Inventory Item[check]
InitBoundBoxPosOffset bool ?
IsPlayerPut bool Is Inventory Item Drop?
IsIncreaseSkeletalSlotNumLimit bool ?
Life int Life (health)
AttackPower int Attack power
ScaleTime float ?
AtMinDamage int Attack minimum damage
Range float ?
AttackAttrEventKill bool ?
RopeFlag bool Is Rope[check]
RopeAlwaysUpdateRigidParam bool Update Rope Physics[check]