GettingStarted: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
== General Stages ==
== General Stages ==


- Download the server files on the Downloads page at [https://gtaconnected.com gtaconnected.com].<br>
- Download the server files on the [https://gtaconnected.com/downloads Downloads] page.<br>
- Unzip/extract the server files to an empty folder.<br>
- Unzip/extract the server files to an empty folder.<br>
- Change settings in server.xml ([[ServerConfiguration|available settings]])<br>
- Change settings in server.xml ([[ServerConfiguration|available settings]])<br>
- Run the server executable. For Windows, this will be Server.exe for 32-bit and Server_x64.exe for 64-bit. For Linux, there are several options to do this, see the [[LinuxServer|linux server]] manual page.<br>
- Run the server executable. For Windows, this will be ''Server.exe''. For Linux, there are several options to do this, see the [[LinuxServer|linux server]] manual page.<br>


== Player Spawning and Camera Fading ==
== GTA IV (Rockstar Modes) ==
'''For the 3D universe games only (III, VC, SA)'''<br>
First, remove the freeroam resource that comes with the server, by deleting the freeroam folder in resources. Then remove the <code><resource src="freeroam" /></code> line in [[ServerConfiguration|server config]]. The server should launch normally now, and connecting will place you into a generic rendezvous lobby, which uses party mode. You and other players who connect can use the phone in-game to start and join sessions.
The default resource, called "freeroam", includes spawning the player and fading the camera. If you are not using this default resource, be sure to spawn the player and fade the camera using [[spawnPlayer|spawnPlayer]] and [[gta.fadeCamera|gta.fadeCamera]] in a logical event such as in the [[OnPlayerJoined|onPlayerJoined]] event.
 
== GTA III, VC, SA, and IV (Custom Modes/Scripted) ==
At the very minimum, you'll need to spawn the player and fade the camera using [[spawnPlayer|spawnPlayer]] and [[gta.fadeCamera|gta.fadeCamera]] in a logical event such as in the [[OnPlayerJoined|onPlayerJoined]] event. The default resource provided with the server, called "freeroam", includes spawning the player and fading the camera, but is designed for GTA 3 only.


== Manual ==
== Manual ==
Line 15: Line 17:


== Resources ==
== Resources ==
Check the [[Resources|resources]] page.
Check the [[Resources|resources]] page for information on how to use resources.

Latest revision as of 07:51, 20 April 2023

General Stages

- Download the server files on the Downloads page.
- Unzip/extract the server files to an empty folder.
- Change settings in server.xml (available settings)
- Run the server executable. For Windows, this will be Server.exe. For Linux, there are several options to do this, see the linux server manual page.

GTA IV (Rockstar Modes)

First, remove the freeroam resource that comes with the server, by deleting the freeroam folder in resources. Then remove the <resource src="freeroam" /> line in server config. The server should launch normally now, and connecting will place you into a generic rendezvous lobby, which uses party mode. You and other players who connect can use the phone in-game to start and join sessions.

GTA III, VC, SA, and IV (Custom Modes/Scripted)

At the very minimum, you'll need to spawn the player and fade the camera using spawnPlayer and gta.fadeCamera in a logical event such as in the onPlayerJoined event. The default resource provided with the server, called "freeroam", includes spawning the player and fading the camera, but is designed for GTA 3 only.

Manual

Check the Server Manual page.

Resources

Check the resources page for information on how to use resources.