Difference between revisions of "Binds"

From Tycoon Gaming
Line 86: Line 86:
 
<div class="mw-collapsible-content" style="width: 100%; height:100%; overflow:auto;">
 
<div class="mw-collapsible-content" style="width: 100%; height:100%; overflow:auto;">
 
{{Note|'''Use at your own risk as you might get occasionally kicked from the server for flooding!'''|warn}}
 
{{Note|'''Use at your own risk as you might get occasionally kicked from the server for flooding!'''|warn}}
{{Note|bind keyboard K "item exp_token{{!}}piloting{{!}}piloting convert -1;item exp_token{{!}}piloting{{!}}heli convert -1;item exp_token{{!}}piloting{{!}}cargos convert -1;item exp_token{{!}}trucking{{!}}trucking convert -1;item exp_token{{!}}trucking{{!}}postop convert -1;item exp_token{{!}}trucking{{!}}garbage convert -1;item exp_token{{!}}physical{{!}}strength convert -1;item exp_token{{!}}ems{{!}}ems convert -1;item exp_token{{!}}train{{!}}train convert -1;item exp_token{{!}}player{{!}}player convert -1;item exp_token{{!}}business{{!}}business convert -1;item exp_token{{!}}casino{{!}}casino convert -1"|info}}
+
{{Note|bind keyboard K "item exp_token{{!}}piloting{{!}}piloting convert -1;item exp_token{{!}}piloting{{!}}heli convert -1;item exp_token{{!}}piloting{{!}}cargos convert -1;item exp_token{{!}}trucking{{!}}trucking convert -1;item exp_token{{!}}trucking{{!}}postop convert -1;item exp_token{{!}}trucking{{!}}garbage convert -1;item exp_token{{!}}physical{{!}}strength convert -1;item exp_token{{!}}ems{{!}}ems convert -1;item exp_token{{!}}train{{!}}train convert -1;item exp_token{{!}}player{{!}}player convert -1;item exp_token{{!}}business{{!}}business convert -1;item exp_token{{!}}train{{!}}bus convert -1;item exp_token{{!}}ems{{!}}fire convert -1"|info}}
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 20:29, 13 October 2021

Binding, what's that?

Binding is a process of connecting a KEY (keyboard / mouse / pad) with various functions (Commands). Mostly used to ease, improve and speed up various processes on the Transport Tycoon servers. It can be used to bind standard chat commands such as /vote, but it can also be used in more advanced ways like to bind items and vRP functions.

How to bind?

Press F8 - the ingame console should open - then fill in the bind template given below depending on your need and paste it in the console.

To bind something to a KEY

  • bind KEY_TYPE KEY "FUNCTION OPTION MODIFIER"

To unbind a KEY

  • unbind KEY_TYPE KEY

List of all binded KEYs (works only on a canary build of FiveM)

  • bind


Disclaimer: To bind multiple functions on one KEY do it all at once using ; between binds, ALSO remember to unbind your bind before binding other commands to the same KEY otherwise you might get flagged for flooding and get kicked / suspended!!! Also try not to hold/spam the bounded KEY as you also might get kicked for that.
Example: bind keyboard k "rm_backpack;item gut_knife gut -1"

KEY_TYPE & KEY

KEY_TYPE is a parameter describing input devices, such as a keyboard (KEYBOARD), mouse buttons (MOUSE_BUTTON), or mouse wheel (MOUSE_WHEEL).
KEY is an parameter for a key. Numbers (1,2,3...) and letters (a,b,c...) can be used by just pressing your wanted KEY, but for majority of keys their full name needs to be entered, for example: , = COMMA; = = EQUALS; / = SLASH; left click = MOUSE_LEFT.
Refer to FiveM Docs for full list of KEY_TYPEs & KEYs

Do not open FiveM Docs page in-game!

FUNCTION

Enter your wanted function here, keep in mind that function is a command so any ingame command can be used here, for more info refer to Bind Data Table/Functions or Commands Page.
Remember to use " " when using more than one word in a bind!

OPTION

Option is used with /item command such as "item gut_knife gut" or "item prefix_pack_3 use" as a parameter deciding what an item will do.
Refer to Bind Data Table for a list of all options and their description or to check which item has which options.

MODIFIER

Mostly used with /item command, simulates the press of a button. -1 is Left Arrow; 0 or none is Enter; 1 is Right Arrow.

Bind Data Table

Disclaimer: Any chat command can be used as function and vice versa

Function Info
"item ITEM_ID OPTION MODIFIER" Use OPTION of ITEM_ID's with possible MODIFIER
For example: "item exp_token|piloting|piloting convert -1"
rm_toggleLock Toggle Vehicle Lock
rm_apark Auto-Park
rm_spawnJetski Spawn Jetski
rm_openEmotes Open Emote Menu
rm_spawnBicycle Spawn Bicycle
rm_toggleengine Toggle ON/OFF Engine
rm_trunk Open Vehicle Trunk
rm_vehicle Open Vehicle Menu
rm_backpack Open Backpack
rm_inventory Open Inventory
rm_point Point
driver_menu Open Driver Menu
timer_start Timer: Start
timer_resume Timer: Resume
timer_stop Timer: Stop
timer_pause Timer: Pause
dev_pos Open Position Menu (requires being in a Company)
seat -1 Shuffle to Driver Seat
vrp-openAtm Open Portable Atm
vrp-take_pills Take Pills [OUTDATED]
vrp-apply_bandages Apply Bandage
vrp-reopen Re-Open Transformer Menu
watermark Turn off Beta watermark

Disclaimer: To get an item's ID not located on this list use API /data/ or /dataadv/

Item Name ITEM_ID Options
Prospecting: Firearm prosp_junk_9 clean | trash
Gut Knife gut_knife gut | give | trash
Digi-Scanner digiscanner equip | give | trash
☆ StatTrak™ Gut Knife gut_knife_st gut | give | trash
☆ StatTrak™ Gut Knife | Autotronic gut_knife_fade gut | give | trash
☆ StatTrak™ Gut Knife | Tiger Tooth gut_knife_tiger gut | give | trash
☆ StatTrak™ Gut Knife | Weightless gut_knife_lore gut | give | trash
☆ StatTrak™ Gut Knife | Grinder gut_knife_auto gut | give | trash
Crab pot pot_crab place | give | trash
Lobster Pot pot_lobster place | give | trash
Rotten Potato rotten_potato debug | freecam | give | heal | ironman | toggle / UI | wheels
Spyglass spyglass eye | give | trash
Fidget Spinner fidget_spinner spin | give | trash
Bandage bandages apply | give | trash
Blessing Pack [Series 1] prefix_pack_1 use
Blessing Pack [Series 2] prefix_pack_2 use
Blessing Pack [Series 3] prefix_pack_3 use
Cursed Dice prefix_pack_1_reset use

EXP Token ITEM_ID Options
Airline Piloting exp_token|piloting|piloting convert | redeem | trash
Cargo Piloting exp_token|piloting|cargos convert | redeem | trash
Helicopter Piloting exp_token|piloting|heli convert | redeem | trash
Trucking exp_token|trucking|trucking convert | redeem | trash
PostOP exp_token|trucking|postop convert | redeem | trash
Garbage Collecting exp_token|trucking|garbage convert | redeem | trash
Strength exp_token|physical|strength convert | redeem | trash
EMS exp_token|ems|ems convert | redeem | trash
Firefighter exp_token|ems|fire convert | redeem | trash
Train Conductor exp_token|train|train convert | redeem | trash
Player exp_token|player|player convert | redeem | trash
Business exp_token|business|business convert | redeem | trash
Gambling exp_token|casino|casino convert | redeem | trash
Bus exp_token|train|bus convert | redeem | trash
Hunting exp_token|hunting|skill convert | redeem | trash

Job Card ITEM_ID Options
Airline Pilot group_card|pilot give | trash | become | *[convert]
Cargo Pilot group_card|cargopilot give | trash | become | *[convert]
Helicopter Pilot group_card|helicopterpilot give | trash | become | *[convert]
Trucker group_card|trucker give | trash | become | *[convert]
Mechanic group_card|mechanic give | trash | become | *[convert]
EMS group_card|emergency give | trash | become | *[convert]
Fisherman group_card|fisher give | trash | become | *[convert]
Hunter group_card|hunter give | trash | become | *[convert]
Police (Unobtainable) group_card|police give | trash | become | *[convert]
Street Racer group_card|racer give | trash | become | *[convert]
Farmer group_card|farmer give | trash | become | *[convert]
PostOP group_card|postop give | trash | become | *[convert]
Train Conductor group_card|conductor give | trash | become | *[convert]
Firefighter group_card|firefighter give | trash | become | *[convert]
Bus Driver group_card|busdriver give | trash | become | *[convert]
Garbage Collector group_card|garbage give | trash | become | *[convert]
* Replace [convert] with desired job card you want to convert to, for example: farmer, firefighter, racer, paramedic, etc..

Option name Used by Info Modifiers
use Blessing Packs, Cursed Dice Uses X item N/A
clean Prospecting: Firearm Cleans firearm and gives you a random weapon N/A
give Most items in the game Gives X item to another player N/A
trash Most items in the game Trashes X item N/A
gut Gut Knifes Guts fishes N/A
debug Rotten Potato Toggles debug mode on/off N/A
freecam Rotten Potato Toggles freecam on/off N/A
heal Rotten Potato Uses pills to get out of coma [OUTDATED] N/A
ironman Rotten Potato Toggles ironman mode on/off N/A
toggle / UI Rotten Potato Toggles UI on/off, can also be used without an item with /screenshot_mode or /toggle_ui N/A
wheels Rotten Potato Spawns Bicycle N/A
eye Spyglass Similar to freecam, toggles freecam on/off (shorten range) N/A
spin Fidget Spinner Spins... what did you expect? N/A
convert EXP Tokens Converts Tokens into Bonus EXP -1 = ALL | 0 or none = one
redeem EXP Tokens, EXP Bonus: X% Redeems EXP Tokens into EXP (less worth than Bonus EXP) or uses EXP Bonuses -1 = ALL | 0 or none = one
become Job Cards Changes your current job to corresponding job N/A
place Pots (Lobster, Crab) Places X pot in the water if possible N/A

Convert Option Converts into Info
airline Airline Pilot Using it on Airline Pilot job card will work as "become"
bus Bus Driver N/A
cargo Cargo Pilot Using it on Cargo Pilot job card will work as "become"
farmer Farmer Using it on Farmer job card will work as "become"
firefighter Firefighter N/A
fisherman Fisherman N/A
garbage Garbage Collector N/A
helipilot Helicopter Pilot Using "pilot" on Helicopter Pilot job card will work as "become"
hunter Hunter Using it on Hunter job card will work as "become"
mechanic Mechanic N/A
paramedic EMS / Paramedic Using "EMS" on EMS / Paramedic job card will work as "become"
postop PostOP Using it on PostOP job card will work as "become"
racing Street Racer Using "racer" on Street Racer job card will work as "become"
train Train Conductor Using it on Train Conductor job card will work as "become"
trucker Trucker Using it on Trucker job card will work as "become"

Modifier Simulates Info
-1 Left arrow In most cases means ALL
0 / none Enter In most cases means ONE
1 Right arrow In most cases means ONE (IF not specified)

Examples


Perfect bind for Airline Pilots Converts all airline & player tokens into BXP after pressing F2

bind keyboard F2 "item exp_token|piloting|piloting convert -1;item exp_token|player|player convert -1"


Convert one Gambling Token into Bonus EXP after pressing F1 on keyboard, no modifier means simulating Enter (option 1x):

bind keyboard F1 "item exp_token|casino|casino convert"


Use rotten potato's freecam feature by pressing F2

bind keyboard F2 "item rotten_potato freecam"


Changes current job into a Mechanic after pressing . (DECIMAL) on numpad:

bind keyboard DECIMAL "item group_card|mechanic become"


Re-opens transformer after pressing L on keyboard:

bind keyboard L "vrp-reopen"


Guts all fishes in player's inventory after pressing = (EQUALS) on keyboard:

bind keyboard EQUALS "item gut_knife gut"


Opens faction menu after pressing mouse button 4:

bind mouse_button MOUSE_EXTRABTN2 "faction"


Converts all EXP Tokens into Bonus EXP after pressing K on keyboard:

Use at your own risk as you might get occasionally kicked from the server for flooding!
bind keyboard K "item exp_token|piloting|piloting convert -1;item exp_token|piloting|heli convert -1;item exp_token|piloting|cargos convert -1;item exp_token|trucking|trucking convert -1;item exp_token|trucking|postop convert -1;item exp_token|trucking|garbage convert -1;item exp_token|physical|strength convert -1;item exp_token|ems|ems convert -1;item exp_token|train|train convert -1;item exp_token|player|player convert -1;item exp_token|business|business convert -1;item exp_token|train|bus convert -1;item exp_token|ems|fire convert -1"