Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Adding MiniGuns into config.cpp and model.cfg?

  1. #11
    No, close class hitpoints (close means use }; ) before dammageHalf

  2. #12
    Master Gunnery Sergeant konyo's Avatar
    Join Date
    Jun 26 2009
    Location
    United kingdom
    Posts
    1,168
    Author of the Thread
    Quote Originally Posted by [APS]Gnat View Post
    No, close class hitpoints (close means use }; ) before dammageHalf
    Ahh lol thanks, sorry yeah its with the double }: to close it.
    So like this

    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"
    Thats seems to have cured the Hitpoints error message, still left with this one though?
    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

  3. #13
    Master Gunnery Sergeant konyo's Avatar
    Join Date
    Jun 26 2009
    Location
    United kingdom
    Posts
    1,168
    Author of the Thread
    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?

  4. #14
    Master Gunnery Sergeant konyo's Avatar
    Join Date
    Jun 26 2009
    Location
    United kingdom
    Posts
    1,168
    Author of the Thread
    Anyone?

  5. #15
    quick look says your inheritance is screwed
    class Turrets : Turrets {
    class LeftDoorGun : Turrets {
    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 .

    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/

  6. #16
    Master Gunnery Sergeant konyo's Avatar
    Join Date
    Jun 26 2009
    Location
    United kingdom
    Posts
    1,168
    Author of the Thread
    Quote Originally Posted by Thromp View Post
    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 .

    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
    Ok thanks, will try this

    EDIT: Nope still not working, also realised ive lost HUD & Weapons when im pilot? :/
    Last edited by konyo; May 4 2012 at 18:47.

  7. #17
    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 .

  8. #18
    Master Gunnery Sergeant konyo's Avatar
    Join Date
    Jun 26 2009
    Location
    United kingdom
    Posts
    1,168
    Author of the Thread
    Quote Originally Posted by Thromp View Post
    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?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Pegasus Team 101 MULE WIP
    By JSF 82nd Reaper in forum ARMA 2 & OA : ADDONS - Configs & Scripting
    Replies: 96
    Last Post: Mar 23 2013, 04:57
  2. New object config/model.cfg
    By IceBreakr in forum ARMA : CONFIGS AND SCRIPTING (addons)
    Replies: 7
    Last Post: Jan 13 2010, 10:40
  3. I need config.cpp & model.cfg help
    By Rip31st in forum ARMA : O2 MODELLING
    Replies: 8
    Last Post: Jun 23 2008, 20:53
  4. Adding a face in the config.cpp
    By SWF in forum ADDONS & MODS: COMPLETE
    Replies: 2
    Last Post: Sep 21 2002, 13:45
  5. Adding faces in config.cpp
    By DarkSyde in forum ADDONS & MODS: COMPLETE
    Replies: 0
    Last Post: Feb 26 2002, 00:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •