E2150 - Modding Overview: Difference between revisions

From InsideEARTH
Content deleted Content added
Animal (talk | contribs)
No edit summary
Animal (talk | contribs)
No edit summary
Line 1:
To modify Earth 2150, you first need to understand the key components of the game and the limitations that are currently enforced upon the community due to the lack of availible game source code.
 
 
The core is as follows:
 
The core iscomponents are as follows:
 
'''Engine'''
Line 12 ⟶ 14:
*The Parameters (or "par" file for short) is named aptly "Earth2150.par".
'''Programming Language'''
* EarthC (or MoonC) is the main programming language offor the game, full guides for this can be [[E2150 - EarthC Documentation|read here]].
* The is usedd to create Campaigns, Gametypes, Unit & AI Scripts.
* Full guides for this can be found [[E2150 - EarthC Documentation|here]].
'''Tools'''
* SDK Tools
Line 21 ⟶ 25:
 
 
In addition to the above, the following information shouls be understood;
 
 
 
In addition to the above, the following information shoulsshould be understood;
 
* The Game Folder Structure is as follows;
<~/GAMEROOT>
├───Levels
│ <MAP NAME>.lnd
│ <MAP NAME>.mis
├───Modules
├───Music
objdef*.txtMP2
├───Players
│ ├───<PLAYERNAME>.S&N
Language******.lansav
│ UserInfo.dat
│ ├───<PLAYERNAME>.ED
│ ******.sav
│ UserInfo.dat
│ ├───<PLAYERNAME>.UCS
│ ******.sav
│ UserInfo.dat
│ ├───<PLAYERNAME>.LC
│ ******.sav
│ UserInfo.dat
│ ├───Editor
│ UserInfo.dat
├───Video
│ *.wd1
└───WDFiles
*.wd
* Any and all modified files should be compiled into a single ".WD" file, that is then placed into a "CustomWDFiles" folder that resides in the Game Directoy Root, or within the existing "WDFiles" folderm, however the later is not recomended.
NAME<FILENAME>.WD
├───Interface
│ *.tex
├───Language
Credits.txt
├───Language
│ Language.lan
gamescriptsCredits.txt
│ Language.lan
├───Meshes
├───Meshes
├───Parameters
EARTH2150*.parmsh
│ gamescripts.txt
├───Parameters
│ objdef.txt
│ EARTH2150.par
│ gamescripts.txt
├───Scripts
│ objdef.txt
│ ├───GameTypes
│ │ └───Single
├───Scripts
│ └───Units
│ ├───Campaigns
└───Textures
│ │ ├───ED
│ │ │ └───Missions
│ │ │ *.ecoMP
│ │ │
│ │ ├───LC
│ │ │ └───Missions
│ │ │ *.ecoMP
│ │ │
│ │ └───UCS
│ │ └───Missions
│ │ *.ecoMP
│ │
│ ├───GameTypes
│ │ └───Single
│ └───Units
└───Textures

Revision as of 20:23, 17 October 2021

To modify Earth 2150, you first need to understand the key components of the game and the limitations that are currently enforced upon the community due to the lack of availible game source code.


The core components are as follows:

Engine

  • The Engine is fully contained with in the game executible, for which the Source Code was lost.

Game Parameters

  • The core configuration of the game (outside of the engine) is done in the paramenters file.
  • This file contains all information on definitions, buildings, units, weapons, and much more.
  • The Parameters (or "par" file for short) is named aptly "Earth2150.par".

Programming Language

  • EarthC (or MoonC) is the main programming language for the game.
  • The is usedd to create Campaigns, Gametypes, Unit & AI Scripts.
  • Full guides for this can be found here.

Tools

  • SDK Tools
  • Community Tools
    • In the above repository, you will find a colmintation of community delveloped tools to assit with the ecxxtraction, editing and re-packaging of the requireed game files.




In addition to the above, the following information should be understood;

  • The Game Folder Structure is as follows;
<~/GAMEROOT>
   ├───Levels
   │       <MAP NAME>.lnd
   │       <MAP NAME>.mis 
   ├───Modules
   ├───Music
   │       *.MP2
   ├───Players
   │   ├───<PLAYERNAME>.S&N
   │       ******.sav
   │       UserInfo.dat
   │   ├───<PLAYERNAME>.ED
   │       ******.sav
   │       UserInfo.dat
   │   ├───<PLAYERNAME>.UCS
   │       ******.sav
   │       UserInfo.dat
   │   ├───<PLAYERNAME>.LC
   │       ******.sav
   │       UserInfo.dat
   │   ├───Editor
   │       UserInfo.dat
   ├───Video
   │       *.wd1
   └───WDFiles
           *.wd

  • Any and all modified files should be compiled into a single ".WD" file, that is then placed into a "CustomWDFiles" folder that resides in the Game Directoy Root, or within the existing "WDFiles" folderm, however the later is not recomended.
<FILENAME>.WD
   ├───Interface
   │       *.tex
   │       
   ├───Language
   │       Credits.txt
   │       Language.lan
   │
   ├───Meshes
   │       *.msh
   │
   ├───Parameters
   │       EARTH2150.par
   │       gamescripts.txt
   │       objdef.txt
   │
   ├───Scripts
   │   ├───Campaigns
   │   │   ├───ED
   │   │   │   └───Missions
   │   │   │           *.ecoMP
   │   │   │
   │   │   ├───LC
   │   │   │   └───Missions
   │   │   │           *.ecoMP
   │   │   │
   │   │   └───UCS
   │   │       └───Missions
   │   │               *.ecoMP
   │   │
   │   ├───GameTypes
   │   │   └───Single
   │   └───Units
   └───Textures