Editing Mod Developers Guide

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 12: Line 12:
  
 
# Open the page https://www.warzone.com/EnableModDevelopment to enable mod development for your Warzone account.
 
# Open the page https://www.warzone.com/EnableModDevelopment to enable mod development for your Warzone account.
# Download the [[Standalone Client]] and run it.
 
 
# Obtain the source code to an example mod, such as the Randomized Wastelands Mod from https://github.com/FizzerWL/ExampleMods/tree/master/RandomizedWastelandsMod.  Download the lua files to a folder on your device. (The easiest way is to use Github's "Download zip" button if you're not a git user)
 
# Obtain the source code to an example mod, such as the Randomized Wastelands Mod from https://github.com/FizzerWL/ExampleMods/tree/master/RandomizedWastelandsMod.  Download the lua files to a folder on your device. (The easiest way is to use Github's "Download zip" button if you're not a git user)
# Launch the Standalone Client, sign in.  Click the "Mod Development Console" button.  You can also use the hotkey Ctrl+Shift+M to bring up this dialog any time, and also note that this dialog can be docked to sides of your screen if you wish.
+
# Launch the Warzone Unity Client, sign in.  Click the "Mod Development Console" button.  You can also use the hotkey Ctrl+Shift+M to bring up this dialog any time, and also note that this dialog can be docked to sides of your screen if you wish.
 
# Click the "Create New Mod" button and give your mod a name.
 
# Click the "Create New Mod" button and give your mod a name.
 
# Provide path to your folder with lua files that you downloaded in step 3.
 
# Provide path to your folder with lua files that you downloaded in step 3.
 
# Click Submit to create the mod.
 
# Click Submit to create the mod.
# From the single-player main menu, click "Custom Game", then scroll down and click Change Mods.
+
# From the main menu, click "Create Single-Player game", then scroll down and click Change Mods.
 
# You should see the mod you created here.  Check the box to turn it on and click Submit.
 
# You should see the mod you created here.  Check the box to turn it on and click Submit.
 
# If you've cloned the Randomized Wastelands mod, you'll also need to turn on wastelands if you want it to do anything.  You can also turn off fog to more easily see its effects.  Create the game, and see the wastelands be adjusted!
 
# If you've cloned the Randomized Wastelands mod, you'll also need to turn on wastelands if you want it to do anything.  You can also turn off fog to more easily see its effects.  Create the game, and see the wastelands be adjusted!
Line 80: Line 79:
  
 
Mods can store public, private, or player-specific data within a game.  See [[Mod Game Data Storage]] for details.
 
Mods can store public, private, or player-specific data within a game.  See [[Mod Game Data Storage]] for details.
 
== Mod Timeout ==
 
 
Note that if a game takes more than a minute to advance, the mods will time out and the game will not advance.  This time counts all mods enabled for that game combined, so mod authors should work to ensure their mods are efficient as possible.
 
 
If a game times out more than 10 times in a row, Warzone will end the game automatically.
 
  
 
== Tips ==
 
== Tips ==

Please note that all contributions to Warzone Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Warzone Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox