jens198
Jan 5 2008, 20:22
Hi,
in the lack of tutorials for o2 beginners I revisited brsseb's old modeling lessons (link (http://ofp.gamepark.cz/_hosted/brsseb/tutorials.htm)) and I just finished the first lesson (the good old red crate). It's basicly just a box with two textures. One normal LOD and a geometry LOD. Nothing more. In bulldozer everything looks fine.
If I try to view the crate ingame I get the message:
No entry 'bin\config.bin\CfgModels\Default.sections'
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 CfgPatches
{
class Crate
{
units[] = {Crate};
weapons[] = {};
requiredVersion = 1.0;
};
};
class CfgVehicles
{
class All {};
class Static: All {};
class Building: Static {};
class NonStrategic: Building {};
class TargetTraining: NonStrategic {};
class TargetGrenade: TargetTraining {};
class Crate: TargetGrenade
{
model="\crate\crate";
armor=20000;
scope=2;
displayName="Crate";
}
}[/QUOTE]
Any hints are welcome. If anyone has some links for tuts, please tell me so.
Thanks a lot in advance
Jens
in the lack of tutorials for o2 beginners I revisited brsseb's old modeling lessons (link (http://ofp.gamepark.cz/_hosted/brsseb/tutorials.htm)) and I just finished the first lesson (the good old red crate). It's basicly just a box with two textures. One normal LOD and a geometry LOD. Nothing more. In bulldozer everything looks fine.
If I try to view the crate ingame I get the message:
No entry 'bin\config.bin\CfgModels\Default.sections'
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 CfgPatches
{
class Crate
{
units[] = {Crate};
weapons[] = {};
requiredVersion = 1.0;
};
};
class CfgVehicles
{
class All {};
class Static: All {};
class Building: Static {};
class NonStrategic: Building {};
class TargetTraining: NonStrategic {};
class TargetGrenade: TargetTraining {};
class Crate: TargetGrenade
{
model="\crate\crate";
armor=20000;
scope=2;
displayName="Crate";
}
}[/QUOTE]
Any hints are welcome. If anyone has some links for tuts, please tell me so.
Thanks a lot in advance
Jens