AI Shunting

General discussion about Rail Simulator that doesn't really fit in to any specific category. A good place to start if you're not sure what category it should fit in to as well.

Moderator: Moderators

User avatar
peterdore
Well Established Forum Member
Posts: 987
Joined: Sun Feb 10, 2002 12:00 am
Location: Worthing, West Sussex, UK

AI Shunting

Post by peterdore »

Not sure if this subject has been covered or not....

I have tried to get an AI loco to shunt from one siding to another then attach wagons and move them to another siding.
I used the Consist Operations Instructions, seemed to work but then whack thud! wagons on olde England.

Is this not posssible yet given that the commands are part of the Dev tools?

Pete Doré
Remember Lock and Block
----------------------------------
CaptScarlet
Very Active Forum Member
Posts: 3673
Joined: Fri Nov 17, 2006 11:29 am
Location: The Netherlands

Re: AI Shunting

Post by CaptScarlet »

Unfortunately not at the moment.

John
User avatar
TheTazman
Very Active Forum Member
Posts: 4886
Joined: Thu Dec 25, 2003 4:55 pm
Location: Wales

Re: AI Shunting

Post by TheTazman »

I think this would be very cool. But I am not sure if its dooable in RS.
A computer that's more than adequate to run TS
User avatar
jamespetts
Well Established Forum Member
Posts: 857
Joined: Thu May 20, 2004 1:07 pm
Location: UK
Contact:

Re: AI Shunting

Post by jamespetts »

AI consist operations are definitely not possible. There is no official word on when or whether they ever will be, even though it is apparent that it was originally designed to be possible.
James E. Petts
User avatar
AndiS
Very Active Forum Member
Posts: 6207
Joined: Fri Sep 23, 2005 4:43 pm
Location: Jester's cell in ivory tower
Contact:

Re: AI Shunting

Post by AndiS »

With the new freedom in jumping around, with the trains going on as AI as you leave then, you should have the option to just take control for the short phase before the coupling. Not ideal, and certainly not an option for background activity while you pass the station driving another train, but maybe worth an experiment in some cases.
User avatar
jamespetts
Well Established Forum Member
Posts: 857
Joined: Thu May 20, 2004 1:07 pm
Location: UK
Contact:

Re: AI Shunting

Post by jamespetts »

AndiS wrote:With the new freedom in jumping around, with the trains going on as AI as you leave then, you should have the option to just take control for the short phase before the coupling. Not ideal, and certainly not an option for background activity while you pass the station driving another train, but maybe worth an experiment in some cases.
This isn't new: this has always been possible.
James E. Petts
User avatar
AndiS
Very Active Forum Member
Posts: 6207
Joined: Fri Sep 23, 2005 4:43 pm
Location: Jester's cell in ivory tower
Contact:

Re: AI Shunting

Post by AndiS »

I might get confused, but there must be something that this -allowJump option allows that is not allowed otherwise. Of course, you are technically right, it was always possible, we just did not know the option existed.
User avatar
jamespetts
Well Established Forum Member
Posts: 857
Joined: Thu May 20, 2004 1:07 pm
Location: UK
Contact:

Re: AI Shunting

Post by jamespetts »

AndiS wrote:I might get confused, but there must be something that this -allowJump option allows that is not allowed otherwise. Of course, you are technically right, it was always possible, we just did not know the option existed.
I did.
James E. Petts
User avatar
phat2003uk
SWTVR Assistant Manager
Posts: 7452
Joined: Thu Aug 08, 2002 5:52 pm

Re: AI Shunting

Post by phat2003uk »

Is there list of various commands that can be put in the shortcut to allow/enable certain things?
User avatar
jamespetts
Well Established Forum Member
Posts: 857
Joined: Thu May 20, 2004 1:07 pm
Location: UK
Contact:

Re: AI Shunting

Post by jamespetts »

phat2003uk wrote:Is there list of various commands that can be put in the shortcut to allow/enable certain things?
It always worked, even without the shortcut.
James E. Petts
User avatar
AndiS
Very Active Forum Member
Posts: 6207
Joined: Fri Sep 23, 2005 4:43 pm
Location: Jester's cell in ivory tower
Contact:

Re: AI Shunting

Post by AndiS »

So you are saying that -allowJump does nothing?
t1metraveller
Getting the hang of things now
Posts: 35
Joined: Wed Feb 27, 2008 8:49 pm

Re: AI Shunting

Post by t1metraveller »

You have always been able to jump trains in free-roam, but not in scenarios. At least I've not been able to do so on the route I work with, Cajon.

-allowJump allows this now in scenarios.

Bill
User avatar
AndiS
Very Active Forum Member
Posts: 6207
Joined: Fri Sep 23, 2005 4:43 pm
Location: Jester's cell in ivory tower
Contact:

Re: AI Shunting

Post by AndiS »

That's the way I remembered it, but it is quite a while that I touched the scenario editor, so I was not at all sure (I have reason not to trust my memory :crazyeyes: ).
User avatar
jamespetts
Well Established Forum Member
Posts: 857
Joined: Thu May 20, 2004 1:07 pm
Location: UK
Contact:

Re: AI Shunting

Post by jamespetts »

I have never tried -allowjump, but jumping has always been possible in free roam and timetabled scenarios. It is not possible in standard scenarios - perhaps "-allowjump" makes it possible in standard scenarios, too.
James E. Petts
t1metraveller
Getting the hang of things now
Posts: 35
Joined: Wed Feb 27, 2008 8:49 pm

Re: AI Shunting

Post by t1metraveller »

Okay boys, maybe I'm sticking my neck out here, but here goes.

This is what I have found in terms of command line code possibilities using a hex editor and looking through the game files since the MK2 update.

KRS Command Line Codes
------------------------------------
All codes below have been gathered with a hex editor.

Codes are defined in the file GameManager.rsp, found in the \plugins folder.

NOTE: Some may not be valid now or even work, but these codes do exist in GameManager.rsp.

NOTE: Only a few of those shown below have been checked.

NOTE: A few from this first set may instead be LogMate codes.

-fs ....Game uses smaller fonts for certain narrative text and menus
-allowJump ....Allows jumping AI trains in scenarios
-ShowDriverList ....Adds a 'Driver' button inside the Driver Properties window (MK2?)
-ShowControlStateDialog ....Expanded HUD
-nvperfhud ....Create NVIDIA performance HUD (not confirmed)
-NoSplashScreens ....Disable intro splash screens
-ShowSoundDeviceSelector ....Allows choice of system sound device
-DisableSignals
-ShowTrackLinks
-Show3DPaths
-DisableDump
-DontUseBlueprintCache ....Possibly rebuilds blueprint .pak's each time???
-UseFastBlueprintCache
-DontBakeDistances
-SaveDistances
-DisableAWS
-ShowAudioConsists
-VerboseAudioDebug
-ForceSWMix
-EnableSoundDebugDialogs
-DisableEAX
-EnableEAX
-UseSoundDevice
-EnableSound
-DisableSound
-DisplayLocMe
-LeipzigDemo
-ShowDestinationMarkerList
-enable-backups
-enable-perforce
-EnableFullEditor
-NASKU
-Language
-updateRVNumbers
-IgnoreCoupling
-ManualCoupling
-generateDetailLevels
-blocking
-UseStreamCache
-UseFastStreamCache
-NoClearType
-ConvertDistanceData
-FilterForDirectionality
-FilterForManualJcts
-QuickStartStream
-NoWagonBraking
-EndTrackCheck
-TakeADump
-relaunchmce
-oogbb_noh ????
-FlashStrings
-SetDefaultButtonSound
-TrackPatternEntityFixup
-ignoreTrackTypes
-BlockingPhysics
-NoPlayerTrain
-followaitrain



LogMate Stuff
------------------------------------
-LogMate
-SetLogFilters
-RemoveLogFilters

Other LogMate Codes?
------------------------------------
-ValidateSignals (confirmed)
-WhereIs
-UnitTestPathing
-show-time-of-day
-show-lat-long-position

Some or all of these below may be usable parameters (filters) for LogMate. I have only tried "Script Manager" for use in analysing signals.

Known Examples:

-LogMate -SetLogFilters="Pathing"
-LogMate -SetLogFilters="Script Manager" -lua-debug-messages
-LogMate -SetLogFilters="Script Manager,Signals,Pathing" -lua-debug-messages

UnitTests
GhostAI
Signals
Shutdown
Update
Initialise
Camera
Physics
Pathing
Platforms
Streaming
Sound
Windows Manager
Driver Manager
Scenario Manager
Route Manager
Script Manager
Data Management
Rail Vehicle Manager
Track Manager
Scheduler
Input
Engine
Components
Singleton
Game Manager
Core
Locked

Return to “[RS] General RS Discussion”