Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wraitii committed Jun 15, 2021
1 parent cdff2f8 commit cfa68cf
Show file tree
Hide file tree
Showing 8 changed files with 392 additions and 8 deletions.
9 changes: 9 additions & 0 deletions LICENSE.md
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.
37 changes: 37 additions & 0 deletions README.md
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.
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>
1 change: 0 additions & 1 deletion campaigns/grand_strategy.json
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 removed campaigns/grand_strategy/map_2500_2500.psd
Binary file not shown.
339 changes: 339 additions & 0 deletions license_gpl-2.0.txt

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions mod.cfg

This file was deleted.

6 changes: 3 additions & 3 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "grand_strategy",
"version": "0.0.0",
"name": "grand_strat",
"version": "0.1.0",
"label": "Grand Strategy",
"url": "github.com/wraitii/grand_strategy",
"url": "github.com/wraitii/0ad_grand_strat",
"description": "Some UX improvements tests",
"dependencies": ["0ad=0.0.25"],
"ignoreInCompatibilityChecks": true
Expand Down

0 comments on commit cfa68cf

Please sign in to comment.