The laser designator had been added to OFP with a patch in the CWC era if my memory is exact(the official addon Laserguided.pbo that can be found in the OFP addons\ and res\addons\ folder) , and so the config.cpp that defined it, is not a part of the global config.bin.
so you must add the class definition of the laser blackops in your config modification
find the following class in you config
class SoldierWSaboteurDay:SoldierWSaboteurPipe
{
several values defined, etc..
};
And just after it and before the
class SoldierWMiner:SoldierWB
{
several values defined, etc..
};
Add the following
class SoldierWSaboteurLaser : SoldierWSaboteurPipe
{
displayName="$STR_DN_SABOTEUR_LASER";
weapons[]={"HK", "Binocular", "LaserDesignator", "Throw", "Put"};
magazines[]={"HK", "HK", "HK", "HK", "LaserDesignator"};
};
(this time i don't use quotes, as they are modified by the forum) and then you will have the Laser Designator blackops
The source of the problem in your case, is that in the Laserguided.pbo , the config defined the black ops laser while using the line
model="mc saboteurday.p3d";
So unless you wrote what i suggested you , the old BIS model would have been used everytime.
With what i suggested you, the model used would be the one of the parent class (SoldierWSaboteurPipe) of -your- config (you can define a specific new model for it if you want a different one from the other blackops by adding the line model="path of the model you want"; in the middle of the existing values).
Same story for the heavy grenadiers, as it came with a patch it is not in the default big config.bin (he is in the 6G30.pbo official addon that is installed in the original Addons folder and the ...\res\Addons\ folder too if you look into the pbo, prefer the one in ...\res\Addons they are more up to date)
search your own config for the following class
class SoldierEB:Soldier
{
several values defined, etc..
};
and you must add , like previously just after that and before the next defined class :
class HeavyGrenadier:SoldierEB
{
displayName="$STR_DN_HEAVYGREN";
weapons[]={"6g30","Binocular","Throw","Put"};
magazines[]={"6g30Magazine","6g30Magazine","SmokeShell","Smok eShell
"};
};
then, add the line model="path of your model"; ***in the middle of the values defined there
And your east heavy grenadier is defined.
Note : if you give a look inside the official addons to find some values in the config.cpp, you will notice that there are no config.cpp , but a config.bin , as BIS binarized even those config inside the pbo.
So you will need Binview for an extended time(it open them without problems)
HOME
(it open them without problems)
Reply With Quote



