Skip to content

Instantly share code, notes, and snippets.

rule("Item - Grappling Hook - Init")
{
event
{
Ongoing - Each Player;
All;
All;
}
actions
Release WASD:
Tick 1 speed: 501.21 (run penalty)
Tick 2 speed: 463.86 (run penalty)
Tick 3 speed: 427.90 (run penalty)
Tick 4 speed: 393.27 (run penalty)
Tick 5 speed: 359.92 (run penalty)
Tick 6 speed: 327.82 (run penalty)
Tick 7 speed: 296.90 (walk penalty)
Tick 8 speed: 267.14 (walk penalty)
Tick 9 speed: 238.47 (walk penalty)
void UCharacterMovementComponent::JumpOff(AActor* MovementBaseActor)
{
if ( !bPerformingJumpOff )
{
bPerformingJumpOff = true;
if ( CharacterOwner )
{
const float MaxSpeed = GetMaxSpeed() * 0.85f;
Velocity += MaxSpeed * GetBestDirectionOffActor(MovementBaseActor);
if ( Velocity.Size2D() > MaxSpeed )
[ScalabilitySettings]
PerfIndexThresholds_ResolutionQuality="GPU 100 500 610"
PerfIndexThresholds_ViewDistanceQuality="GPU 100 500 610"
PerfIndexThresholds_AntiAliasingQuality="GPU 100 500 610"
PerfIndexThresholds_ShadowQuality="GPU 100 500 610"
PerfIndexThresholds_GlobalIlluminationQuality="GPU 100 500 610"
PerfIndexThresholds_ReflectionQuality="GPU 100 500 610"
PerfIndexThresholds_PostProcessQuality="GPU 100 500 610"
PerfIndexThresholds_TextureQuality="GPU 100 500 610"
PerfIndexThresholds_EffectsQuality="GPU 100 500 610"
[ScalabilitySettings]
PerfIndexThresholds_ResolutionQuality="GPU 18 42 115"
PerfIndexThresholds_ViewDistanceQuality="Min 18 42 105"
PerfIndexThresholds_AntiAliasingQuality="GPU 18 42 115"
PerfIndexThresholds_ShadowQuality="Min 18 42 105"
PerfIndexThresholds_GlobalIlluminationQuality="GPU 18 42 115"
PerfIndexThresholds_ReflectionQuality="GPU 18 42 115"
function Hud::Init()
{
exec("hudLayout");
$Hud::count = 0;
$Hud::baseExtent[0] = 1920;
$Hud::baseExtent[1] = 1080;
}
function Hud::Reload()
{
local frame_advance_hold_time = 0
local needs_restore_shortcuts = false
local gBattle = sdk.find_type_definition("gBattle")
local TrainingManager = sdk.get_managed_singleton("app.training.TrainingManager")
local PauseManager = sdk.get_managed_singleton("app.PauseManager")
local PauseType = sdk.find_type_definition("app.PauseManager.PauseType")
local BATTLE_TRAINING_PAUSE = PauseType:get_field("BATTLE_TRAINING_PAUSE"):get_data(nil)
extends KinematicBody
var G_CHEST = preload("res://Entities/Physics_Objects/Chest_Gib.tscn")
var G_LEG = preload("res://Entities/Physics_Objects/Leg_Gib.tscn")
var G_ARM = preload("res://Entities/Physics_Objects/Arm_Gib.tscn")
var G_HEAD = preload("res://Entities/Physics_Objects/Player_Head_Gib.tscn")
var EXPLOSION = preload("res://Entities/Bullets/Self_Destruct_Explosion.tscn")
var VOMIT = preload("res://Entities/Decals/FleshDecal2.tscn")
var stair = true
var toxic = false
{
"attachments": {
"8xScope": {
"IronSightOverride": {
"aimPoint": {
"m_FileID": 0,
"m_PathID": -1368161090849847027
},
"fieldOfViewOffset": -72.0,
"fovBias": 1.0,
{
"ak47u": {
"ads_scale": 0.75,
"max_pitch": [
0.0,
-3.5,
-7.0,
-10.5,
-14.0,
-17.5,