Add the custom rules
sunrise effect and TW1 units.
This commit is contained in:
committed by
abcdefg30
parent
49d26fd238
commit
1291d1a53d
@@ -2,7 +2,7 @@ MapFormat: 11
|
|||||||
|
|
||||||
RequiresMod: ts
|
RequiresMod: ts
|
||||||
|
|
||||||
Title: Sunstroke [2]
|
Title: Sunstroke
|
||||||
|
|
||||||
Author: Aurora196
|
Author: Aurora196
|
||||||
|
|
||||||
@@ -2539,10 +2539,6 @@ Actors:
|
|||||||
Location: 125,41
|
Location: 125,41
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
|
|
||||||
Rules:
|
Rules: rules.yaml
|
||||||
World:
|
|
||||||
GlobalLightingPaletteEffect:
|
Sequences: sequences.yaml
|
||||||
Red: 1.6
|
|
||||||
Blue: 0.9
|
|
||||||
Green: 1.2
|
|
||||||
Ambient: 0.3
|
|
||||||
47
mods/ts/maps/sunstroke/rules.yaml
Normal file
47
mods/ts/maps/sunstroke/rules.yaml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
World:
|
||||||
|
ElevatedBridgeLayer:
|
||||||
|
ElevatedBridgePlaceholder@1:
|
||||||
|
Location: 60, -26
|
||||||
|
Height: 5
|
||||||
|
Orientation: Y
|
||||||
|
Length: 8
|
||||||
|
ElevatedBridgePlaceholder@2:
|
||||||
|
Location: 139, -10
|
||||||
|
Height: 5
|
||||||
|
Orientation: Y
|
||||||
|
Length: 19
|
||||||
|
GlobalLightingPaletteEffect:
|
||||||
|
Red: 1.6
|
||||||
|
Blue: 0.9
|
||||||
|
Green: 1.2
|
||||||
|
Ambient: 0.3
|
||||||
|
LuaScript:
|
||||||
|
Scripts: sunstroke.lua
|
||||||
|
|
||||||
|
GAOLDCC2:
|
||||||
|
Capturable:
|
||||||
|
ProvidesPrerequisite@BuildingName:
|
||||||
|
|
||||||
|
GAOLDCC3:
|
||||||
|
Capturable:
|
||||||
|
ProvidesPrerequisite@BuildingName:
|
||||||
|
|
||||||
|
4TNK:
|
||||||
|
Buildable:
|
||||||
|
Queue: Vehicle
|
||||||
|
BuildPaletteOrder: 70
|
||||||
|
Prerequisites: ~gaoldcc3
|
||||||
|
Description: Heavy tank\nwith double barreled gun.
|
||||||
|
|
||||||
|
SLAV:
|
||||||
|
Tooltip:
|
||||||
|
Name: Black Hand Rifleman
|
||||||
|
Buildable:
|
||||||
|
Queue: Infantry
|
||||||
|
BuildPaletteOrder: 70
|
||||||
|
Prerequisites: ~gaoldcc2
|
||||||
|
Description: Religious loyalist\narmed with sniper rifle.
|
||||||
|
AttackFrontal:
|
||||||
|
Voice: Attack
|
||||||
|
Armament:
|
||||||
|
Weapon: Sniper
|
||||||
5
mods/ts/maps/sunstroke/sequences.yaml
Normal file
5
mods/ts/maps/sunstroke/sequences.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
slav:
|
||||||
|
icon: xxicon
|
||||||
|
|
||||||
|
4tnk:
|
||||||
|
icon: xxicon
|
||||||
9
mods/ts/maps/sunstroke/sunstroke.lua
Normal file
9
mods/ts/maps/sunstroke/sunstroke.lua
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Tick = function()
|
||||||
|
if (Lighting.Red > 1.5) then
|
||||||
|
Lighting.Red = Lighting.Red - 0.001
|
||||||
|
end
|
||||||
|
|
||||||
|
if (Lighting.Ambient < 0.5) then
|
||||||
|
Lighting.Ambient = Lighting.Ambient + 0.001
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user