Community Forum

Start Scripting

Forum Overview >> Scripting

Created26.12.2018 20:34

Adrian Roson (Unknown) 26.12.2018 20:34
Hello! I'm new to modding in Farming Simulator and I don't know where to start. I want to make a mod that is only a script, I don't want to add any 3D model or anything. All I know is that I need to program in LUA and I have downloaded the Giants Editor.
Any good tutorials on scripting? How do I get started?

Thank You!!

Kaj-aage Henneberg (kahfs) 28.12.2018 09:37
Hi Adrian,

I'm just one step ahead of you, so I'm not the experienced modder, who should answer your question. I'm in the process of writing my first mod, also purely a script based mod. Some of it works and some don't. My starting point was to investigate the few script based mods already out for FS19, and then creating my scripts based on the principles I could extract from these mods. I'm not using the Giants Editor, don't know if I should. I use a simple editor (Notepad++). and when I want to see if it works, I pack it into a zip file, place it in my mod folder, enable it in the game and monitor the log file for error messages. The log file will tell me what line has an error, there are plenty as I'm learning lua at the same time.

So, my advice is to find mod hosting sites, download some script mods and learn from them. It is a frustrating process, as the documentation is sparse and you have to guess what to try next.

Viper Gts (ViperGTS96) 18.01.2019 02:09
2 tools scripters should be using..

1. Auto Log Monitor (Real Time Log Viewing in Variable Color)


2. MS Visual Studio - (General LUA Support)

Then download script mods and dissect them. (as suggested by kahfs)

Antt Mountain (Unknown) 24.01.2019 18:06
Also if you are new to scripting the E-book on this site is VERY useful to understand the way the script is used.
I highly recommend ms visual code myself.

АНТИКЛАН (ANTIKLAN) 24.05.2019 16:14
Even for beginners it will be useful to know that while your mod is in development, you can not pack it in the archive, but simply place the folder with the mod files in the folder for mods and will still work. It is also not necessary to restart the game completely to check your changes simply restart the save. This is at least a little, but it facilitates the process of testing changes.

Note: Log in to post. Create a new account here.