|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
34 void log(
const string message);
40 void print(
const string message);
579 enum ActorModifyRequestType
enum Script2Game::inputEvents KC_SUBTRACT
@ MODCACHEACTIVITY_BUNDLE_UNLOADED
Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number.
@ EV_COMMON_REPAIR_TRUCK
repair truck to original condition
enum Script2Game::inputEvents KC_4
enum Script2Game::inputEvents KC_NUMPAD1
@ EV_CHARACTER_FORWARD
step forward with the character
@ EV_COMMANDS_62
Command 62.
@ EV_AIRPLANE_REVERSE
reverse the turboprops
@ EV_TRUCK_SHIFT_GEAR02
shift directly into this gear
@ EV_BOAT_THROTTLE_UP
increase throttle
@ EV_GRASS_MOST
EXPERIMENTAL: set maximum amount of grass.
@ EV_COMMON_NETCHATDISPLAY
@ SCRIPT_CATEGORY_TERRAIN
Defined in terrn2 file under '[Scripts]', receives terrain eventbox notifications.
void log(const string message)
This is an alias for game.log(string message).
@ EV_AIRPLANE_FLAPS_LESS
one step less flaps.
@ EV_COMMANDS_40
Command 40.
@ EV_BOAT_STEER_RIGHT_AXIS
steer right (analog value!)
@ EV_COMMANDS_09
Command 9.
@ EV_COMMON_FOV_RESET
reset the FOV value
enum Script2Game::inputEvents KC_INSERT
enum Script2Game::inputEvents KC_1
@ EV_COMMANDS_55
Command 55.
@ EV_COMMANDS_27
Command 27.
@ EV_TRUCK_LIGHTTOGGLE08
toggle custom light 8
@ EV_TRUCK_ACCELERATE
accelerate the truck
@ EV_COMMON_TOGGLE_TRUCK_BEACONS
toggle truck beacons
@ SE_TRUCK_ENGINE_FIRE
triggered when the planes engines start to get on fire, the argument refers to the actor ID of the ve...
@ EV_TRUCK_TOGGLE_IMPORTCOMMANDS
toggle importcommands
enum Script2Game::inputEvents KC_HOME
enum Script2Game::inputEvents KC_LBRACKET
@ SE_ANGELSCRIPT_MANIPULATIONS
triggered when the user tries to dynamically use the scripting capabilities (prevent cheating) args: ...
enum Script2Game::inputEvents KC_PAUSE
@ EV_COMMON_CYCLE_DEBUG_VIEWS
cycle debug view mode
@ EV_COMMANDS_02
Command 2.
enum Script2Game::inputEvents KC_NUMPAD7
@ MSG_GUI_OPEN_MENU_REQUESTED
@ EV_CAMERA_ZOOM_IN_FAST
zoom camera in faster
@ SE_GENERIC_TRUCK_LINKING_CHANGED
Triggered when 2 actors become linked or unlinked via ties/hooks/ropes/slidenodes; args: #1 state (1=...
enum Script2Game::inputEvents KC_RCTRL
@ MSG_NET_REFRESH_SERVERLIST_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
@ EV_CHARACTER_LEFT
rotate character left
@ MSG_EDI_RELOAD_BUNDLE_REQUESTED
This deletes all actors using that bundle (= ZIP or directory)! Params: 'cache_entry' (CacheEntryClas...
@ EV_COMMON_AUTOLOCK
unlock autolock hook node
@ EV_CAMERA_LOOKBACK
look back (toggles between normal and lookback)
@ EV_AIRPLANE_STEER_LEFT
steer left
enum Script2Game::inputEvents KC_NUMPAD4
@ EV_COMMANDS_34
Command 34.
@ MSG_APP_MODCACHE_LOAD_REQUESTED
Internal for game startup, DO NOT PUSH MANUALLY.
@ EV_COMMANDS_60
Command 50.
@ EV_COMMON_PRESSURE_LESS
decrease tire pressure (note: only very few trucks support this)
@ EV_TRUCK_ACCELERATE_MODIFIER_25
accelerate with 25 percent pedal input
enum Script2Game::inputEvents KC_PGDOWN
@ EV_BOAT_STEER_RIGHT
steer right a step
@ EV_CAMERA_FREE_MODE_FIX
enum Script2Game::inputEvents KC_MINUS
@ EV_CAMERA_ROTATE_UP
rotate camera up
@ ASTHREADSTATUS_CURLSTRING_SUCCESS
Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 HTTP code, arg#3 CURLcode,...
@ MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED
No params.
@ EV_COMMON_RESPAWN_LAST_TRUCK
respawn last truck
@ EV_COMMANDS_49
Command 49.
@ EV_TRUCK_LIGHTTOGGLE02
toggle custom light 2
@ EV_COMMANDS_42
Command 42.
@ EV_COMMON_TOGGLE_PHYSICS
toggle physics on/off
@ MSG_APP_SHUTDOWN_REQUESTED
Immediate application shutdown. No params.
@ EV_COMMANDS_29
Command 29.
@ EV_TRUCK_SHIFT_GEAR08
shift directly into this gear
@ EV_AIRPLANE_THROTTLE_NO
no thrust
@ EV_MENU_SELECT
select focussed item and close menu
enum Script2Game::inputEvents KC_DELETE
@ EV_TRUCK_SHIFT_GEAR17
shift directly into this gear
enum Script2Game::inputEvents KC_NUMPAD9
enum Script2Game::inputEvents KC_6
@ ASMANIP_CONSOLE_SNIPPET_EXECUTED
@ MSG_SIM_LOAD_SAVEGAME_REQUESTED
Request loading saved game. Param 'filename' (string)
@ EV_COMMON_RESET_TRUCK
reset truck to original starting position
@ EV_CAMERA_ZOOM_OUT
zoom camera out
@ EV_GRASS_LESS
EXPERIMENTAL: remove some grass.
@ MSG_GUI_CLOSE_MENU_REQUESTED
enum Script2Game::inputEvents KC_PGUP
@ SE_ANGELSCRIPT_LINECALLBACK
The diagnostic info directly from AngelScript engine (see SetLineCallback()), args: #1 ScriptUnitID,...
@ EV_BOAT_STEER_LEFT_AXIS
steer left (analog value!)
@ MSG_APP_MODCACHE_UPDATE_REQUESTED
Rescan installed mods and update cache. No params.
@ EV_COMMANDS_48
Command 48.
enum Script2Game::inputEvents TT_AIRPLANE
@ MSG_NET_DISCONNECT_REQUESTED
Request disconnect from multiplayer. No params.
enum Script2Game::inputEvents KC_GRAVE
angelScriptManipulationType
Argument #2 of script event SE_ANGELSCRIPT_MANIPULATIONS
@ SE_GENERIC_MESSAGEBOX_CLICK
triggered when the user clicks on a message box button, the argument refers to the button pressed
@ EV_AIRPLANE_PARKING_BRAKE
airplane parking brake.
enum Script2Game::inputEvents KC_F10
@ EV_TRUCK_SHIFT_DOWN
shift one gear down in manual transmission mode
@ EV_BOAT_THROTTLE_DOWN
decrease throttle
@ MSG_GUI_DOWNLOAD_PROGRESS
Background task notification, DO NOT PUSH MANUALLY.
@ EV_TRUCK_SHIFT_GEAR11
shift directly into this gear
@ EV_COMMON_RESET_SIMULATION_PACE
reset the simulation speed
@ EV_CHARACTER_RUN
let the character run
@ EV_COMMON_GET_NEW_VEHICLE
get new vehicle
@ MSG_NET_FETCH_AI_PRESETS_FAILURE
Background task notification, DO NOT PUSH MANUALLY.
@ EV_COMMANDS_22
Command 22.
@ EV_COMMON_ROPELOCK
connect hook node to a node in close proximity
@ EV_TRUCK_STEER_RIGHT
steer right
@ EV_COMMANDS_07
Command 7.
@ EV_COMMON_SECURE_LOAD
tie a load to the truck
@ MSG_SIM_SCRIPT_EVENT_TRIGGERED
Internal notification about triggering a script event, DO NOT PUSH MANUALLY.
@ SCRIPT_CATEGORY_ACTOR
Defined in truck file under 'scripts', contains global variable BeamClass@ thisActor.
@ EV_COMMANDS_30
Command 30.
enum Script2Game::inputEvents KC_F8
@ EV_CHARACTER_BACKWARDS
step backwards with the character
enum Script2Game::inputEvents KC_RALT
@ EV_COMMANDS_26
Command 26.
@ MSG_APP_LOAD_SCRIPT_REQUESTED
Request loading a script from resource(file) or memory; Params 'filename' (string)/'buffer'(string - ...
enum Script2Game::inputEvents KC_RETURN
@ EV_COMMON_REMOVE_CURRENT_TRUCK
remove current truck
@ EV_COMMANDS_05
Command 5.
@ EV_COMMANDS_70
Command 70.
enum Script2Game::inputEvents KC_EQUALS
@ EV_COMMANDS_31
Command 31.
@ EV_TRUCK_MANUAL_CLUTCH
manual clutch (for manual transmission)
@ EV_COMMANDS_80
Command 80.
enum Script2Game::inputEvents TS_NETWORKED
controlled by network data
@ MSG_SIM_DELETE_ACTOR_REQUESTED
Request actor removal. Params: 'instance_id' (int)
@ SE_TRUCK_MOUSE_GRAB
triggered when the user uses the mouse to interact with the actor, the argument refers to the actor I...
@ EV_TRUCK_LIGHTTOGGLE05
toggle custom light 5
@ EV_COMMANDS_50
Command 50.
@ EV_TRUCK_BLINK_RIGHT
toggle right direction indicator (blinker)
enum Script2Game::inputEvents KC_LCTRL
enum Script2Game::inputEvents KC_RIGHT
@ EV_TRUCK_ANTILOCK_BRAKE
toggle antilockbrake system
@ EV_TRUCK_CRUISE_CONTROL_READJUST
match target speed / rpm with current truck speed / rpm
@ EV_COMMON_HIDE_GUI
hide all GUI elements
@ SE_GENERIC_MODCACHE_ACTIVITY
Triggered when status of modcache changes, args: #1 type, #2 entry number, for other args see RoR::mo...
@ EV_GRASS_SAVE
EXPERIMENTAL: save changes to the grass density image.
@ MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
Use game.showMessageBox() instead.
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RESTORE_SAVED
Internal, DO NOT USE.
enum Script2Game::inputEvents KC_ESCAPE
@ MSG_NET_SERVER_KICK
Networking notification, DO NOT PUSH MANUALLY.
@ SE_GENERIC_NEW_TRUCK
triggered when the user spawns a new actor, the argument refers to the actor ID
@ MODCACHEACTIVITY_ENTRY_DELETED
Flagged as deleted, remains in memory until shared pointers expire; Args of RoR::SE_GENERIC_MODCACHE_...
@ EV_COMMON_RESCUE_TRUCK
teleport to rescue truck
@ EV_COMMON_TOGGLE_REPLAY_MODE
toggle replay mode
@ EV_MENU_UP
select previous element in current category
@ EV_COMMON_TOGGLE_TERRAIN_EDITOR
toggle terrain editor
@ EV_TRUCK_SHIFT_GEAR13
shift directly into this gear
@ MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED
No params.
@ EV_CHARACTER_RIGHT
rotate character right
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
@ EV_COMMANDS_79
Command 79.
@ FLARE_TYPE_REVERSE_LIGHT
@ MSG_EDI_UNLOAD_BUNDLE_REQUESTED
This deletes all actors using that bundle (= ZIP or directory)! Params: 'cache_entry' (CacheEntryClas...
@ EV_TRUCK_LIGHTTOGGLE01
toggle custom light 1
@ EV_COMMANDS_20
Command 20.
@ EV_TRUCK_SWITCH_SHIFT_MODES
toggle between transmission modes
enum Script2Game::inputEvents KC_SLASH
@ EV_TRUCK_SHIFT_GEAR07
shift directly into this gear
@ EV_COMMANDS_76
Command 76.
@ EV_TRUCK_RIGHT_MIRROR_RIGHT
@ EV_COMMANDS_67
Command 67.
@ SE_TRUCK_EXIT
triggered when switching from vehicle mode to person mode, the argument refers to the actor ID of the...
@ ASTHREADSTATUS_CURLSTRING_PROGRESS
Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 percentage, arg#3 unused,...
@ EV_COMMANDS_72
Command 72.
@ SE_TRUCK_TIE_TOGGLE
triggered when the user toggles ties, the argument refers to the actor ID
@ MSG_NET_REFRESH_REPOLIST_FAILURE
Background task notification, DO NOT PUSH MANUALLY.
@ SE_TRUCK_ENGINE_DIED
triggered when the vehicle's engine dies (from underrev, water, etc), the argument refers to the acto...
@ SE_EVENTBOX_ENTER
Actor or person entered an eventbox; arguments: #1 type, #2 actorID (actor only), #3 node ID (actor o...
@ EV_SURVEY_MAP_CYCLE
cycle overview-map mode
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_SOFT_RESET
BlinkType
Binding of RoR::BlinkType.
@ EV_COMMON_TOGGLE_DASHBOARD
display or hide the dashboard overlay
@ EV_TRUCK_SHIFT_MIDRANGE
select middle range (7-12) for H-shaft
@ MODCACHEACTIVITY_ENTRY_ADDED
Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number, –, –, #5 fname,...
@ MSG_NET_REFRESH_REPOLIST_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
enum Script2Game::inputEvents TT_BOAT
@ EV_COMMANDS_12
Command 12.
@ EV_COMMON_QUICKSAVE
quicksave scene to the disk
@ EV_COMMON_ENTER_PREVIOUS_TRUCK
enter previous truck
@ EV_TRUCK_CRUISE_CONTROL_ACCL
increase target speed / rpm
@ EV_TRUCK_LIGHTTOGGLE03
toggle custom light 3
@ MODCACHEACTIVITY_BUNDLE_LOADED
Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number, –, –, #5 rg name.
@ EV_AIRPLANE_THROTTLE_UP
increase the airplane thrust
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RELOAD
Full reload from filesystem, requested by user.
enum Script2Game::inputEvents KC_CAPSLOCK
@ EV_COMMANDS_83
Command 83.
@ EV_COMMANDS_39
Command 39.
enum Script2Game::inputEvents KC_LSHIFT
@ EV_COMMANDS_37
Command 37.
@ EV_COMMANDS_47
Command 47.
enum Script2Game::inputEvents KC_F4
enum Script2Game::inputEvents TS_SIMULATED
Binding of RoR::ActorState.
enum Script2Game::inputEvents KC_NUMPAD0
@ EV_GRASS_NONE
EXPERIMENTAL: remove grass completely.
@ EV_TRUCK_SHIFT_UP
shift one gear up in manual transmission mode
@ MSG_SIM_SEAT_PLAYER_REQUESTED
Put player character in a vehicle. Params: 'instance_id' (int), use -1 to get out of vehicle.
@ EV_COMMON_FOV_LESS
decreases the current FOV value
@ EV_COMMON_FULLSCREEN_TOGGLE
@ MSG_EDI_LOAD_BUNDLE_REQUESTED
Load a resource bundle (= ZIP or directory) for a given cache entry. Params: 'cache_entry' (CacheEntr...
@ MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED
Request revealing of hidden networked actor; used internally by top menubar. Params: 'instance_id' (i...
enum Script2Game::inputEvents KC_9
@ EV_COMMON_ENTER_CHATMODE
enter the chat mode
@ EV_TRUCK_LIGHTTOGGLE06
toggle custom light 6
@ EV_CAMERA_ZOOM_IN
zoom camera in
@ EV_COMMANDS_73
Command 73.
@ EV_TRUCK_HORN
truck horn
ScriptCategory
Binding of RoR::ScriptCategory ~ for game.pushMessage(MSG_APP_LOAD_SCRIPT_REQUESTED ....
@ EV_COMMON_DECELERATE_SIMULATION
decelerate the simulation speed
enum Script2Game::inputEvents KC_F11
@ MSG_GUI_MP_CLIENTS_REFRESH
No params.
@ EV_COMMANDS_15
Command 15.
enum Script2Game::inputEvents KC_F7
FlareType
Binding of RoR::FlareType.
@ EV_COMMANDS_81
Command 81.
@ MSG_SIM_SCRIPT_CALLBACK_QUEUED
Internal notification about triggering a script event, DO NOT PUSH MANUALLY.
@ EV_TRUCK_SHIFT_HIGHRANGE
select high range (13-18) for H-shaft
@ MSG_GUI_DOWNLOAD_FINISHED
Background task notification, DO NOT PUSH MANUALLY.
@ EV_TRUCK_TOGGLE_TCASE_4WD_MODE
toggle the transfer case 4wd mode
@ EV_AIRPLANE_THROTTLE_AXIS
throttle axis. Only use this if you have fitting hardware :) (i.e. a Slider)
@ EV_COMMANDS_54
Command 54.
enum Script2Game::inputEvents KC_SEMICOLON
enum Script2Game::inputEvents KC_NUMPAD6
@ MODCACHEACTIVITY_BUNDLE_RELOADED
Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number, –, –, #5 rg name.
@ MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED
Used by Friction UI, DO NOT PUSH MANUALLY.
enum Script2Game::inputEvents KC_BACKSPACE
enum Script2Game::inputEvents KC_NUMPAD5
enum Script2Game::inputEvents KC_TAB
@ EV_TRUCK_BRAKE_MODIFIER_25
brake with 25 percent pedal input
enum Script2Game::inputEvents KC_PERIOD
@ EV_CHARACTER_SIDESTEP_RIGHT
sidestep to the right
@ EV_AIRPLANE_AIRBRAKES_MORE
enum Script2Game::inputEvents KC_F6
@ SE_TRUCK_PARKINGBRAKE_TOGGLE
triggered when the user toggles the parking brake, the argument refers to the actor ID
@ EV_COMMON_OUTPUT_POSITION
write current position to log (you can open the logfile and reuse the position)
@ EV_CAMERA_ROTATE_DOWN
rotate camera down
@ EV_TRUCK_SHIFT_LOWRANGE
select low range (1-6) for H-shaft
@ SE_ALL_EVENTS
An actor or person entered an eventbox; Arguments of eventCallbackEx(): #1 type, #2 Actor Instance ID...
@ EV_SURVEY_MAP_TOGGLE
toggle overview-map mode
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RESET_ON_INIT_POS
@ EV_COMMANDS_78
Command 78.
@ EV_COMMANDS_36
Command 36.
@ EV_CHARACTER_JUMP
let the character jump
@ EV_COMMANDS_32
Command 32.
@ EV_AIRPLANE_FLAPS_NONE
no flaps.
@ EV_TRUCK_SHIFT_NEUTRAL
shift to neutral gear in manual transmission mode
enum Script2Game::inputEvents KC_END
@ EV_AIRPLANE_THROTTLE_DOWN
decreases the airplane thrust
@ EV_TRUCK_SHIFT_GEAR05
shift directly into this gear
enum Script2Game::inputEvents KC_F1
@ EV_TRUCK_STARTER
hold to start the engine
@ EV_TRUCK_LIGHTTOGGLE04
toggle custom light 4
@ SE_TRUCK_ENTER
triggered when switching from person mode to vehicle mode, the argument refers to the actor ID of the...
@ EV_AIRPLANE_STEER_RIGHT
steer right
@ EV_TRUCK_SHIFT_GEAR15
shift directly into this gear
@ EV_TRUCK_CRUISE_CONTROL
toggle cruise control
@ EV_COMMON_CONSOLE_TOGGLE
show / hide the console
@ EV_TRUCK_TOGGLE_INTER_WHEEL_DIFF
toggle the inter wheel differential mode
@ EV_TRUCK_SHIFT_GEAR03
shift directly into this gear
@ MSG_NET_CONNECT_PROGRESS
Networking notification, DO NOT PUSH MANUALLY.
@ EV_COMMANDS_25
Command 25.
enum Script2Game::inputEvents KC_SPACE
@ MSG_NET_OPEN_RESOURCE_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
@ MSG_APP_REINIT_INPUT_REQUESTED
Request restarting the entire input subsystem (mouse, keyboard, controllers) including reloading inpu...
@ EV_COMMANDS_53
Command 53.
@ EV_SURVEY_MAP_ZOOM_OUT
decrease survey map scale
@ SE_GENERIC_EXCEPTION_CAUGHT
Triggered when C++ exception (usually Ogre::Exception) is thrown; #1 ScriptUnitID,...
@ FLARE_TYPE_BLINKER_RIGHT
enum Script2Game::inputEvents KC_DOWN
enum Script2Game::inputEvents KC_8
@ EV_COMMANDS_44
Command 44.
@ EV_TRUCK_TOGGLE_CONTACT
toggle ignition
enum Script2Game::inputEvents KC_ADD
enum Script2Game::inputEvents TS_SLEEPING
locally simulated but sleeping
@ EV_AIRPLANE_FLAPS_FULL
full flaps in an aircraft.
@ EV_TRUCK_BLINK_LEFT
toggle left direction indicator (blinker)
@ ASMANIP_SCRIPT_LOADED
Triggered after the script's main() completed; may trigger additional processing (for example,...
@ EV_COMMANDS_06
Command 6.
@ EV_COMMANDS_01
Command 1.
enum Script2Game::inputEvents KC_F12
@ EV_TRUCK_STEER_LEFT
steer left
@ SE_TRUCK_RESET
triggered when the user resets the truck, the argument refers to the actor ID of the vehicle
@ EV_SKY_INCREASE_TIME_FAST
increase day-time a lot faster
@ EV_TRUCK_SHIFT_GEAR06
shift directly into this gear
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_INVALID
Binding of RoR::ActorModifyRequest::Type; use with MSG_SIM_MODIFY_ACTOR_REQUESTED
@ EV_MENU_DOWN
select next element in current category
@ SE_ANGELSCRIPT_MSGCALLBACK
The diagnostic info directly from AngelScript engine (see asSMessageInfo), args: #1 ScriptUnitID,...
@ MSG_NET_USER_DISCONNECT
Networking notification, DO NOT PUSH MANUALLY.
@ EV_SKY_DECREASE_TIME_FAST
decrease day-time a lot faster
@ MSG_NET_CONNECT_FAILURE
Networking notification, DO NOT PUSH MANUALLY.
@ EV_COMMANDS_65
Command 65.
enum Script2Game::inputEvents KC_F2
enum Script2Game::inputEvents KC_RBRACKET
enum Script2Game::inputEvents KC_5
@ EV_COMMANDS_04
Command 4.
@ EV_AIRPLANE_AIRBRAKES_LESS
@ EV_TRUCK_LEFT_MIRROR_LEFT
@ MSG_GUI_OPEN_SELECTOR_REQUESTED
Use game.showChooser() instead.
@ EV_COMMON_TRUCK_DESCRIPTION
toggle truck description
enum Script2Game::inputEvents KC_3
@ EV_COMMON_REPLAY_FAST_FORWARD
@ EV_TRUCK_AUTOSHIFT_DOWN
shift automatic transmission one gear down
enum Script2Game::inputEvents TT_MACHINE
@ EV_AIRPLANE_THROTTLE_FULL
full thrust
modCacheActivityType
Argument #2 of script event RoR::SE_GENERIC_MODCACHE_ACTIVITY
@ EV_COMMANDS_68
Command 68.
@ EV_COMMON_TOGGLE_TRUCK_LIGHTS
toggle truck front lights
@ EV_CAMERA_ZOOM_OUT_FAST
zoom camera out faster
@ EV_TRUCK_SHIFT_GEAR14
shift directly into this gear
@ EV_COMMON_ENTER_OR_EXIT_TRUCK
enter or exit a truck
@ EV_COMMANDS_24
Command 24.
@ EV_COMMON_ENTER_NEXT_TRUCK
enter next truck
@ SCRIPT_CATEGORY_INVALID
@ EV_TRUCK_TOGGLE_PHYSICS
toggle physics simulation
enum Script2Game::inputEvents KC_F9
@ EV_COMMANDS_45
Command 45.
enum Script2Game::inputEvents KC_NUMLOCK
enum Script2Game::inputEvents KC_APOSTROPHE
@ MSG_NET_CONNECT_SUCCESS
Networking notification, DO NOT PUSH MANUALLY.
@ EV_SURVEY_MAP_ZOOM_IN
increase survey map scale
@ EV_COMMANDS_51
Command 51.
enum Script2Game::inputEvents KC_BACKSLASH
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_WAKE_UP
@ MSG_SIM_UNLOAD_TERRN_REQUESTED
Request returning to main menu. No params.
@ MSG_SIM_UNPAUSE_REQUESTED
Unpause game. No params.
enum Script2Game::inputEvents KC_LWIN
@ EV_COMMON_TOGGLE_CUSTOM_PARTICLES
toggle particle cannon
@ EV_BOAT_REVERSE
no thrust
@ EV_COMMANDS_18
Command 18.
@ EV_TRUCK_SHIFT_GEAR12
shift directly into this gear
@ EV_TRUCK_TRACTION_CONTROL
toggle antilockbrake system
@ EV_COMMON_SCREENSHOT_BIG
take a BIG screenshot
@ ASMANIP_SCRIPT_UNLOADING
Triggered before unloading the script to let it clean up (important for missions).
@ EV_AIRPLANE_ELEVATOR_DOWN
pull the elevator down in an aircraft.
@ EV_COMMANDS_16
Command 16.
@ EV_TRUCK_LEFT_MIRROR_RIGHT
@ SE_TRUCK_LIGHT_TOGGLE
triggered when the main light is toggled, the argument refers to the actor ID
@ MSG_NET_REFRESH_SERVERLIST_FAILURE
Background task notification, DO NOT PUSH MANUALLY.
@ EV_GRASS_MORE
EXPERIMENTAL: add some grass.
@ EV_MENU_RIGHT
select next category
@ EV_COMMANDS_41
Command 41.
enum Script2Game::inputEvents KC_NUMPAD8
@ MSG_APP_SCREENSHOT_REQUESTED
Capture screenshot. No params.
@ MSG_EDI_CREATE_PROJECT_REQUESTED
Creates a subdir under 'projects/', pre-populates it and adds to modcache. Params: 'name' (string),...
@ MSG_APP_DISPLAY_WINDOWED_REQUESTED
Switch to windowed display. No params.
@ EV_COMMON_TOGGLE_RENDER_MODE
toggle render mode (solid, wireframe and points)
enum Script2Game::inputEvents TT_AI
@ EV_COMMANDS_10
Command 10.
enum Script2Game::inputEvents KC_RWIN
@ EV_AIRPLANE_ELEVATOR_UP
pull the elevator up in an aircraft.
enum Script2Game::inputEvents TT_NOT_DRIVEABLE
Binding of RoR::ActorType.
@ EV_AIRPLANE_TOGGLE_ENGINES
switch all engines on / off
enum Script2Game::inputEvents KC_RSHIFT
@ EV_COMMON_SCREENSHOT
take a screenshot
@ EV_BOAT_STEER_LEFT
steer left a step
@ EV_SURVEY_MAP_TOGGLE_ICONS
toggle map icons
@ EV_COMMANDS_61
Command 61.
enum Script2Game::inputEvents KC_F5
@ EV_TRUCK_PARKING_BRAKE
toggle parking brake
@ MSG_SIM_HIDE_NET_ACTOR_REQUESTED
Request hiding of networked actor; used internally by top menubar. Params: 'instance_id' (int)
enum Script2Game::inputEvents KC_7
@ EV_TRUCK_TRAILER_PARKING_BRAKE
toggle trailer parking brake
@ EV_TRUCK_SHIFT_GEAR01
shift directly into this gear
@ EV_TRUCK_SHIFT_GEAR18
shift directly into this gear
@ SE_TRUCK_TELEPORT
triggered when the user teleports the truck, the argument refers to the actor ID of the vehicle
@ MSG_NET_CONNECT_REQUESTED
Request connection to multiplayer server specified by cvars 'mp_server_host, mp_server_port,...
@ EV_COMMANDS_43
Command 43.
@ EV_COMMON_TRUCK_INFO
toggle truck HUD
@ EV_COMMON_TOGGLE_RESET_MODE
toggle truck reset truck mode (soft vs. hard)
@ EV_TRUCK_SHIFT_GEAR16
shift directly into this gear
@ EV_AIRPLANE_RUDDER_RIGHT
rudder right
@ EV_TRUCK_CRUISE_CONTROL_DECL
decrease target speed / rpm
@ MSG_SIM_LOAD_TERRN_REQUESTED
Request loading terrain. Param 'filename' (string)
@ EV_COMMANDS_33
Command 33.
@ EV_COMMANDS_58
Command 58.
@ EV_TRUCK_RIGHT_MIRROR_LEFT
@ EV_TRUCK_BLINK_WARN
toggle all direction indicators
@ ASTHREADSTATUS_CURLSTRING_FAILURE
Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 HTTP code, arg#3 CURLcode,...
@ SE_TRUCK_TOUCHED_WATER
triggered when any part of the actor touches water, the argument refers to the actor ID
@ EV_COMMON_TOGGLE_STATS
toggle Ogre statistics (FPS etc.)
@ EV_CHARACTER_SIDESTEP_LEFT
sidestep to the left
@ MSG_APP_MODCACHE_PURGE_REQUESTED
Request cleanup and full rebuild of mod cache.
@ EV_TRUCK_TOGGLE_VIDEOCAMERA
toggle videocamera update
@ EV_COMMON_SEND_CHAT
send the chat text
@ EV_COMMON_TOGGLE_MAT_DEBUG
debug purpose - dont use (currently not used)
enum Script2Game::inputEvents KC_UP
enum Script2Game::inputEvents TT_TRUCK
@ EV_COMMANDS_56
Command 56.
@ EV_COMMANDS_28
Command 28.
@ EV_COMMANDS_57
Command 57.
@ EV_COMMON_ACCELERATE_SIMULATION
accelerate the simulation speed
@ EV_TRUCK_SHIFT_GEAR04
shift directly into this gear
@ EV_CAMERA_CHANGE
change camera mode
@ EV_COMMON_REPLAY_FAST_BACKWARD
@ EV_COMMANDS_46
Command 46.
@ EV_TRUCK_AUTOSHIFT_UP
shift automatic transmission one gear up
@ MSG_SIM_PAUSE_REQUESTED
Pause game. No params.
@ EV_TRUCK_TOGGLE_FORWARDCOMMANDS
toggle forwardcommands
@ EV_COMMANDS_77
Command 77.
enum Script2Game::inputEvents KC_LALT
@ EV_COMMANDS_11
Command 11.
@ EV_COMMANDS_23
Command 23.
@ EV_BOAT_CENTER_RUDDER
center the rudder
@ SE_TRUCK_BEACONS_TOGGLE
triggered when the user toggles beacons, the argument refers to the actor ID
@ EV_COMMANDS_75
Command 75.
@ EV_COMMANDS_84
Command 84.
@ SE_EVENTBOX_EXIT
Actor or person left an eventbox; arguments: #1 type, #2 actorID (actor only), #3 unused,...
@ EV_TRUCK_BRAKE_MODIFIER_50
brake with 50 percent pedal input
@ EV_TRUCK_TOGGLE_TCASE_GEAR_RATIO
toggle the transfer case gear ratio
enum Script2Game::inputEvents KC_MULTIPLY
scriptEvents
Binding of RoR::scriptEvents; All the events that can be used by the script.
@ EV_AIRPLANE_FLAPS_MORE
one step more flaps.
enum Script2Game::inputEvents KC_F3
@ EV_TRUCK_LIGHTTOGGLE10
toggle custom light 10
@ EV_MENU_LEFT
select previous category
@ EV_COMMANDS_35
Command 35.
@ EV_COMMANDS_71
Command 71.
@ EV_COMMANDS_52
Command 52.
@ EV_CAMERA_ROTATE_LEFT
rotate camera left
@ EV_COMMANDS_66
Command 66.
enum Script2Game::inputEvents KC_LEFT
@ EV_AIRPLANE_BRAKE
normal brake for an aircraft.
@ EV_SKY_INCREASE_TIME
increase day-time
@ MSG_APP_DISPLAY_FULLSCREEN_REQUESTED
Switch to fullscreen. No params.
@ EV_COMMANDS_82
Command 82.
enum Script2Game::inputEvents KC_SCROLLLOCK
@ EV_COMMON_LOCK
connect hook node to a node in close proximity
@ MSG_NET_FETCH_AI_PRESETS_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
@ EV_COMMANDS_38
Command 38.
@ EV_TRUCK_LIGHTTOGGLE07
toggle custom light 7
@ MSG_NET_CONNECT_STARTED
Networking notification, DO NOT PUSH MANUALLY.
@ EV_SKY_DECREASE_TIME
decrease day-time
@ EV_COMMON_REPLAY_FORWARD
@ EV_COMMON_QUIT_GAME
exit the game
@ EV_TRUCK_SHIFT_GEAR10
shift directly into this gear
@ EV_COMMON_SAVE_TERRAIN
save terrain mesh to file
@ MSG_APP_UNLOAD_SCRIPT_REQUESTED
Request unloading a script; Param 'id' (int - the ID of the script unit, see 'Script Monitor' tab in ...
@ EV_COMMON_FOV_MORE
increases the current FOV value
@ EV_COMMON_PRESSURE_MORE
increase tire pressure (note: only very few trucks support this)
@ EV_TRUCK_SHIFT_GEAR_REVERSE
shift directly into this gear
@ EV_TRUCK_TOGGLE_INTER_AXLE_DIFF
toggle the inter axle differential mode
enum Script2Game::inputEvents KC_NUMPAD3
@ EV_AIRPLANE_RUDDER_LEFT
rudder left
enum Script2Game::inputEvents KC_2
@ EV_TRUCK_LIGHTTOGGLE09
toggle custom light 9
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RESET_ON_SPOT
@ EV_COMMANDS_14
Command 14.
@ EV_TRUCK_SHIFT_GEAR09
shift directly into this gear
@ EV_COMMANDS_13
Command 13.
@ EV_COMMON_TOGGLE_DEBUG_VIEW
toggle debug view mode
@ SE_ANGELSCRIPT_EXCEPTIONCALLBACK
The diagnostic info directly from AngelScript engine (see SetExceptionCallback()),...
@ EV_COMMANDS_03
Command 3.
@ EV_COMMANDS_69
Command 69.
@ EV_COMMANDS_21
Command 21.
enum Script2Game::inputEvents KC_NUMPAD2
@ SE_GENERIC_DELETED_TRUCK
triggered when the user deletes an actor, the argument refers to the actor ID
@ EV_CAMERA_RESET
reset the camera position
@ EV_COMMANDS_63
Command 63.
enum Script2Game::inputEvents KC_0
@ EV_AIRPLANE_AIRBRAKES_NONE
@ MSG_GUI_CLOSE_SELECTOR_REQUESTED
No params.
@ EV_COMMANDS_59
Command 59.
@ EV_COMMANDS_08
Command 8.
MsgType
Binding of RoR::MsgType; Global gameplay message loop.
@ EV_CAMERA_ROTATE_RIGHT
rotate camera right
@ EV_COMMANDS_19
Command 19.
@ MSG_SIM_SPAWN_ACTOR_REQUESTED
Request spawning an actor. Params: 'filename' (string), 'position' (vector3), 'rotation' (quaternion)...
@ SE_ANGELSCRIPT_THREAD_STATUS
Sent by background threads (i.e. CURL) when there's something important (like finishing a download)....
@ EV_TRUCK_ACCELERATE_MODIFIER_50
accelerate with 50 percent pedal input
@ MSG_SIM_TELEPORT_PLAYER_REQUESTED
Teleport player character anywhere on terrain. Param 'position' (vector3)
@ MSG_NET_RECV_ERROR
Networking notification, DO NOT PUSH MANUALLY.
@ EV_COMMON_REPLAY_BACKWARD
@ EV_BOAT_THROTTLE_AXIS
throttle axis. Only use this if you have fitting hardware :) (i.e. a Slider)
void print(const string message)
This is an alias for game.log(string message).
@ MSG_SIM_MODIFY_ACTOR_REQUESTED
Request change of actor. Params: 'type' (enum ActorModifyRequestType)
@ EV_COMMON_QUICKLOAD
quickload scene from the disk
@ SE_TRUCK_CPARTICLES_TOGGLE
triggered when the user toggles custom particles, the argument refers to the actor ID
@ EV_COMMANDS_64
Command 64.
@ EV_COMMANDS_74
Command 74.
@ EV_AIRPLANE_AIRBRAKES_FULL
@ FLARE_TYPE_BLINKER_LEFT
@ SCRIPT_CATEGORY_CUSTOM
Loaded by user via either: A) ingame console 'loadscript'; B) RoR.cfg 'diag_custom_scripts'; C) comma...
enum Script2Game::inputEvents KC_COMMA
@ EV_COMMANDS_17
Command 17.