Add dev map (#14614)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
using Content.Shared.CCVar;
|
||||||
using Content.Shared.Chemistry.Reaction;
|
using Content.Shared.Chemistry.Reaction;
|
||||||
using Content.Shared.Chemistry.Reagent;
|
using Content.Shared.Chemistry.Reagent;
|
||||||
using Content.Shared.Humanoid.Markings;
|
using Content.Shared.Humanoid.Markings;
|
||||||
@@ -8,6 +9,7 @@ using Robust.Shared;
|
|||||||
using Robust.Shared.Configuration;
|
using Robust.Shared.Configuration;
|
||||||
using Robust.Shared.ContentPack;
|
using Robust.Shared.ContentPack;
|
||||||
using Robust.Shared.Map;
|
using Robust.Shared.Map;
|
||||||
|
using Robust.Shared.Network;
|
||||||
using Robust.Shared.Prototypes;
|
using Robust.Shared.Prototypes;
|
||||||
|
|
||||||
namespace Content.Shared.Entry
|
namespace Content.Shared.Entry
|
||||||
@@ -38,17 +40,6 @@ namespace Content.Shared.Entry
|
|||||||
|
|
||||||
InitTileDefinitions();
|
InitTileDefinitions();
|
||||||
IoCManager.Resolve<MarkingManager>().Initialize();
|
IoCManager.Resolve<MarkingManager>().Initialize();
|
||||||
|
|
||||||
var configMan = IoCManager.Resolve<IConfigurationManager>();
|
|
||||||
#if DEBUG
|
|
||||||
configMan.OverrideDefault(CVars.NetFakeLagMin, 0.075f);
|
|
||||||
configMan.OverrideDefault(CVars.NetFakeLoss, 0.005f);
|
|
||||||
configMan.OverrideDefault(CVars.NetFakeDuplicates, 0.005f);
|
|
||||||
|
|
||||||
// fake lag rand leads to messages arriving out of order. Sadly, networking is not robust enough, so for now
|
|
||||||
// just leaving this disabled.
|
|
||||||
// configMan.OverrideDefault(CVars.NetFakeLagRand, 0.01f);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void InitTileDefinitions()
|
private void InitTileDefinitions()
|
||||||
|
|||||||
@@ -8,3 +8,9 @@ enabled = false
|
|||||||
|
|
||||||
[shuttle]
|
[shuttle]
|
||||||
auto_call_time = 0
|
auto_call_time = 0
|
||||||
|
|
||||||
|
[net]
|
||||||
|
fakelagmin = 0.075
|
||||||
|
fakeloss = 0.005
|
||||||
|
fakeduplicates = 0.005
|
||||||
|
fakelagrand = 0.0 # Net code is not robust.
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
[game]
|
[game]
|
||||||
# Straight in-game baby
|
# Straight in-game baby
|
||||||
lobbyenabled = false
|
lobbyenabled = false
|
||||||
|
# Dev map for faster loading & convenience
|
||||||
|
map = "Dev"
|
||||||
|
|
||||||
[physics]
|
[physics]
|
||||||
# Makes mapping annoying
|
# Makes mapping annoying
|
||||||
|
|||||||
7239
Resources/Maps/Test/dev_map.yml
Normal file
7239
Resources/Maps/Test/dev_map.yml
Normal file
File diff suppressed because it is too large
Load Diff
14
Resources/Prototypes/Entities/Markers/Spawners/debug.yml
Normal file
14
Resources/Prototypes/Entities/Markers/Spawners/debug.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
- type: entity
|
||||||
|
name: Urist Spawner
|
||||||
|
id: SpawnMobHuman
|
||||||
|
parent: MarkerBase
|
||||||
|
suffix: DEBUG
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: green
|
||||||
|
- sprite: Mobs/Species/Human/parts.rsi
|
||||||
|
state: full
|
||||||
|
- type: ConditionalSpawner
|
||||||
|
prototypes:
|
||||||
|
- MobHuman
|
||||||
@@ -10,3 +10,16 @@
|
|||||||
- Passenger
|
- Passenger
|
||||||
availableJobs:
|
availableJobs:
|
||||||
Passenger: [ -1, -1 ]
|
Passenger: [ -1, -1 ]
|
||||||
|
|
||||||
|
- type: gameMap
|
||||||
|
id: Dev
|
||||||
|
mapName: Dev
|
||||||
|
mapPath: /Maps/Test/dev_map.yml
|
||||||
|
minPlayers: 0
|
||||||
|
stations:
|
||||||
|
Dev:
|
||||||
|
mapNameTemplate: "Dev"
|
||||||
|
overflowJobs:
|
||||||
|
- Captain
|
||||||
|
availableJobs:
|
||||||
|
Captain: [ -1, -1 ]
|
||||||
Reference in New Issue
Block a user