Bas: Difference between revisions

1,349 bytes added ,  4 years ago
imported>Ginger
(→‎Parameter TypeIndexes: Reworked table to be more concise with new information)
imported>Ginger
Line 55: Line 55:


====Parameter TypeIndexes====
====Parameter TypeIndexes====
Nodes with Blender are generally used to perform the same checks as those with Selector in the name, with a key difference: Blender nodes may evaluate multiple cases as true, and will blend the resulting animations together. Selector nodes will choose only the first case that evaluates to true.{{Check}}
{| class="wikitable"
{| class="wikitable"
!Index
!Index
Line 63: Line 64:
|0
|0
|AbsTemperatureBlender
|AbsTemperatureBlender
| -
|Current world temperature. Evaluated by float range.
| -
|Control
|-
|-
|1
|1
|AbsTemperatureSelector
|AbsTemperatureSelector
|Current world temperature. Evaluated by number range
|Current world temperature. Evaluated by float range.
|Control
|Control
|-
|-
Line 133: Line 134:
|14
|14
|DirectionAngleBlender
|DirectionAngleBlender
|Compares to the movement analog stick's current orientation, in degrees, in counter-clockwise fashion. Accepts -359 to 360. (e.g. 270 and -90 both point directly to the right). Evaluated by number range.
|Compares to the movement analog stick's current orientation, in degrees, in counter-clockwise fashion. Accepts -359 to 360. (e.g. 270 and -90 both point directly to the right). Evaluated by float range.
|Control
|Control
|-
|-
|15
|15
|DirectionAngleSelector
|DirectionAngleSelector
| -
|Compares to the movement analog stick's current orientation, in degrees, in counter-clockwise fashion. Accepts -359 to 360. (e.g. 270 and -90 both point directly to the right). Evaluated by float range.
| -
|Control
|-
|-
|16
|16
|DistanceBlender
|DistanceBlender
|Compares distance between Link and his current locked target{{#tag:ref|Element2 of Player_CutNinja.bas, WiiU 1.5.0|name=e2pcn}}. Evaluated by number range.
|Compares distance between Link and his current locked target{{#tag:ref|Element2 of Player_CutNinja.bas, WiiU 1.5.0|name=e2pcn}}. Evaluated by float range.
|Control
|Control
|-
|-
|17
|17
|DistanceSelector
|DistanceSelector
| -
|Compares distance between Link and his current locked target. Evaluated by float range.
| -
|Control
|-
|-
|18
|18
Line 268: Line 269:
|41
|41
|NoAnmAsset
|NoAnmAsset
| -
|Play no animation. Used to cancel evaluation.
| -
|Animation
|-
|-
|42
|42
Line 283: Line 284:
|44
|44
|NodePosSelector
|NodePosSelector
|Compares name of a bone, takes StrRef of the bone name. but unknown how it decides which bone name to use.{{#tag:ref|Element0 of Player_LadderJump.bas, WiiU 1.5.0|name=e0plj}}
|Compares name of a bone, takes StrRef of the bone name. Unknown how it decides which bone name to compare the StrRef to.{{#tag:ref|Element0 of Player_LadderJump.bas, WiiU 1.5.0|name=e0plj}}
|Control
|Control
|-
|-
Line 308: Line 309:
|49
|49
|RandomSelector
|RandomSelector
| -
|Picks a random node from the given nodes.{{Check}}
| -
|Control
|-
|-
|50
|50
Line 403: Line 404:
|68
|68
|SpeedBlender
|SpeedBlender
| -
|Compares actor's current movement speed. Evaluated by float range.
| -
|Control
|-
|-
|69
|69
|SpeedSelector
|SpeedSelector
| -
|Compares actor's current movement speed. Evaluated by float range.
| -
|Control
|-
|-
|70
|70
|StickAngleBlender
|StickAngleBlender
| -
|Compares the movement analog stick's current orientation, in degrees, in counter-clockwise fashion. Accepts -359 to 360. (e.g. 270 and -90 both point directly to the right). Evaluated by float range.
| -
|Control
|-
|-
|71
|71
|StickAngleSelector
|StickAngleSelector
| -
|Compares the movement analog stick's current orientation, in degrees, in counter-clockwise fashion. Accepts -359 to 360. (e.g. 270 and -90 both point directly to the right). Evaluated by float range.
| -
|Control
|-
|-
|72
|72
Line 548: Line 549:
|97
|97
|WeaponDetailSelector
|WeaponDetailSelector
|Compares Link's equipped weapon subtype (from its bgparamlist [ProfileUser] WeaponSubtype value), takes StrRef of weapon subtype name
|Compares actor's equipped weapon subtype (from its bgparamlist [ProfileUser] WeaponSubtype value), takes StrRef of weapon subtype name
|Control
|Control
|-
|-
|98
|98
|WeaponSelector
|WeaponSelector
|Compares Link's equipped weapon profile (from its bxml ProfileUser value), takes StrRef of weapon profile name
|Compares actor's equipped weapon profile (from its bxml ProfileUser value), takes StrRef of weapon profile name
|Control
|Control
|-
|-
|99
|99
|WeatherSelector
| -
| -
|-
|100
|WeightBlender
|WeightBlender
| -
| -
| -
| -
|-
|-
|100
|101
|WeightSelector
|WeightSelector
| -
| -
| -
| -
|-
|-
|101
|102
|WindVelocityBlender
|WindVelocityBlender
| -
| -
| -
| -
|-
|-
|102
|103
|YSpeedBlender
|YSpeedBlender
| -
| -
| -
| -
|-
|-
|103
|104
|YSpeedSelector
|YSpeedSelector
| -
| -
| -
| -
|-
|-
|104
|105
|ZEx00ExposureBlender
|ZEx00ExposureBlender
| -
| -
| -
| -
|-
|-
|105
|106
|ZEx00ExposureSelector
|ZEx00ExposureSelector
| -
| -
Line 603: Line 609:


====BitIndex====
====BitIndex====
Used with Parameter TypeIndex 7. Also has TypeIndex, which are used to perform the check.
Used with BoolSelector Parameters. Also has TypeIndex, which are used to perform the check.


*2 - Unknown (believed to check if Link has any armor equipped)<ref name="e0pfd" />
*2 - Unknown (believed to check if Link has any armor equipped)<ref name="e0pfd" />
Anonymous user