World of Banished

MODS Garage => Mod Talk => Topic started by: RedKetchup on September 01, 2014, 11:19:33 PM

Title: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 01, 2014, 11:19:33 PM
Hello guys.

A ressource i always loved to get, also alot of people did,  Milk is an awesome ressource added in this game. It drops from the Cattle pastures.
Build a pasture, buy some cattles, and your cattles will start to produce milk. It acts like the eggs - chickens or the wool - sheep, but it drop more frenquently. The estimated quantities are around 80 milk units per cattle per year. a 20x20 pasture with 20 Cattles  will give every year around 1600 milk units, a 10x20 with 10 Cattles will give around 800 milk units per year.

the milk unit worth 2 trade value when you want to trade it to merchants, or you want to buy some. Later we will start to see more Mods and maybe we will be lucky and we will have bread, cheese, and cherry pie ! it will become a very valuable ressource :)

This MOD continue to make drop Beef and Leather resources when they get slaughtered !


If you want to try it / play with it as i will do, download DairyMilk.zip and unzip it in your \SteamApps\common\Banished\WinData directory (or \Banished\WinData directory if you dont have Steam)

(http://worldofbanished.com/gallery/37_01_09_14_11_17_10.png)
Once you unzipped it into your Banished\WinData directory and launched the game, click on the Mods button and the Mods window will appear, you need to 'ENABLE' your new mod :) and click 'OK'

(http://worldofbanished.com/gallery/37_01_09_14_11_16_49.png)


I hope getting feedback from people :)


(http://worldofbanished.com/gallery/37_01_09_14_2_04_49.jpeg)

Magic Link will appear once you are logged ON on the forum !!
If you want to download it .... you need to register on our forum ! Once you have done that, the link will appear just below this green arrow :)
(http://worldofbanished.com/gallery/37_02_09_14_5_45_13.png)
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: ivorymalinov on September 02, 2014, 01:12:57 AM
Bit of an idiot question... but... Cattle no longer produce meat with this mod?
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Nilla on September 02, 2014, 02:31:12 AM
Looks great! Thanks
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Gordon Dry on September 02, 2014, 02:55:11 AM
Quote from: ivorymalinov on September 02, 2014, 01:12:57 AM
Bit of an idiot question... but... Cattle no longer produce meat with this mod?

Tested it, seems like that, milk replaces beef.

In future there should be a difference between cows and cattle pastures, milk and beef.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: rkelly17 on September 02, 2014, 07:01:56 AM
Far be it from me to suggest work for other people . . . .

But, what would be really nice would be, rather than replace beef with milk, to introduce a new animal: milk cows. Graphics would be a bit different so that instead of looking like the current beef cattle they look like dairy cattle and produce milk instead of beef.

Then, of course, we are talking a cheesemaker, eh?
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 02, 2014, 01:40:25 PM
hello everyone sorry not answered sooner... i was sleeping since yesterday IMO

about your question: YES , they still do. beef was only dropping beef only when they were slaughtered, and they still do, you ll see it. they drop milk every time during the year, and one day , when they get slaughtered, butchered , they still drop their part of beef and leather. :) like before. it s 2 different events thats happening.

same as sheep drop wool during the year and mutton when they die. same as chicken, eggs during the year and chicken meat when they die.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: irrelevant on September 02, 2014, 01:43:04 PM
Same amount of beef, same amount of leather, just with milk added?
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 02, 2014, 01:43:47 PM
yes
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 02, 2014, 02:50:17 PM
if i would wanted, i could asked to not drop beef anymore, but i didnt.

1.: if they dont drop beef anymore, then beef disappear from the game. and whats about the leather ? less leather in the game. <= BAD

2. start a new animal ? look same as cattle, but named cow ? and adds some 'tits' beneath it ? lol maybe i could have done. but cattle female dont give milk ? wth ! every animal on earth give milk, even human lol. but i dunno, looking at graphic cattle has, for me they are cows, female cows, and male cows are castred bulls without hormone so they ages slower
so whats the difference with cattle, bull , cows ? i dunno. but my English isnt my primary language^^

3. alot of people already dont use cattle anymore, only sheep. sheep all the way through without having cattle nor chicken. i was hoping by giving them milk, make them a bit more attractive, restoring the balance. so people use half sheep / half cattle. we will see later about chickens when we will need eggs to make cherry pie ^^
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 02, 2014, 03:13:41 PM
so.... someone made another mod doing kinda same thing as mine on banishedforum saying mine is bad !!!! mine doesnt drop beef anymore !!!!!

FALSE !!!!!

mine still drop Beef and Leather when the animal get slaughtered.

this is a copy paste of my code: LivestockCow.rsc

AnimalDescription animal
{
   ComponentDescription _rawMaterial
   [
      "Template/RawMaterialBeef.rsc"
      "Template/RawMaterialLeather.rsc"
   ]
   
   int _roamSize = 5;
   int _requiredArea = 20;
   
   float _maxAge = 6.0;
   float _maxAgeTolerance = 1.0;
   float _ageForOffspring = 0.8;
   float _offspringTerm = 0.6;
   float _offsprintTermTolerance = 0.20;
}

Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 02, 2014, 03:29:20 PM
there is a sreenshot : as you can see , when the cattle get slaughtered and they still drop Beef and leather :

(http://worldofbanished.com/gallery/37_02_09_14_3_28_59.jpeg)



so @Gordon Dry you tested it ??? ? yeah right. and you made a false statement ??? ? yeah right too.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 02, 2014, 04:26:35 PM
so i ve checked this other milk addon... ROFL

very crude white icons, when milk drop an Ale barrel drop (LOL), 10 units of milk dropping every 3 months (LOL) which has been 'eat' entirely by 1 Citizen in 3 sec (at 10x), the Citizen ate the 10 milk units in 1 shot and it totally made his day ^^ good luck to get some reserves to make bread with it.

Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Llogeyr on September 02, 2014, 06:56:53 PM
Works like a charm Red. Thanks for the mod.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Horser01 on September 02, 2014, 08:41:05 PM
THANK YOU!!! XD I've been waiting for this! Now for the production lines for cheese and all those other goodies... :D

The only thing I'm not sure about is it being dropped more than eggs... They both come daily (in real life), but then, you also get a lot more milk than eggs at a time, so I guess it evens out. Either way, I'm not complaining. Just commenting. Thanks again!
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Alycya on September 03, 2014, 04:31:28 AM
Works brilliantly for me too, thanks Red  :D
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: rkelly17 on September 03, 2014, 09:05:52 AM
Thanks for clarification and correction, @RedKetchup. This is great. More food for the masses!!!
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: solarscreen on September 03, 2014, 09:40:43 AM
@RedKetchup should I create the RedKetchup Mods Section so you can make sure people know where to find legitimate RedKetchup mods?

Obviously, other people will release their mods and probably base them off of others they found but we know a RedKetchup mod is the real deal and this is the place to get them!

You are one of our best here. I will support making sure you get the credit and respect you deserve.

Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 03, 2014, 10:21:13 AM
thanks alot @solarscreen

maybe i m one of the best here but... talking about mod, and 3d modeling .... i am one of the worst NOOBs hahaha everythng is going soooo slow and i know nothing !

nan , i just really disliked how someone made a false statement , a completly big LIE about my mod, that really upset me. My mod is awesome and beautiful, i put more hour into that than 80% of the population put in the real life job in a week.

maybe one day it will take me just 1 hour or 2 to make something LOL. but it s far to be the case hehe
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: slink on September 03, 2014, 10:23:58 AM
I don't have any expertise with 3-D modelling programs that deal with the type of files required for this game, so I am limited to scripting and, if I had access to the png files, reskinning.  Unfortunately, as @RedKetchup has commented elsewhere, we can't get to the distributed png files.   :'(
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: solarscreen on September 03, 2014, 10:25:52 AM
Quote from: slink on September 03, 2014, 10:23:58 AM
I don't have any expertise with 3-D modelling programs that deal with the type of files required for this game, so I am limited to scripting and, if I had access to the png files, reskinning.  Unfortunately, as @RedKetchup has commented elsewhere, we can't get to the distributed png files.   :'(

So we can add new graphics and other content but not mod the existing graphics?
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: slink on September 03, 2014, 10:28:16 AM
That's what it looks like to me.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: solarscreen on September 03, 2014, 10:28:56 AM
Well, we will do what we can do until that changes!

Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 03, 2014, 10:29:13 AM
yes we can use them but you cant change them, only the 2-3 now ones we ve got the in the Tools pack. the tool pack didnt uncompressed any of the .png, nor any wav nor any 3d .fbx :(

but i m finding a way to bypass that :) i just need a little help from @graphite to understand whats wrong with a little something.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: slink on September 03, 2014, 10:30:39 AM
Quote from: RedKetchup on September 03, 2014, 10:29:13 AM
but i m finding a way to bypass that :) i just need a little help from @graphite to understand whats wrong with a little something.
I hope you share them with us, if you get them somehow.   ;)
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 03, 2014, 10:33:42 AM
sorry maybe i explained myself a little wrong, i try to bypass the new images we got with the pack, like taking a bucklet of lettuce and make a fence with it lol. if i try to make a total new one from nothing, i fail miserably lol
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: slink on September 03, 2014, 10:43:10 AM
LOL.  Well, we shall persevere.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Denis de la Rive on September 03, 2014, 11:20:15 AM
I'm with you on the other bad mod  :D, looking forward to trying it! Just like your other mod ;)
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Llogeyr on September 03, 2014, 01:40:49 PM
Quote from: Horser01 on September 02, 2014, 08:41:05 PM
THANK YOU!!! XD I've been waiting for this! Now for the production lines for cheese and all those other goodies... :D

The only thing I'm not sure about is it being dropped more than eggs... They both come daily (in real life), but then, you also get a lot more milk than eggs at a time, so I guess it evens out. Either way, I'm not complaining. Just commenting. Thanks again!

A cheese and pie mod would be a nice addition. Can't help in any way because I haven't a clue how to do the stuff you guys do. I tried and didn't come out good at all. Thanks again for the mods.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Valdyr on September 03, 2014, 05:17:12 PM
hey awesome guy,
since I played this game I always was like: where's the milk?
Thank you so much for creating this mod :D
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Denis de la Rive on September 04, 2014, 07:34:52 AM
Still testing but seems not to work with better fields mod by rageingnonsense, I just don't get milk, beef and leather yes, but no milk. I don't think it's one of the other mods I'm testing.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Alycya on September 04, 2014, 08:26:54 AM
Quote from: Denis de la Rive on September 04, 2014, 07:34:52 AM
Still testing but seems not to work with better fields mod by rageingnonsense, I just don't get milk, beef and leather yes, but no milk. I don't think it's one of the other mods I'm testing.

That's strange as I'm using both and getting milk - but with v1 of the better fields mod, not tried it with the updated one yet.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Denis de la Rive on September 04, 2014, 09:54:18 AM
I'm using version 3, but I still want to try it on a smaller pasture, in the vanilla range of 20x20 or less, by the way I use and like your apiary mod. I don't think it has anything to do with leveling, roads or storage, I still use the vanilla barns.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 04, 2014, 10:10:00 AM
they drop beef and leather ONLY when you get 1 too many cattle in the pasture , it gets slaughtered and then 2 piece of beef and 1 piece of leather(6) drop on the ground outside the pasture.

if you have 8/10 cattle , or 18/20 ctattle, you wont see any beef.

but my code, my MOD is not defect AT ALL. it s 100%  perfect.


but i ve got to modified this file : LivestockCow.rsc  if the other moddler use it too , in 1 of the mod, of course there will be conflict.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 04, 2014, 10:17:59 AM
Quote

// layout of the entity
ComponentDescription resource
{
   // how often to update
   UpdatePriority _updatePriority = Fifth;
   
   // declare types that will be used
   Description _descriptions
   [
      "value",

      "model",
      "character",
      "animal",
      "select",
      "livestock",
   ]
}

ValueDescription value
{
   SpriteSheet _spriteSheet = "Dialog/SpriteSheet.rsc";
   String _spriteName = "CowsSmall";
   StringTable _stringTable = "Dialog/StringTable.rsc:rawMaterial";
   String _stringName = "Cows";
      
   // how much the item is worth, +- some tolerance
   int _baseValue = 800;

   // how much is sold in a single sale
   int _stackCount = 8;
   int _minStackCount = 6;
}

CharacterDescription character
{
   float _headingOffset = 180.0;
   float _turnFilter = 0.95;
}

SelectDescription select
{
   SpriteSheet _spriteSheet = "Dialog\SpriteSheet.rsc";
   String _spriteName = "LivestockCow";
   StringTable _stringTable = "Dialog/StringTable.rsc:rawMaterial";
   String _stringName = "Cows";
   SelectGroup _group = Livestock;
}

AnimalDescription animal
{
   ComponentDescription _rawMaterial
   [
      "Template/RawMaterialBeef.rsc"
      "Template/RawMaterialLeather.rsc"
   ]
   
   int _roamSize = 5;
   int _requiredArea = 20;
   
   float _maxAge = 6.0;
   float _maxAgeTolerance = 1.0;
   float _ageForOffspring = 0.8;
   float _offspringTerm = 0.6;
   float _offsprintTermTolerance = 0.20;
}

ModelDescription model
{
   MeshGroup _meshes
   [
      {
         AnimationGroup _animations = "Models\Animals\Cow\CowAnims.rsc";
         GraphicsMesh _mesh
         [
            "Models\Animals\Cow\CowMesh.rsc"
         ]
      }
   ]

   int _displayIndex = 0;
   int _subIndex = 0;   
   bool _randomIndex = false;
}


LivestockDescription livestock
{
   ComponentDescription _additionalRawMaterial = "Template\RawMaterialMilk.rsc";
   float _additionalCreateInMonths = 0.15;
}



you can see in BOLD GREEN the changes i made to this file.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: JamieIdle on September 04, 2014, 07:25:22 PM
I registered here just to get my friend Red's milk mod and I rarely use pastures!
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 04, 2014, 07:30:42 PM
yay Jamie !

you ll see it totally worth it :) and superb graphics :)
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: Denis de la Rive on September 04, 2014, 08:19:43 PM
Reinstalled your mod works fine now, milk! Must have been just one of those days, sorry.
Title: Re: MOD: Dairy Milk ressource - RedKetchup
Post by: RedKetchup on September 04, 2014, 08:47:33 PM
probably one of those days, or a mod conflict or something. it works super fine each time. and i m not alone.