Skip to content

Commit

Permalink
Make scavengers much more interesting
Browse files Browse the repository at this point in the history
Add scavenger blueprints for it to build bases, antinukes, nukes, etc
Add scavenger voice files
  • Loading branch information
ForbodingAngel committed Jan 30, 2022
1 parent d58158f commit 26ec3a7
Show file tree
Hide file tree
Showing 80 changed files with 516 additions and 111 deletions.
71 changes: 0 additions & 71 deletions LuaRules/Configs/ScavengerBlueprints/Constructor/placeholder.lua

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions LuaRules/Configs/ScavengerBlueprints/readme.txt

This file was deleted.

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions LuaRules/Gadgets/scavengers/Configs/EvoRTS/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ scavconfig = {
factoryControllerModule = true, --factory controller is to give orders to factories
unitSpawnerModule = true, --spawns units
startBoxProtection = true, --spawns turrets around the startboxes (if you are using startboxes) and damages units inside of it
reinforcementsModule = true, --reinforcements adds beacon capturing and friendly drops
reinforcementsModule = false, --reinforcements adds beacon capturing and friendly drops
stockpilers = false, --stockpilers adds controller for units with stockpile mechanic
nukes = true, --nukes gives orders to nuke units
},
Expand Down Expand Up @@ -81,10 +81,10 @@ buildingSpawnerModuleConfig = {
unitSpawnerModuleConfig = {
bossFightEnabled = true,
FinalBossUnit = true,
FinalBossHealth = 250000, -- this*teamcount*difficulty
FinalBossMinionsPassive = 3000, -- this/(teamcount*difficulty), how often does boss spawn minions passively, frames.
FinalBossHealth = 1500000, -- this*teamcount*difficulty
FinalBossMinionsPassive = 1000, -- this/(teamcount*difficulty), how often does boss spawn minions passively, frames.
FinalBossMinionsActive = 150, -- this/(teamcount*difficulty), how often does boss spawn minions when taking damage, frames.
BossWaveTimeLeft = 300,
BossWaveTimeLeft = 480,
aircraftchance = 8, -- higher number = lower chance
globalscoreperoneunit = 200,
spawnchance = 120,
Expand Down
36 changes: 18 additions & 18 deletions LuaRules/Gadgets/scavengers/Modules/messenger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,45 @@

function pregameMessages(n)
if n == 1800 then
--ScavSendMessage("WARNING")
--ScavSendVoiceMessage(scavengerSoundPath.."warning.wav")
ScavSendMessage("WARNING")
ScavSendVoiceMessage(scavengerSoundPath.."warning.wav")
end

if n == 1830 then
ScavSendNotification("scav_unidentifiedObjectsDetected")
end

-- if n == 2100 then
-- ScavSendMessage("... waiting for further data ... ")
-- ScavSendVoiceMessage(scavengerSoundPath.."waitingForIntel.wav")
-- end
if n == 2100 then
ScavSendMessage("... waiting for further data ... ")
ScavSendVoiceMessage(scavengerSoundPath.."waitingForIntel.wav")
end

if n == 3900 then
ScavSendNotification("scav_classifiedAsScavengers")
end

-- if n == 6300 then
-- ScavSendMessage("WARNING")
-- --ScavSendVoiceMessage(scavengerSoundPath.."warning.wav")
-- end
if n == 6300 then
ScavSendMessage("WARNING")
ScavSendVoiceMessage(scavengerSoundPath.."warning.wav")
end

-- if n == 6330 then
-- ScavSendMessage("Scavenger Droppods detected nearby")
-- ScavSendVoiceMessage(scavengerSoundPath.."droppodsDetectedNearby.wav")
-- end
if n == 6330 then
ScavSendMessage("Scavenger Droppods detected nearby")
ScavSendVoiceMessage(scavengerSoundPath.."droppodsDetectedNearby.wav")
end

if n == 7200 then
--ScavSendMessage("WARNING")
--ScavSendVoiceMessage(scavengerSoundPath.."warning.wav")
ScavSendMessage("WARNING")
ScavSendVoiceMessage(scavengerSoundPath.."warning.wav")
end

if n == 7230 then
ScavSendNotification("scav_droppodsDetectedInArea")
end

if n == 9000 then
--ScavSendMessage("WARNING")
--ScavSendVoiceMessage(scavengerSoundPath.."warning.wav")
ScavSendMessage("WARNING")
ScavSendVoiceMessage(scavengerSoundPath.."warning.wav")
end

if n == 9030 then
Expand Down
2 changes: 1 addition & 1 deletion LuaRules/Gadgets/scavengers/Modules/unit_spawner.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function BossMinionsSpawn(n)
end
end
Spring.CreateUnit(minionUnit, posx, posy, posz, math_random(0,3),GaiaTeamID)
Spring.SpawnCEG("scav-spawnexplo",posx,posy,posz,0,0,0)
Spring.SpawnCEG("scav-prettypop",posx,posy,posz,0,0,0)
end


Expand Down
4 changes: 2 additions & 2 deletions LuaRules/Gadgets/scavengers/boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,8 @@ function gadget:UnitCreated(unitID, unitDefID, unitTeam)
numOfSpawnBeacons = numOfSpawnBeacons + 1
if scavconfig.modules.reinforcementsModule == true then
Spring.SetUnitNeutral(unitID, true)
Spring.SetUnitMaxHealth(unitID, 100000)
Spring.SetUnitHealth(unitID, 100000)
Spring.SetUnitMaxHealth(unitID, 10000)
Spring.SetUnitHealth(unitID, 10000)
end
end
-- if UnitName == "lootboxgold" then //perhaps add this later when lootboxes are fully implemented
Expand Down
2 changes: 1 addition & 1 deletion modinfo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ return {
name='Evolution RTS -',
description='EvoRTS',
shortname='EvoRTS',
version='v17.02',
version='dev',
mutator='Official',
game='Evolution RTS',
shortGame='EvoRTS',
Expand Down
Binary file not shown.
Binary file added sounds/voice/scavengers/DemonDetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/EpicDragonDetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/EpicGruntDetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/EpicPawnDetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/EpicTzarDetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/RatteDetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/SuperKrogDetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/SuperKrowDetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/SuperPeeWeeDetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/SuperStumpyDetected.wav
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added sounds/voice/scavengers/droppingUnits.wav
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added sounds/voice/scavengers/newunitsdropshipped.wav
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added sounds/voice/scavengers/scav-event-cloud.wav
Binary file not shown.
Binary file not shown.
Binary file added sounds/voice/scavengers/scav-event-miniboss.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scav-event-paralysis.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scav-event-rebellion.wav
Binary file not shown.
Binary file not shown.
Binary file added sounds/voice/scavengers/scavShutdownDetected.wav
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added sounds/voice/scavengers/scavbossdetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavcomdetected.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavcomnewdetect.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavcomspotted.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavdrop.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavdroplootspawn.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavdropspawn.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavdropspawnbeacon.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavdropspawnprinter.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal01remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal02remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal03remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal04remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal05remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal06remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal07remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal08remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal09remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal10remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinal12remain.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinalattack.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinalboss.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinalcountdown.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinalretreating.wav
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added sounds/voice/scavengers/scavfinalvictory.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavheavyairdetected.wav
Binary file not shown.
Binary file not shown.
Binary file added sounds/voice/scavengers/scavlootdrop.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavnewcomentered.wav
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file added sounds/voice/scavengers/scavtech3.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavtech3b.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavtech3c.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavtech3d.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/scavtech3e.wav
Binary file not shown.
Binary file not shown.
Binary file added sounds/voice/scavengers/waitingForIntel.wav
Binary file not shown.
Binary file added sounds/voice/scavengers/warning.wav
Binary file not shown.

0 comments on commit 26ec3a7

Please sign in to comment.