Category | Farming Simulator 15 |
Created | 07.12.2014 21:01 |
Larry Horse (Larry) | 07.12.2014 21:03 |
---|---|
Does anybody know what kind of vehicle type should be a chainsaw or should it be: <handToolType>chainsaw</handToolType> |
Emil Drefers (Unknown) | 08.12.2014 10:14 |
---|---|
You dont need to set the vehicleType in the modDesc.xml. Just copy a 'chainsaw.xml' and edit to your needs. An entry for the storeItem(s) would look like the following: <storeItem> <name>chainsaw name</name> <functions> <function>$l10n_function_chainsaw</function> </functions> <image active="pathToImage.png" brand="$data/vehicles/store/brand_XYZ.png"/> <price>1000</price> <dailyUpkeep>0</dailyUpkeep> <xmlFilename>chainsaw.xml</xmlFilename> <rotation>0</rotation> <brand>MyBrand</brand> <category>chainsaws</category> <species>handTool</species> </storeItem> |
Larry Horse (Larry) | 08.12.2014 12:49 |
---|---|
Thanx man,but I'm not talking about ModDesc I'm talking about actual tool Xml |
Emil Drefers (Unknown) | 08.12.2014 16:40 |
---|---|
Well, <handToolType>chainsaw</handToolType> should be enough. You don't need any vehicleType, as it is no vehicle ;) As stated above, just stick to the original xml Files and all should be good. Cheers, Emil |
Larry Horse (Larry) | 09.12.2014 12:34 |
---|---|
That was the first thing I did.Engine said:"No,no-man that would be too easy, unknown type, go back and rack your brain" (Actual log entry ;) ) |
Emil Drefers (Unknown) | 09.12.2014 14:48 |
---|---|
Hi, this message seems too funny to be true ;) What I just tried is the following: - copy modDesc.xml from the samplemod to mods folder - adjust it as mentioned in my first post - copy all data for a chainsaw (including the default chainsaw.xml) from the original game to this mod directory - start game, buy mod chainsaw -> be happy that it works So, what I would recommend you to do: follow my steps and get a default chainsaw running as a mod. As soon as this works check your very own chainsaw for errors/mistakes Cheers, Emil |
Larry Horse (Larry) | 11.12.2014 12:10 |
---|---|
After further review and to my amazement it worked .Apparently I was missing <species>handTool</species> and that was it. Thanx ,man, you were invaluable help. Without you I would have to take an ax to the trees. |
Larry Horse (Larry) | 11.12.2014 12:33 |
---|---|
After further review and to my amazement it worked .Apparently I was missing <species>handTool</species> and that was it. Thanx ,man, you were invaluable help. Without you I would have to take an ax to the trees. |
Ron Smith (pasnthru99) | 16.12.2014 15:55 |
---|---|
I have to say this was one of the funniest entries I have read in a while, I wasn't sure what you wanted to walk around the map holding! |
Note: Log in to post. Create a new account here.