News:

Welcome to World of Banished!

Main Menu

Poll : New Livestock package.

Started by RedKetchup, August 28, 2014, 02:39:22 AM

Previous topic - Next topic

0 Members and 12 Guests are viewing this topic.

graphite

Oh my, the poor livestock thread has certainly been derailed ... we may need the intervention of the big Chihuahua to setup a modding tutorial thread?

So the issue is not with max Red, it's just that you don't have a grasp on 3D workflow ;)

This is what you need to do;

open lettuce.png in your 2D app of choice.



make a selection of the lettuce material and replace with a milk image> and save.



Now go and open the lettuce.fbx in 3dsmax .... and there you go .... milk ;) 



cheers mate

RedKetchup

ya that i figured tonight, maybe 1hr after i posted. (and it s not a lie, i figured it alone. iron cross, wood cross, on the head of my deceased mother ^^)

i take the lettuce.fbx and apply the png and the AO ... and it works ! BUT...
it happends to work only if i do a new building : Dairy.

it refuses to work with my kit i made which i create the resource and drop from the pasture. i always get compile errors and i lost 6 hrs tonight to try to figure out why it doesnt work. i always get  errors and i cant figure out . i just copied from when it works to the other where doesnt work :( and the most annoying thing is, my sprites are good and it has nothing to do with the fbx and model :S

> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

RedKetchup

but if i use the Dairy building and i add the pasture to it , it still work !!! but i cant make it work alone :S i passed 6hr to try to figure out... and i just cant see what is the problem :(

check at my screenshot !

> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

RedKetchup

#33
INCOMING NEWS !!!!!!! tada!

so ! .....

what i did... i did a kinda.... reverse engineering lol

I took my code which worked perfectly with Dairy House (Apiary building) and Pasture : Cattle and......

i deleted the profession ! and i deleted the 'toolbar-food' data.... (with the code i deleted, it doesnt even code the building anymore)

and STILL WORK !!!!!!!!!!!!!


there is no profession ! there is no icon in food toolbar ! pasture:cattle drop regulary milkpot on the ground (working on the numbers now) ^^




So Now Question :

How much Milk should give One 20x20 cattle pasture in One Year ? ? ? ? ? ? dont forget it is One 20x20 i asked, not a 10x20 or a 12x16 ^^

i wish to get 5-6 answers please !
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

RedKetchup

> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

graphite


RedKetchup

> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

irrelevant

I don't normally raise cattle, how much beef and leather does a 20x20 typically produce? And are you thinking of this as just a straight addition to this, or is it a replacement? Dairy cattle normally don't get used for beef.

graphite

#38
solution:

open *.fbx
delete the lettuce model {it is referencing the leaf material}

and all should be good ;)


   DetailLevel _detailLevel
   [
      {
         float _transitionDistance = 10000.0;
         String _subObject = "lettuce"; //also delete this line and any others with reference to the subOjects in the mesh
         ImageBuffer _image = "Models\MaterialInstance\MilkAO.rsc";
      }

RedKetchup

before i open the fbx and i select the lettuce plant and i press 'DEL' can you check your mailbox to know if you saw my last mail ?
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

graphite

confirmed: updated post above this one ;)

RedKetchup

nop doesnt work it says failed to build graphic mesh :(
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

RedKetchup

same if i deleted (zipped) all the *leaf*.* (5 files) => same error
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

RedKetchup

#43
oh i see your edit : going to do that

error. i deleted the
Quote
         String _subObject = "lettuce";

in my MilkMesh...

in command line it says :
Failed to build graphics mesh '(null)' in Models\Milk.fbx
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

graphite

okay there is something else that is trying to reference the lettuce mesh, but can't because it's missing ;)