- This page covers non-hotspot object script parameters only. For hotspot specific script parameters, see Hotspots.
Script parameters can be set per object (and Level) and are used to pass parameters to an underlying script.
The script parameters for the selected object can be most easily changed using the selected window.
Some parameters might not exist by default. If that's the case you simply need to press the "New parameter" button and type in the exact same name (including big/small letters).
|Attack Damage||float||The higher this is, the more health is taken from attacked characters.|
|Attack Knockback||float||The higher this is, the more physics force is applied to attacked characters.|
|Attack Speed||float||The higher this is, the faster attack animations play.|
|Damage Resistance||float||The higher this is, less health this character loses when it takes damage.|
|Knockout shield||int||How many times the character needs to lose their footing before they start taking real damage.|
|Movement Speed||float||How fast the character moves when running.|
|Aggression||float||How often this AI should attempt to attack.|
|Block Follow-up||float||How often this AI should attempt a shoulder throw after blocking an attack.|
|Block Skill||float||How often this AI should block attacks.|
|Focus FOV distance||float||How far the AI can see, in meters.|
|Focus FOV horizontal||float||How wide the AI's field of view is, in degrees.|
|Focus FOV vertical||float||How tall the AI's field of view is, in degrees.|
|Peripheral FOV distance||float||How far the AI can see in its close proximity, in meters.|
|Peripheral FOV horizontal||float||How wide the AI's near field of view is, in degrees.|
|Peripheral FOV vertical||float||How tall the AI's near field of view is, in degrees.|
|Ground Aggression||float||How often the AI should attack an opponent that's ragdolled.|
|Hearing Modifier||float||A multiplier for the distance at which that sounds can be heard.|
|scared||-||Makes the AI run away from enemies.|
|Stick To Nav Mesh||-||Removes physics calculations for this NPC's movement to ensure they do not fall off cliffs etc.|
|Throw Counter Probability||float||Disables this NPC's ability to block shoulder throws.|
|Throw Trainer||-||Changes sound when shoulder throwing this character. If tutorials are on, it also makes the character invulnerable to jump kicks, makes them block all attacks, and sets their health really low when their KO shield is gone. This is used on the first enemy in the "Slaver Path" level in the Overgrowth story.|
|Weapon Catch Skill||float||Changes the NPC's ability to grab thrown weapons in the air.|
TODO: Exactly how does focus/peripheral FOV work?
|Character Scale||float||The higher this is, the bigger the character is.|
|Ear Size||float||How big the ears are.|
|Fat||float||How heavy the character is.|
|Left handed||bool||If checked, the character uses weapons in their left hand instead of their right hand.|
|Muscle||float||How bulky the character is.|
|Cannot Be Disarmed||bool||If checked, this character cannot have its weapon taken away.|
|Static||bool||If checked, this character can't move and has no AI.|
|Teams||string|| All characters that share at least one team can't attack each other. A character can be on more than one team if you just separate them by commas, for example |
The level parameters can be accessed by bringing up the scenegraph window, expanding "Level" at the top, and then "Script Params".
|Achievements||string||Decide which challenges you can complete on the level, they appear on the level end screen.|
|Custom Shader||string|| Here you can specify a list of shader defines (e.g. |
|Fog amount||float||Sets the thicknoess of the atmosphere and thus how far you can see.|
|GPU Particle Field||string|| Here you can specify a list of shader defines (e.g. |
|HDR Black point||float||Sets what brightness should be regarded as black.|
|HDR Bloom multiplier||float||Decides how much light pixels bleed.|
|HDR White point||float||Sets what brightness should be regarded as white.|
|Level Boundaries||bool||If this is checked characters will be pushed back into the level when they try to go past a certain point.|
|Objectives||string||Set the goal of the level.|
|Sky Brightness||float||Adjust how bright the sky should be.|
|Sky Rotation||int||Move the sky around.|
|Sky Tint||RGB||Makes the sky have a specified color.|
|Global||int||If 1, the reflection capture is global and will affect the entire level, if it's not 1, it's local|
For more information about Reflection Capture objects, see the lighting article.