Skip to content

Commit

Permalink
Release 0.95.242
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd committed Dec 11, 2023
1 parent 1d45c01 commit 091e555
Show file tree
Hide file tree
Showing 11 changed files with 134 additions and 87 deletions.
2 changes: 1 addition & 1 deletion data/generic/campaign/main/bridge.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<message id="Douglas-Fire-Lost-Planet-2" media="messages/douglas_fire_5_lost_planet_2" title="messages.douglas" description="messages.fire"/>
<message id="Douglas-Fire-Escort-Failed" media="messages/douglas_fire_6_escort_failed" title="messages.douglas" description="messages.fire"/>
<message id="Douglas-Fire-Prototype-Lost" media="messages/douglas_fire_7_prototype_lost" title="messages.douglas" description="messages.fire"/>
<message id="Douglas-Fire-Battle" media="messages/douglas_fire_8_rebel_governor" title="messages.douglas" description="messages.fire"/>
<message id="Douglas-Fire-Governor" media="messages/douglas_fire_8_rebel_governor" title="messages.douglas" description="messages.fire"/>
<message id="Douglas-Pirates" media="messages/douglas_pirates_destroyed_a_ship" title="messages.douglas" description="messages.pirates"/>
<message id="Douglas-Promotion-2" media="messages/douglas_promotion_2" title="messages.douglas" description="messages.promotion"/>
<message id="Douglas-Prototype" media="messages/douglas_prototype_stolen" title="messages.douglas" description="messages.prototype"/>
Expand Down
2 changes: 2 additions & 0 deletions data/generic/campaign/main/buildings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,7 @@
</operation>
<upgrades/>
</building>
<!--
<building name='buildings.university' id='University'>
<graphics>
<tech id='human' height='5' width='4' image='colony/buildings/human/university' skirmish-only="true"/>
Expand Down Expand Up @@ -1229,6 +1230,7 @@
</operation>
<upgrades/>
</building>
-->
<roads>
<graphics base='colony/roads/%s/%s'>
<tech id='human'/>
Expand Down
1 change: 1 addition & 0 deletions data/generic/campaign/main/scripting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<mission class="hu.openig.scripting.missions.Mission24"/>
<mission class="hu.openig.scripting.missions.Mission25"/>
<mission class="hu.openig.scripting.missions.Mission26"/>
<mission class="hu.openig.scripting.missions.Mission27"/>
</missions>
<!-- The view limit for the empire player levels 1-3. Levels 4-5 are unlimited. -->
<limit-views>
Expand Down
Binary file added install/open-ig-0.95.242.jar
Binary file not shown.
Binary file added install/open-ig-images-20231211a.zip
Binary file not shown.
Binary file added install/open-ig-upgrade-20231211a2.zip
Binary file not shown.
160 changes: 80 additions & 80 deletions open-ig-config.xml
Original file line number Diff line number Diff line change
@@ -1,80 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>Open Imperium Galactica Configuration</comment>
<entry key="fileName">open-ig-config.xml</entry>
<entry key="tileCacheBuildingLimit">10</entry>
<entry key="researchMoneyPercent">1000</entry>
<entry key="language">hu</entry>
<entry key="videoVolume">34</entry>
<entry key="showBuildingName">true</entry>
<entry key="continuousMoney">false</entry>
<entry key="tileCacheBaseLimit">-10</entry>
<entry key="hostPorts-count">0</entry>
<entry key="textCacheSize">0</entry>
<entry key="intro">false</entry>
<entry key="height">822</entry>
<entry key="muteMusic">false</entry>
<entry key="reequipTanks">true</entry>
<entry key="timestep">10</entry>
<entry key="scaleAllScreens">false</entry>
<entry key="aiGroundAttackMixed">true</entry>
<entry key="showStarmapScroll">true</entry>
<entry key="maximized">false</entry>
<entry key="classicControls">false</entry>
<entry key="allowWeather">true</entry>
<entry key="fullScreen">false</entry>
<entry key="uiScale">100</entry>
<entry key="hostUPnP">false</entry>
<entry key="useStandardFonts">false</entry>
<entry key="spacewarDiminishingAttach">true</entry>
<entry key="left">390</entry>
<entry key="aiAllowBuildingUpgrades">false</entry>
<entry key="tileCacheSize">0</entry>
<entry key="autoBuildLimit">20000</entry>
<entry key="movieScale">true</entry>
<entry key="currentProfile">default</entry>
<entry key="joinPort">13951</entry>
<entry key="autoRepair">false</entry>
<entry key="musicVolume">14</entry>
<entry key="satelliteDeploy">true</entry>
<entry key="animateInventory">true</entry>
<entry key="showStarmapMinimap">true</entry>
<entry key="buttonSounds">true</entry>
<entry key="autoDisplayObjectives">true</entry>
<entry key="muteVideo">false</entry>
<entry key="autoRepairLimit">0</entry>
<entry key="showTooltips">true</entry>
<entry key="disableD3D">false</entry>
<entry key="joinPorts-count">0</entry>
<entry key="slowOnEnemyAttack">true</entry>
<entry key="showStarmapInfo">true</entry>
<entry key="top">87</entry>
<entry key="showStarmapLists">true</entry>
<entry key="radarUnion">true</entry>
<entry key="aiGroundAttackEverything">true</entry>
<entry key="targetSpecificRockets">false</entry>
<entry key="hostPort">13951</entry>
<entry key="subtitles">true</entry>
<entry key="effectVolume">100</entry>
<entry key="reequipBombs">true</entry>
<entry key="autoBuildEconomyFirst">true</entry>
<entry key="quickRNP">true</entry>
<entry key="spacewarDiminishingAttachCount">10</entry>
<entry key="disableDirectDraw">false</entry>
<entry key="computerVoiceScreen">true</entry>
<entry key="productionHistoryLimit">10</entry>
<entry key="automaticBattle">false</entry>
<entry key="movieClickSkip">true</entry>
<entry key="joinAddresses-count">0</entry>
<entry key="dayNightCycle">true</entry>
<entry key="aiAutoBuildProduction">true</entry>
<entry key="computerVoiceNotify">true</entry>
<entry key="aiGroundAttackGetCloser">true</entry>
<entry key="swapMouseButtons">false</entry>
<entry key="width">1179</entry>
<entry key="ignore-count">0</entry>
<entry key="disableOpenGL">false</entry>
<entry key="customCursors">true</entry>
<entry key="muteEffect">false</entry>
</properties>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>Open Imperium Galactica Configuration</comment>
<entry key="fileName">open-ig-config.xml</entry>
<entry key="tileCacheBuildingLimit">10</entry>
<entry key="researchMoneyPercent">1000</entry>
<entry key="language">hu</entry>
<entry key="videoVolume">34</entry>
<entry key="showBuildingName">true</entry>
<entry key="continuousMoney">false</entry>
<entry key="tileCacheBaseLimit">-10</entry>
<entry key="hostPorts-count">0</entry>
<entry key="textCacheSize">0</entry>
<entry key="intro">false</entry>
<entry key="height">822</entry>
<entry key="muteMusic">false</entry>
<entry key="reequipTanks">true</entry>
<entry key="timestep">10</entry>
<entry key="scaleAllScreens">false</entry>
<entry key="aiGroundAttackMixed">true</entry>
<entry key="showStarmapScroll">true</entry>
<entry key="maximized">false</entry>
<entry key="classicControls">false</entry>
<entry key="allowWeather">true</entry>
<entry key="fullScreen">false</entry>
<entry key="uiScale">100</entry>
<entry key="hostUPnP">false</entry>
<entry key="useStandardFonts">false</entry>
<entry key="spacewarDiminishingAttach">true</entry>
<entry key="left">143</entry>
<entry key="aiAllowBuildingUpgrades">false</entry>
<entry key="tileCacheSize">0</entry>
<entry key="autoBuildLimit">20000</entry>
<entry key="movieScale">true</entry>
<entry key="currentProfile">default</entry>
<entry key="joinPort">13951</entry>
<entry key="autoRepair">true</entry>
<entry key="musicVolume">14</entry>
<entry key="satelliteDeploy">true</entry>
<entry key="animateInventory">true</entry>
<entry key="showStarmapMinimap">true</entry>
<entry key="buttonSounds">true</entry>
<entry key="autoDisplayObjectives">true</entry>
<entry key="muteVideo">false</entry>
<entry key="autoRepairLimit">0</entry>
<entry key="showTooltips">true</entry>
<entry key="disableD3D">false</entry>
<entry key="joinPorts-count">0</entry>
<entry key="slowOnEnemyAttack">true</entry>
<entry key="showStarmapInfo">true</entry>
<entry key="top">2</entry>
<entry key="showStarmapLists">true</entry>
<entry key="radarUnion">true</entry>
<entry key="aiGroundAttackEverything">true</entry>
<entry key="targetSpecificRockets">false</entry>
<entry key="hostPort">13951</entry>
<entry key="subtitles">true</entry>
<entry key="effectVolume">100</entry>
<entry key="reequipBombs">true</entry>
<entry key="autoBuildEconomyFirst">true</entry>
<entry key="quickRNP">true</entry>
<entry key="spacewarDiminishingAttachCount">10</entry>
<entry key="disableDirectDraw">false</entry>
<entry key="computerVoiceScreen">true</entry>
<entry key="productionHistoryLimit">10</entry>
<entry key="automaticBattle">false</entry>
<entry key="movieClickSkip">true</entry>
<entry key="joinAddresses-count">0</entry>
<entry key="dayNightCycle">true</entry>
<entry key="aiAutoBuildProduction">true</entry>
<entry key="computerVoiceNotify">true</entry>
<entry key="aiGroundAttackGetCloser">true</entry>
<entry key="swapMouseButtons">false</entry>
<entry key="width">1179</entry>
<entry key="ignore-count">0</entry>
<entry key="disableOpenGL">false</entry>
<entry key="customCursors">true</entry>
<entry key="muteEffect">false</entry>
</properties>
2 changes: 1 addition & 1 deletion src/hu/openig/model/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/
public class Configuration {
/** The version string. */
public static final String VERSION = "0.95.241";
public static final String VERSION = "0.95.242";
/** Annotation for indicating load/save a field. */
@Retention(RetentionPolicy.RUNTIME)
@interface LoadSave { }
Expand Down
2 changes: 1 addition & 1 deletion src/hu/openig/scripting/missions/Mission19.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void invoke() {
if (checkTimeout("Mission-19-Failure")) {
stage = M19.DONE;
gameover();
loseGameMessageAndMovie("Douglas-Fire-Battle", "lose/fired_level_3");
loseGameMessageAndMovie("Douglas-Fire-Governor", "lose/fired_level_3");
}
}
/**
Expand Down
35 changes: 35 additions & 0 deletions src/hu/openig/scripting/missions/Mission27.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* Copyright 2008-present, David Karnok & Contributors
* The file is part of the Open Imperium Galactica project.
*
* The code should be distributed under the LGPL license.
* See http://www.gnu.org/licenses/lgpl.html for details.
*/

package hu.openig.scripting.missions;

/**
* Tracks the player's lost battles during ranks 1 and 2 and triggers game over if too many were lost.
* @author akarnokd, Dec 11, 2023
*/
public class Mission27 extends Mission {

@Override
public boolean applicable() {
return world.level <= 2;
}

@Override
public void onTime() {
if (player.statistics.spaceLoses.value + player.statistics.groundLoses.value >= 4) {
if (!hasTimeout("Mission-27-Fire")) {
addTimeout("Mission-27-Fire", 13000);
}
}
if (checkTimeout("Mission-27-Fire")) {
gameover();
loseGameMessageAndMovie("Douglas-Fire-Battle",
world.level == 1 ? "lose/fired_level_1" : "lose/fired_level_2");
}
}
}
17 changes: 13 additions & 4 deletions update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<desc lang='en'>The launcher&#39;s main file</desc>
</file>
</module>
<module id='Game' version='0.95.241'>
<module id='Game' version='0.95.242'>
<general url='https://github.com/akarnokd/open-ig'>
<desc lang='hu'>
Az Open Imperium Galactica játék.
Expand All @@ -42,6 +42,14 @@
<desc lang='es'>Bugfixes</desc>
</notes>
<release-details>
<entry version='0.95.242' date='2023-12-11'>
<item category='Groundwar' issues='1102'>Improved the pathfinding in groundwar when moving vehicles in groups. (By @hemoridos)</item>
<item category='Groundwar,UI' issues='1103'>Smoother vehicle and projectile movements in groundwar in 1x or 2x speeds. (By @hemoridos)</item>
<item category='Skirmish'>Skirmish alien buildings (that didn't exist in the original and reused human images) now have custom-made images. (By @Péter Kovács)</item>
<item category='UI' issues='1106'>Auto-upgrading fleet will now attempt to fill vehicle slots from all available inventory, not just the best. (By @hemoridos)</item>
<item category='UI' issues='1107'>Improved colony screen panning when switching between planets and added panning limits. (By @hemoridos)</item>
<item category='Groundwar,Spacewar' issues='1112'>Losing 4 or more battles (space, ground) during ranks 1 and 2 will now result in game over.</item>
</entry>
<entry version='0.95.241' date='2023-11-03'>
<item category='UI' issues='1086,1087'>Improve fleet arrows on the Starmap screen. (By @hemoridos)</item>
<item category='UI' issues='1093'>Double clicking on enemy units no longer selects all enemy units of the same type. (By @hemoridos)</item>
Expand Down Expand Up @@ -259,9 +267,9 @@
<item category='AI'>Fixed AI unable to build a power plant if the missing energy was above the capacity of available power plant types.</item>
</entry>
</release-details>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-0.95.241.jar' sha1='5864514BBE2DCCF92197DCBACE31BCD848FBC3A6'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-upgrade-20231103a2.zip' sha1='1F042040F706CD67E6EC537867E6CD605078E1A0'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-images-20220130a.zip' sha1='321893422AA0E9D00B745A6D9814C1391D2FFAC9'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-0.95.242.jar' sha1='B76F2EBA8C39B3B09D4A8EA61F26A1D20C159B35'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-upgrade-20231211a2.zip' sha1='E2B0C6695494B29FF7093F504BCD70439149AF93'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-images-20231211a.zip' sha1='AD390924B98DCEEA02D265176AC8CDBF8212FC03'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/open-ig-splash.png' sha1='52b83dbe118575c7dd3dd6c8c41d0446c32dee45'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-video-01.zip' sha1='33c59a0c843623dbc96b2f9a3901049b21731325'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-video-02.zip' sha1='34c743d46c94207dd4cfa061fc32223f841cb79b'/>
Expand Down Expand Up @@ -329,6 +337,7 @@
<remove file='open-ig-images-20140901a.zip'/>
<remove file='open-ig-images-20140910a.zip'/>
<remove file='open-ig-images-20220129a.zip'/>
<remove file='open-ig-images-20220130a.zip'/>
</module>
<module id='MapEditor' version='0.63'>
<general url='https://github.com/akarnokd/open-ig/wiki/Map-editor'>
Expand Down

0 comments on commit 091e555

Please sign in to comment.