Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hellbender: Various Updates #213

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Binaries.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Animations,UT3VH_Scorpion_Anims.ukx,https://drive.google.com/uc?export=download&
Animations,UT3VH_SPMA_Anims.ukx,https://drive.google.com/uc?export=download&id=1cDv2_FcH72_1rgIjBt5zdTU_pSRpkrqe,563c43204035a855062f92175c50f62807addd98c4e5a450fb4646918850f1ff,--content-disposition
Sounds,UT3A_Vehicle_Cicada.uax,https://cloud.greatemerald.eu/s/jCvuP6gYNwn7vAS/download,a9151ade565e513e84a6a4ff26104395db8edb5a4e494589859aa6134790caff,
Sounds,UT3A_Vehicle_Goliath.uax,https://drive.google.com/uc?export=download&id=1uFWoDVvJpaGgDzxAYA8KkGT6Ija4CRKI,f2c9cafc34d60ec4321d1402cee7e8345a31265f86a3e85667e6e31d77bd8ed0,--content-disposition
Sounds,UT3A_Vehicle_Hellbender.uax,https://drive.google.com/uc?export=download&id=1seZJkSMcgqS5aNgjNgqlj598RCad_DYV,b62cbd2a0bc4981ddb4af4363e17111a045d47d631748313d5fc7f219b423e84,--content-disposition
Sounds,UT3A_Vehicle_Hellbender.uax,https://drive.google.com/uc?export=download&id=1yzCEiLPexCocVtZB36MJGMhLUa9gXSd9,7b79c0a0161021ad9cc06cd9a509b3feb2cbeb2e838df5b0b6d17c0ee06805aa,--content-disposition
Sounds,UT3A_Vehicle_Hoverboard.uax,https://cloud.greatemerald.eu/s/olW60iObnWHSNfy/download,9f9e661957030c21c481927acf415758cabc21bf73562a4146a528aae60971af,
Sounds,UT3A_Vehicle_Leviathan.uax,https://cloud.greatemerald.eu/s/ey9xd8PBJBpez3T/download,416e95c075818dca9b8c52175256989c530539cf5f38a82390d37104e9d29ede,
Sounds,UT3A_Vehicle_Manta.uax,https://cloud.greatemerald.eu/s/mXvPjVQXo3dQ6Oa/download,b208cd380480b1dcba781a57f4e50bff95cd5f0070c47e3839fb72c38cf176d6,
Expand All @@ -26,6 +26,8 @@ Sounds,UT3A_Vehicle_Paladin.uax,https://cloud.greatemerald.eu/s/TQFft9WzgaWtDq5/
Sounds,UT3A_Vehicle_Raptor.uax,https://cloud.greatemerald.eu/s/9GddwrLFitrqjlG/download,a78f2c2445e49c71376e673d8ba99768cbe60210d056233638678840d7c5a610,
Sounds,UT3A_Vehicle_Scorpion.uax,https://drive.google.com/uc?export=download&id=1l7cC58tLhf-nAps3Dzk00FttPPchNaDP,5c7f09e1e1950cd992f73171104d34c8cc500e2971598d53a47484d0d43493c9,--content-disposition
Sounds,UT3A_Vehicle_Viper.uax,https://cloud.greatemerald.eu/s/a9qqwONoqjIMdqD/download,14aa152500702836d0971df6b612ae6a9afd2143358868d609b924114ab70bef,
Sounds,UT3A_Weapon_BulletImpacts.uax,https://drive.google.com/uc?export=download&id=1vt-y6Dgykp68uFOPvbpfBZr7Vwy6IlTg,4ae8a24b0de2934f8a65fcc7686d5d7d3fa82a0c87be032240bd2f1a330cb954,--content-disposition
Sounds,UT3A_Weapon_ShockRifle.uax,https://drive.google.com/uc?export=download&id=1EKrBLZu9nWuMwXfmee0xwP0BYoonxxQX,45f8ed4ea0b44cd7e0087dba6ffc0e6e0e40f7313ec0d523aa148f55caa02ec5,--content-disposition
Sounds,UT3SPMA.uax,https://drive.google.com/uc?export=download&id=17UqS7l3-Jx-lbN34S0QrLVglb6WH2Gxh,1627d76b088cc756d58002fe1bee8f66e305f1df0e3c4605b9ebe41f737fabe5,--content-disposition
Sounds,UT3Weapons2.uax,https://github.com/GreatEmerald/UT3Weapons/raw/master/Sounds/UT3Weapons2.uax,474ae417f521dff0345bfab93924953cc2e42640095f87f38a62b9a8a5eda32d,
Sounds,UT3Weapons.uax,https://github.com/GreatEmerald/UT3Weapons/raw/master/Sounds/UT3Weapons.uax,14700fa3224be02dd5eec8a906a15b8b73549b85ed4843ce58d738d72a3d67dd,
Expand Down
8 changes: 7 additions & 1 deletion Classes/UT3HBShockBall.uc
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@ function SuperExplosion()

defaultproperties
{
//SOUND RELATED
AmbientSound=Sound'UT3A_Weapon_ShockRifle.UT3ShockSingles.UT3ShockAltFireTravel01'
ImpactSound=Sound'UT3A_Weapon_ShockRifle.UT3ShockAltFireImpact.UT3ShockAltFireImpactCue'
ComboSound=Sound'UT3A_Weapon_ShockRifle.UT3ShockComboExplosion.UT3ShockComboExplosionCue'

//DAMAGE RELATED
ComboDamageType=class'UT3DmgType_HellbenderLaser'
Speed=1400.000000
MaxSpeed=1400.000000
ComboSound=Sound'UT3Weapons.ShockRifle.ShockCombo'

}

170 changes: 94 additions & 76 deletions Classes/UT3Hellbender.uc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function AltFire(optional float F) //This is to remove the horn each time you fi

function TakeDamage(int Damage, Pawn instigatedBy, Vector Hitlocation, Vector Momentum, class<DamageType> DamageType)
{ //Make sure you don't hurt yourself with a combo
if (InstigatedBy == self && ClassIsChildOf(DamageType, class'DamTypeSkyMine'))
if (InstigatedBy == self && ClassIsChildOf(DamageType, class'DamTypePRVCombo'))
return;
Super.TakeDamage(Damage, instigatedBy, Hitlocation, Momentum, damageType);
}
Expand Down Expand Up @@ -204,16 +204,22 @@ simulated function TeamChanged()
defaultproperties
{

Drawscale=1.0
//=============================================================================
// Identity
//=============================================================================
VehiclePositionString="in a Hellbender"
VehicleNameString="UT3 Hellbender

//===========================
// @100GPing100
CollisionRadius=219

//=============================================================================
// Appearance
//=============================================================================
Drawscale = 1.0
Mesh = SkeletalMesh'UT3VH_Hellbender_Anims.SK_VH_Hellbender';
RedSkin = Shader'UT3HellbenderTex.UT3HellbenderSkinRed';
BlueSkin = Shader'UT3HellbenderTex.UT3HellbenderSkinBlue';
DriveAnim = "Idle"
MovementAnims(0) = "Idle"


DriverWeapons(0)=(WeaponClass=Class'UT3HellbenderSideGun',WeaponBone="SecondaryTurretYaw")
PassengerWeapons=((WeaponPawnClass=Class'UT3HellbenderRearGunPawn',WeaponBone="MainTurretYaw"))

Expand All @@ -222,8 +228,78 @@ defaultproperties
and the other pair of () inside the first one to show that this is the one and only element inside it.*/

FlagBone = Hood;

DamagedEffectOffset=(X=-35,Y=25,Z=120) //Behind Driver Turret Fire Point
DamagedEffectScale=1.2 //Behind Driver Turret Fire Size
//DamagedEffectOffset=(X=-60,Y=-65,Z=90) //Exhaust Pipe Fire Point
//DamagedEffectScale=0.6 //Exhaust Pipe Fire Size

HeadlightCoronaOffset(0)=(X=90,Y=34,Z=62)
HeadlightCoronaOffset(1)=(X=90,Y=-34,Z=62)
HeadlightCoronaOffset(2)=(X=90,Y=31,Z=49)
HeadlightCoronaOffset(3)=(X=90,Y=-31,Z=49)
HeadlightCoronaMaterial=Material'EpicParticles.FlashFlare1'
HeadlightCoronaMaxSize=120

HeadlightProjectorOffset=(X=90,Y=0,Z=62)
HeadlightProjectorRotation=(Yaw=0,Pitch=-1000,Roll=0)
HeadlightProjectorMaterial=Texture'VMVehicles-TX.NewPRVGroup.PRVProjector'
HeadlightProjectorScale=0.65

Begin Object Class=KarmaParamsRBFull Name=KParams0
BrakeLightOffset(0)=(X=-165,Y=50,Z=77)
BrakeLightOffset(1)=(X=-165,Y=-50,Z=77)
BrakeLightMaterial=Material'EpicParticles.FlashFlare1'

//=============================================================================
// Animation
//=============================================================================
DriveAnim = "Idle"
MovementAnims(0) = "Idle"

//=============================================================================
// Sound
//=============================================================================
IdleSound=Sound'UT3A_Vehicle_Hellbender.UT3HellbenderSingles.UT3HellbenderEngineIdle01Cue'
StartUpSound=Sound'UT3A_Vehicle_Hellbender.UT3HellbenderEngineStart.UT3HellbenderEngineStartCue'
ShutDownSound=Sound'UT3A_Vehicle_Hellbender.UT3HellbenderEngineStop.UT3HellbenderEngineStopCue'
HornSounds(0)=Sound'UT3A_Vehicle_Hellbender.UT3HellbenderSingles.UT3HellbenderHorn01'
ImpactDamageSounds=()
ImpactDamageSounds(0) = Sound'UT3A_Vehicle_Hellbender.UT3HellbenderCollide.UT3HellbenderCollideCue';
ExplosionSounds=()
ExplosionSounds(0) = Sound'UT3A_Vehicle_Hellbender.UT3HellbenderExplode.UT3HellbenderExplodeCue';
BulletSounds = ()
BulletSounds(0) = Sound'UT3A_Weapon_BulletImpacts.UT3BulletImpactMetal.UT3BulletImpactMetalCue'

IdleRPM=2000
SoundVolume=255

//=============================================================================
// Health & Damage
//=============================================================================
DriverDamageMult=0.000000
ImpactDamageMult = 0.00005
MomentumMult=0.400000 //HDm to GE: 0.4 feels right but Rocket and AVRiL force are reversed with each other
DamagedEffectHealthSmokeFactor=0.65
DamagedEffectHealthFireFactor=0.40
DamagedEffectFireDamagePerSec=2.0

//=============================================================================
// Movement
//=============================================================================
GroundSpeed=800.000000 //700
EngineInertia=0.01
EngineBrakeFactor=0.0002 //0.0001 def
SteerSpeed=200.000000 //110.0 def UT2004
//MaxSteerAngleCurve=(Points=((OutVal=50.000000),,)) @100GPing100: Causes crash.
TransRatio=0.15 //0.11
WheelInertia=0.01

ChassisTorqueScale=1.0 //0.82 //0.7
MaxBrakeTorque=20.5 //20.0

WheelSuspensionOffset=7.0 //5.0 //HDm: Fixes the chassis sitting height in-game

Begin Object Class=KarmaParamsRBFull Name=KParams0
KStartEnabled=True
KFriction=0.5
KLinearDamping=0.05
Expand Down Expand Up @@ -298,83 +374,25 @@ defaultproperties
Wheels(1) = LRWheel;
Wheels(2) = RFWheel;
Wheels(3) = LFWheel;
// @100GPing100
//============EDN============

//MaxSteerAngleCurve=(Points=((OutVal=50.000000),,)) @100GPing100: Causes crash.
SteerSpeed=200.000000 //110.0 def UT2004
IdleSound=Sound'UT3A_Vehicle_Hellbender.Sounds.A_Vehicle_Hellbender_EngineIdle01'
StartUpSound=Sound'UT3A_Vehicle_Hellbender.Sounds.A_Vehicle_Hellbender_EngineStart01'
ShutDownSound=Sound'UT3A_Vehicle_Hellbender.Sounds.A_Vehicle_Hellbender_EngineStop01'
ImpactDamageMult = 0.00005
DamagedEffectHealthSmokeFactor=0.65 //0.5
DamagedEffectHealthFireFactor=0.40 //0.25
DamagedEffectFireDamagePerSec=2.0 //0.75
ImpactDamageSounds=()
ImpactDamageSounds(0) = Sound'UT3A_Vehicle_Scorpion.Sounds.A_Vehicle_Scorpion_Collide03';
ImpactDamageSounds(1) = Sound'UT3A_Vehicle_Scorpion.Sounds.A_Vehicle_Scorpion_Collide04';
ExplosionSounds=()
ExplosionSounds(0) = Sound'UT3A_Vehicle_Hellbender.Sounds.A_Vehicle_Hellbender_Explode01';

//=============================================================================
// Entry & Exit
//=============================================================================
EntryPosition=(X=0,Y=0,Z=0)
EntryRadius=180.0 //300.000000
MomentumMult=0.400000 //1.0 //HDm to GE: 0.4 feels right but Rocket and AVRiL force are reversed with each other
bDrawDriverInTP=False
DriverDamageMult=0.000000
VehiclePositionString="in a Hellbender"
VehicleNameString="UT3 Hellbender"
HornSounds(0)=Sound'UT3A_Vehicle_Hellbender.Sounds.A_Vehicle_Hellbender_Horn01'
GroundSpeed=800.000000 //700
SoundVolume=255

TransRatio=0.15 //0.11
EngineBrakeFactor=0.0002 //0.0001 def
MaxBrakeTorque=20.5 //20.0
EngineInertia=0.01
WheelInertia=0.01
ChassisTorqueScale=1.0 //0.82 //0.7
WheelSuspensionOffset=7.0 //5.0 //HDm: Fixes the chassis sitting height in-game

CollisionRadius=219


EntryRadius=180.0 //300.000000
ExitPositions(0)=(X=-10,Y=-160,Z=50) //Left
ExitPositions(1)=(X=-10,Y=160,Z=50) //Right
ExitPositions(2)=(X=-10,Y=-160,Z=-50) //Left Below
ExitPositions(3)=(X=-10,Y=160,Z=-50) //Right Below
ExitPositions(4)=(X=10,Y=-5,Z=130) //Roof

FPCamPos=(X=0,Y=28,Z=135)

//Normal

//=============================================================================
// Camera
//=============================================================================
bDrawDriverInTP=False
FPCamPos=(X=0,Y=31,Z=160)
TPCamDistance=375.000000
TPCamLookat=(X=0,Y=0,Z=0)
TPCamWorldOffset=(X=0,Y=0,Z=200)

//Aerial View
//TPCamDistance=375.000000
//TPCamLookat=(X=-10,Y=0,Z=0)
//TPCamWorldOffset=(X=0,Y=0,Z=140)

DamagedEffectOffset=(X=-35,Y=25,Z=120) //Behind Driver Turret Fire Point
DamagedEffectScale=1.2 //Behind Driver Turret Fire Size
//DamagedEffectOffset=(X=-60,Y=-65,Z=90) //Exhaust Pipe Fire Point
//DamagedEffectScale=0.6 //Exhaust Pipe Fire Size

HeadlightCoronaOffset(0)=(X=72.5,Y=26.5,Z=49.5) //(X=77.5,Y=27.5,Z=52.5)
HeadlightCoronaOffset(1)=(X=72.5,Y=-26.5,Z=49.5)
HeadlightCoronaOffset(2)=(X=72.5,Y=25,Z=39)
HeadlightCoronaOffset(3)=(X=72.5,Y=-25,Z=39)
HeadlightCoronaMaterial=Material'EpicParticles.FlashFlare1'
//HeadlightCoronaMaterial=Material'EmitterTextures.Flares.EFlareOY'
HeadlightCoronaMaxSize=50 //82 works with EFlareOY but FlashFlare is huge

HeadlightProjectorOffset=(X=70.0,Y=0,Z=49.5) //(X=82.5,Y=0,Z=55.5)
HeadlightProjectorRotation=(Yaw=0,Pitch=-1000,Roll=0)
HeadlightProjectorMaterial=Texture'VMVehicles-TX.NewPRVGroup.PRVProjector'
HeadlightProjectorScale=0.40 //0.65

BrakeLightOffset(0)=(X=-131.5,Y=38.5,Z=60) //(X=-137.5,Y=42.5,Z=64)
BrakeLightOffset(1)=(X=-131.5,Y=-38.5,Z=60)
BrakeLightMaterial=Material'EpicParticles.FlickerFlare'
}
38 changes: 25 additions & 13 deletions Classes/UT3HellbenderRearGun.uc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright © 2008, 2014 GreatEmerald
* Copyright © 2018 HellDragon
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
Expand Down Expand Up @@ -101,7 +102,7 @@ state InstantFireMode
DamageMin = default.DamageMin * DamageScale;
DamageMax = default.DamageMax * DamageScale;
Momentum = default.Momentum * DamageScale;
FireSoundPitch = 2.0 - DamageScale;
//FireSoundPitch = 2.0 - DamageScale;

Super(ONSWeapon).Fire(C);
FireCountdown = FireInterval;
Expand Down Expand Up @@ -146,30 +147,41 @@ state InstantFireMode

defaultproperties
{

//LOOKS RELATED
Mesh = SkeletalMesh'UT3VH_Hellbender_Anims.HellbenderMainTurret'
RedSkin = Shader'UT3HellbenderTex.UT3HellbenderSkinRed'
BlueSkin = Shader'UT3HellbenderTex.UT3HellbenderSkinBlue'

PitchBone = MainTurretPitch
YawBone = MainTurretYaw
WeaponFireAttachmentBone = MainTurretBarrel
GunnerAttachmentBone = MainTurretYaw
FireSoundClass=sound'UT3A_Vehicle_Hellbender.Sounds.A_Vehicle_Hellbender_TurretFire01'
GunnerAttachmentBone = MainTurretYaw

bShowChargingBar=False
//BeamEffectClass=class'ShockBeamEffect'//'ONSChargeBeamEffect'
FlashEmitterClass=class'ONSPRVRearGunCharge'

//SOUND RELATED
FireSoundClass=sound'UT3A_Vehicle_Hellbender.UT3HellbenderTurretFire.UT3HellbenderTurretFireCue'
ChargingSound=None
ChargedLoop=None

//DAMAGE RELATED
bDoOffsetTrace=true
bHoldingFire=True
DamageType=Class'UT3DmgType_HellbenderRearGunBeam'
FireInterval=0.5
DamageMin=120 //180
//MinDamageScale=1.0
DamageMax=120 //180
Momentum=75000
FireInterval=0.5
MaxHoldTime=3.0
//MinDamageScale=1.0
bShowChargingBar=False
Momentum=75000
TraceRange=20000
bDoOffsetTrace=true
AIInfo(0)=(bInstantHit=true,RefireRate=0.5,bFireOnRelease=false)//0.85
FlashEmitterClass=class'ONSPRVRearGunCharge'
ChargingSound=None
ChargedLoop=None
bHoldingFire=True
AIInfo(0)=(bInstantHit=true,RefireRate=0.5,bFireOnRelease=false)//0.85

//MOVEMENT RELATED
bInstantRotation=False

}

18 changes: 14 additions & 4 deletions Classes/UT3HellbenderSideGun.uc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright © 2008, 2014 GreatEmerald
* Copyright © 2017-2018 HellDragon
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
Expand Down Expand Up @@ -41,19 +42,28 @@ class UT3HellbenderSideGun extends ONSPRVSideGun;

defaultproperties
{

//LOOKS RELATED
DrawScale = 1.0

Mesh = SkeletalMesh'UT3VH_Hellbender_Anims.HellbenderSecondaryTurret'
RedSkin = Shader'UT3HellbenderTex.UT3HellbenderSkinRed'
BlueSkin = Shader'UT3HellbenderTex.UT3HellbenderSkinBlue'

PitchBone=SecondaryTurretPitch
YawBone=SecondaryTurretYaw
WeaponFireAttachmentBone=SecondaryTurretBarrel
ProjectileClass = class'UT3HBShockBall'

//SOUND RELATED
FireSoundClass = Sound'UT3A_Vehicle_Hellbender.UT3HellbenderBallFire.UT3HellbenderBallFireCue'
AltFireSoundClass = Sound'UT3A_Vehicle_Hellbender.UT3HellbenderBeamFire.UT3HellbenderBeamFireCue'

//DAMAGE RELATED
DamageType=class'UT3DmgType_HellbenderLaser'
FireSoundClass = Sound'UT3A_Vehicle_Hellbender.Sounds.A_Vehicle_Hellbender_BallFire01'
AltFireSoundClass = Sound'UT3A_Vehicle_Hellbender.Sounds.A_Vehicle_Hellbender_BeamFire01'

//MOVEMENT RELATED
PitchUpLimit=9600 //16000 is about what UT3 is but we don't have UT3's camera collision meaning we see under and through the Hellbender in UT2004
PitchDownLimit=59200
bInstantRotation=False
ProjectileClass = class'UT3HBShockBall'

}