ActorCreator: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
(Created page with "{{Subsystem infobox|name=ActorCreator|init_addr_switch150=00000071011DBAE4|inst_addr_switch150=00000071026521F0|is_name_official=0|description=Constructs and initialises actor...")
 
imported>Fatilumkin
mNo edit summary
Line 1: Line 1:
{{Subsystem infobox|name=ActorCreator|init_addr_switch150=00000071011DBAE4|inst_addr_switch150=00000071026521F0|is_name_official=0|description=Constructs and initialises actors}}
{{Subsystem infobox|name=ActorCreator|is_name_official=0|description=Constructs and initialises actors|init_addr_switch150=00000071011DBAE4|inst_addr_switch150=00000071026521F0}}
'''ActorCreator''' is responsible for constructing and setting up actor instances.
'''ActorCreator''' is responsible for constructing and setting up actor instances.


Line 6: Line 6:


=== Parameter type ===
=== Parameter type ===
{|class="wikitable"
{| class="wikitable"
! Value !! Type
! Value  
! Type
|-
|-
| 0 || Int
| 0  
| Int
|-
|-
| 1 || ?
| 1  
| ?
|-
|-
| 2 || Float
| 2  
| Float
|-
|-
| 3 || Bool
| 3  
| Bool
|-
|-
| 4 || Vec3
| 4  
| Vec3
|-
|-
| 5 || String
| 5  
| String
|-
|-
| 6 || Int64
| 6  
| Int64
|-
|-
| 7 || Matrix34
| 7  
| Matrix34
|}
|}


=== Parameters ===
=== Parameters ===
{{expand section}}
{{expand section}}
{|class="wikitable sortable"
{| class="wikitable sortable"
! Name !! Type !! Description
! Name  
! Type  
! Description
|-
|-
| @SB || bool || ?
| @SB  
| bool  
| ?
|-
|-
| @P || vec3 || Position
| @P  
| vec3  
| Position
|-
|-
| @R || vec3 || Rotate
| @R  
| vec3  
| Rotate
|-
|-
| @S || vec3 || Scale
| @S  
| vec3  
| Scale
|-
|-
| @M || matrix34 || Position (?)
| @M  
| matrix34  
| Position (?)
|-
|-
| @ND || bool || ?
| @ND  
| bool  
| ?
|-
|-
| @RL || int || ?
| @RL  
| int  
| ?
|-
|-
| @RV || vec3 || ?
| @RV  
| vec3  
| ?
|-
|-
| @D || int64 || ?
| @D  
| int64  
| ?
|-
|-
| @I || int || ?
| @I  
| int  
| ?
|-
|-
| @DD || float || ?
| @DD  
| float  
| ?
|-
|-
| @TV || vec3 || ?
| @TV  
| vec3  
| ?
|-
|-
| @PC || bool || ?
| @PC  
| bool  
| ?
|-
|-
| =AT || bool || ? (special purpose)
| =AT  
| bool  
| ? (special purpose)
|-
|-
| SharpWeaponJudgeType || int || (Weapon) Minimum modifier tier that a weapon can receive
| SharpWeaponJudgeType  
| int  
| (Weapon) Minimum modifier tier that a weapon can receive
|-
|-
| IsDrop || bool || ?
| IsDrop  
| bool  
| Is Loot or Inventory Item?  
|-
|-
| InitBoundBoxPosOffset || bool || ?
| InitBoundBoxPosOffset  
| bool  
| ?
|-
|-
| IsPlayerPut || bool || ?
| IsPlayerPut  
| bool  
| Is Inventory Item Drop?
|-
|-
| IsIncreaseSkeletalSlotNumLimit || bool || ?
| IsIncreaseSkeletalSlotNumLimit  
| bool  
| ?
|-
|-
| Life || int || Life (health)
| Life  
| int  
| Life (health)
|-
|-
| AttackPower || int || Attack power
| AttackPower  
| int  
| Attack power
|-
|-
| ScaleTime || float || ?
| ScaleTime  
| float  
| ?
|-
|-
| AtMinDamage || int || Attack minimum damage
| AtMinDamage  
| int  
| Attack minimum damage
|-
|-
| Range || float || ?
| Range  
| float  
| ?
|-
|-
| AttackAttrEventKill || bool || ?
| AttackAttrEventKill  
| bool  
| ?
|-
|-
| RopeFlag || bool || ?
| RopeFlag  
| bool  
| Is Rope?
|-
|-
| RopeAlwaysUpdateRigidParam || bool || ?
| RopeAlwaysUpdateRigidParam  
| bool  
| Update Rope Physics?
|}
|}
[[Category:Internals]]
[[Category:Internals]]
[[Category:Subsystems (BotW)]]
[[Category:Subsystems (BotW)]]

Revision as of 03:54, 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 (?)
@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?
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?
RopeAlwaysUpdateRigidParam bool Update Rope Physics?