Public Train
A train that anyone can drive, some tracks allowing other tribes to connect to, and some chat commands.
Latest News
Version 22 has been released!
- Fixed
TracksDontRequireFoundations
feature on dedicated servers. - Fixed "pickup Public Train Track" picking up the entire railway when
TracksDontRequireFoundations
feature is enabled (instead of picking up only tracks without foundations).
Title | News |
---|---|
Version 20 has been released! |
|
Version 19 has been released! |
|
Description
This mod adds new engrams for the train engine and tracks. You need to own Bob's Tall Tales in order to craft or unlock the engrams.
This mod also adds some chat commands to convert Public Train Engines/Tracks into regular train engines/tracks (and opposite).
This mod is made for dedicated servers (some features might not work in singleplayer or player-server modes). It is made for ArkIsBack servers, but anyone can use it on their own server.
Public Train Engine
The Public Train Engine is like the regular train engine except that:
- it has options to define who can drive it (tribe/allies/anyone).
- it has options to define who can access its inventory (tribe/anyone).
- it has a light (with an ON/OFF toggle).
- it has multiple speed options.
By default:
- every tribes can drive it.
- every tribes can access its inventory (if
AllowAccessInventory=
has been enabled in Configuration). - light toggle and speed change are disabled.
Public Train Track
The Public Train Track is like the regular train track except that:
- it has an option to acquire it temporarily (this gives you some time to place your own train or connect your own tracks to it).
- it has options to define who can acquire it (tribe/allies/anyone).
- it can be configured by server to not require foundations.
By default:
- every tribes can acquire it.
- it requires foundations (like the regular train track).
It is recommended that you use Public Train Track only at the ends of your railway (so that if you wish to remove the mod, you'll only have to redo the connections between the different tribes).
On PvP servers, 3 consecutive Public Train Track are required at the end of your railway for non-allied tribes to be able to connect to it (otherwise the game will say to them that an enemy foundation is too close when they attempt to connect their own tracks).
On PvE servers, only 1 Public Train Track is required at the end of your railway for non-allied tribes to be able to connect to it.
Additional train controls
Control key (PC, Xbox, PS, Switch) | Explanation |
---|---|
Jump (Space, , , ) |
Toggles train light ON/OFF. |
Run (⇧ Shift, , , ) |
Increases train's speed (has no effect if the train is stopped). |
Crouch (C, , , ) |
Decreases train's speed (has no effect if the train is stopped). |
Other inventory (F, , , ) |
Opens train's inventory. |
Note: Added in v10.
Configuration
Start by adding a [PublicTrainAIB]
section in your server's GameUserSettings.ini file, then you can setup the following options under it:
Option | Possible values | Default value | Explanations | Category | Since version |
---|---|---|---|---|---|
AllowAccessInventory= | true or false |
false |
If set to true , players will be able to choose who can access their Public Train Engine's inventory. If set to false , only the owning tribe will be able to access Public Train Engine's inventory. |
Train | Changed in v18 |
AllowOnlyAllies= | true or false |
false |
Defines which options are available to players when they choose who can drive their Public Train Engine and who can acquire their Public Train Tracks. If set to true , players will be able to choose "Anyone", "Allies", or "Tribe". If set to false , players will only be able to choose "Anyone" or "Tribe". |
Train | v18 |
AllowConvertTrain= | true or false |
false |
If set to true , players will be allowed to use the /converttrain chat command. |
Train | v15 |
AllowConvertTrack= | true or false |
false |
If set to true , players will be allowed to use the /converttrack chat command. |
Train | v18 |
AllowToggleLight= | true or false |
false |
If set to true , players will be allowed to toggle Public Train Engine's light (with Reload key). |
Train | v10 |
AllowChangeSpeed= | true or false |
false |
If set to true , players will be allowed to change Public Train Engine's speed (Jump key to accelerate, Crouch key to decelerate). |
Train | v10 |
SpeedFactorMin= | A floating point number greater than 0 | 1.5 |
Defines the minimum speed factor applied to the Public Train Engine when player increases train speed. | Train | v10 |
SpeedFactorMax= | A floating point number greater than 0 | 3.0 |
Defines the maximum speed factor applied to the Public Train Engine when player increases train speed. | Train | v10 |
AcquiredTrainTrackDuration= | A number greater than 4 (integer) |
60 |
Defines the amount of time (in seconds) during which the train track will be acquired. | Railway | v7 |
TracksDontRequireFoundations= | true or false |
false |
If set to true , Public Train Tracks will not require foundation supports anymore. |
Railway | v19 |
EnableLogging= | true or false |
false |
If set to true , the mod will output various info (like chat commands being used and train tracks being merged) in server's log file. |
Other | v7 |
Note: The old options AllowAlliesOnly=
, AllowAdminSetTrainTribeInfo=
, AllowAdminSetTracksRank=
, AllowAdminMergeTrainTracks=
and AllowAdminPreventAutoDestroy=
have been removed in v18!
Recommended configuration
This is the recommended configuration for minimum admin efforts:
[PublicTrainAIB] |
Commands
Chat commands
Chat command | Explanations | Since version |
---|---|---|
/converttrain |
This will convert the first Public Train Engine or regular train engine found in your inventory into a regular train engine or Public Train Engine respectively. | v15 |
/converttrack |
This will convert the first Public Train Track or regular train track found in your inventory into a regular train track or Public Train Track respectively. | v18 |
Notes:
- When you use a chat command there is a 5 seconds wait time before you can use a chat command again.
- Only players belonging to a tribe can use chat commands.
- If chat commands are not working, try to respawn your character (suicide or hover over the inventory implant for 5 seconds and click on "Respawn").
- These commands are case-sensitive.
RCON command
RCON command | Explanations |
---|---|
ScriptCommand PublicTrain_ServerWillShutdown |
Graceful shutdown of Public Train mod's features. Using this RCON command is not mandatory, but using it before a server shutdown/restart is recommended if you do not display an in-game message "Server will shutdown in X seconds". It disables chat commands, disables acquiring train tracks, restores train tracks ownerships immediately (skips the AcquiredTrainTrackDuration= timer), and returns players to their origin tribes (those who joined the Public Railway Tribe with the chat command). This ensures that every train track returns to their owner and that every players return to their own tribe (in case someone acquires a train track or joins the Public Railway Tribe few seconds before server shutdowns/restarts).
|
Notes:
- Admins can also run this command from the console (
cheat ScriptCommand PublicTrain_ServerWillShutdown
). - This command is case-sensitive.
Spawn commands
cheat giveitem "Blueprint'/ArkIsBack_Train/Dinos/PrimalItem_TrainEngineAIB.PrimalItem_TrainEngineAIB'" 1 0 0
cheat giveitem "Blueprint'/ArkIsBack_Train/Structures/TrainTracks/Auto/Wood/PrimalItemStructure_TrainTrack_Auto_Wood_AIB.PrimalItemStructure_TrainTrack_Auto_Wood_AIB'" 1 0 0
Other info
Engram entries
Blueprint'/ArkIsBack_Train/Dinos/EngramEntry_Frontier_Train_CarAIB.EngramEntry_Frontier_Train_CarAIB'
Blueprint'/ArkIsBack_Train/Structures/EngramEntry_Frontier_Train_TracksAuto_AIB.EngramEntry_Frontier_Train_TracksAuto_AIB'
Old method (still functional)
Older versions of this mod allowed to acquire train tracks using chat commands. This is no longer needed in latest version, as the mod now provides a new engram for train tracks. The Old configuration options, Old chat commands, and Old RCON commands are still available and functional in case you prefer the old way of acquiring train tracks. You can find the documentation related to the old method here: Mod talk: Public Train
Troubleshoot
If you face any problem, like engram missing, chat commands not working, Public Train Engine or Public Train Track not behaving correctly, and so on, it might be because your character has a hidden buff from a previous version of the mod, or because the engine/track is from an older version of the mod. To fix it simply try to respawn your character (suicide, or hover over the inventory implant for 5 seconds and click on "Respawn"), or pickup the Public Train Engine/Public Train Track and place it back. It should fix the issue. If it still doesn't work try to restart your game. As a last resort reinstall the mod then restart game (this will ensure that you have the latest version of the mod correctly installed and loaded).
If you are not able to solve the problem with the above solutions please submit a bug report, either on the Discord server or in the comment section of the mod on CurseForge. Thank you.
Screenshots
Changelogs
Version | Changelogs |
---|---|
v22 | Current version.
|
v20 |
|
v19 |
|
Version | Changelogs |
---|---|
v18 |
|
v15 |
|
v14 |
|
v12 |
|
v10 |
|
v8 |
|
v7 |
|
v3 |
|
v2 |
|
v1 |
|
Contact
Join Discord for more info, bug reports, or if you have suggestions: https://discord.gg/PtAbeUdWX8