No, close class hitpoints (close means use }; ) before dammageHalf
Ahh lol thanks, sorry yeah its with the double }: to close it.
So like this
Thats seems to have cured the Hitpoints error message, still left with this one though?PHP Code:class HitPoints
{
class HitLGlass
{
armor = 1.7;
material = -1;
name = "sklo predni L";
visual = "sklo predni L";
passThrough = 0;
};
class HitRGlass
{
armor = 1.7;
material = 1;
name = "sklo predni P";
visual = "sklo predni P";
passThrough = 0;
};
}:
dammageHalf[] = {"\kyo_MH47\Ch47\textura\Transp.paa",
File kyo_mh47\config.cpp, line 230: '/CfgVehicles/kyo_MH47.Class': 'U' encountered instead of '='
*New Website, Check It Out! Just Click The Picture Above!*
Follow konyo.webs On Twitter : https://twitter.com/konyoWebs
Ive fixed the error above, thanks to Soul_Assassin at ArmA Stack.
I just had to change 'Class UserActions' to 'class UserActions'. Without the captial 'C'.
Anyway, ive now got another problem, when i start game i get this error code :
'No entry 'bin\config.bin/CfgVehicles/Turrets.scope.'
Also when i start the game in the chopper it automaticly starts up and zooms in?
And the door gun i can fire, but its slow and not really like a mini gun, i cant move the gun around.
And for some reason the left door gun sits in the co-pilots seat on top of the co-pilot himself?
And when i start empty and get in door gun, as soon as i get it gun it starts up and there no pilot?
Anyone?![]()
quick look says your inheritance is screwed
you dont inherit Turrets again like that , it would be either a Newturret or a MainTurret , since your Parsing instead of Inheriting turrets , its hard to know if its Last Turrets from CA or Base of all Turrets but the thing that make zoom on init will be if you look in Turret config InitZoom-maxZoom-MinZoom all inside Pilotview i i r c .class Turrets : Turrets {
class LeftDoorGun : Turrets {
Best thing i feel if you goto Armastack there is a wonderful example how to inherit from ( for tanks but still same idea) KJU i believe if its still there , once you get it and understand it will make all config making easier.
Its a long road with Configs but i hope it helps and always Make Notes![]()
A chopper cup of Coffee in a chopper coffee pot
TOH Now with added Coffee
http://www.helpivanmartin.org/
Last edited by konyo; May 4 2012 at 18:47.
Hi ,
Its hard to follow if you dont show what you have tried , maybe you can post your progress so people can see what it is your overall problem may be .
Ive fixed the error above, thanks to Soul_Assassin at ArmA Stack.
I just had to change 'Class UserActions' to 'class UserActions'. Without the captial 'C'.
Anyway, ive now got another problem, when i start game i get this error code :
'No entry 'bin\config.bin/CfgVehicles/Turrets.scope.'
Also when i start the game in the chopper it automaticly starts up and zooms in?
And the door gun i can fire, but its slow and not really like a mini gun, i cant move the gun around.
And for some reason the left door gun sits in the co-pilots seat on top of the co-pilot himself?
And when i start empty and get in door gun, as soon as i get it gun it starts up and there no pilot?