Campaign Editor Tutorial
- Lingua principale
- Java
- Stelle
- 325
- Fork
- 61
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
First of all, I'd like to thank the whole team for this free reimplementation of Imperium Galactica.
Their project even offers a campaign editor, but it doesn't seem to be functional yet. However, it is possible to edit .xml files, which will allow you to customise your campaign.
Unfortunately I haven't seen a tutorial for this so I decided to create one here (I'm currently using version 0.95.240).
The aim of the manipulation will be to copy the entire content of an existing campaign and then modify all its parameters as you wish.
> This tutorial requiert: A text editor (such as Notepad++) and a bit of common sense to understand and manage xml files
### First step:
Just open your IG-Campaign editor (execute open-ig-launcher.jar and click on Campaign Editor)

**Name (directory under dlc):** Put the name you want here, it will be the name of the folder containing the copy of the campaign settings and that you will find in your "dlc" folder.
**Project language:** I don't think there's any need to explain, just select the language you prefer.
Then select **Copy existing Campaign/Skrimish** and select the "Main Campaign" (the line above is my own campaign that I've customised)
Then click on **OK**
A new window opens, asking you which preferences you want to copy.

**Set all to Copy**
Then click on **OK**
Don't close the campaign editor just yet.
Let's checks the root of your Imperium Galactica game, you can now see a dlc folder with the name you have chosen (here CustomCampaign).
### Second step:
Now, go to **dlc\CustomCampaign\generic\campaign\CustomCampaign**
Here you'll find all the .xml files you need to customise your game.
Let's begin by changing the name of your campaign (cause having several campaigns with the same name is a bit confusing... )
With you text editor, open **definition.xml** and modifies the content of the title and description tags for installed language packages.

### Third step:
Okay, let's say you want to add heavy shield (shield3) to Destroyer3
Open your **tech.xml**
Search for "**Destroyer3**"
In Shield slot, just adds the Shield3 in the items list (items='Shield1, Shield2, Shield3') as below

I can't give you a detailed list of all the possibilities, but I think the most interesting things to modify are in **battle.xml**, **building.xml**, **tech.xml**. So I'm going to end this tutorial with one last example
Now, let's say you want to add lasers to battleship2
Open your **tech.xml**
Search for "**Battleship2**"
Here we go

Inside BattleShip2 **item tags**, add a **slot tag** with id=laser (just copy/past laser slot from BattleShip1 (or BattleShip3...)
You should get this:

All that's left is to edit what you want to change: position, max laser, type of laser allowed (laser1, laser2 etc).
Here's my own BattleShip2 customisation

To find a appropriate location for the laser, return to the Campaign Editor (remember, I said not to close it)
Go to the **technology** tab, select **battleship2** then go to its **slot** tab

Adjust the size and position here and when you have found the values that suit you, write them down in your tech.xml file.

It's up to you now! 👍
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.