Skip to content

Commit

Permalink
Rino tank set up
Browse files Browse the repository at this point in the history
  • Loading branch information
dnqbob committed Nov 8, 2024
1 parent 01ce8ee commit ec9d824
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 1 deletion.
1 change: 1 addition & 0 deletions mods/sp/Authors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ Assets come from three sources, Public, Vanilla and made by Nolt, if an asset is
> Lynx tank turret
> Mutant mrls body
> hover mrls body
> Rino tank
BaRaKa:
> Tunnel Dirt animation when creating
Bdragon1727:
Expand Down
Binary file added mods/sp/bits/mutant/vehicles/mrinotnk.shp
Binary file not shown.
Binary file added mods/sp/bits/mutant/vehicles/mrinotnk_tur.shp
Binary file not shown.
Binary file added mods/sp/bits/mutant/vehicles/mrinotnkicon.shp
Binary file not shown.
10 changes: 10 additions & 0 deletions mods/sp/languages/rules/en.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -1837,6 +1837,16 @@ weasau3-desc = A long forgotten creature trained by the mutants.
- Deployability: use melee attack for a short period
- Does not slow down on critical HP
mrinotnk-name = Rino Tank
mrinotnk-desc = Heavy tank armed with dual anti-tank cannon.
Good vs: Vehicles
Special:
- Can crush infantry
- Can attack while moving
promthtnk-name = Prometheus Tank
promthtnk-desc = Mutant tank attached with a scavenged Scrin weapon.
Expand Down
56 changes: 55 additions & 1 deletion mods/sp/rules/campaignstuff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,6 @@ SLIGHSHOT:
Stats: Armor, Sight, Speed, Damage, ReloadDelay, MinRange, None, MaxRange
Damage: 80


MINELAYER:
Inherits: ^CombatVehicle
Inherits@RENDER: ^MutRenderGreen
Expand Down Expand Up @@ -909,6 +908,61 @@ MINELAYER:
ActorStatValues:
Stats: Armor, Sight, Speed

MRINOTNK:
Inherits: ^Tank
Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
Inherits@EXPERIENCE: ^GainsExperience
Inherits@RENDER: ^MutRenderGreen
Valued:
Cost: 900
Tooltip:
Name: mrinotnk-name
UpdatesPlayerStatistics:
AddToArmyValue: true
Buildable:
Queue: Vehicle.Shared, Vehicle.Mutant
BuildAtProductionType: Tank
Description: mrinotnk-desc
BuildPaletteOrder: 14
Prerequisites: ~muweap, ~campaignunit, ~techlevel.2
BuildDuration: 625
BuildDurationModifier: 100
Mobile:
Speed: 60
TurnSpeed: 20
Locomotor: InfantryCrusherVehicle
Health:
HP: 45000
Voiced:
VoiceSet: Trike
Volume: 3
Turreted:
TurnSpeed: 20
Offset: -32,0,660
Armament@PRIMARY:
Weapon: RinoCannon
Damage: 140
LocalOffset: 880,100,100, 880,-100,100
MuzzleSequence: muzzle
MuzzlePalette: gensmkexploj
Recoil: 127
RecoilRecovery: 26
CasingWeapon: ShellCasingDebris #CasingDebris
CasingSpawnLocalOffset: 1000,120,550, 1000,-120,550
CasingTargetOffset: 256, 1024, 0, 256, -1024, 0
PauseOnCondition: empdisable
AttackTurreted:
Voice: Attack
PauseOnCondition: empdisable
AutoTarget:
ScanRadius: 8 #PREF: save trait looks up and scan armaments
BodyOrientation:
QuantizedFacings: 32
CameraPitch: 250
WithMuzzleOverlay:
Selectable:
Bounds: 1206,2050, 0, -400

NAHFAC:
Inherits: ^Factory
Tooltip:
Expand Down
12 changes: 12 additions & 0 deletions mods/sp/sequences/campaignseq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,18 @@ regentnk:
icon:
Filename: regentnkicon.shp

mrinotnk:
Inherits@1: ^SpriteVehicleWithShadow
Inherits@2: ^CannonMuzzle
Defaults:
Filename: mrinotnk.shp
turret:
Filename: mrinotnk_tur.shp
Facings: -32
Start: 0
icon:
Filename: mrinotnkicon.shp

slighshot:
Inherits@2: ^SpriteVehicleWithShadowAndTurret
Defaults:
Expand Down
14 changes: 14 additions & 0 deletions mods/sp/weapons/campaignweapons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,20 @@ PrometheusCannon:
AirThreshold: 8c0
Delay: 3

RinoCannon:
Inherits: ^ArmorPierceAmmoWeapon
Inherits@2: ^Mediuml_Clsn
ReloadDelay: 80
Range: 6c0
Report: 120mmf.aud
Burst: 2
BurstDelays: 8
Projectile: BulletAS
Sequences: idle2
ContrailStartWidth: 0c66
Warhead@1Dam: SpreadDamage
Damage: 5000
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath

RegensisCannon:
Inherits: ^FullDamage
Expand Down
Binary file not shown.

0 comments on commit ec9d824

Please sign in to comment.