PDA

View Full Version : Resistance Forest problem



NeZz_DK
Jun 22 2004, 15:18
Hey guys.. I have a little problem with the resistance Forest objects, they dont apear right in Buldozer and ingame.

as we all know they are triangles but how do i get them to apear right, so that the 2 T1 and  T2 p3ds align right and create a square??

is it a CPP problem?

EDIT:
Ok Found the problem, and got it fixed now my config looks like this for the forests
http://www.wtr.dk/forestconfig.gif

and my config.cpp looks like this
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
class CfgWorldList
{
class NEZ_DESERT{};
};
class CfgPatches
{
class NEZ_DESERT
{
units&#91;&#93;={};
weapons&#91;&#93;={};
requiredVersion=1.10;
};
};
class CfgWorlds
{
class DefaultWorld {};
class NEZ_DESERT&#58; DefaultWorld
{
access=2
description=&#34; NEZ_DESERT&#34;;
icon=&#34;&#34;;
worldName=&#34;&#92;NEZ_DESERT&#92;NEZ_DESERT.wrp&#34;;
plateFormat=&#34;MP-&#036;&#036;-##&#34;;
plateLetters=&#34;ABCDEFGHIJKLMNOPRSTVWZ&#34;;
startTime=&#34;8&#58;30&#34;;
startDate=&#34;1/5/86&#34;;
startWeather=0.500000;
startFog=0.000000;
forecastWeather=0.500000;
forecastFog=0.000000;
seagullPos&#91;&#93;={8897,4349,100};
ilsPosition&#91;&#93;={9672,5569};
ilsDirection&#91;&#93;={0,0.080000,-1};

ilsTaxiIn&#91;&#93;={&#34;9742&#34;,&#34;6259&#34;,&#34;9742&#34;,&#34;5609+8&#34;,&#34;9742-8&#34;,&#34;5609&#34;,&#34;9672+8&#34;,&#34;5609&#34;,&#34;9672&#34;,&#34;5609+8&#34;;&#34;9672&#34;,&#34;5609+100&#34;};
ilsTaxiOff&#91;&#93;={&#34;9672&#34;,&#34;5569&#34;,&#34;9672&#34;,&#34;6760-8&#34;,&#34;9672+8&#34;,&#34;6760&#34;,&#34;9742-8&#34;,&#34;6760&#34;,&#34;9742&#34;,&#34;6760-8&#34;,&#34;9742&#34;,&#34;6259&#34;};

class Sounds
{
sounds&#91;&#93;={};
};
class Animation
{
vehicles&#91;&#93;={};
};
class Names
{
};
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;; };


class Forest2T1 { replace=&#34;O&#92;Tree&#92;les_nw_jehl_T1.p3d&#34;;
with&#91;&#93;={&#34;O&#92;Tree&#92;les_nw_jehl_T1.p3d&#34;}; };
class Forest2T2 { replace=&#34;O&#92;Tree&#92;les_nw_jehl_T2.p3d&#34;;
with&#91;&#93;={&#34;O&#92;Tree&#92;les_nw_jehl_T2.p3d&#34;}; };

class Forest2plane { replace=&#34;O&#92;Tree&#92;les_nw_jehl_ctver.p3d&#34;;
with&#91;&#93;={}; };

};

};
};[/QUOTE]