Difference between revisions of "Modding"

From Empires Wiki
Jump to: navigation, search
(Created page with "{{ModdingDocumentation}} __NOTOC__ ==Summary== This page is about further informations to "mod the mod" for possible contributors ===Modding Enviroment=== Building a modding...")
 
m (Modding Enviroment: corrections + link)
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
===Modding Enviroment===
 
===Modding Enviroment===
 
Building a modding enviroment beside your Empires installation to test script changings, without interference with your ususal multiplayer installation or the risk of being overwriten by updates, is quite easily:
 
Building a modding enviroment beside your Empires installation to test script changings, without interference with your ususal multiplayer installation or the risk of being overwriten by updates, is quite easily:
# goto Empires directory "...\Steam\steamapps\common\Empires"
+
* go to Empires directory "...\Steam\steamapps\common\Empires"
::(in there are already 2 "game" folders, called "empires" and "hl2" - they just work like what you want to do)
+
:(there are already two "game" folders, called "empires" and "hl2" - they work just like what you want to do now)
# create a new folder there and name it whatever you want, then copy the "gameinfo.txt" from "empires" subdirectory in that folder and change "game" to whatever you called your mod, search for the "gamebin" and replace "|gameinfo_path|bin" with "empires/bin"
+
* create a new folder here (the name doesn't matter), then copy the "gameinfo.txt" from "empires" subdirectory in that folder and change "game" to whatever you called your mod, search for the "gamebin" and replace "|gameinfo_path|bin" with "empires/bin"
::(the folder can be named differently, just the "game" must match, but also the searchpaths if you ever want to create a mod of the mod of the mod xD)
+
:(the folder can be named differently, just the "game" must match, but also the searchpaths if you ever want to create a mod of the mod of the mod)
::- or use Smithy's Gameinfo.txt and change whatever you want
+
:- or use [http://pastebin.com/BXcEA1bY Smithy's Gameinfo.txt] and change whatever you want
# there are now 2 ways to start this:
+
* there are now 2 ways to start this:
::create a new text file (.txt) in main directory (where the hl2.ese is located), copy [code]hl2.exe -game *YOUR MOD* -novid -insecure[/code] inside it and rename its file extension to ".bat" (a batch file)
+
:create a new text file in main directory (where the hl2.exe is located), copy [code]hl2.exe -game *YOUR MOD* -novid -insecure[/code] inside it and rename its file extension to ".bat" (a batch file)
::this file acts as the "startbutton" - it needs to be in the same directory like the hl2.exe, so if you want a desktop shortcut make it from that batch ::or you can also made one from the hl2.exe and just add the params listed above after the " ;-)
+
:this file acts as the "startbutton" - it needs to be in the same directory like the hl2.exe, so if you want a desktop shortcut make it from that batch :or you can also made one from the hl2.exe and just add the params listed above after the " ;-)
::(should look like "...\Steam\steamapps\common\Empires\hl2.exe" -game *YOUR MOD* -novid -insecure)
+
:(should look like "...\Steam\steamapps\common\Empires\hl2.exe" -game *YOUR MOD* -novid -insecure)
  
 
=====Credits=====
 
=====Credits=====
thx to [https://forums.empiresmod.com/index.php?members/thexa4.4250/ Thexa4] to provide this and [https://forums.empiresmod.com/index.php?members/smithy.2160/ Smithy] for addidional info about the custom folder, usefull for mapping ;-)
+
thx to [https://forums.empiresmod.com/index.php?members/thexa4.4250/ Thexa4] to provide this and [https://forums.empiresmod.com/index.php?members/smithy.2160/ Smithy] for addidional info about the custom folder, usefull for mapping

Latest revision as of 04:06, 25 September 2016

Template:ModdingDocumentation

Summary

This page is about further informations to "mod the mod" for possible contributors

Modding Enviroment

Building a modding enviroment beside your Empires installation to test script changings, without interference with your ususal multiplayer installation or the risk of being overwriten by updates, is quite easily:

  • go to Empires directory "...\Steam\steamapps\common\Empires"
(there are already two "game" folders, called "empires" and "hl2" - they work just like what you want to do now)
  • create a new folder here (the name doesn't matter), then copy the "gameinfo.txt" from "empires" subdirectory in that folder and change "game" to whatever you called your mod, search for the "gamebin" and replace "|gameinfo_path|bin" with "empires/bin"
(the folder can be named differently, just the "game" must match, but also the searchpaths if you ever want to create a mod of the mod of the mod)
- or use Smithy's Gameinfo.txt and change whatever you want
  • there are now 2 ways to start this:
create a new text file in main directory (where the hl2.exe is located), copy [code]hl2.exe -game *YOUR MOD* -novid -insecure[/code] inside it and rename its file extension to ".bat" (a batch file)
this file acts as the "startbutton" - it needs to be in the same directory like the hl2.exe, so if you want a desktop shortcut make it from that batch :or you can also made one from the hl2.exe and just add the params listed above after the " ;-)
(should look like "...\Steam\steamapps\common\Empires\hl2.exe" -game *YOUR MOD* -novid -insecure)
Credits

thx to Thexa4 to provide this and Smithy for addidional info about the custom folder, usefull for mapping