-
Notifications
You must be signed in to change notification settings - Fork 2
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
8 changed files
with
392 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Licensing | ||
|
||
This repo, unless specified otherwise, is `GPL-2.0`, like 0 A.D. - I intend to merge back some of it in the main game, though I think this repository might co-exist to make it easier for me to dev & to make it easier for other people to fork it. | ||
|
||
### Specifics: | ||
|
||
Both [World_in_300_BCE](https://commons.wikimedia.org/wiki/File:World_in_300_BCE.PNG)/ [World_in_323_BCE](https://commons.wikimedia.org/wiki/File:World_in_323_BCE.png) come from Wikipedia and are CC-BY-SA 3.0. | ||
|
||
The base map and derived files in `working_data` are taken from https://maps-for-free.com/ which is CC0. |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# 0 A.D. “Grand Strategy” Campaign | ||
|
||
This is the official repo for the “Grand Strategy” mod of 0 A.D. A25. | ||
The goal is to create a functional grand-strategy style gameplay using the campaign interface, similar to [Rise of Nations's Conquer the World campaign](https://riseofnations.fandom.com/wiki/Conquer_the_World). | ||
|
||
My focus is a bit more limited: I want the player to control a single Hero character, that can move across the map. All actions would be executed through this hero, which would gain experience over time, unlocking stuff. | ||
|
||
See the 'Issues' of this repository for some more information on the direction of Gameplay. | ||
|
||
## Current Status | ||
|
||
It's sort of playable, but the UI is not great™ and you'll never actually be attacked. | ||
|
||
## Screenshots | ||
<img width="400" alt="Main Screen" src="https://user-images.githubusercontent.com/1927071/122038497-f1990e80-cdd5-11eb-9626-dc707b2e275f.png"> | ||
|
||
|
||
## Structure | ||
|
||
`art` contains art files for the campaign map, which is mostly the provinces art files since for now nothing else is custom. | ||
`campaigns` contains the campaign data, including root JSON file. The `campaigns/grand_strategy` folder is the 'history' data for the campaign, and is specific to the default campaign I ship. | ||
`gui` contains the actual meat of the mod. This should be entirely re-usable for another Grand Strat map - it's just a very modded 'skin' of the regular 0 A.D. campaign UI. | ||
`tools` contains Python tooling, notably the map editor in pygame and the data editor in flask. | ||
`working_data` contains source art files to draw the map on. | ||
|
||
## Contribution & Licence | ||
|
||
Contributions are very welcome, however I'll reserve the right to merge things depending on whether they fit the gameplay I envision or not. | ||
|
||
This repo, unless specified otherwise, is GPL2, like 0 A.D. - I intend to merge back some of it in the main game, though I think this repository might co-exist to make it easier for me to dev & to make it easier for other people to fork it. | ||
For details, consult LICENSE.md | ||
|
||
## Tools | ||
|
||
A number of python tools are provided in `tools/`. | ||
For convenience, you can start them with `sh data_editor.sh` or `sh map_editor.sh`. | ||
For now, they are undocumented and somewhat prone to crashing. They are optional, though the map editor in particular makes things much easier. |
4 changes: 4 additions & 0 deletions
4
art/textures/ui/campaigns/grand_strategy/provinces/textures.xml
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Textures> | ||
<File pattern="*" format="rgba" mipmap="false" alpha="transparency"/> | ||
</Textures> |
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,6 +1,5 @@ | ||
{ | ||
"Name": "Grand Strategy", | ||
"Description": "Take control of a nation, conquer your neighbors, rule the world.", | ||
"Image": "session/icons/mappreview/Introductory_Tutorial.png", | ||
"Interface": "grand_strategy" | ||
} |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
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