Jump to content
Sign in to follow this  
digitalcenturion

Bus config.cpp

Recommended Posts

I just cant get the hang of the config.cpp file and i wonder if anyone could post or point me to a sample config.cpp file of the bus in resistance i am making an reskinned version for my own enjoyment to see how things work... Oh well thanx in advance.

Share this post


Link to post
Share on other sites

The bus in OFP:R is nearly the same as a 5t truck in OFP. The config for that you can dl from O2 forum. Then you just chaneg the number of transportet ppl and that's it (more or less).

Share this post


Link to post
Share on other sites

class Bus: TruckV3SCivil

{

access=2;

displayName="$STR_DN_OUT_BUS";

model="\o\vehl\skodasm11";

crew="civilian5";

picture="\o\vehl\iskodasm11.paa";

icon="\O\vehl\bus.paa";

turnCoef=12.000000;

transportSoldier=27;

class TransportMagazines

{

class _xx_AK47

{

magazine="AK47";

count="30*0";

};

class _xx_HandGrenade

{

magazine="HandGrenade";

count="10*0";

};

class _xx_PK

{

magazine="PK";

count="5*0";

};

class _xx_LAWLauncher

{

magazine="LAWLauncher";

count="3*0";

};

class _xx_GrenadeLauncher

{

magazine="GrenadeLauncher";

count="3*0";

};

};

driverAction="ManActBusDriver";

cargoAction[]={"ManActBusCargo"};

cargoIsCoDriver[]={0};

dammageHalf[]={"\o\vehl\bus_okna.paa","\o\vehl\bus_oknaR1.paa"};

dammageFull[]={"\o\vehl\bus_okna.paa","\o\vehl\bus_oknaR2.paa"};

};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×