You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overrides the player’s starting health when they spawn as this class. If omitted, health is unchanged.
308
312
309
313
**Example Usage:**
310
314
@@ -322,7 +326,7 @@ CLASS.health = 150
322
326
323
327
**Description:**
324
328
325
-
Default starting armor.
329
+
Overrides the player’s starting armor. If omitted, armor remains unchanged.
326
330
327
331
**Example Usage:**
328
332
@@ -358,9 +362,7 @@ CLASS.scale = 1.2
358
362
359
363
**Description:**
360
364
361
-
Default running speed. Set a number to override or a multiplier in
362
-
363
-
conjunction with `runSpeedMultiplier`.
365
+
Overrides or multiplies the player's running speed. Set a number to replace the speed or a multiplier when used with `runSpeedMultiplier`. If unset, the run speed is unchanged.
Mapping of bodygroup names to index values applied when the player spawns.
498
+
Mapping of bodygroup names to index values applied when the player spawns. If omitted, bodygroups are not modified.
497
499
498
500
**Example Usage:**
499
501
@@ -514,7 +516,7 @@ CLASS.bodyGroups = {
514
516
515
517
**Description:**
516
518
517
-
Path to the material used as this class's logo. Displayed in the scoreboard and F1 menu.
519
+
Path to the material used as this class's logo. When `nil`, no logo is displayed in the scoreboard or F1 menu.
518
520
519
521
**Example Usage:**
520
522
@@ -568,7 +570,7 @@ CLASS.skin = 2
568
570
569
571
**Description:**
570
572
571
-
List of material paths that replace the model's sub-materials. The first entry applies to sub-material `0`, the second to `1`, and so on.
573
+
List of material paths that replace the model's sub-materials. The first entry applies to sub-material `0`, the second to `1`, and so on. Leave `nil` for no overrides.
572
574
573
575
**Example Usage:**
574
576
@@ -589,7 +591,7 @@ CLASS.subMaterials = {
589
591
590
592
**Description:**
591
593
592
-
Model path (or list of paths) assigned to this class.
594
+
Model path (or list of paths) assigned to this class. When omitted, the character's existing model is used.
Text displayed to the player describing what is needed to join this class. This field does not restrict access on its own.
612
+
Text displayed to the player describing what is needed to join this class. Accepts a string or list of strings. This field does not restrict access on its own.
611
613
612
614
**Example Usage:**
613
615
614
616
```lua
615
-
CLASS.requirements="Flag V and Engineering 25+"
617
+
-- single requirement string
618
+
CLASS.requirements="Flag V"
619
+
-- or list multiple requirements
620
+
CLASS.requirements= {"Flag V", "Engineering 25+"}
616
621
```
617
622
618
623
---
@@ -627,7 +632,7 @@ CLASS.requirements = "Flag V and Engineering 25+"
627
632
628
633
Table of command names that members of this class may always use,
629
634
630
-
overriding standard command permissions.
635
+
overriding standard command permissions. If omitted, no extra commands are granted.
0 commit comments