PDA

View Full Version : Forests



Armstrong2
Jan 2 2005, 20:14
I make forest. I see in Buldozer that between forest textures are big distances. How to do forest without this distances?

  http://acgteam.wz.cz/lestest.JPG

Jakerod
Jan 3 2005, 00:02
Picture isn't showing up.

Did you place them individually or did you use the forest (lesy) option on the left?

Armstrong2
Jan 3 2005, 18:00
Picture isn't showing up.

Did you place them individually or did you use the forest (lesy) option on the left?
I used the option on the left. I selected terrain on the map and I clicked on the "Place forest" and saw picture in Buldozer that is in topic up.

Jakerod
Jan 4 2005, 01:04
Did you make sure you defined all 3 forest pieces in the forest option?

Armstrong2
Jan 4 2005, 13:40
Did you make sure you defined all 3 forest pieces in the forest option?
Yes I used forest pieces from Resistance and defined all 3 forest pieces. So it represent in Visitor.

http://acgteam.wz.cz/vistest.JPG

Edge
Jan 4 2005, 14:14
@<hidden>: Then did not define them correctly - you probably defined border model as a square one. I will prepare some explanation (have to look in my settings, not sitting at my own PC now) and the config part you will need for correct model replacements in the game. Stay tuned.

Jakerod
Jan 5 2005, 02:22
This may help you with forests:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
---&#62;Forest&#60;---
Tools&#62;Forest&#62;add
Name&#58;Forest1
Square-fill&#58; o&#92;tree&#92;les_nw_ctver_pruhozi.p3d
Square-fill&#58; o&#92;tree&#92;les_nw_ctver_mlaz.p3d
Square-fill&#58; o&#92;tree&#92;les_nw_trojuhelnik.p3d

Hit Okay

Hit Add
Name&#58;Forest2
Square-fill&#58; o&#92;tree&#92;les_nw_jehl_ctver_pruhozi.p3d
Square-fill&#58; o&#92;tree&#92;les_nw_jehl_mlaz.p3d
Square-fill&#58; o&#92;tree&#92;les_nw_jehl_trojuhelnik.p3d

Hit Okay
Hit Okay

[/QUOTE]

You will need to put this into the config to make the forests work correctly ingame:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class ReplaceObjects
{
class Forest1Border
{
replace=&#34;O&#92;Tree&#92;les_nw_ctver_mlaz.p3d&#34;;
with&#91;&#93;={};
};
class Forest1Triangle
{
replace=&#34;O&#92;Tree&#92;les_nw_trojuhelnik.p3d&#34;;
with&#91;&#93;={&#34;O&#92;Tree&#92;les_nw_trojuhelnik.p3d&#34;};
};
class Forest1Square
{
replace=&#34;O&#92;Tree&#92;les_nw_ctver_pruhozi.p3d&#34;;
with&#91;&#93;={&#34;O&#92;Tree&#92;les_nw_ctver_pruhozi_T1.p3d&#34;,&#34;O&#92;Tree&#92;les_nw_ctver_pruhozi_T2.p3d&#34;};
center=&#34;true&#34;;
};
class Forest2Border
{
replace=&#34;O&#92;Tree&#92;les_nw_jehl_mlaz.p3d&#34;;
with&#91;&#93;={};
};
class Forest2Triangle
{
replace=&#34;O&#92;Tree&#92;les_nw_jehl_trojuhelnik.p3d&#34;;
with&#91;&#93;={&#34;O&#92;Tree&#92;les_nw_jehl_trojuhelnik.p3d&#34;};
};
class Forest2Square
{
replace=&#34;O&#92;Tree&#92;les_nw_jehl_ctver_pruhozi.p3d&#34;;
with&#91;&#93;={&#34;O&#92;Tree&#92;les_nw_jehl_T1.p3d&#34;,&#34;O&#92;Tree&#92;les_nw_jehl_T2.p3d&#34;};
center=&#34;true&#34;;
};
};[/QUOTE]

Edge
Jan 5 2005, 10:50
Damn Jakerod you were first http://forums.bistudio.com/oldsmileys/biggrin_o.gif Good work anyway. http://forums.bistudio.com/oldsmileys/smile_o.gif
I&#39;ve prepared something 90% same (did&#39;t write "Hit Okay")... Let me just clarify where to put the config addition:


Quote[/b] ]
//***START OF CONFIG***
class CfgWorlds
{
class DefaultWorld {};
class Intro : DefaultWorld {};
class YOURISLAND : Intro
{
access = 3;
description = "YOURISLAND";
icon = "&#92;YOURISLAND&#92;YOURISLAND.paa";
worldName = "&#92;YOURISLAND&#92;YOURISLAND.wrp";
cutscenes[] = {"..&#92;addons&#92;YOURISLAND_intro&#92;intro"};
plateFormat = "ZA&#036; - ####";
plateLetters = "ABEHIKMNOPTXYZ";
latitude= 0.00;
longitude= 0.00;
seagullPos[] = {6400,6400};
centerPosition[] = {6400,6400};

//*****START OF CONFIG ADDITION*****
class ReplaceObjects
{
class Forest1Border
{
replace="O&#92;Tree&#92;les_nw_ctver_mlaz.p3d";
with[]={};
};
class Forest1Triangle
{
replace="O&#92;Tree&#92;les_nw_trojuhelnik.p3d";
with[]={"O&#92;Tree&#92;les_nw_trojuhelnik.p3d"};
};
class Forest1Square
{
replace="O&#92;Tree&#92;les_nw_ctver_pruhozi.p3d";
with[]={"O&#92;Tree&#92;les_nw_ctver_pruhozi_T1.p3d","O&#92;Tree&#92;les_nw_ctver_pruhozi_T2.p3d"};
center="true";
};
class Forest2Border
{
replace="O&#92;Tree&#92;les_nw_jehl_mlaz.p3d";
with[]={};
};
class Forest2Triangle
{
replace="O&#92;Tree&#92;les_nw_jehl_trojuhelnik.p3d";
with[]={"O&#92;Tree&#92;les_nw_jehl_trojuhelnik.p3d"};
};
class Forest2Square
{
replace="O&#92;Tree&#92;les_nw_jehl_ctver_pruhozi.p3d";
with[]={"O&#92;Tree&#92;les_nw_jehl_T1.p3d","O&#92;Tree&#92;les_nw_jehl_T2.p3d"};
center="true";
};
};
//*****END OF CONFIG ADDITION*****
};
};
//***END OF CONFIG***


...of course, there can be also Names class on the same level as ReplaceObjects. I suggest to de-PBO some recent island to see the real config.

Armstrong2
Jan 5 2005, 17:37
I saw the forest ingame and there were always the same distances. The forest was in right up part, with using your config. My forest also was placed in other place. http://forums.bistudio.com/oldsmileys/mad_o.gif

Jakerod
Jan 5 2005, 20:08
Are you sure you put the right types of forest pieces into the forests in visitor? That is really the only thing I can think of at the present moment.

Other than that I don&#39;t know what would be wrong.

Armstrong2
Jan 6 2005, 17:52
http://acgteam.wz.cz/vltest.JPG
Is here something wrong?

Jakerod
Jan 7 2005, 00:04
Hm... the only difference I see is that mine has an &#39;o&#92;tree&#92;&#39; instead of your &#39;tree&#92;&#39;. I don&#39;t think that would make a difference though.

Sorry man I don&#39;t think I can help you anymore. Maybe Edge or Planck or someone could help you.

Armstrong2
Jan 8 2005, 09:50
I have changed the way to folder. I used 0&#92;Tree&#92;.... instead Tree&#92;... . I placed the forest on the map and exported it in the game with using your config. Window showes up me after loading the map and in the window is written: Cannot open object buldozer&#92;o&#92;tree&#92;les_nw_trojuhelnik.p3d. I do not know why there si written the word "buldozer". I did not set up this word anywhere only in "system preferences". Do not you know why is it?

Jakerod
Jan 8 2005, 15:58
This is what my preferences window looks like:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Basic Folder&#58; C&#58;&#92;visitor&#92;visitor2
Textures&#58; z&#58;&#92;
Nature Objects&#58;  z&#58;&#92;
Artificial Objects&#58;   z&#58;&#92;
Forest and Roads&#58;  z&#58;&#92;
World Files&#58;  z&#58;&#92;
[/QUOTE]
Note: Z:&#92; is the drive buldozer is on
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
Path to realtimeviewer&#58;  z&#58;&#92;buldozer.exe -dx -window
[/QUOTE]
Try setting it up like that but make sure you write down your settings somewhere so incase mine don&#39;t work you can revert.

Armstrong2
Jan 11 2005, 18:38
Problem with forest was resolved http://forums.bistudio.com/oldsmileys/smile_o.gif
Problem was in System preferences/Real Time viewer/ in item Standard dimensions of world in viewer. I was setting up it on caliber 256*256 and it had to be set on 64*64.
I thank Jakerod and Edge in behalf on help.