Changing the "StartCellX" and "StartCellY" parameters in the settings.ini doesn't work
-
- Posts: 149
- Joined: Wed Aug 14, 2019 11:32 am
- Location: Russia
Changing the "StartCellX" and "StartCellY" parameters in the settings.ini doesn't work
.
Last edited by yabay on Wed Sep 01, 2021 1:22 pm, edited 1 time in total.
- Kab the Bird Ranger
- Posts: 123
- Joined: Tue Feb 23, 2021 12:30 am
Re: Changing the "StartCellX" and "StartCellY" parameters in the settings.ini doesn't work
From a quick look at the code, this option only works if the specified cell has a location (ie: a pixel on the travel map). If you ask for "start in dungeon", it must have a dungeon
If it still doesn't work for you, give an example of values which 1) have a location 2) reproduce the issue
If it still doesn't work for you, give an example of values which 1) have a location 2) reproduce the issue
-
- Posts: 149
- Joined: Wed Aug 14, 2019 11:32 am
- Location: Russia
Re: Changing the "StartCellX" and "StartCellY" parameters in the settings.ini doesn't work
.
Last edited by yabay on Wed Sep 01, 2021 1:22 pm, edited 1 time in total.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Changing the "StartCellX" and "StartCellY" parameters in the settings.ini doesn't work
I've found the issue here. There's a missing TeleportToCoordinates() for conditional where player should spawn to exterior of world (i.e. no dungeon is present or StartInDungeon is false).
I've added a fix for 0.11.5 that allows player to start in any exterior world cell within bounds. If StartInDungeon is false or the cell contains no dungeon, then player will be plonked into overland at origin of that cell.
Note that origin of world cells are bottom-left (i.e. south-west) corner of cell. This means player could land in ocean or border between climates. If there's a location in this cell, it will necessary to travel north-east across block to find location.
I've added a fix for 0.11.5 that allows player to start in any exterior world cell within bounds. If StartInDungeon is false or the cell contains no dungeon, then player will be plonked into overland at origin of that cell.
Note that origin of world cells are bottom-left (i.e. south-west) corner of cell. This means player could land in ocean or border between climates. If there's a location in this cell, it will necessary to travel north-east across block to find location.