PDA

View Full Version : How do I...



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&#58; SquadLeaderW
{
model = &#34;&#92;USASOC_Troopr&#92;us_soldier_sqleader&#34;;

vehicleClass = &#34;spec_Men&#34;;[/QUOTE]

I want to make a brand new class, none of the tutorials I have seem to have an answer for me.

raedor
Dec 13 2006, 00:07
Moving to a more appropiate place (http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?act=ST;f=51;t=55799).