Semipro

Ghosthawk

13 posts in this topic

Anyone know how to add the Ghosthawk to the aircraft vendors? I'm assuming I need to edit the database for vehicles and traders but do I also need to list this in in the the exile.server in config.cpp?

I was wanting to set it up as kind of an "end game" item with a high tab cost, but I need a string name for adding I believe and I'm not sure what it is.

Share this post


Link to post
Share on other sites

Anyone know how to add the Ghosthawk to the aircraft vendors? I'm assuming I need to edit the database for vehicles and traders but do I also need to list this in in the the exile.server in config.cpp?

I was wanting to set it up as kind of an "end game" item with a high tab cost, but I need a string name for adding I believe and I'm not sure what it is.

if you just want to the GhostHawk to the traders all you need to do it.

1.unpack your Mission pbo (Exile.altis) inside your mpmissions folder in your server

2.open config.cpp with notepad++ and find this line

    ///////////////////////////////////////////////////////////////////////////////
    // Huron
    ///////////////////////////////////////////////////////////////////////////////
    class Exile_Chopper_Huron_Black                                { quality = 1; price = 10000; };
    class Exile_Chopper_Huron_Green                                { quality = 1; price = 10000; };

3.put the Ghost Hawk class name with the price like this

    ///////////////////////////////////////////////////////////////////////////////
    // Huron
    ///////////////////////////////////////////////////////////////////////////////
    class Exile_Chopper_Huron_Black                                { quality = 1; price = 10000; };
    class Exile_Chopper_Huron_Green                                { quality = 1; price = 10000; };
    class B_Heli_Transport_01_F                                    { quality = 1; price = here you put whatever price you want; };

4.scroll to this line

  class Choppers
    {
        name = "Helicopters";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
            "Exile_Chopper_Hummingbird_Green",
            "Exile_Chopper_Hummingbird_Civillian_Wasp",
            "Exile_Chopper_Taru_Black",
            "Exile_Chopper_Taru_Covered_Black",
            "Exile_Chopper_Taru_Transport_Black",
            "Exile_Chopper_Orca_BlackCustom",
            "Exile_Chopper_Mohawk_FIA",
            "Exile_Chopper_Huron_Black",
            "Exile_Chopper_Hellcat_Green"

5.add the Ghost Hawk class name below "Exile_Chopper_Hellcat_Green" like this (Remember a class name in the traders part need to have a comma,if the class name is the last ,then dont put a comma)

class Choppers
    {
        name = "Helicopters";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
            "Exile_Chopper_Hummingbird_Green",
            "Exile_Chopper_Hummingbird_Civillian_Wasp",
            "Exile_Chopper_Taru_Black",
            "Exile_Chopper_Taru_Covered_Black",
            "Exile_Chopper_Taru_Transport_Black",
            "Exile_Chopper_Orca_BlackCustom",
            "Exile_Chopper_Mohawk_FIA",
            "Exile_Chopper_Huron_Black",
            "Exile_Chopper_Hellcat_Green",
            "B_Heli_Transport_01_F"

6.you are done ,save and repack your mission pbo (Exile.altis) and put it back inside your mpmissons folder

i hope this helped :)

if you need any help come in our teamspeak 216.52.148.11:10770 and talk to me.

 

  
  

 

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Add this where your Copters are:

///////////////////////////////////////////////////////////////////////////////
    // GhostHawk
    ///////////////////////////////////////////////////////////////////////////////
    class B_Heli_Transport_01_F                                { quality = 1; price = 50000; };
    class B_Heli_Transport_01_camo_F                        { quality = 1; price = 55000; };

.

then update this:

class Choppers
    {
        name = "Helicopters";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
            "Exile_Chopper_Hummingbird_Green",
            "Exile_Chopper_Hummingbird_Civillian_Wasp",
            "Exile_Chopper_Taru_Black",
            "Exile_Chopper_Taru_Covered_Black",
            "Exile_Chopper_Taru_Transport_Black",
            "Exile_Chopper_Orca_BlackCustom",
            "Exile_Chopper_Mohawk_FIA",
            "Exile_Chopper_Huron_Black",
            "Exile_Chopper_Hellcat_Green",
            "B_Heli_Transport_01_F",
            "B_Heli_Transport_01_camo_F"

 

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

To add Ghost Hawk to "Vehicle Customs" and change his skins, do that:

Always in your config.cpp (in your mission.pbo), inside "class CfgVehicleCustoms" add this "class Heli_Transport_01_base_F" :

Spoiler

    ///////////////////////////////////////////////////////////////////////////////
    // Ghost Hawk
    ///////////////////////////////////////////////////////////////////////////////    
    class Heli_Transport_01_base_F
    {
        skins[] =
        {
            {"B_Heli_Transport_01_F",            1000,    "Black",    {"\A3\Air_F_Beta\Heli_Transport_01\Data\Heli_Transport_01_ext01_CO.paa","\A3\Air_F_Beta\Heli_Transport_01\Data\Heli_Transport_01_ext02_CO.paa"};},
            {"B_Heli_Transport_01_camo_F",        1000,    "Green",    {"\A3\Air_F_Beta\Heli_Transport_01\Data\Heli_Transport_01_ext01_BLUFOR_CO.paa","\A3\Air_F_Beta\Heli_Transport_01\Data\Heli_Transport_01_ext02_BLUFOR_CO.paa"};}
        };
    };

 

Edited by Vandest

Share this post


Link to post
Share on other sites

Hi and good day, my name is Charly and a have same problem to give the Ghosthawk my owne skin.

///////////////////////////////////////////////////////////////////////////////
    // GhostHawk
    ///////////////////////////////////////////////////////////////////////////////
    class B_Heli_Transport_01_F 
    {
        skins[] =
        {
            {"class B_Heli_Transport_01_F", 1000, "NST MP Only", {"images\nsa_gh_mp_front.paa","images\nsa_gh_mp_hinten.paa"}}
        };
    };

 

Sorry my english is not so good....
can someone help me ?
 

20180201152151_1.jpg

Edited by Charly Teapoint

Share this post


Link to post
Share on other sites

Comparing yours to the example above you have a missing semicolon (";") on your line 8 - it should read:

///////////////////////////////////////////////////////////////////////////////
// GhostHawk
///////////////////////////////////////////////////////////////////////////////
    class B_Heli_Transport_01_F 
    {
        skins[] =
        {
            {"class B_Heli_Transport_01_F", 1000, "NST MP Only", {"images\nsa_gh_mp_front.paa","images\nsa_gh_mp_hinten.paa"};}
        };
    }; 

 

Share this post


Link to post
Share on other sites
6 hours ago, Charly Teapoint said:

[...]i cant see the mistake in the Code. What position you meen.....
 

At the end of the line you had "}}" it should read "};}".

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.