OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: RedHouse on 04 Mar 2005, 11:09:54

Title: What is the forest called in the data3d folder?
Post by: RedHouse on 04 Mar 2005, 11:09:54
I'm making an Island but I need to know what the forest is called in the data3d folder. And I mean the forrest that they use on nogova.

Can anyone tell me? thx
Title: Re:What is the forest called in the data3d folder?
Post by: Pilot on 04 Mar 2005, 16:14:07
The resistance forests are actually in O.pbo in your Res\Addons folder.  They are located in a subfolder called tree

The names are:
les_ctverec_geom
les_nw_ctver
les_nw_ctver_pruhozi
les_nw_ctver_pruhozi_T1
les_nw_ctver_pruhozi_T2
les_nw_jehl_ctver
les_nw_jehl_ctver_pruhozi
les_nw_jehl_mlaz
les_nw_jehl_T1
les_nw_jehl_T2
les_nw_jehl_trojuhelnik
les_nw_trojuhelnik

There are a lot there.  However, some of them may contain errors, so it is suggested you only use the following:
les_nw_trojuhelnik
les_nw_ctver_pruhozi_T1
les_nw_ctver_pruhozi_T2
les_nw_jehl_trojuhelnik
les_nw_jehl_T1
les_nw_jehl_T2

I hope this helps you!
Title: Re:What is the forest called in the data3d folder?
Post by: RedHouse on 04 Mar 2005, 16:42:22
thanks thats very helpful
Title: Re:What is the forest called in the data3d folder?
Post by: RedHouse on 04 Mar 2005, 18:26:24
this is hacking me off, ive spent ages and i cant figure out which is the edge the middle and the corner for the forest, does anyone already know so it will save time?
Title: Re:What is the forest called in the data3d folder?
Post by: Pilot on 04 Mar 2005, 20:20:29
Are you refering to the symbol for the forest in the island maker?

The forest sections I gave you are in the shape of a triangle.  This should be represented in the island maker by a triangle.  The orientation of the triangle in the island maker is the orientation of the real forest on the actual island.

Do you use WRP Edit or WRP Tool?
Title: Re:What is the forest called in the data3d folder?
Post by: RedHouse on 04 Mar 2005, 20:23:13
no i use visitor, cause i need too know which parts of the forest is like the edge of the forest and which is the corner and all that so when you create a forest it all links up
Title: Re:What is the forest called in the data3d folder?
Post by: Pilot on 05 Mar 2005, 04:28:13
Quote
no i use visitor

Oh.  I have never used visitor (I don't speak whatever language the interface uses :P), so I can't help you out there, sorry! :-\
Title: Re:What is the forest called in the data3d folder?
Post by: RedHouse on 05 Mar 2005, 14:17:27
its not as much so to do with what program, its just im wondering for say theres a certain type of forest there are 3 parts that make it up the 1st part is the main square shape that fills most of the forest, the next part is the sort of rectangle shape that makes up the edge of the forest and the last part is the  triangle shape that makes up the corners of the forest.

But if its completly different with WRPedit and WRPtool then nevermind but thanks anyway.
Title: Re:What is the forest called in the data3d folder?
Post by: RedHouse on 05 Mar 2005, 14:19:27
ow yea and I dont speak russian which i think is the language its in, but most of it is in english so everything is farley easy to work out.
Title: Re:What is the forest called in the data3d folder?
Post by: Planck on 05 Mar 2005, 14:38:51
Most forest is composed of 2 pieces, for instance:

les_nw_ctver_pruhozi_T1
les_nw_ctver_pruhozi_T2

These 2 pieces are placed on the same terrain grid and they form 2 opposing triangles which make up a forest square.

If you used these pieces exclusively you would end up with a very squareish looking forest......so...this piece:

les_nw_trojuhelnik

which is a proper forest triangle, can be used to round of some of the corners to make it look more natural.

Check the Editors Depot for the WrpEdit tutorial or maybe it was the WrpEdit Manual I wrote some time ago.

I know you are using Visitor, but I think the same principle applies whichever program you are using.


Planck
Title: Re:What is the forest called in the data3d folder?
Post by: RedHouse on 05 Mar 2005, 14:50:25
ah thats helpful, but with visitor you have to define which is the "square - fill", "square" and "triangle" or the last one might be called corner but anyway thats a problem how could i tell visitor that the square - fill is 2 parts, or do u have to do it manually, like edit it in bulldozer.
Title: Re:What is the forest called in the data3d folder?
Post by: Planck on 05 Mar 2005, 15:10:21
Sadly I cannot really use Visitor properly with my system, so I tend to stick to WrpEdit.
So, I am not at all familiar with the ins and outs of Visitor.

Maybe the forest square Visitor wants is in fact a forest square.
There is one, but if my memory serves me correctly it is a solid piece and cannot be entered.
I have a vague notion that there is one other square piece that can be entered, but it has been a long time since I talked to the trees.


Planck
Title: Re:What is the forest called in the data3d folder?
Post by: RedHouse on 05 Mar 2005, 16:58:02
les_ctverec_geom is defiantly a square, im pritty sure there are others. thx for the help
Title: Re:What is the forest called in the data3d folder?
Post by: Planck on 05 Mar 2005, 17:16:42
Yes......les_ctverec_geom is square, but it is solid and unenterable.


Planck
Title: Re:What is the forest called in the data3d folder?
Post by: RedHouse on 05 Mar 2005, 22:42:43
ah crap, but maybe if i opened it and edited the geo lod
Title: Re:What is the forest called in the data3d folder?
Post by: Planck on 06 Mar 2005, 01:07:56
les_nw_jehl_ctver_pruhozi.p3d

This is also a square and I think you can enter it, but, I'm not sure if it has trouble conforming to slopes or not.

It is a different forest type than the previously mentioned pieces.


Planck
Title: Re:What is the forest called in the data3d folder?
Post by: RedHouse on 06 Mar 2005, 02:56:51
ill look into it
Title: Re:What is the forest called in the data3d folder?
Post by: surpher on 07 Mar 2005, 18:03:51
You need to add this into your config, it swaps the unenterable square into two triangles.

Code: [Select]
class ReplaceObjects
      {
         class Forest1Border
         {
            replace="O\Tree\les_nw_ctver_mlaz.p3d";
            with[]={};
         };
         class Forest1Triangle
         {
            replace="O\Tree\les_nw_trojuhelnik.p3d";
            with[]={"O\Tree\les_nw_trojuhelnik.p3d"};
         };
         class Forest1Square
         {
            replace="O\Tree\les_nw_ctver_pruhozi.p3d";
            with[]={"O\Tree\les_nw_ctver_pruhozi_T1.p3d","O\Tree\les_nw_ctver_pruhozi_T2.p3d"};
            center="true";
         };
         class Forest2Border
         {
            replace="O\Tree\les_nw_jehl_mlaz.p3d";
            with[]={};
         };
         class Forest2Triangle
         {
            replace="O\Tree\les_nw_jehl_trojuhelnik.p3d";
            with[]={"O\Tree\les_nw_jehl_trojuhelnik.p3d"};
         };
         class Forest2Square
         {
            replace="O\Tree\les_nw_jehl_ctver_pruhozi.p3d";
            with[]={"O\Tree\les_nw_jehl_T1.p3d","O\Tree\les_nw_jehl_T2.p3d"};
            center="true";
         };
      };

Checkout the config in the Noe.pbo
Title: Re:What is the forest called in the data3d folder?
Post by: RedHouse on 07 Mar 2005, 18:57:29
thanks