mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Merge branch 'dev' of github.com:xen-42/outer-wilds-new-horizons into dev
This commit is contained in:
commit
83937d69b1
4
NewHorizons/External/Modules/PropModule.cs
vendored
4
NewHorizons/External/Modules/PropModule.cs
vendored
@ -262,21 +262,25 @@ namespace NewHorizons.External.Modules
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Maximum time between meteor launches.
|
/// Maximum time between meteor launches.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DefaultValue(20f)]
|
||||||
public float maxInterval = 20f;
|
public float maxInterval = 20f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Maximum random speed at which meteors are launched.
|
/// Maximum random speed at which meteors are launched.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DefaultValue(150f)]
|
||||||
public float maxLaunchSpeed = 150f;
|
public float maxLaunchSpeed = 150f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Minimum time between meteor launches.
|
/// Minimum time between meteor launches.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DefaultValue(5f)]
|
||||||
public float minInterval = 5f;
|
public float minInterval = 5f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Minimum random speed at which meteors are launched.
|
/// Minimum random speed at which meteors are launched.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DefaultValue(50f)]
|
||||||
public float minLaunchSpeed = 50f;
|
public float minLaunchSpeed = 50f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@ -1411,22 +1411,26 @@
|
|||||||
"maxInterval": {
|
"maxInterval": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Maximum time between meteor launches.",
|
"description": "Maximum time between meteor launches.",
|
||||||
"format": "float"
|
"format": "float",
|
||||||
|
"default": 20.0
|
||||||
},
|
},
|
||||||
"maxLaunchSpeed": {
|
"maxLaunchSpeed": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Maximum random speed at which meteors are launched.",
|
"description": "Maximum random speed at which meteors are launched.",
|
||||||
"format": "float"
|
"format": "float",
|
||||||
|
"default": 150.0
|
||||||
},
|
},
|
||||||
"minInterval": {
|
"minInterval": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Minimum time between meteor launches.",
|
"description": "Minimum time between meteor launches.",
|
||||||
"format": "float"
|
"format": "float",
|
||||||
|
"default": 5.0
|
||||||
},
|
},
|
||||||
"minLaunchSpeed": {
|
"minLaunchSpeed": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Minimum random speed at which meteors are launched.",
|
"description": "Minimum random speed at which meteors are launched.",
|
||||||
"format": "float"
|
"format": "float",
|
||||||
|
"default": 50.0
|
||||||
},
|
},
|
||||||
"position": {
|
"position": {
|
||||||
"description": "Position of this volcano.",
|
"description": "Position of this volcano.",
|
||||||
|
|||||||
@ -22,11 +22,9 @@ pipenv install --dev
|
|||||||
|
|
||||||
## Environment Variables
|
## Environment Variables
|
||||||
- URL_PREFIX: Path to put before all links and static files, see below for recommended values
|
- URL_PREFIX: Path to put before all links and static files, see below for recommended values
|
||||||
- Production: "/"
|
- Production and Local Builds: "/"
|
||||||
- Local Build: "" (set as empty string)
|
|
||||||
- PyCharm Development Server: "/outer-wilds-new-horizons/docs/out/"
|
- PyCharm Development Server: "/outer-wilds-new-horizons/docs/out/"
|
||||||
|
|
||||||
|
|
||||||
## Copy Schemas
|
## Copy Schemas
|
||||||
Create a folder called `schemas` in the `docs/content/pages/` folder and copy all schemas to generate into it, make sure not to add this folder to git.
|
Create a folder called `schemas` in the `docs/content/pages/` folder and copy all schemas to generate into it, make sure not to add this folder to git.
|
||||||
Production build automatically copies over schemas.
|
Production build automatically copies over schemas.
|
||||||
@ -39,5 +37,5 @@ pipenv run menagerie generate
|
|||||||
|
|
||||||
## Opening
|
## Opening
|
||||||
- Production: Go to the site
|
- Production: Go to the site
|
||||||
- Local: Open `out/index.html`
|
- Local: Go into `docs/out` in a new terminal window and run `py -m http.server 8080` and then connect to http://localhost:8080/
|
||||||
- PyCharm Development Server: Right click `out/index.html` -> Open In -> Browser -> Default
|
- PyCharm Development Server: Right click `out/index.html` -> Open In -> Browser -> Default
|
||||||
|
|||||||
@ -159,13 +159,11 @@ You can load your XML file to your planet by doing adding the following to your
|
|||||||
## Entry Layout
|
## Entry Layout
|
||||||
|
|
||||||
By default, entries in rumor mode are laid out by rows, where each row is one planet. This will not make for a perfect
|
By default, entries in rumor mode are laid out by rows, where each row is one planet. This will not make for a perfect
|
||||||
layout, so you can use the `entryPositions` property to change them
|
layout, so you can use the `entryPositions` property in your star system config to change them
|
||||||
For example, if I want to change an entry with the ID of `EXAMPLE_ENTRY` and another with the ID of `EXAMPLE_ENTRY_2`:
|
For example, if I want to change an entry with the ID of `EXAMPLE_ENTRY` and another with the ID of `EXAMPLE_ENTRY_2`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"ShipLog": {
|
|
||||||
"xmlFile": "planets/example.xml",
|
|
||||||
"entryPositions": [
|
"entryPositions": [
|
||||||
{
|
{
|
||||||
"id": "EXAMPLE_ENTRY",
|
"id": "EXAMPLE_ENTRY",
|
||||||
@ -182,10 +180,11 @@ For example, if I want to change an entry with the ID of `EXAMPLE_ENTRY` and ano
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To help with this, download the unity explorer mod and manually position entries, then simply use the dev tools to dump all the entries to a json string you can copy and paste into your config.
|
||||||
|
|
||||||

|

|
||||||
*A set of entries laid out with auto mode*
|
*A set of entries laid out with auto mode*
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user