S&box Wiki
Home
/
Edit Running Multiple Instances of the Game
View
Edit
History
No Category
Developer Overview
The Project System
Publishing To Asset Party
Getting Started With Hammer
Mapping Basics
Mapping Entities
Advanced Mapping Techniques
Getting Started with Modeldoc
Animgraph & Animation
Physics
Modeldoc Nodes
Advanced Modelling
UI Basics
Styles & Stylesheets
Razor Templates
Game Menus
Materials
Built In Shaders
Shaders
Shader Reference
Sounds & Audio
Particles
Getting Started
Learning C#
Making Games
Players
Entities
The Scene System
Physics
Rendering
Camera
Networking
Input
VR
Editor & Tools
Misc
Playing Guides
Console Commands & Variables
Dedicated Server
Preview
Log in to edit
Running Multiple Instances of the Game
<cat>Play.Intro</cat> <title>Running Multiple Instances of the Game</title> # Running Multiple Instances of the Game You can run multiple instances of the game to test multiplayer features without the need for other users. - To do this, **both** instances of s&box need to run `sv_lan 1` **before** any games are started. - Next, the hosting client should start up a local game. - Then, simply type `connect localhost` in the console (press F1 for console in non-tools mode) of your non-hosting client to connect. # Things to Note - Your client will be the same in all instances (name, player id, etc). - You will have to download your game from yourself, which can take time. - If you'd like to run two copies of the s&box game editor, you will need to use the `-multiple_tools_instances` [launch argument](launchargs).
S&box Wiki
Development
Developer Overview
6
Editor Overview
General FAQ
System Requirements
The s&box wiki
Troubleshooting
Useful Links
The Project System
4
Adding Assets
Creating a Game Project
Project Settings Window - Games
Project Types
Publishing To Asset Party
2
Uploading assets
Uploading projects
Hammer
Getting Started With Hammer
3
Creating your first gm_flatgrass
Getting Started With Hammer
Mapping Resources
Mapping Basics
2
Setting Up A Navigation Mesh
Tools Visualisation Modes
Mapping Entities
2
Creating a Door
Light Entities
Advanced Mapping Techniques
6
Collaborating With Prefabs and Git
Instances
Prefabs
Quixel Bridge Plugin
Tilesets
VIS Optimizations
Models & Animation
Getting Started with Modeldoc
7
Automatic Model Setup
Breakpieces
Creating a Model
Guide to Models
Importing Rust Weapons
LODs
ModelDoc FAQ & best practices
Animgraph & Animation
3
Animations without Animgraph
AnimEvents, AnimGraph Tags, Attachments
Animgraph
Physics
3
Cloth Physics
Collisions, Physics & Surface Types
Jiggle Bones
Modeldoc Nodes
1
Custom ModelDoc nodes
Advanced Modelling
6
Bodygroups
Citizen
First Person
IKChains and Stride Retargeting
Morphs
Vertex Normals
User Interface
UI Basics
7
Custom Fonts
Embedding Websites
Enabling Pointer Events
Events and Input
Localization
UI Basics
World UI
Styles & Stylesheets
2
Custom Style Properties
Supported Style Properties
Razor Templates
3
A Razor Overview
Generic Components
Templates
Game Menus
4
Creating A Game Menu
Loading Screens
Menu Music
Using Lobbies
Materials & Shaders
Materials
5
Guide to Materials
Material Attributes
Material Resources
Texture Settings
Using Dynamic Expressions
Built In Shaders
2
Foliage Shader
Glass Shader
Shaders
4
Compute Shaders
Constant Buffers
Material API
Shading Model
Shader Reference
4
Anatomy of Shader Files
Shader Reference
Shader States
Texture Format Cheat-Sheet
Other Assets
Sounds & Audio
3
Guide to Sounds
Sound Events
Soundscapes
Particles
5
Creating animated sprites
Creating your first particle effect
Understanding Particle Editor
Using custom sprites
Using particle systems from C#
Coding
Getting Started
7
Cheat Sheet
Debugging
Overview
Setting up Rider
Setting up Visual Studio
Setting up Visual Studio Code
The Game Loop
Learning C#
1
Learning Resources
Making Games
1
Making a Simple AI
Players
5
Bots
Clothing
Pawn
Pawn Input
Voice
Entities
7
Entities
Entity Components
Entity Prefabs
Entity Tags
Map Placeable Entities
RenderEntity
Usable Entities
The Scene System
1
The Scene System
Physics
3
Custom Physics on a ModelEntity
Hitboxes
Traces
Rendering
2
Render Tags
RenderHooks
Camera
1
Camera
Networking
10
Auth Tokens
Commands
Http Requests
Lag Compensation
Network Callbacks
Networked Types
Networking Basics
Prediction
RPCs
Websockets
Input
4
ConVars
Input Glyphs
Input System
Speech Recognition
VR
2
VR Input
VR Overlays
Editor & Tools
5
Creating a Tool
Custom Asset Types
Hammer API
Hammer Gizmos
Hotload Performance
Misc
15
Backend API
ClientData ConVars
Cloud Assets in code
Code Accesslist
CPU Performance Profiling
Creating a runtime addon
DisplayInfo
Event System
FileSystem
Mounting assets at runtime
package/find
Precaching
Saved Games
Threaded Tasks
TypeLibrary
Playing
Playing Guides
4
Default Keybinds
Proton
Running Multiple Instances of the Game
s&box on macOS (Experimental)
Console Commands & Variables
1
Launch Arguments
Dedicated Server
1
Dedicated Servers