-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
256 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,36 @@ | ||
# eaw-xml-schema | ||
<h1 align=center>EaW XML Schema</h1> | ||
|
||
<p align=center> | ||
<img src="shields.io/"> | ||
</p> | ||
|
||
Defines common xml schemas for Empire at War modding. | ||
|
||
## Idea | ||
|
||
XML schemas are used to define and document elements. This project contains multiple schemas for different xml data structures in the game Star Wars: Empire at War. These should help new people to find their way around. As there is not much information easily available online outside of the wiki, these can be particularly helpful for elements that are not self-explanatory. | ||
|
||
## Usage | ||
|
||
At the root of your element, add the following attributes: | ||
|
||
```xml | ||
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="https://kiyotoko.github.io/eaw-xml-schema/schemas/%SCHEMA% https://kiyotoko.github.io/eaw-xml-schema/schemas/%SCHEMA%.xsd"> | ||
... | ||
</root> | ||
``` | ||
|
||
Note: Replace `%SCHEMA%` with the name of the schema you need (see below for a selection). | ||
|
||
## List of schemas | ||
|
||
This is a list of all xml schemas that currently exist. More schemas will be added in the future. | ||
|
||
- [Ground](schemas/ground.xsd) | ||
- [Hardpoints](schemas/hardpoints.xsd) | ||
- [Planets](schemas/planets.xsd) | ||
- [Projectiles](schemas/projectiles.xsd) | ||
- [Space](schemas/space.xsd) | ||
- [Starbases](schemas/starbases.xsd) | ||
- [Trade Routes](schemas/trades.xsd) | ||
- [Upgrades](schemas/upgrades.xsd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.