
// need to add manually:
// 1
// snap to floor (move with elevators)
// cast shadow
// melt on death (required for respawn)
// teleport avoid water / cliffs (latter is also required for super arrow vulnerability)
// 3
// no violent death - prevents bleeding neck anim (presumably writhing anim too, but I haven't seen that even without this flag?  only tested with sniper flag, maybe only mobile enemies use writhing death?)
// collision radii, dead height, and melee range are the same for all enemy scales - get adjusted automatically in-game by engine?
// param 1: 25 red, 26 yellow
// pulse scale: 0.714286 0.714286 0.571429
Cyborg 3 // based on Human_Grunt_Soldier 2
{
	classname                   "kexAI"
	gravity                     0.5
	health                      30 // 150 for pulse cyborg
	friction                    0.5
	radius                      40.96
	height                      71.68
	wallRadius                  40.96
	stepHeight                  30.72 // ?
	deadHeight                  30.72 //
	impactType                  2 // metal
	modelVariation              1
	clipFlag.useWallRadius      1
	clipFlag.edges              1
	clipFlag.noEnterWater       1
	clipFlag.collideFloors      1
	clipFlag.collideHeight      1
	clipFlag.greaseSlideObjects 1
	flags.destroyInWater        1
	flags.seeTargetInWater      1
	flags.alignToFloor          1
	flags.allowTinyEnemyCheat   1
	ai.desiredYawSpeed          1.0
	ai.meleeRange               81.92 // short weapons, 8*GAME_SCALE   long weapons: 12*GAME_SCALE = 122.88
	ai.attackRange              614.4
	ai.attackChance             100
	ai.activeDistance           1126.0 // ? (not sight range or leash radius)
	ai.sightFOV                 1.5707963268 // 90 degrees
	ai.discoDances              1
	headTrackDefinition         "HeadTrack_Human"
	footStepSound               "FootStep_Common"
	scriptClass                 "Volcano::Cyborg"
	defaultEditorModel          "models/dyn_human_cyborg.bin"
	defaultEditorAnim           "anims/dyn_human_grunt01_anim.bin"
}

FriendlyTurret 2002 // Monster_Mech_Turret + 1
{
	classname                   "kexAI"
	gravity                     0.0
	health                      150
	friction                    0.5
	radius                      60.423374
	height                      102.4
	stepHeight                  30.72
	impactType                  2
	flags.seeTargetInWater      1
	flags.allowTinyEnemyCheat   1
	flags.noMovement            1
	clipFlag.edges              1
	clipFlag.noEnterWater       1
	ai.meleeRange               122.88
	ai.attackRange              1433.6
	ai.attackChance             100
	ai.activeDistance           1536.0
	ai.sightFOV                 140.0
	ai.desiredYawSpeed          1.0
	scriptClass                 "Volcano::FriendlyTurret" // "TurokTurret"
	defaultEditorModel          "models/dyn_monster_turret.bin"
	defaultEditorAnim           "anims/dyn_monster_turret_anim.bin"
}

//==============================================================================

Volcano_LaserWall 306
{
	classname               "kexActor"
	scriptClass             "Volcano::LaserWall"
	flags.noMovement        1
	defaultEditorModel      "models/dyn_trap_tech_lasers.bin"
	defaultEditorAnim       "anims/dyn_trap_tech_lasers_anim.bin"
}

TogglableFan 307
{
    classname               "kexActor"
    scriptClass             "Volcano::Fan"
    flags.noMovement        1
    defaultEditorModel      "models/detail_tech_fan01.bin"
    defaultEditorAnim       "anims/detail_tech_fan01_anim.bin"
}

Piston 312 // Mover_FloorPerpetual + 1
{
	classname               "kexActor"
	scriptClass             "Volcano::Piston"
}

CollapsingCeiling 313
{
	classname               "kexActor"
	scriptClass             "Volcano::CollapsingCeiling"
}

HideMover 314
{
	classname               "kexActor"
	scriptClass             "Volcano::HideMover"
	defaultEditorModel      "models/crate.bin"
}

VariantSwapper 333
{
	classname               "kexActor"
	scriptClass             "Volcano::VariantSwapper"
}

//==============================================================================

Coolant 801 // WaterWaves + 1
{
	classname               "kexActor"
	defaultEditorModel      "models/dyn_water_waves.bin"
	defaultEditorAnim       "_morph"
	scriptClass             "Volcano::Coolant"
}

WaterHazard 802
{
	classname               "kexActor"
	editorSprite            "materials/mat_floor_lava01/surf_46_0000A"
	scriptClass             "Volcano::WaterHazard"
}

RisingLava 803
{
	classname               "kexActor"
	defaultEditorModel      "models/dyn_lava_waves.bin"
	defaultEditorAnim       "_morph"
	scriptClass             "Volcano::RisingLava"
}

LavaManager 804
{
	classname               "kexAmbience"
	soundDistance           1955.84
    randomness              0.0
    volume                  1.0
	soundShader             "sounds/lava.ksnd"
	editorSprite            "materials/mat_dyn_trap_tech_lasers/surf_416_0101A"
	scriptClass             "Volcano::LavaManager"
}

LavaTarget 805
{
	classname               "kexActor"
	editorSprite            "materials/mat_floor_lava01/surf_46_0000A"
	scriptClass             "Volcano::LavaTarget"
}

SectorFlags 4001 // WarpPoint + 1
{
	classname               "kexActor"
	editorSprite            "materials/mat_dyn_turok/surf_622_0028A"
	scriptClass             "Volcano::SectorFlags"
}

//==============================================================================
//    Ambience
//==============================================================================

Amb_Pipe_Big 4500
{
	classname               "kexAmbience"
	soundDistance           1955.84
	randomness              0.0
	volume                  0.5
	soundShader             "sounds/pipe_big.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  1
	height                  0
}

Amb_Pipe_Med 4501
{
	classname               "kexAmbience"
	soundDistance           1955.84
	randomness              0.0
	volume                  0.8
	soundShader             "sounds/pipe_med.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  2
	height                  0
}

Amb_Pipe_Small 4502
{
	classname               "kexAmbience"
	soundDistance           1955.84
	randomness              0.0
	volume                  0.2
	soundShader             "sounds/pipe_small.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  6
	height                  3
}

Amb_Vat 4510
{
	classname               "kexAmbience"
	soundDistance           1955.84
	randomness              0.0
	volume                  0.6
	soundShader             "sounds/vat.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  1
	height                  0
}

Amb_Pump 4515
{
	classname               "kexActor"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Amb_Pump"
	radius                  1
	height                  0
}

Amb_ActiveComp 4519
{
	classname               "kexAmbience"
	soundDistance           1955.84
	randomness              0.0
	volume                  0.4
	soundShader             "sounds/activeComp.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  4
	height                  0
}

Amb_Terminal 4520
{
	classname               "kexAmbience"
	soundDistance           1955.84
	randomness              0.0
	volume                  0.4
	soundShader             "sounds/terminal.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  4
	height                  0
}

Amb_Panel 4525
{
	classname               "kexAmbience"
	soundDistance           1955.84
	randomness              0.0
	volume                  0.3
	soundShader             "sounds/panel.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  2
	height                  0
}

Amb_Capacitors 4530
{
	classname               "kexAmbience"
	soundDistance           1955.84
    randomness              0.0
    volume                  0.5 // 0.35
	soundShader             "sounds/capacitors.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  1
	height                  0
}

Amb_BrokenConduit 4531
{
	classname               "kexAmbience"
	soundDistance           1955.84
    randomness              0.0
    volume                  0.75
	soundShader             "sounds/brokenConduit.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  2
	height                  0
}

Amb_LaserWall 4532
{
	classname               "kexAmbience"
	soundDistance           1955.84
    randomness              0.0
    volume                  0.35
	soundShader             "sounds/laserWall.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  3
	height                  0
}

Amb_Generator 4535
{
	classname               "kexAmbience"
	soundDistance           1955.84
    randomness              0.0
    volume                  1.0
	soundShader             "sounds/generator.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  1
	height                  0
}

Amb_ThermalIntake_1 4550
{
	classname               "kexAmbience"
	soundDistance           1955.84
    randomness              0.0
    volume                  1
	soundShader             "sounds/thermalIntake.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
//	scriptClass             "Volcano::Ambience"
//	radius                  2
//	height                  0.1
}

Amb_Power 4989
{
	classname               "kexAmbience"
	soundDistance           1955.84
    randomness              192.0
    volume                  0.5 // 0.35
	soundShader             "sounds/power.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  2
	height                  0
}

Amb_Antigrav 4990
{
	classname               "kexAmbience"
	soundDistance           1955.84
    randomness              0.0
    volume                  0.5 // 0.35
	soundShader             "sounds/antigrav.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  1
	height                  0
}

Amb_Fan 4998
{
	classname               "kexAmbience"
	soundDistance           1955.84
    randomness              0.0
    volume                  0.5 // 0.35
	soundShader             "sounds/fan.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  2
	height                  0
}

Amb_Computer 4999
{
	classname               "kexAmbience"
	soundDistance           1955.84
    randomness              192.0
    volume                  0.35
	soundShader             "sounds/computer.ksnd"
	editorSprite            "materials/editor/mat_editor_icons/editor_icon_sound"
	scriptClass             "Volcano::Ambience"
	radius                  2
	height                  0
}

//==============================================================================

BrokenConduit 5600
{
	classname               "kexEmitter"
	drawDistance            128 // 1536.0
	sleepRange              1152 // 1024 < r < 1280
	fxModel                 "fx/brokenConduit.kfx"
	editorSprite            "materials/mat_dyn_shockwave/surf_668_0104A"
	scriptClass             "Volcano::BrokenConduit"
	radius                  3
	height                  0
}
