Comments (1)
- There is a command line key
-$
, which allows to run a console command in the end of level loading. - There is
run_script
console command, which allows runsmain
function from the selected script file. - There is
run_string
console command, which allows to run a Lua string directly in the console.
You can use the first two like this:
xrEngine.exe -$ run_script myscriptfile
Since -$
runs the command only at the end of level loading, it makes sense to use -start
command line key, to tell the engine to load a level straightforward instead of showing main menu:
xrEngine.exe -start server(all/single/alife/new) client(localhost) -$ run_script myscriptfile
That will start singleplayer game as if you had pressed New game in the main menu.
all
is a spawn file name from gamedata/spawns
folder or just a level name from gamedata/levels
folder.
from xray-16.
Related Issues (20)
- Cannot use the letter Y in the name of a save file HOT 4
- Incorrect check for the relevance of level cache
- Build fails after commit HOT 3
- Game crashes during loading a game level HOT 1
- Game crashes due to "SOUND: Invalid emitter state" HOT 3
- Black line bug HOT 2
- AppVeyor linux builds HOT 1
- Fatal Error: SOUND: Invalid emitter state HOT 4
- ошибка HOT 2
- Выключается компьютер при загрузке сохранения
- Increase A-Life ID limit HOT 5
- Fatal Error. SOUND: Invalid emitter state HOT 1
- Multiple issues regarding the Fullscreen/ Windowed modes HOT 3
- The Stuttering HOT 2
- Build error on macOS arm64 HOT 9
- Third person animations can play erroneously if move state is updated while anim is playing HOT 1
- [macOS] Segfault on quit HOT 15
- Update pSettings logic so that pSettings is mutable HOT 1
- Game hangs on entering X8 HOT 2
- Regression: Crash on launch - SoundRender_Source.cpp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xray-16.