Clavicula_nox4817
Dec 13 2006, 00:03
Define a new class?
For example. The class for the regular BLUFOR rifleman is SoldierWB, what would I have to do to make additional soldiers with my own set attributes? Can it be done in the config.cpp or would have to be done in a Cfgvehicles then annotated in the config.cpp then raped into config.bin?
I'm not trying to rename a class and point it to the external class as seen here:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">/*extern*/ class SquadLeaderW;
class me_SquadLeaderW: SquadLeaderW
{
model = "\USASOC_Troopr\us_soldier_sqleader";
vehicleClass = "spec_Men";[/QUOTE]
I want to make a brand new class, none of the tutorials I have seem to have an answer for me.
For example. The class for the regular BLUFOR rifleman is SoldierWB, what would I have to do to make additional soldiers with my own set attributes? Can it be done in the config.cpp or would have to be done in a Cfgvehicles then annotated in the config.cpp then raped into config.bin?
I'm not trying to rename a class and point it to the external class as seen here:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">/*extern*/ class SquadLeaderW;
class me_SquadLeaderW: SquadLeaderW
{
model = "\USASOC_Troopr\us_soldier_sqleader";
vehicleClass = "spec_Men";[/QUOTE]
I want to make a brand new class, none of the tutorials I have seem to have an answer for me.