EarthExtensions: Difference between revisions

No edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 1:
=== EarthExtensions ===
EarthTmpExtensions is a module for The Moon Project and Lost Souls, which fixes some bugs and addadds some clientside improvements. It requires a module loader (shipped with TMP/LS 2.1.1 and 2.2.1 patches) to work.
 
== Download ==
The latest version of 2.1.1/2.2.1 The Moon Project and Lost Souls patch includes 1.0.13 version of this module.
 
The most recent version (1.027.150) can be downloaded separately from [https://github.com/InsideEarth2150/EarthExtensions/tree/main/TMP_LS here].
 
.ini Template [https://raw.githubusercontent.com/InsideEarth2150/EarthExtensions/main/TMP_LS/EarthTmpExtensions.ini Download] (Right Click > "Save as")
 
Template [https://raw.githubusercontent.com/InsideEarth2150/EarthExtensions/main/TMP_LS/EarthTmpExtensions.ini Download] (Right Click > "Save as")
== Features ==
* significant FPS improvement due to rendering optimizations (Direct3D only)
Line 19 ⟶ 20:
** increased maximum camera zoom in game preferences (no need to type command for large max zoom, you can set large values in options now)
** disabled performance warning for larger max zoom values
* reduced gui refresh lag for given orders (green layer, ie. move markers etc refresh rate)
* added new singleplayer commands:
** `Ieo.Ping` - dummy test command
** `Ieo.LoadObjects - command dedicated to editor, it takes a filename as parameter, reads its contents and applies line by line as if they were typed in CreateIFF/NewOne commands. [https://raw.githubusercontent.com/InsideEarth2150/EarthExtensions/main/Samples/IeoLoadObjectsSample.txt Sample file that loads a 100 JaguarHP vs 100 JaguarHP boxed battle arena]. Each line is:
<x>, <y>, <owner>, <rotation 0-255> <object in the same format as NEWONE, you can build it with https://earth.sixty-four.de/?menu=nom >
* added chat channel prefix (All/Team/Neutral/Direct) in multiplayer games
* display LC power range
* extened Solar Power Plant and Mine binds, so that they build Xyrex or Upg. Mine (if researched)
* auto clear and archive Scripts and Temp directories
* scrollable enhancements
** added mouse wheel support for scrolling up/down the research tree
** added mouse wheel support for scrolling up/down the research center (the basic view with 4 tabs)
** added mouse wheel support for side panels, like builder's production options or fabs production queues
** added mouse wheel support for bottom panel, like list of buildings, or LC's construction tab
** added mouse wheel support for chassis/weapon/shield (although shield is never scrollable) selection in Constructor menu (F1)
** added mouse wheel support for panel with saved units template in Constructor menu (F1)
** added mouse wheel support for weapon/shield (although shield is never scrollable) selection in Building weapons menu (F3)
** added mouse wheel support for panel with list of buildings in Building weapons menu (F3)
** added keyboard arrows support for scrolling up/down/left/right the research tree
** added keyboard arrows support for scrolling up/down the research center (the basic view with 4 tabs)
* completed/next research notifications
* allow mouse wheel zooming inversion (disabled by default)
* prevent cancellation of recording mode by dragging mouse (accidental queue cancellation)
* added custom building icons - configurable: ON (always on)/OFF (always off)/HOTKEY (shown on held ALT)
** idle/snooze icons for buildings if they are not in working state (all factories, mines, research centers, loaded MDWs)
** progress icons for all ongoing productions, researches, charging of MDWs and LC batteries (shown with ALT key by default)
* extended selection info for batteries and MDW structures
* enabled selection info for allied structures
* extended allied structures' selection info by current money (for mine and refinery) and current research (for research center)
* extended game crash logging
* desync detection for multiplayer games
* fixed FPS calculation on some intel CPUs (the `display.show 1` command)
* adjusted AnimButton/MeshButton rotation speed to the Desired FPS (fix for fast spinning blueprints)
* increased max game speed for single player (up to 1150%, default was 150%)
* change speed messages display the current speed in %
* added `/shrug/`, `/tableflip` and `/unflip` chat emojis known from Discord
* new hotkeys/shortcuts (replacing "Select platoon" shortcuts in game options):
** toggle building power
** sell building
** select next idle builder
** select next idle mining unit (Taiga/Harvester)
 
== Configuration ==
Line 36 ⟶ 78:
* CRITICAL
|| INFO|| Amount of logging that gets into .log file
|-
! '''EnableRenderOverflowCrashFix'''
| 0/1|| 1|| Fixes game crashing after large zoom out
|-
! colspan=4 | Widescreen adjustments
Line 77 ⟶ 116:
! '''ZoomTime'''
| Integer || 300 || Zoom speed factor. Smaller value = faster zooming.
|-
! '''InvertScrollZooming'''
| 0/1 || 0 || Invert default mouse wheel zoom behaviour
|-
! colspan=4 | D3D rendering optimizations (advanced)
Line 122 ⟶ 164:
! '''MeshRenderBufferSize'''
| Integer || 150
|-
! colspan=4 | Other
|-
! '''ReduceInputLag'''
| 0/1 || 0 || '''Experimental'''. Disabled by default, attempts to reduce GUI refresh lag.
|-
! '''UpgradeKeybinfs'''
| 0/1 || 1 || Replace select platoon hotkeys with more useful ones.
|-
! '''UpgradeLcBuildingBinds'''
| 0/1|| 1|| Replace hotkeys for Solar Power Plant with Xyrex and Mine with Upg Mine (if researched)
|-
! '''DisplayLcPowerRange'''
| 0/1|| 1|| Display power range for LC (just like it gets displayed for ED/UCS with F9 by default)
|-
! '''AutoClearTempFiles'''
| 0/1|| 1|| Auto clear Temp directory
|-
! '''ArchiveClearedTempFiles'''
| 0/1|| 1|| If Temp directory is cleared, archive files into a separate Archive directory
|-
! '''AutoClearScriptFiles'''
| 0/1|| 1|| Auto clear Scripts directory
|-
! '''ArchiveClearedScriptFiles'''
| 0/1|| 1|| If Scripts directory is cleared, archive files into a separate Archive directory
|-
! '''EnableScrollableEnhancements'''
| 0/1|| 1|| Enable scroll events handling for GUI panels
|-
! '''EnableResearchNotifications'''
| 0/1|| 1|| Enable notifications for completed/pending research
|-
! '''IdleIconsMode'''
| One of the following:
* ON
* OFF
* HOTKEY
|| ON|| Idle icons display mode
|-
! '''ProgressIconsMode'''
| One of the following:
* ON
* OFF
* HOTKEY
|| HOTKEY|| Progress icons display mode
|-
! '''PreventMouseDragInRecordMode'''
| 0/1|| 1|| Disable recording mode cancellation by dragging mouse
|}
 
Line 127 ⟶ 218:
Let's say you want to make shadows disappear at larger height (135.0) that they currently do. You also use other resolution than 1920x1080, and the side panel and compass are too large for you (you would like them to be 2 times smaller). To configure it, you will need to create EarthTmpExtensions.ini file next to your EarthTmpExtensions.ieo. There is no need to put all the values from the table above, as game will use defaults anyway. The content of the file should be as follows:
<pre>
DesiredFps = 120
ShadowRenderThreshold = 135.0
CompassSize = 40
SidePanelWidthFactor = 72
</pre>
 
== Commands ==
=== IEO.LoadObjects ===
IEO.LoadObjects enables you to load predefined objects into a level.
 
==== Proccess ====
# enable cheats first (cheater in console)
# Issue the following command "IEO.LoadObjects filename.xxx"
## for example IEO.LoadObjects tb10o.txt).
 
==== Example ====
Here is sample file (tb10o.txt) which generates 100 Jaguar hP vs 100 Jaguar hP arena to give you an example of usage.
 
Notes:
# objects will load only if there is a starting point of their owner placed on the level.
# each line is: <x>, <y>, <owner>, <rotation 0-255> <object in the same format as NEWONE, you can build it with https://sixty-four.de/msc-web/earth/index.php?menu=nom the site contains only units, but you can place buildings in the same manner.
# if you want your mind to explode you can place rotated buildings (but they are reset upon save/reload)
#
 
=== IEO.Ping ===
IEO.Ping (does nothing, returns "Pong" message :P)
1,180

edits