|Frazer Lusty (flusty94)||29.11.2021 01:03|
|Hi, I am currently making a mod from the debris crusher, you input stone and it crushes it to lime which you can then store, use to fertilize your fields or sell.
I am wanting to add a custom fillType 'LimeStone' which is a combination of both stone and lime using the new productions xml tag which I then want to be a fillType that you can load and sell but how would I code it into an xml or would it need to be a LUA script to create the custom 'fillType' LIMESTONE with an accompanying texture for the fillType?
Any help is appreciated. Thank you
|Bilbo Beutlin (BBeutlin)||29.11.2021 01:23|
|Easiest way is using a modmap with custom "fillTypes.xml" where you add your additional fillType.
You don't need to copy the complete default "fillTypes.xml", changes/additions alone are accepted.
Much more work are the additional files like textures and materialHolders. You'll find a brief explanation as XML comments on top of the default "maps_fillTypes.xml".
Also don't forget the "densityMapHeightTypes.xml" for tip-to-ground or similar.
Enough work upto 2022 - have fun *g*
|Frazer Lusty (flusty94)||29.11.2021 04:08|
|Thanks for your response, sorry its not a map I am making its a placeable production point. I am wanting to add custom fill types that the player can then sell.
Would i be able to make a custom sell point silo with the filltyoe added and pack it together with the deris crusher?
|Bilbo Beutlin (BBeutlin)||29.11.2021 04:39|
|hmm .. seems you're very new in town? Many ideas but less know-how? *g*
If you want an additional fillType independent from map, you'll need LUA scripts. Do you know LUA very well?
But alone with modmap and custom "fillTypes.xml" you'll need some enhanced knowledge and experience.
Better you introduce a new liquid fillType, there you don't need to bother about textures and any other visible stuff. *g*
So the answer to your question
>> Would i be able to make a custom sell point silo with the filltyoe added and pack it together with the deris crusher? <<
Perhaps after some years of FS modding practice. But as rookie: NO.
|Frazer Lusty (flusty94)||29.11.2021 13:34|
|Iv been around since fs11 and have mods on modhub lol im not new at all, iv just never scripted with lua.
Thanks fornyour help
Note: Log in to post. Create a new account here.