Community Forum

Vehicle Workshop

Forum Overview >> Editor

CategoryEditor
Created02.01.2019 20:40


Bjørn Brynildsen (prawler) 02.01.2019 20:40
Anyone know how to make the trigger work on the workshop?
Tried exporting it from the base game. The"dialog window does not show up
Is there another way of doing this one? I have "imported/placed" a lot of buildings with fuctions on my map, and they all do work, exept the workshop.....

Would appreciate some guidance...

Bjørn

Bilbo Beutlin (BBeutlin) 02.01.2019 21:02
1. make sure the game install path is setup properly in GE preferences
2. load workshop.i3d into GE
3. files -> new mod from game
- now it may take a while until GE has read the install dir
- select "Vehicle Workshop" from pulldown menu
- for export select a neutral folder, not supervised by Windows UAC/DEP
4. close GE (for safety)

Now you can fiddle around with the new mod.
For the game you'll probably need to adapt the modDesc.xml

Bjørn Brynildsen (prawler) 02.01.2019 21:20
Hi
I have done that, but i just dont know why the trigger will not work.

Added store item to modDesc.

<storeItem rootNode="placeable" xmlFilename="maps/placeables/Vehicle_Workshop/workshop.xml"/>
I even tried Workshop instead of Placeable.

Must be doing something wrong,,,,,but what?

Bjørn




Bilbo Beutlin (BBeutlin) 02.01.2019 21:30
No - that's wrong. In YOUR modDesc.xml it must be
<storeItem xmlFilename="workshop.xml"/>

Notice that you can have only ONE functional workshop (trigger) on your map and it must be placed on a farmland what you own.

*ahem* we are talking about FS19 and GE8, or?

Bjørn Brynildsen (prawler) 02.01.2019 21:56


Hi

Yes, its FS19 and GE 8

I do own the land. So you can only place one placeable workshop?
Will edit the modDesc and check

Bjørn

Bjørn Brynildsen (prawler) 02.01.2019 22:02


Hi

Yes, its FS19 and GE 8

I do own the land. So you can only place one placeable workshop?
Will edit the modDesc and check

Bjørn

Panicos H (PANICOS) 21.06.2020 12:00
@ Bilbo Beutlin (BBeutlin)

This is an old topic but I would like to ask your help. I am trying to add a vehicle selling point on a Workshop mod and also warning stripes.
I have to create a new on Create Attribute and name it VehicleSellingPoint.onCreate, and also I want to add warning stripes. When I do it, everything is invisible.

Bilbo Beutlin (BBeutlin) 21.06.2020 14:23
The method with i3d user attribute .onCreate is obsolete and doesn't work in FS19 anymore.
Instead create a dedicated xml for your workshop. See for reference the default workshop ($data/placeables/workshop).

To see what's wrong with your mod, look into editor and game log.
game log: {USER}\Documents\My Games\FarmingSimulator...\log.txt
editor log: {USER}\AppData\Local\GIANTS Editor ...\editor_log.txt

Panicos H (PANICOS) 21.06.2020 15:35
Thanks for your help. At workshop I can only maintenance vehicles, what do you recommend I should do in order to be able to sell vehicles at workshop for 20% more , without having to drive them back to shop and sell them there?
Any suggestions ?

Bilbo Beutlin (BBeutlin) 21.06.2020 18:12
Read the LUA code in documentation
https://gdn.giants-software.com/documentation_scripting_fs19.php?version=script&category=65&class=10347
You don't need to be LUA expert, just to get a clue how it works.
See also the FS17 docs. These are a little more elaborate.

Short summary:
You can only sell at these points which are NOT owned by user.
At the specific sellingPoint you receive a bonus for the selling price.
To change this behaviour you'll need a custom LUA script.

Hunter A (Unknown) 03.11.2020 16:18
\
\


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