Commit Graph

75 Commits

Author SHA1 Message Date
Paul Chote
147cb566f2 Remove "en" from fluent file paths. 2024-11-03 16:52:47 +02:00
Paul Chote
8452f71481 Rename Lua UserInterface.Translate to .GetFluentMessage. 2024-11-03 16:52:47 +02:00
Paul Chote
8b11b499ed Rename Translations yaml keys to FluentMessages. 2024-11-03 16:52:47 +02:00
test1232156
02e1c7444b Mission briefing rewording and fact checking
Co-Authored-By: Gustas <37534529+punkpun@users.noreply.github.com>
2024-10-18 18:48:37 +03:00
RoosterDragon
ab9b393238 Compress all pngs, including within oramap files.
Reduces size used for png files from 13,366,660 bytes to 13,055,285 bytes in total. Changes size used for oramap files from 2,601,027 bytes to 2,605,779 bytes in total (contained PNGs are smaller, but the oramap zip wrapper didn't compress as well). This slight filesize improvement doesn't noticeably impact loading times.

zopfilpng is used for compression with the following command line:
'zopflipng.exe -y -m image.png image.png'

This follows on from 78bef8a98f and bc5e7d1497. Except now that the PNG decoder supports bit depths of 1, 2 or 4 we don't have to preserve the original bit depth of the image, allowing for more compression.

The oramap files were updated by:
- Running utility command "<mod> --unpack-map unpack" for each mod.
- Compressing the png files using the command above.
- Running utility command "<mod> --unpack-map repack" for each mod, except in Map.Save the line `if (!LockPreview) { var previewData = ...` is replaced with `if (false) { var previewData = ...` to save the existing optimized image on disk rather than generating a fresh preview.
2023-11-25 16:45:05 +01:00
Gustas
caad8ba44b Manual cleanup 2023-11-25 16:28:19 +01:00
RoosterDragon
78bef8a98f Compress all pngs.
Reduces size used for png files from 19,034,446 bytes to 13,305,798 bytes in total. The smaller files also improve loading times as the zlib decoder has less bytes to schlep through.

The PNG decoder shipped with OpenRA only supports a bit depth of 8 for images with a palette, so must must ensure that other depths (1,2 or 4) are not used.

zopfilpng is used for compression with the following command line:
'zopflipng.exe --keepcolortype -y -m image.png image.png'

The keepcolortype flag ensures the bit depth is not changed.
2023-06-26 19:28:06 +02:00
Matthias Mailänder
378f66a1ff Resolve Lua language server diagnosed problems. 2023-03-28 11:45:15 +02:00
Mustafa Alperen Seki
87eca8f2c0 Fix colors of paratroopers in the missions. 2023-03-26 17:49:02 -05:00
Mustafa Alperen Seki
960f829221 Move Soviets palette index definition to campaign-palettes.yaml. 2023-03-26 17:49:02 -05:00
Matthias Mailänder
9b2e291a46 Extract translation strings. 2023-01-23 20:51:45 +01:00
abcdefg30
5bf7fe852c Remove the copyright year numbers 2023-01-11 11:58:54 +02:00
Gustas
fc1d8d2355 Update RA maps to format 12 2022-08-30 20:03:40 +02:00
abcdefg30
6a31b1f9f3 Update the copyright header year 2022-05-28 00:35:10 -05:00
Matthias Mailänder
b9bfbfd5ac Use global objective initialisation. 2021-11-26 23:39:41 +01:00
Matthias Mailänder
58b105f0d4 Reorganize global .lua files. 2021-11-26 23:39:41 +01:00
Andre Mohren
6810469634 Updated copyright years. 2021-06-29 18:33:21 -05:00
Smittytron
243dc965c0 Move IdleHunt function to campaign-global.lua 2021-05-22 23:29:42 +02:00
Smittytron
0d3c624bbc Standardize usage of AddObjective in RA missions 2021-04-11 12:26:14 +02:00
Smittytron
79404cd397 Link campaign-global.lua to remaining missions 2021-03-27 13:25:22 +01:00
Paul Chote
6d6822ca15 Update map inits in RA/TD/D2k. 2020-07-08 20:38:30 +02:00
Paul Chote
e5a1a8a706 Replace deprecated API usage. 2020-06-19 17:28:01 +02:00
Paul Chote
d73ed7670a Port missions to the new Paratroopers API. 2020-02-29 16:07:24 +01:00
abcdefg30
23b3c237b7 Update the year numbers in all license headers to 2020 2020-01-05 17:00:34 +00:00
abcdefg30
55c3f313b1 Remove 'yes' and 'no' in favor of 'true' and 'false' 2019-10-12 00:07:05 +02:00
Paul Chote
73b42e452d Enable "campaign" bot for all scripted players in RA missions. 2019-02-01 20:59:19 +01:00
abcdefg30
8b9603168a Change the year number in all lua headers from 2018 to 2019 2019-01-26 23:15:21 +01:00
Arular101
8a60918841 Update copyright notice year to 2018 2018-01-17 00:47:34 +01:00
Arular101
e049452f22 Increase damage and HP by 100x 2017-12-12 20:50:27 +01:00
abcdefg30
6dd42f7ab1 Replace bogus ROF values in missions 2017-12-07 20:44:41 +02:00
Mustafa Alperen Seki
01c1e08bd8 Add Original Remap Palette for RA Mod Campaign
and Shellmap
2017-11-19 15:08:42 +01:00
reaperrr
ce8f3ed168 RA mission weapon warhead fixes 2017-07-13 20:58:47 +02:00
Jean-Rémy Buchs
fc725c6c0c add GPLv3+ header to all lua scripts 2017-04-10 21:13:51 +02:00
abcdefg30
4d0ac8bd14 Fix the powerproxy actors of ra missing sequences 2017-02-19 17:47:07 +01:00
roundowl
508038e3f3 Merges minelayers into single unit placing AT mines
AP minelayer is removed, AT minelayer is made generic and available to both factions. BuildPaletteOrder is pushed up to remove gap.
I didn't remove AP mine from weapons and explosions, because graphics are still there and may be used in future.
2017-01-03 19:54:08 +01:00
reaperrr
c114c8fe1e Fixed map placement of RA buildings
...with changed footprint.
2016-06-20 18:55:54 +02:00
Oliver Brakmann
4787bc04b3 Make use of common mission rules in missions (RA) 2016-05-05 13:02:08 +02:00
abcdefg30
2f86f25418 Remove the redundant "set to defend stance" functions
They never even worked properly
2016-04-08 17:38:41 +02:00
abcdefg30
ec602f2090 Replace abused Map.ActorsInBox calls by Map.ActorsInWorld in all ra missions 2016-04-08 17:38:17 +02:00
Paul Chote
85c41bf50e Update RA maps to format 11. 2016-03-27 12:17:00 +01:00
Paul Chote
9884a29b9e Upgrade RA maps to format 10. 2016-03-08 22:19:26 +00:00
Paul Chote
505dddcf96 Upgrade RA maps to format 9. 2016-03-07 21:41:14 +00:00
Pavel Penev
489ee9fc54 Add support for multiple impact sounds to CreateEffectWarhead
Have the engine pick one impact sound at random from the provided list.
2016-01-31 16:22:47 +02:00
Pavel Penev
7e3ec91d30 Add support for multiple explosions to CreateEffectWarhead
Have the engine pick one explosion at random from the provided list.
2016-01-31 16:22:09 +02:00
Paul Chote
9f7f759da4 Fix filename case on weapon reports. 2016-01-17 19:24:40 +00:00
abcdefg30
93757d3324 Let spawned soviet vehicles attack move on Survival02 2015-12-12 18:49:28 +01:00
atlimit8
949994f10b Convert MiniYaml colors to hex 2015-10-27 16:10:33 -05:00
atlimit8
f79ac636f2 Convert Lua array-like structures to use named entries 2015-10-25 00:36:04 -05:00
reaperrr
1a08e6de77 Add Music trait to maps (applied upgrade rule) 2015-10-21 08:20:48 +02:00
clemty
76de14b6f5 PNG file size reduction
run pngcrush -brute on *.png

before:
 70 File(s)      3.455.140 bytes

after:
 70 File(s)      2.616.088 bytes
2015-09-29 20:47:36 +02:00