Difference between revisions of "MWLLFlowNodes:DirectMechInput"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m
(Convert to a table because fuck that template ¯\_(ツ)_/¯)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{MWLLFlowNode|
+
{| class="wikitable" style="border:1px solid #250b2d; text-align:left; width:500px;" cellpadding="1" cellspacing="0" rules="all" align="right"
| Image = [[File:DirectMechInput.png]]
+
! colspan="3" style="background:#2a2a2a; text-align:center; font-size:12pt" | DirectMechInput
| Name =DirectMechInput
+
|-
| {{FlowIn|Choose Entity|Integer|Entity id, selected entity or graph entity}}
+
| '''Name''' || '''Type''' || '''Description'''
{{FlowIn|<nowiki>Entity Id for mech to set input on = 0</nowiki>|Integer|Entity Id for mech to set input on:0}}
+
|-
{{FlowIn|MechInputThrottle|Float|<nowiki>Mech movement speed, where</nowiki><br><nowiki>less than 0.2 == stand still, 1 == maximum speed</nowiki>}}
+
|Choose Entity
{{FlowIn|MechInputTurnRequest|Float|Make Mech turn or rotate when standing still.<br>positive: turn left, negative: turn right}}
+
|Integer
{{FlowIn|MechInputCrouchRequest|Bool|Mech crouches<br>first trigger - crouch, second - stand up}}
+
|Entity id, selected entity or graph entity
{{FlowIn|SetMechStartFire|Integer|Start firing given group of weapons{{FlowInNo}} }}
+
|-
{{FlowIn|SetMechStopFire|Integer|Stop firing given group of weapons{{FlowInNo}} }}
+
|<nowiki>Entity Id for mech to set input on = 0</nowiki>
{{FlowIn|MechTorsoYawRequest|Float|Rotate torso<br>positive: turn left, negative: turn right{{FlowInNo}} }}
+
|Integer
{{FlowIn|MechTorsoPitchRequest|Float|Look up/down{{FlowInNo}} }}
+
|Entity Id for mech to set input on:0
}}
+
|-
 +
|MechInputThrottle
 +
|Float
 +
|<nowiki>Mech movement speed, where</nowiki><br><nowiki>less than 0.2 == stand still, 1 == maximum speed</nowiki>
 +
|-
 +
|MechInputTurnRequest
 +
|Float
 +
|Make Mech turn or rotate when standing still.<br>positive: turn left, negative: turn right
 +
|-
 +
|MechInputCrouchRequest
 +
|Bool
 +
|Mech crouches<br>first trigger - crouch, second - stand up
 +
|-
 +
|SetMechStartFire
 +
|Integer
 +
|Start firing given group of weapons{{FlowInNo}}
 +
|-
 +
|SetMechStopFire
 +
|Integer
 +
|Stop firing given group of weapons{{FlowInNo}}
 +
|-
 +
|MechTorsoYawRequest
 +
|Float
 +
|Rotate torso<br>positive: turn left, negative: turn right{{FlowInNo}}
 +
|-
 +
|MechTorsoPitchRequest
 +
|Float
 +
|Look up/down{{FlowInNo}}
 +
|-
 +
!colspan="3" style="text-align:center" | [[File:DirectMechInput.png]]
 +
|-
 +
|}
  
  
Line 19: Line 50:
 
Mech walks large circles turning right:
 
Mech walks large circles turning right:
  
[[File:DirectMechInput Example1.png]]
+
[[File:DirectMechInput_Example1.png]]
 +
{{Clear}}
 +
{{Navbox FlowNodes}}
  
[[Category:Mapping]]
+
[[Category:FlowNodes]]

Latest revision as of 03:00, 15 August 2017

DirectMechInput
Name Type Description
Choose Entity Integer Entity id, selected entity or graph entity
Entity Id for mech to set input on = 0 Integer Entity Id for mech to set input on:0
MechInputThrottle Float Mech movement speed, where
less than 0.2 == stand still, 1 == maximum speed
MechInputTurnRequest Float Make Mech turn or rotate when standing still.
positive: turn left, negative: turn right
MechInputCrouchRequest Bool Mech crouches
first trigger - crouch, second - stand up
SetMechStartFire Integer Start firing given group of weaponsTemplate:FlowInNo
SetMechStopFire Integer Stop firing given group of weaponsTemplate:FlowInNo
MechTorsoYawRequest Float Rotate torso
positive: turn left, negative: turn rightTemplate:FlowInNo
MechTorsoPitchRequest Float Look up/downTemplate:FlowInNo
DirectMechInput.png


DirectMechInput is the MWLL Flowgraph Node made for direct control over Mechs, such as moving or making them fire the weapons through flowgraph.

Examples

Mech walks large circles turning right:

DirectMechInput Example1.png