OBD:BINA/PAR3/Actions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (typo; no need for header) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
An action can take at most 8 parameters. There can be input parameters (red in the table below) and output parameters (green in the table below). Output parameters can only be variables (they correspond to the "variable references" section in the action definition). | |||
An action can take at most 8 parameters | |||
{{Table}} | {{Table}} | ||
Line 7: | Line 5: | ||
!| ID ||| Description ||| Param 1 ||| Param 2 ||| Param 3 ||| Param 4 ||| Param 5 ||| Param 6 ||| Param 7 ||| Param 8 | !| ID ||| Description ||| Param 1 ||| Param 2 ||| Param 3 ||| Param 4 ||| Param 5 ||| Param 6 ||| Param 7 ||| Param 8 | ||
|- | |- | ||
||0||Linear Change|| | ||0||Linear Change || BGCOLOR="#00FF00" |float var || BGCOLOR="#FF5050" |float rate|| || || || || || | ||
|- | |- | ||
||1||Acceler. Change|| | ||1||Acceler. Change || BGCOLOR="#00FF00" |float var || BGCOLOR="#00FF00" |float anim_vel || BGCOLOR="#FF5050" |float accel|| || || || || | ||
|- | |- | ||
||2||Random Change|| | ||2||Random Change || BGCOLOR="#00FF00" |float var || BGCOLOR="#FF5050" |float min || BGCOLOR="#FF5050" |float max || BGCOLOR="#FF5050" |float rate|| || || || | ||
|- | |- | ||
||3||Pingpong Change|| | ||3||Pingpong Change || BGCOLOR="#00FF00" |float var || BGCOLOR="#00FF00" |pingpong_state pingpong || BGCOLOR="#FF5050" |float min || BGCOLOR="#FF5050" |float max || BGCOLOR="#FF5050" |float rate|| || || | ||
|- | |- | ||
||4||Looping Change|| | ||4||Looping Change || BGCOLOR="#00FF00" |float var || BGCOLOR="#FF5050" |float min || BGCOLOR="#FF5050" |float max || BGCOLOR="#FF5050" |float rate|| || || || | ||
|- | |- | ||
||5||Change To Value|| | ||5||Change To Value || BGCOLOR="#00FF00" |float var || BGCOLOR="#FF5050" |float rate || BGCOLOR="#FF5050" |float endpoint|| || || || || | ||
|- | |- | ||
||6||Color Blend|| | ||6||Color Blend || BGCOLOR="#00FF00" |color var || BGCOLOR="#FF5050" |color color_0 || BGCOLOR="#FF5050" |color color_1 || BGCOLOR="#FF5050" |float blendval|| || || || | ||
|- | |- | ||
||8||Fade Out|| | ||8||Fade Out || BGCOLOR="#FF5050" |float time_to_die|| || || || || || || | ||
|- | |- | ||
||9||Enable Action|| | ||9||Enable Action || BGCOLOR="#FF5050" |action_index action || BGCOLOR="#FF5050" |float lifetime|| || || || || || | ||
|- | |- | ||
||10||Disable Action|| | ||10||Disable Action || BGCOLOR="#FF5050" |action_index action || BGCOLOR="#FF5050" |float lifetime|| || || || || || | ||
|- | |- | ||
||11||Die|| || || || || || || || | ||11||Die|| || || || || || || || | ||
|- | |- | ||
||12||Set Lifetime|| | ||12||Set Lifetime || BGCOLOR="#FF5050" |float time|| || || || || || || | ||
|- | |- | ||
||13||Enable Emitter|| | ||13||Enable Emitter || BGCOLOR="#FF5050" |emitter emitter_num|| || || || || || || | ||
|- | |- | ||
||14||Disable Emitter|| | ||14||Disable Emitter || BGCOLOR="#FF5050" |emitter emitter_num|| || || || || || || | ||
|- | |- | ||
||15||Emit Particles|| | ||15||Emit Particles || BGCOLOR="#FF5050" |emitter emitter_num || BGCOLOR="#FF5050" |float particles|| || || || || || | ||
|- | |- | ||
||16||Change Class|| | ||16||Change Class || BGCOLOR="#FF5050" |emitter emitter_num|| || || || || || || | ||
|- | |- | ||
||17||KillLastEmitted|| | ||17||KillLastEmitted || BGCOLOR="#FF5050" |emitter emitter_num|| || || || || || || | ||
|- | |- | ||
||18||ExplodeLastEmit|| | ||18||ExplodeLastEmit || BGCOLOR="#FF5050" |emitter emitter_num|| || || || || || || | ||
|- | |- | ||
||20||Start Amb Sound|| | ||20||Start Amb Sound || BGCOLOR="#FF5050" |string sound|| || || || || || || | ||
|- | |- | ||
||21||End Amb Sound|| || || || || || || || | ||21||End Amb Sound|| || || || || || || || | ||
|- | |- | ||
||23||Impulse Sound|| | ||23||Impulse Sound || BGCOLOR="#FF5050" |string sound|| || || || || || || | ||
|- | |- | ||
||26||Damage Char|| | ||26||Damage Char || BGCOLOR="#FF5050" |float damage || BGCOLOR="#FF5050" |float stun_damage || BGCOLOR="#FF5050" |float knockback || BGCOLOR="#FF5050" |damage_type damage_type || BGCOLOR="#FF5050" |boolean self_immune || BGCOLOR="#FF5050" |boolean can_hit_mult|| || | ||
|- | |- | ||
||27||Blast Damage|| | ||27||Blast Damage || BGCOLOR="#FF5050" |float damage || BGCOLOR="#FF5050" |float stun_damage || BGCOLOR="#FF5050" |float knockback || BGCOLOR="#FF5050" |float radius || BGCOLOR="#FF5050" |blast_falloff falloff || BGCOLOR="#FF5050" |damage_type damage_type || BGCOLOR="#FF5050" |boolean self_immune || BGCOLOR="#FF5050" |boolean damage_environ | ||
|- | |- | ||
||28||Explode|| || || || || || || || | ||28||Explode|| || || || || || || || | ||
|- | |- | ||
||29||Damage Environ.|| | ||29||Damage Environ. || BGCOLOR="#FF5050" |float damage|| || || || || || || | ||
|- | |- | ||
||30||Glass Charge|| | ||30||Glass Charge || BGCOLOR="#FF5050" |float blast-vel || BGCOLOR="#FF5050" |float radius|| || || || || || | ||
|- | |- | ||
||31||Stop|| || || || || || || || | ||31||Stop|| || || || || || || || | ||
|- | |- | ||
||33||Rotate X|| | ||33||Rotate X || BGCOLOR="#FF5050" |coord_frame space || BGCOLOR="#FF5050" |float rate || BGCOLOR="#FF5050" |boolean rotate_velocity|| || || || || | ||
|- | |- | ||
||34||Rotate Y|| | ||34||Rotate Y || BGCOLOR="#FF5050" |coord_frame space || BGCOLOR="#FF5050" |float rate || BGCOLOR="#FF5050" |boolean rotate_velocity|| || || || || | ||
|- | |- | ||
||35||Rotate Z|| | ||35||Rotate Z || BGCOLOR="#FF5050" |coord_frame space || BGCOLOR="#FF5050" |float rate || BGCOLOR="#FF5050" |boolean rotate_velocity|| || || || || | ||
|- | |- | ||
||37||Find Attractor|| | ||37||Find Attractor || BGCOLOR="#FF5050" |float delaytime|| || || || || || || | ||
|- | |- | ||
||38||Attract Gravity|| | ||38||Attract Gravity || BGCOLOR="#FF5050" |float gravity || BGCOLOR="#FF5050" |float max_g || BGCOLOR="#FF5050" |boolean horiz_only|| || || || || | ||
|- | |- | ||
||39||Attract Homing|| | ||39||Attract Homing || BGCOLOR="#FF5050" |float turn_speed || BGCOLOR="#FF5050" |boolean predict_pos || BGCOLOR="#FF5050" |boolean horiz_only|| || || || || | ||
|- | |- | ||
||40||Attract Spring|| | ||40||Attract Spring || BGCOLOR="#FF5050" |float accel_rate || BGCOLOR="#FF5050" |float max_accel || BGCOLOR="#FF5050" |float desired_dist|| || || || || | ||
|- | |- | ||
||47||Apply Velocity|| || || || || || || || | ||47||Apply Velocity|| || || || || || || || | ||
|- | |- | ||
||48||Apply Gravity|| | ||48||Apply Gravity || BGCOLOR="#FF5050" |float fraction|| || || || || || || | ||
|- | |- | ||
||49||Spiral|| | ||49||Spiral || BGCOLOR="#00FF00" |float theta || BGCOLOR="#FF5050" |float radius || BGCOLOR="#FF5050" |float rotate_speed|| || || || || | ||
|- | |- | ||
||50||Air Resistance|| | ||50||Air Resistance || BGCOLOR="#FF5050" |float resistance || BGCOLOR="#FF5050" |float minimum_vel|| || || || || || | ||
|- | |- | ||
||51||Drift|| | ||51||Drift || BGCOLOR="#FF5050" |float acceleration || BGCOLOR="#FF5050" |float max_speed || BGCOLOR="#FF5050" |float sideways_decay || BGCOLOR="#FF5050" |float dir_x || BGCOLOR="#FF5050" |float dir_y || BGCOLOR="#FF5050" |float dir_z || BGCOLOR="#FF5050" |coord_frame space|| | ||
|- | |- | ||
||52||Set Speed|| | ||52||Set Speed || BGCOLOR="#FF5050" |float speed || BGCOLOR="#FF5050" |coord_frame space || BGCOLOR="#FF5050" |boolean no_sideways|| || || || || | ||
|- | |- | ||
||53||Spiral Tangent|| | ||53||Spiral Tangent || BGCOLOR="#FF5050" |float theta || BGCOLOR="#FF5050" |float radius || BGCOLOR="#FF5050" |float rotate_speed|| || || || || | ||
|- | |- | ||
||54||KillBeyondPoint|| | ||54||KillBeyondPoint || BGCOLOR="#FF5050" |axis direction || BGCOLOR="#FF5050" |float value|| || || || || || | ||
|- | |- | ||
||55||Create Effect|| | ||55||Create Effect || BGCOLOR="#FF5050" |string classname || BGCOLOR="#FF5050" |float wall_offset || BGCOLOR="#FF5050" |collision_orient orientation || BGCOLOR="#FF5050" |boolean attach|| || || || | ||
|- | |- | ||
||56||Stick To Wall|| || || || || || || || | ||56||Stick To Wall|| || || || || || || || | ||
|- | |- | ||
||57||Bounce|| | ||57||Bounce || BGCOLOR="#FF5050" |float elastic_direct || BGCOLOR="#FF5050" |float elastic_glancing|| || || || || || | ||
|- | |- | ||
||59||Chop Particle|| || || || || || || || | ||59||Chop Particle|| || || || || || || || | ||
|- | |- | ||
||60||Impact Effect|| | ||60||Impact Effect || BGCOLOR="#FF5050" |string impact_type || BGCOLOR="#FF5050" |impact_modifier impact_modifier|| || || || || || | ||
|- | |- | ||
||62||Unhide Particle|| || || || || || || || | ||62||Unhide Particle|| || || || || || || || | ||
Line 105: | Line 103: | ||
||63||Hide Particle|| || || || || || || || | ||63||Hide Particle|| || || || || || || || | ||
|- | |- | ||
||64||Set TextureTick|| | ||64||Set TextureTick || BGCOLOR="#FF5050" |float tick|| || || || || || || | ||
|- | |- | ||
||65||Random TexFrame|| || || || || || || || | ||65||Random TexFrame|| || || || || || || || | ||
|- | |- | ||
||70||Set Variable|| | ||70||Set Variable || BGCOLOR="#00FF00" |float var || BGCOLOR="#FF5050" |float value|| || || || || || | ||
|- | |- | ||
||71||Recalculate All|| || || || || || || || | ||71||Recalculate All|| || || || || || || || | ||
|- | |- | ||
||72||Enable Above|| | ||72||Enable Above || BGCOLOR="#FF5050" |action_index action || BGCOLOR="#FF5050" |float var || BGCOLOR="#FF5050" |float threshold|| || || || || | ||
|- | |- | ||
||73||Enable Below|| | ||73||Enable Below || BGCOLOR="#FF5050" |action_index action || BGCOLOR="#FF5050" |float var || BGCOLOR="#FF5050" |float threshold|| || || || || | ||
|- | |- | ||
||74||Enable Now|| | ||74||Enable Now || BGCOLOR="#FF5050" |action_index action|| || || || || || || | ||
|- | |- | ||
||75||Disable Now|| | ||75||Disable Now || BGCOLOR="#FF5050" |action_index action|| || || || || || || | ||
|- | |- | ||
||77||SuperB Trigger|| | ||77||SuperB Trigger || BGCOLOR="#FF5050" |emitter emitter_num || BGCOLOR="#FF5050" |float fuse_time|| || || || || || | ||
|- | |- | ||
||78||BreakableStop|| || || || || || || || | ||78||BreakableStop|| || || || || || || || | ||
|- | |- | ||
||79||Avoid Walls|| | ||79||Avoid Walls || BGCOLOR="#00FF00" |float axis_x || BGCOLOR="#00FF00" |float axis_y || BGCOLOR="#00FF00" |float axis_z || BGCOLOR="#00FF00" |float cur_angle || BGCOLOR="#00FF00" |float t_until_check || BGCOLOR="#FF5050" |float sense_dist || BGCOLOR="#FF5050" |float turning_speed || BGCOLOR="#FF5050" |float turning_decay | ||
|- | |- | ||
||80||Random Swirl|| | ||80||Random Swirl || BGCOLOR="#00FF00" |float swirl_angle || BGCOLOR="#FF5050" |float swirl_baserate || BGCOLOR="#FF5050" |float swirl_deltarate || BGCOLOR="#FF5050" |float swirl_speed|| || || || | ||
|- | |- | ||
||81||Follow Player|| | ||81||Follow Player || BGCOLOR="#FF5050" |float height|| || || || || || || | ||
|- | |- | ||
||82||Stop BelowSpeed|| | ||82||Stop BelowSpeed || BGCOLOR="#FF5050" |float speed|| || || || || || || | ||
|- | |- | ||
||83||Super Particle|| | ||83||Super Particle || BGCOLOR="#00FF00" |float variable || BGCOLOR="#FF5050" |float base_value || BGCOLOR="#FF5050" |float delta_value || BGCOLOR="#FF5050" |float min_value || BGCOLOR="#FF5050" |float max_value|| || || | ||
|- | |- | ||
||84||Stop Our Link|| || || || || || || || | ||84||Stop Our Link|| || || || || || || || | ||
Line 141: | Line 139: | ||
||86||Break Links To|| || || || || || || || | ||86||Break Links To|| || || || || || || || | ||
|} | |} | ||
{{OBD}} |
Latest revision as of 16:48, 14 October 2021
An action can take at most 8 parameters. There can be input parameters (red in the table below) and output parameters (green in the table below). Output parameters can only be variables (they correspond to the "variable references" section in the action definition).
ID | Description | Param 1 | Param 2 | Param 3 | Param 4 | Param 5 | Param 6 | Param 7 | Param 8 |
---|---|---|---|---|---|---|---|---|---|
0 | Linear Change | float var | float rate | ||||||
1 | Acceler. Change | float var | float anim_vel | float accel | |||||
2 | Random Change | float var | float min | float max | float rate | ||||
3 | Pingpong Change | float var | pingpong_state pingpong | float min | float max | float rate | |||
4 | Looping Change | float var | float min | float max | float rate | ||||
5 | Change To Value | float var | float rate | float endpoint | |||||
6 | Color Blend | color var | color color_0 | color color_1 | float blendval | ||||
8 | Fade Out | float time_to_die | |||||||
9 | Enable Action | action_index action | float lifetime | ||||||
10 | Disable Action | action_index action | float lifetime | ||||||
11 | Die | ||||||||
12 | Set Lifetime | float time | |||||||
13 | Enable Emitter | emitter emitter_num | |||||||
14 | Disable Emitter | emitter emitter_num | |||||||
15 | Emit Particles | emitter emitter_num | float particles | ||||||
16 | Change Class | emitter emitter_num | |||||||
17 | KillLastEmitted | emitter emitter_num | |||||||
18 | ExplodeLastEmit | emitter emitter_num | |||||||
20 | Start Amb Sound | string sound | |||||||
21 | End Amb Sound | ||||||||
23 | Impulse Sound | string sound | |||||||
26 | Damage Char | float damage | float stun_damage | float knockback | damage_type damage_type | boolean self_immune | boolean can_hit_mult | ||
27 | Blast Damage | float damage | float stun_damage | float knockback | float radius | blast_falloff falloff | damage_type damage_type | boolean self_immune | boolean damage_environ |
28 | Explode | ||||||||
29 | Damage Environ. | float damage | |||||||
30 | Glass Charge | float blast-vel | float radius | ||||||
31 | Stop | ||||||||
33 | Rotate X | coord_frame space | float rate | boolean rotate_velocity | |||||
34 | Rotate Y | coord_frame space | float rate | boolean rotate_velocity | |||||
35 | Rotate Z | coord_frame space | float rate | boolean rotate_velocity | |||||
37 | Find Attractor | float delaytime | |||||||
38 | Attract Gravity | float gravity | float max_g | boolean horiz_only | |||||
39 | Attract Homing | float turn_speed | boolean predict_pos | boolean horiz_only | |||||
40 | Attract Spring | float accel_rate | float max_accel | float desired_dist | |||||
47 | Apply Velocity | ||||||||
48 | Apply Gravity | float fraction | |||||||
49 | Spiral | float theta | float radius | float rotate_speed | |||||
50 | Air Resistance | float resistance | float minimum_vel | ||||||
51 | Drift | float acceleration | float max_speed | float sideways_decay | float dir_x | float dir_y | float dir_z | coord_frame space | |
52 | Set Speed | float speed | coord_frame space | boolean no_sideways | |||||
53 | Spiral Tangent | float theta | float radius | float rotate_speed | |||||
54 | KillBeyondPoint | axis direction | float value | ||||||
55 | Create Effect | string classname | float wall_offset | collision_orient orientation | boolean attach | ||||
56 | Stick To Wall | ||||||||
57 | Bounce | float elastic_direct | float elastic_glancing | ||||||
59 | Chop Particle | ||||||||
60 | Impact Effect | string impact_type | impact_modifier impact_modifier | ||||||
62 | Unhide Particle | ||||||||
63 | Hide Particle | ||||||||
64 | Set TextureTick | float tick | |||||||
65 | Random TexFrame | ||||||||
70 | Set Variable | float var | float value | ||||||
71 | Recalculate All | ||||||||
72 | Enable Above | action_index action | float var | float threshold | |||||
73 | Enable Below | action_index action | float var | float threshold | |||||
74 | Enable Now | action_index action | |||||||
75 | Disable Now | action_index action | |||||||
77 | SuperB Trigger | emitter emitter_num | float fuse_time | ||||||
78 | BreakableStop | ||||||||
79 | Avoid Walls | float axis_x | float axis_y | float axis_z | float cur_angle | float t_until_check | float sense_dist | float turning_speed | float turning_decay |
80 | Random Swirl | float swirl_angle | float swirl_baserate | float swirl_deltarate | float swirl_speed | ||||
81 | Follow Player | float height | |||||||
82 | Stop BelowSpeed | float speed | |||||||
83 | Super Particle | float variable | float base_value | float delta_value | float min_value | float max_value | |||
84 | Stop Our Link | ||||||||
85 | Check Link | ||||||||
86 | Break Links To |