Jump to content
Sign in to follow this  
jengske

Cane someone help me out on ccp

Recommended Posts

hi all, ihave made a cobra 500def and i got some problems.

-first problem is wen i use the standart config from the tutor the heli work as heli thats good,but the gunner looks the wrong way (only looks wrong but sits same as pilot)

-but wen i slowly put in the gun and rokets and the turning for the gun , it alway's craches and no error message

i uses the uh60mg pilot and gunner and i have 2 cargo

i setup the gun selection names and the memorylod and also the 4vertexpoints for the two roketlaunchers (this could be wrong)

i'm not good in this stuff so i copy/paste wat i think is needed for making it work but its now more than 3day's and i'm still not abel to get it fixed so if there ore people that understand the heliconfig situations and want to help me out plz let me now,if you need my model to look ore check it no problem i will sendt it to you ones the config is ready i only need to check some textures and normaly then its ready to use

you cane contact me on msn: jengske2@hotmail.com

thx

confused.gif

Share this post


Link to post
Share on other sites

ok i have made it back in game but the gun is not turning only the scope is turning, the gunner looks the wrong way , and my rokets ore fired from the middeltop of my heli and not from the L and R launchers wink.gif here is my config as it is now

// Firstheli by DRB.

// Basic def.

#define TEast 0

#define TWest 1

#define TGuerrila 2

#define TCivilian 3

#define TSideUnknown 4

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

#define true 1

#define false 0

// type scope

#define private 0

#define protected 1

#define public 2

class CfgPatches

{

class FirstHeli

{

units[] = {cbra500def};

weapons[] = {"MachineGun30","HellfireLauncherCobra","ZuniLauncher38"};

requiredVersion = 1.3;

};

};

// CfgModels class. You may have do delete this for versions 1.46 and below.

class CfgModels

{

class default {};

class Air: default {};

class Helicopter: Air {};

class UH60: Helicopter{};

class FirstHeli: UH60 {};

};

class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Air: AllVehicles{};

class Helicopter: Air{};

class UH60: Helicopter{};

class FirstHeli: UH60

{

side=TCivilian;

scope=2;

displayName="cobra def500";

model="\cbra500def\cbra500def";

minElev=-60; maxElev=+10; // Y axis: +10 to -60 degrees in elevation

minTurn=-120; maxTurn=+120; // X axis: +/- 120 degrees in azimuth

// Standard stuff

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

gunBeg="usti hlavne";

gunEnd="konec hlavne";

soundServo[]={};

body="OtocVez";

gun="OtocHlaven";

nameSound="cobra";

hasGunner=true;

crew="Man";

maxSpeed=130;

armor=60;

transportSoldier=2;

accuracy=0.08;

simulation=helicopter;

typicalCargo[]={Soldier};

driverAction = ManActUH60Pilot;

gunnerAction = ManActUH60gunner;

enableSweep=true;

driverIsCommander=true;

weapons[]={"MachineGun30","HellfireLauncherCobra","ZuniLauncher38"};

magazines[]={"MachineGun30","HellfireLauncherCobra","ZuniLauncher38"};

};

};

maby you see the fould its the config from the brrsl tutor and some extras he send me , for the rest the heli is flying fine here and there new textures but thats the easy part so i save it for later wen the heli is fully configured

i wil upload some screenshots later on to day

Share this post


Link to post
Share on other sites

Hi

Fixed all your problems but one, that the gunner looks 90 degrees in the wrong direction (aka strait ahead and not to one side). But the gun works, moving in both axises , shoot strait and with muzzleflash.

So, if anyone knows how to fix the gunnerview, post here. We have inserted the uh60gunner proxy, rotated him so that he looks out to the side in bulldozer. We also have a gunnerview hooked up with the gun selection names. But ingame the 1stperson gunner view is looking strait ahead, and moving the gun is all 90* off.

(See ya later on MSN then, Jenske)

BRSSEB

Share this post


Link to post
Share on other sites

hi all,

thanks to my frend brsseb and some search work is the heli and the gun finaly working smile.gif

there ore just a few minor problems on the tow launchers but thats not so bad , it keeps fireing from the middel of the model and i have the L and P Raketa in the memory lod and in the config file.

i have tested it and i can tell thats the chopper flies verry wel and has a good hover stabiletie

thx mate

Share this post


Link to post
Share on other sites

you need to define in the cofig the gunners initial view angle :

i think it is:

gunnerinitangle=90;

or something like that...

i will post the correct code when i get home...

Share this post


Link to post
Share on other sites

here is the code line you need to add in the main part of your heli's config:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE"> class ViewGunner

{

initAngleY=+90; minAngleY=+30; maxAngleY=+150;

initAngleX=0; minAngleX=-42; maxAngleX=+5;

};

<span id='postcolor'>

this will (should) get your gunner to look to the left (port) side of the aircraft as soon as you start the mission...

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  

×