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[]={};
weapons[]={};
requiredVersion=1.10;
};
};
class CfgWorlds
{
class DefaultWorld {};
class NEZ_DESERT: DefaultWorld
{
access=2
description=" NEZ_DESERT";
icon="";
worldName="\NEZ_DESERT\NEZ_DESERT.wrp";
plateFormat="MP-$$-##";
plateLetters="ABCDEFGHIJKLMNOPRSTVWZ";
startTime="8:30";
startDate="1/5/86";
startWeather=0.500000;
startFog=0.000000;
forecastWeather=0.500000;
forecastFog=0.000000;
seagullPos[]={8897,4349,100};
ilsPosition[]={9672,5569};
ilsDirection[]={0,0.080000,-1};
ilsTaxiIn[]={"9742","6259","9742","5609+8","9742-8","5609","9672+8","5609","9672","5609+8";"9672","5609+100"};
ilsTaxiOff[]={"9672","5569","9672","6760-8","9672+8","6760","9742-8","6760","9742","6760-8","9742","6259"};
class Sounds
{
sounds[]={};
};
class Animation
{
vehicles[]={};
};
class Names
{
};
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"; };
class Forest2T1 { replace="O\Tree\les_nw_jehl_T1.p3d";
with[]={"O\Tree\les_nw_jehl_T1.p3d"}; };
class Forest2T2 { replace="O\Tree\les_nw_jehl_T2.p3d";
with[]={"O\Tree\les_nw_jehl_T2.p3d"}; };
class Forest2plane { replace="O\Tree\les_nw_jehl_ctver.p3d";
with[]={}; };
};
};
};[/QUOTE]
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[]={};
weapons[]={};
requiredVersion=1.10;
};
};
class CfgWorlds
{
class DefaultWorld {};
class NEZ_DESERT: DefaultWorld
{
access=2
description=" NEZ_DESERT";
icon="";
worldName="\NEZ_DESERT\NEZ_DESERT.wrp";
plateFormat="MP-$$-##";
plateLetters="ABCDEFGHIJKLMNOPRSTVWZ";
startTime="8:30";
startDate="1/5/86";
startWeather=0.500000;
startFog=0.000000;
forecastWeather=0.500000;
forecastFog=0.000000;
seagullPos[]={8897,4349,100};
ilsPosition[]={9672,5569};
ilsDirection[]={0,0.080000,-1};
ilsTaxiIn[]={"9742","6259","9742","5609+8","9742-8","5609","9672+8","5609","9672","5609+8";"9672","5609+100"};
ilsTaxiOff[]={"9672","5569","9672","6760-8","9672+8","6760","9742-8","6760","9742","6760-8","9742","6259"};
class Sounds
{
sounds[]={};
};
class Animation
{
vehicles[]={};
};
class Names
{
};
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"; };
class Forest2T1 { replace="O\Tree\les_nw_jehl_T1.p3d";
with[]={"O\Tree\les_nw_jehl_T1.p3d"}; };
class Forest2T2 { replace="O\Tree\les_nw_jehl_T2.p3d";
with[]={"O\Tree\les_nw_jehl_T2.p3d"}; };
class Forest2plane { replace="O\Tree\les_nw_jehl_ctver.p3d";
with[]={}; };
};
};
};[/QUOTE]