Initial commit: OpenRA game engine
Fork from OpenRA/OpenRA with one-click launch script (start-ra.cmd) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
BIN
mods/ts/maps/sunstroke/map.bin
Normal file
BIN
mods/ts/maps/sunstroke/map.bin
Normal file
Binary file not shown.
8
mods/ts/maps/sunstroke/map.ftl
Normal file
8
mods/ts/maps/sunstroke/map.ftl
Normal file
@@ -0,0 +1,8 @@
|
||||
## rules.yaml
|
||||
actor-4tnk-description = Heavy tank
|
||||
with double barreled gun.
|
||||
|
||||
actor-slav =
|
||||
.name = Black Hand Rifleman
|
||||
.description = Religious loyalist
|
||||
armed with sniper rifle.
|
||||
BIN
mods/ts/maps/sunstroke/map.png
Normal file
BIN
mods/ts/maps/sunstroke/map.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
2633
mods/ts/maps/sunstroke/map.yaml
Normal file
2633
mods/ts/maps/sunstroke/map.yaml
Normal file
File diff suppressed because it is too large
Load Diff
95
mods/ts/maps/sunstroke/rules.yaml
Normal file
95
mods/ts/maps/sunstroke/rules.yaml
Normal file
@@ -0,0 +1,95 @@
|
||||
World:
|
||||
ElevatedBridgeLayer:
|
||||
ElevatedBridgePlaceholder@1:
|
||||
Location: 69, -19
|
||||
Height: 5
|
||||
Orientation: Y
|
||||
Length: 8
|
||||
ElevatedBridgePlaceholder@2:
|
||||
Location: 148, -3
|
||||
Height: 5
|
||||
Orientation: Y
|
||||
Length: 19
|
||||
LuaScript:
|
||||
Scripts: sunstroke.lua
|
||||
|
||||
^BaseWorld:
|
||||
TerrainLighting:
|
||||
RedTint: 1.6
|
||||
GreenTint: 1.2
|
||||
BlueTint: 0.9
|
||||
Intensity: 0.3
|
||||
HeightStep: 0.002
|
||||
|
||||
GAOLDCC2:
|
||||
CaptureManager:
|
||||
Capturable:
|
||||
Types: building
|
||||
ProvidesPrerequisite@BuildingName:
|
||||
|
||||
GAOLDCC3:
|
||||
CaptureManager:
|
||||
Capturable:
|
||||
Types: building
|
||||
ProvidesPrerequisite@BuildingName:
|
||||
|
||||
4TNK:
|
||||
Buildable:
|
||||
Queue: Vehicle
|
||||
BuildPaletteOrder: 70
|
||||
Prerequisites: ~gaoldcc3
|
||||
Description: actor-4tnk-description
|
||||
|
||||
SLAV:
|
||||
Tooltip:
|
||||
Name: actor-slav.name
|
||||
Buildable:
|
||||
Queue: Infantry
|
||||
BuildPaletteOrder: 70
|
||||
Prerequisites: ~gaoldcc2
|
||||
Description: actor-slav.description
|
||||
AttackFrontal:
|
||||
Voice: Attack
|
||||
FacingTolerance: 0
|
||||
Armament:
|
||||
Weapon: Sniper
|
||||
|
||||
GRENLAMP:
|
||||
TerrainLightSource:
|
||||
RedTint: -0.15
|
||||
BlueTint: 0
|
||||
GreenTint: 0.2
|
||||
Intensity: 0.1
|
||||
Range: 10c760
|
||||
|
||||
INYELWLAMP:
|
||||
TerrainLightSource:
|
||||
RedTint: 0.1
|
||||
BlueTint: 0
|
||||
GreenTint: 0.15
|
||||
Intensity: 0.1
|
||||
Range: 19c544
|
||||
|
||||
INGRNLMP:
|
||||
TerrainLightSource:
|
||||
RedTint: -0.1
|
||||
BlueTint: 0
|
||||
GreenTint: 0.25
|
||||
Intensity: 0.15
|
||||
Range: 15c640
|
||||
|
||||
INREDLMP:
|
||||
TerrainLightSource:
|
||||
RedTint: 0.25
|
||||
BlueTint: -0.1
|
||||
GreenTint: 0.1
|
||||
Intensity: 0.2
|
||||
Range: 15c640
|
||||
|
||||
INBLULMP:
|
||||
TerrainLightSource:
|
||||
RedTint: -0.25
|
||||
BlueTint: 0.1
|
||||
GreenTint: 0.1
|
||||
Intensity: -0.1
|
||||
Range: 11c736
|
||||
7
mods/ts/maps/sunstroke/sequences.yaml
Normal file
7
mods/ts/maps/sunstroke/sequences.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
slav:
|
||||
icon:
|
||||
Filename: xxicon.shp
|
||||
|
||||
4tnk:
|
||||
icon:
|
||||
Filename: xxicon.shp
|
||||
17
mods/ts/maps/sunstroke/sunstroke.lua
Normal file
17
mods/ts/maps/sunstroke/sunstroke.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
--[[
|
||||
Copyright (c) The OpenRA Developers and Contributors
|
||||
This file is part of OpenRA, which is free software. It is made
|
||||
available to you under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation, either version 3 of
|
||||
the License, or (at your option) any later version. For more
|
||||
information, see COPYING.
|
||||
]]
|
||||
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