Jump to content
Sign in to follow this  
cervantes

config cpp for add a woman reporter

Recommended Posts

hi all i have begin one config cpp for add a woman reporter marian on civilian side for create a news intro but i have one error

some input after endoffile

my config has

#define TCivilian 3

class CfgPatches

{

class reporters {

units = {"reporter"};

weapons = {};

requiredVersion = 0.100000;

requiredAddons = {"CAData", "CAWeapons", "CAWeapons3", "CAweapons3_aks74pso"};

};

};

class CfgModels

{

class Default {};

class Man: Default{};

class reporter: Man

{

sections[]={};

sectionsInherit="";

};

};

class CfgCoreData

{

footStepL = "ca\characters\stopa_L.p3d";

footStepR = "ca\characters\stopa_P.p3d";

slopBlood = "ca\characters\krvava_skvrna.p3d";

};

};

class CfgVehicles

{

/*extern*/ class Land;

/*extern*/ class civilian;

/*extern*/ class Man;

class Man: Land {

/*extern*/ class ViewPilot;

};

class MarianQuandt: Civilian

{

scope = 1;

armor = 20000;

displayName = "$STR_DN_MARIANQUANDT";

model = "\ca\characters\MarianQuandt";

triggerAnim = "";

class HeadLimits: HeadLimits {

initAngleX = 0;

minAngleX = 0;

maxAngleX = 0;

initAngleY = 0;

minAngleY = 0;

maxAngleY = 0;

};

class ViewPilot: ViewPilot {

initFov = 0.950000;

minFov = 0.400000;

maxFov = 0.950000;

initAngleX = 0;

minAngleX = 0;

maxAngleX = 0;

initAngleY = 0;

minAngleY = 0;

maxAngleY = 0;

};

};

class MarianQuandt02: MarianQuandt

{

scope = 1;

displayName = "$STR_DN_MARIANQUANDT";

model = "\ca\characters\MarianQuandt02";

};

class MarianQuandt03: MarianQuandt

{

scope = 1;

displayName = "$STR_DN_MARIANQUANDT";

model = "\ca\characters\MarianQuandt03";

};

class MarianQuandt04: MarianQuandt

{

scope = 1;

displayName = "$STR_DN_MARIANQUANDT";

model = "\ca\characters\MarianQuandt04";

};

class FieldReporter: Civilian

{

scope = 1;

displayName = "";

model = "\ca\characters\civil_pressmanik";

class Wounds {

tex = {};

mat = {"ca\characters\data\civil_1_tshirt_shorts_klapky_hhl.rvmat", "ca\characters\data\pressmanik_hhl_wound1.rvmat", "ca\characters\data\pressmanik_hhl_wound2.rvmat", "ca\characters\data\pressmanik.rvmat", "ca\characters\data\pressmanik_wound1.rvmat", "ca\characters\data\pressmanik_wound2.rvmat"};

};

};

class CfgNonAIVehicles {

/*extern*/ class ProxyFlag;

class ProxyFlag_Vojak: ProxyFlag {

model = "\ca\characters\flag_vojak";

};

class ProxyWeapon {

};

class ProxyM16A2: ProxyWeapon {

};

/*extern*/ class ProxyCommander;

class ProxyCommanderOut: ProxyCommander {

};

/*extern*/ class ProxyDriver;

class ProxyDriverOut: ProxyDriver {

};

/*extern*/ class ProxyGunner;

class ProxyGunner01: ProxyGunner {

};

class ProxyGunner02: ProxyGunner {

};

class ProxyGunnerOut: ProxyGunner {

};

/*extern*/ class ProxyCargo;

class ProxyCargo01: ProxyCargo {

};

class ProxyCargo02: ProxyCargo {

};

class ProxyCargo03: ProxyCargo {

};

class ProxyCargo04: ProxyCargo {

};

class ProxyBasicSittingCommander: ProxyCommander {

};

class ProxyBasicSittingDriver: ProxyDriver {

};

class ProxyBasicSittingGunner: ProxyGunner {

};

class ProxyBasicSittingCargo: ProxyCargo {

};

class ProxyBasicStandingCommander: ProxyCommander {

};

class ProxyBasicStandingDriver: ProxyDriver {

};

class ProxyBasicStandingGunner: ProxyGunner {

};

class ProxyBasicStandingCargo: ProxyCargo {

};

};

where has a error?

Share this post


Link to post
Share on other sites
Quote[/b] ]class CfgPatches

{

class reporters {

units = {"reporter"};

weapons = {};

requiredVersion = 0.100000;

requiredAddons = {"CAData", "CAWeapons", "CAWeapons3", "CAweapons3_aks74pso"};

};

};

Remove the second set of }; that I boldened. That'll be a start. You could just use the editor upgrade which adds her too, and saves another addon being required for the mission. Also, she's not got a normal model, you'll need to use the scripted animations from the campaign otherwise she'll end up looking like a deformed creature from 'The Thing' (not Kurt Russell).

On a side not,e tag your classnames otherwise they'll interfere with the default units.

Share this post


Link to post
Share on other sites

ok thx man i understand a model have d'ont animation but whats a solution for create a reporter news on the tv?

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  

×