Grzybcios
46.38 KB
Pallets tend to end up everywhere—some at the greenhouse, a stack behind the sawmill, a few at a production point you visited once, and others still sitting where you unloaded them three fields away. Collecting them usually means a long trip with a trailer and lots of reversing. The Pallet Teleporter replaces that trip with a single key press. Press Alt + G, and all loose pallets in the world are teleported in front of you, neatly stacked into a grid facing the same direction as you—ready to load or sell in one go. This small, self-contained script mod moves pallets you already own without adding store items, map changes, or new gameplay systems. **HOW TO USE** - Stand or sit in a vehicle where you want the pallets to end up. - Press Alt + G. - Pallets appear a few meters ahead, stacked neatly and aligned with your view. - A notification shows how many pallets were moved and how many were skipped. - You can repeat anytime—newly produced pallets will be included on the next press. **FEATURES** - Collects all pallets on the map at once: production pallets, big bags, tree sapling pallets, and those added by other mods. - Automatically stacks them—4 pallets per stack, 5 stacks per row by default, adjustable. - Same pallet types are grouped for uniform stacks. - The grid is centered on your view direction and always lands in front of you. - Works on foot and from the driver’s seat; in vehicles, pallets are placed outside rather than inside. - Spacing is based on real pallet dimensions to prevent clipping. - Pallets on trailers are unmounted and teleported; this can be disabled. - Pallets held on forks or in a grab are ignored. - Pallets are moved using the game’s positioning routine, ensuring they land smoothly. - Also available as a console command: ptTeleportPallets **CONFIGURATION** - Open scripts/PalletTeleporter.lua in any text editor. - Settings include: - palletsPerStack: number of pallets per stack (default 4) - gridColumns: stacks per row (default 5) - spawnDistance: distance in front of you where the grid starts (default 6 m) - gridMargin: extra space between stacks - stackGap: vertical space between pallets in a stack - unmountMounted: whether to unmount and teleport pallets on trailers - debug: enable verbose logging to log.txt **CHANGING THE KEYBIND** - In-game: Options > Controls, find “Teleport & stack pallets” and assign your preferred key. Default is Alt + G. **INSTALLATION** - Place the ZIP file into: Documents/My Games/FarmingSimulator2025/mods/ - Enable the mod in the mod list. **REQUIREMENTS AND LIMITATIONS** - Farming Simulator 25, PC only—this is a script mod. - SINGLEPLAYER ONLY. Multiplayer is disabled because network synchronization of object movement is not supported. - No store items, map edits, or savegame changes. - Pallets on forks or in a grab are skipped by design. **NOTES** - This is a convenience mod: it only relocates existing pallets. It does not create, duplicate, or delete anything. If issues occur, set debug = true in the script and send the relevant lines from log.txt. **V1.0.0.1** - New pallet picker mode: opens a selection window instead of teleporting everything at once. - The window lists each pallet type on the map with an icon, name, and count. - After selecting a type, choose how many to teleport—press Enter twice to teleport all of that type. - Supports keyboard and mouse input. - Player movement and camera are locked while the window is open. - In-game setting added: under Game Settings > Pallet Teleporter, choose “Everything” or “Choose” for the hotkey action. - The setting is saved automatically. - Improved grouping of pallets and hotkey registration after input changes. - On-screen messages are now translated; available in English, German, and Polish. - Also accessible via console commands: ptTeleportPallets and ptMode (all | select).
Comments:
Login to place a comment: Login