Jump to content
giallustio

[MP] =BTC= Hearts and Minds

Recommended Posts

Id like to add this view distance script but when I do I get an error about core\def\functions.hpp,line 8: .CfgFunctions; Member already defined

But the only thing there is a semi-colon. Since this has the core stuff where would I put those 2 lines that normally go in the description.ext?

 

 

https://forums.bistudio.com/topic/175554-ch-view-distance-script/

Share this post


Link to post
Share on other sites

Id like to add this view distance script but when I do I get an error about core\def\functions.hpp,line 8: .CfgFunctions; Member already defined

But the only thing there is a semi-colon. Since this has the core stuff where would I put those 2 lines that normally go in the description.ext?

 

 

https://forums.bistudio.com/topic/175554-ch-view-distance-script/

Hello!

the CfgFunctions is defined in a separate file name : core/def/functions.hpp

 

So change this file like this should be fine:

class CfgFunctions {
    class btc {
        class misc {
            class eh_veh_init {
                file = "core\fnc\eh\veh_init.sqf";//preInit = 1;
            };
        };
    };
    #include "CHVD\CfgFunctions.hpp"
}; 

Have funny time.

  • Like 1

Share this post


Link to post
Share on other sites

Hello!

the CfgFunctions is defined in a separate file name : core/def/functions.hpp

 

So change this file like this should be fine:

class CfgFunctions {
    class btc {
        class misc {
            class eh_veh_init {
                file = "core\fnc\eh\veh_init.sqf";//preInit = 1;
            };
        };
    };
    #include "CHVD\CfgFunctions.hpp"
}; 

Have funny time.

Thanks for the reply..I'll give that a try tonight..much appreciated.

 

Diesel

Share this post


Link to post
Share on other sites

So with what you suggested I get a critical error that crashes the game. Do I need to move the actual CHVD folder itself as well? Except the dialog.hpp is still listed in the description.ext.

Share this post


Link to post
Share on other sites

Where in the mission could I remove or greatly lower the amount of IEDs?

Share this post


Link to post
Share on other sites

So with what you suggested I get a critical error that crashes the game. Do I need to move the actual CHVD folder itself as well? Except the dialog.hpp is still listed in the description.ext.

Hello,

Yes sorry, it is a relative path so the solution is :

class CfgFunctions {
    class btc {
        class misc {
            class eh_veh_init {
                file = "core\fnc\eh\veh_init.sqf";//preInit = 1;
            };
        };
    };
    #include "..\..\CHVD\CfgFunctions.hpp"
}; 

bye!

Share this post


Link to post
Share on other sites

Where in the mission could I remove or greatly lower the amount of IEDs?

Hello!

 

Check the mission parameter, you have an option for that. Not enough ?

 

See you soon.

Share this post


Link to post
Share on other sites

Hello,

Yes sorry, it is a relative path so the solution is :

class CfgFunctions {
    class btc {
        class misc {
            class eh_veh_init {
                file = "core\fnc\eh\veh_init.sqf";//preInit = 1;
            };
        };
    };
    #include "..\..\CHVD\CfgFunctions.hpp"
}; 

bye!

Don't know what I am doing wrong but still get critical error that crashes the game.

I moved the CHVD folder to the "def" folder and have this line in the description.ext  #include "core\def\CHVD\dialog.hpp"

And this line as you mentioned above.  #include "core\def\CHVD\CfgFunctions.hpp"

 

Crashes the game when I have it set up like this.

Share this post


Link to post
Share on other sites

Don't know what I am doing wrong but still get critical error that crashes the game.

I moved the CHVD folder to the "def" folder and have this line in the description.ext  #include "core\def\CHVD\dialog.hpp"

And this line as you mentioned above.  #include "core\def\CHVD\CfgFunctions.hpp"

 

Crashes the game when I have it set up like this.

Hello,

I don't know what you are doing wrong but don't touch the CHVD folder or anything just follow the post and has I said use the core/def/functions.hpp file to include the cfgfonction of CH View Distance Script

class CfgFunctions {
    class btc {
        class misc {
            class eh_veh_init {
                file = "core\fnc\eh\veh_init.sqf";//preInit = 1;
            };
        };
    };
    #include "..\..\CHVD\CfgFunctions.hpp"
};

here is my mission folder with the CH View Distance Script working: https://github.com/Vdauphin/HeartsAndMinds/archive/add-CH-View-Distance-Script.zip

 

good luck ...

  • Like 1

Share this post


Link to post
Share on other sites

Hello,

I don't know what you are doing wrong but don't touch the CHVD folder or anything just follow the post and has I said use the core/def/functions.hpp file to include the cfgfonction of CH View Distance Script

class CfgFunctions {
    class btc {
        class misc {
            class eh_veh_init {
                file = "core\fnc\eh\veh_init.sqf";//preInit = 1;
            };
        };
    };
    #include "..\..\CHVD\CfgFunctions.hpp"
};

here is my mission folder with the CH View Distance Script working: https://github.com/Vdauphin/HeartsAndMinds/archive/add-CH-View-Distance-Script.zip

 

good luck ...

Got it working..thanks very much..always like to give people the option to turn stuff down for those with less than stellar rigs to run the game..

Much appreciated.

 

Diesel

Share this post


Link to post
Share on other sites

Helllooo!

Today is the birthday of the first upload on Github of the Hearts and Minds. And it is also the first time I started to work on it :)

:)  Thank you so much @giallustio for all the great job and funnn! :) 

Share this post


Link to post
Share on other sites

Hello !

 

The H&M 1.15 major update is here ! With also a quick Tanoa version !

 

Changelog :

- Add: New side mission where you need to Destroy a convoy.
- Add: New side mission where you need to Rescue a helicopter pilot.
- Add: New side mission where you need to Capture an officer travelling in a secret convoy.
- Add: New side mission where you need to liberate a civilian hostage.
- Add: Improve side mission mine field with patrol and random type of mine.
- Add: Now a black smoke popout when a checkpoint is destroyed.
- Add: Now objects spawned by curator are persistent.
- Add: Set skill to IA spawning by curator.
- Add: Now you can play against Syndikat.
- Add: Now you can select in mission parameter civilian vehicule class name.
- Add: =BTC= Militia mod support.
- Add: RDS A2 Civilian Pack mod  support.
- Add: CUP units and vehicles mod support.
- Add: IWAR: Irregular Warfare mod support.
- Add: Mission parameter has been cleaned and organized.
- Add: Improve existing documentation with A3 icon.
- Add: Hideout activation radius as been increased.
- Add: Now enemy patrol can use civilian vehicle.
- Add: Now you can rearm all statics.
- Add: Now mission spawn helicopter in sky to avoid collision.
- Add: Faster debug system.

- FIX: Now you can lift when ACE3 FRIES is activated on helicopter.
- FIX: Sometimes IED check said there are an IED when there are not.
- FIX: No reputation bonus when enemy killed.
- FIX: Player can kill civilian without any reputation effect in some case.
- FIX: Now when you heal with ACE3 a civilian, you get a reputation bonus.
- FIX: Now player connection is a little faster.
- FIX: Some IED can be check twice.
- FIX: Dirt trails are not connected to anything resulting an error.
- FIX: Dirt road in Tanoa create error.
- FIX: Wrong DataBase version loading.

 

Have fun !

  • Like 1

Share this post


Link to post
Share on other sites

When I remove the RHS stuff and add vanilla, no civilians or enemy spawn. 

Share this post


Link to post
Share on other sites

What I did is opened map in editor, deleted a rhs vehicle and out a prowler I it's place for each wheeled vehicle and then replaced choppers with ghost hawks. Am I doing it wrong?

Share this post


Link to post
Share on other sites

What I did is opened map in editor, deleted a rhs vehicle and out a prowler I it's place for each wheeled vehicle and then replaced choppers with ghost hawks. Am I doing it wrong?

Hello,

Sorry this not really clear in my wiki. Each vehicle as a name like btc_veh_1 etc ..

If you delete a vehicle you need to write the exact vehicle name you deleted on the new one. (you have also an init field)

It is better to replace the vehicle (not delete and create a new one) so all field will have the correct piece of code.

 

This is by H&M to detect and add logistic fearture to vehicle.

I hope this help.

Good luck

Share this post


Link to post
Share on other sites

Ok I believe I know what you are saying. Click on vehicle and choose different object. Do you have weapon storage in some of the vehicles as well? Getting error RHS M4 Carry handle not found when I run without RHS.

Share this post


Link to post
Share on other sites

All the vehicles have RHS weapons and ammo. If you want to remove the RHS dependency, make sure to check the vehicle contents.  :)

Share this post


Link to post
Share on other sites

All the vehicles have RHS weapons and ammo. If you want to remove the RHS dependency, make sure to check the vehicle contents.  :)

 

Good eyes ! (added to the wiki ^^)

Share this post


Link to post
Share on other sites

Also now that all the weapons are out of the vehicles, I am still getting a No Entry bin\config.bin/CfgMagazines.rhs_m136_hedp_mag.  Do you have a cargo load script for spawning vehicles?

Share this post


Link to post
Share on other sites

Also now that all the weapons are out of the vehicles, I am still getting a No Entry bin\config.bin/CfgMagazines.rhs_m136_hedp_mag. Do you have a cargo load script for spawning vehicles?

No cargo loading script ;)

May be you forgot one mag somewhere,

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

×