World of Banished

Conversations => General Discussion => Topic started by: RedKetchup on September 05, 2014, 12:21:57 AM

Title: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 05, 2014, 12:21:57 AM
loooooll

Fault to be able to make fence.....

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




WALL THEM !



haha, i ll make those fence.... do you think it will work and prevent them to pass ? see attchment screenshot lol
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 12:24:15 AM
mwahaha i have so much fun tonight IMO

ROFLMAO
Title: Re: Fault to be able to make fence.....
Post by: Bong on September 05, 2014, 01:44:50 AM
You plan to implement battles? :D Those walls are like China or Dubrovnik wall, except for material :D
Title: Re: Fault to be able to make fence.....
Post by: Nilla on September 05, 2014, 02:38:38 AM
 :D
When I see this I wish I knew a little bit more about programming so I could test such things too. Must be great to see what comes out; trying stuff (even if it is not exactly what you planned)

And please go on showing us your "failures" too ;)

And perhaps that kind of "fences" might be useful too, wild boars in the forest are not to stop with some tiny fences and I know of own experience what those animals can do on a potato field !!!  >:(
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 02:43:46 AM
yeah trying to find out some ... material.... thats really not easy to find something as good and as near as the developper used :P

but ... the good news is ... i m almost there , see this picture :)

(about failures.... 98,9% of my time passed on this is ... total failure !!! LOL


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


i need to find how to click and put it on the ground to be build without having the game crashing LOL

when i ll succeed (after XX hours of total failure ^^ again) i ll go back to try to find another paint material :)
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 03:26:51 AM
i played with the color/hue/saturation/contrast of my sample, i got it near, acceptable :)

(http://worldofbanished.com/gallery/37_05_09_14_3_25_14.jpeg)
Title: Re: Fault to be able to make fence.....
Post by: graphite on September 05, 2014, 03:34:46 AM
Hey Red, looks like you are now moving in the right direction ;)

as for free textures go here: http://www.cgtextures.com/

but you will now need to learn how to unwrap the model and apply the textures ;)
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 03:49:43 AM
/cry another 48hrs to lose LOL. i m so slow. the problem is to find where and how to do something ^^


btw, i did a corner but .... i totally misjudged it. lol too bad, the modkit accepted it from the 1st try /cry LOL




edit: also i ll need to make a lot of test and modifications.... to make them assembly perfectly one in one on the map :S
Title: Re: Fault to be able to make fence.....
Post by: slink on September 05, 2014, 06:40:35 AM
It's looking good, @RedKetchup.  If nothing else, you are learning to use the modelling software.
Title: Re: Fault to be able to make fence.....
Post by: rkelly17 on September 05, 2014, 07:33:56 AM
@RedKetchup, the fences do look good to me. The one thing I notice is that on the corner piece the fences are at the edge and on the regular piece the fence is in the middle. I know nothing about 3d, of course, but would it work if the regular fence piece had the fence on the edge?
Title: Re: Fault to be able to make fence.....
Post by: A Nonny Moose on September 05, 2014, 08:17:59 AM
I'm for fences.  They make good neighbours and keep out predators.
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 02:40:41 PM
i know i misjudged it. the straight one is in middle and go all the way through from right to left. what i need to do for the corner is put the pole in the middle and make go left and up 2x half of fence.

or i go back to the straight one and make it to the edge ^^
Title: Re: Fault to be able to make fence.....
Post by: Paeng on September 05, 2014, 03:28:30 PM
Quote from: RedKetchup on September 05, 2014, 02:40:41 PMor i go back to the straight one and make it to the edge

I feel that would be the better choice... because then we can rotate the piece and decide whether we want to lay a path next to it or not...

It's generally easier (for the player) to come up with different and creative layouts when the fence is on the edge (rather than in the middle) of a 1x1...
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 03:36:08 PM
exact. and thats what i did.

this screenshot show 2 type of fence : a straight long one and a corner one.

each one (row of picture) has 4 different copy/paste , i rotated with "R" keyboard key and screenshot all 4 different rotated positions

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



i think i got it :)
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 03:56:07 PM
now the HARDEST (in a way) : The coding LOL

i guess i ll have to go back in my 2 different .FBX and add at each 2 more ones , a FenceBuild01 and a FenceBuild02 for the straight one and do same for the corner, a FenceCornerBuild01 and FenceCornerBuild02 LOL

everything seems to work in 3 times : when you click you should see a footprint, then when mats are there Build01, Midway of building it there is the Build02, and then when completed, the finished one : Fence
Right ?

but for the moment i am at : when i click to launch it... the game crash LOL.
Title: Re: Fault to be able to make fence.....
Post by: irrelevant on September 05, 2014, 04:01:02 PM
While you're at it, can you make that tile a stockpile too?  ;D

I'm just kidding. Seriously, looking good.
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 04:06:27 PM
a 1 tile (1x1) stock pile ? ^^
Title: Re: Fault to be able to make fence.....
Post by: Paeng on September 05, 2014, 04:08:07 PM
Bravo, this looks so cool! And that will change the look (and structure) of villages in a big way  :P

* Suggestion - if the corner costs 2, maybe keep the straight at 1? Otherwise I fear the cost is too high... a 10x20 enclosure would cost over 120 logs at 2 each)...
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 04:09:14 PM
yeah probably, i dont see a problem at all
Title: Re: Fault to be able to make fence.....
Post by: irrelevant on September 05, 2014, 04:39:25 PM
Quote from: RedKetchup on September 05, 2014, 04:06:27 PM
a 1 tile (1x1) stock pile ? ^^
Who's going to make a fence one tile long? A 20x1 stockpile is the same as a 4x5 stockpile. ;)
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 04:48:33 PM
i think all is set there in StorageYard.rsc

CreateDragDescription createdrag
{
bool _ignoreZones = false;
PathBits _placeBits = Normal | Obstacle;
int _maxWidth = 10;
int _maxHeight = 10;
int _minWidth = 2;
int _minHeight = 2;

ComponentDescription _allowAndRemove = "Template/Clear.rsc";
}



Title: Re: Fault to be able to make fence.....
Post by: irrelevant on September 05, 2014, 05:00:22 PM
Yabbut also with a fence ;)
Title: Re: Fault to be able to make fence.....
Post by: RedKetchup on September 05, 2014, 06:07:06 PM
what is yabbut ? never saw that 'word' before.

BTW i ve gone to re-touch my icons and this screenshot made of copy/paste shows both icons, yet arent in same mod yet ^^

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

but now... /cry  ...   /big_cry  ... time for world of warcraft raiding ^^
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: irrelevant on September 05, 2014, 06:12:42 PM
LOL, sorry, that's "yeah, but...."

Nice!
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 05, 2014, 06:15:22 PM
oh i see lol yabbut = ya, but


haha i m so slow, i m a ball on a chain lol
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 05, 2014, 07:17:31 PM
YAY !!! i didnt even know we were friday already LOL

time flies soooooooooo fast when i m doing that, i dont see days passing through lol

well........ continuing haha

now both fence (straight one and corner one) are on the same page :)

i reduced also the cost of the straight one to : x1 Wood as you can see in this picture :)

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

Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 05, 2014, 10:38:10 PM
CRY :'(

still doesnt work :(

i made a ton and a ton of things tonight, i added a ton of things to my code, to my .FBX (like the footprint, the build01, the build 02, point list, mesh, all the texts .rsc thats goes with ... etc) and when i click on the ground ....
game crash :(


the Tools compile the MODs fine without error .... but the game crash :(
i ll have to recheck everything again LOL

if someone has an idea ^^ let me know ^^
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 05, 2014, 11:42:14 PM
i still didint resolved my problem :(

thats how we have to do things without any guideline from the developper :P

i remember when i took like 1 or 2 months of programmation, the very first thing they tried to learn us is : each line of code , you need to write next to it : why, what, and how you have wrote that line.

so if you comeback 3 years laters, or someone else try to understand what you intended to make, and how, and why, can be able to understand you and understand that line of code.

/shrug

we are obligated to try to make steps while  being totally blind, without a cane LOL
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 06, 2014, 01:26:40 AM
so... i tried my best to find things by myself, like a blind guy trying to find his way while walking like a baby (2 feet 2 hands) ^^

this last one .. i cant find. i really dont see in my codes. probably something inside my fence.fbx , pretty sure. but dunno how to fix it, or add what it lack.

i dunno who can help me out of @graphite again, poor guy, he will start to hate me ^^
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 06, 2014, 02:31:13 AM
i still didnt figured out :(

How do I create a such group called "mesh" which seems to make lines from everything like in this screenshot of the apiary ?
and have it seperatated from main grp in the schematic view1 ?
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: graphite on September 06, 2014, 04:38:46 AM
Hey Red,

Looking at the images you have posted, the first thing that sprung to mind is where is the edge mesh detection ... would think this would need to be attached. Take a look at:

MaterialInstance _maskMaterial = "Material/SelectionMask/SelectionMask.rsc";
MaterialInstance _edgeMaterial = "Material/SelectionEdge/SelectionEdge.rsc";

cheers ;)
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 06, 2014, 08:00:34 AM
i have those lines but you dont tell me what i need to do for it in my .fbx :(
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 06, 2014, 08:21:29 AM
i have those :

EdgeMesh edge
{
   GraphicsMesh _graphicsMesh = "resource";

   MaterialInstance _maskMaterial = "Material/SelectionMask/SelectionMask.rsc";
   MaterialInstance _skinMaskMaterial = "Material/SelectionMask/SelectionMaskSkin.rsc";
   MaterialInstance _edgeMaterial = "Material/SelectionEdge/SelectionEdge.rsc";
   MaterialInstance _skinEdgeMaterial = "Material/SelectionEdge/SelectionEdgeSkin.rsc";
}


Inside my :

FenceMesh.rsc
FenceBuild01Mesh.rsc
FenceBuild02Mesh.rsc

and eventually...

FenceCornerMesh.rsc
FenceCornerBuild01Mesh.rsc
FenceCornerBuild02Mesh.rsc

but attached.. .what you mean, and attached to what ??? what i need to do inside 3ds max for "attaching" those ?

you didnt told me anything, so i ll lose all my day again :( another 24hrs trashed in the recycled bin. IMO
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 06, 2014, 02:29:03 PM
well... in wait to see if @graphite can help me... (i sent an in game PM) ^^

i will start a new project. so i can still use well my time - i have so many beautiful projects i my mind :)



BTW, can a modo move this thread to ....

Suggestions and Mod Ideas
Talk about mods - ideas, suggestions, examples

thanks you,
sorry i didnt expected my comment (1st reply) would make this thread ending as my worksheet mod idea.
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 09, 2014, 02:08:24 AM
i think i ll have an idea after my creamery dairy milk done for doing my fence. i ll do the trick i made for my creamery building (old apiary one totally modified and changed around)...

i ll keep only the fence in it and i ll play with :)
but after when all creamery done :)
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: RedKetchup on September 12, 2014, 12:24:15 PM
i feel i m getting more closer but still crash as i click lol , but with the look, i think i go in the good direction :)


but..... making a little break , going to read what exactly @irrelevant want me to do with the crops :)
Title: Re: Fault to be able to make fence.....(Edit: Almost there)
Post by: irrelevant on September 12, 2014, 12:40:46 PM
 :D