Jump to content
giallustio

[MP] =BTC= Hearts and Minds

Recommended Posts

Has anyone had trouble using the 64-bit exe?

Share this post


Link to post
Share on other sites

Today damaged vehicles where not loaded correctly. I shot up a Jeep and saved the mission. after loading, all the vhicles where fine

Share this post


Link to post
Share on other sites

having a few issues and have a question.  Getting ready to move my server over to a dedicated server, the humvees seem to spawn in the ground and not drive right, they tip very easily on the dedicated server.  I dont know if its because the dedicated server is linux, have no idea but hoping to try to fix it.  Secondly, where does the database save and is it possible to transfer it?

Share this post


Link to post
Share on other sites
44 minutes ago, physbo said:

having a few issues and have a question.  Getting ready to move my server over to a dedicated server, the humvees seem to spawn in the ground and not drive right, they tip very easily on the dedicated server.  I dont know if its because the dedicated server is linux, have no idea but hoping to try to fix it.  Secondly, where does the database save and is it possible to transfer it?

Hello, are you talking about this : https://github.com/Vdauphin/HeartsAndMinds/pull/172

 

Share this post


Link to post
Share on other sites

no, its a fresh start, the vehicle is all the way in the ground all you can see is the gun.  When you get in and drive it flies into the sky, but the vehicle is undrivable once you get it on its wheels, seems like the physics are upside down for it. Just rolls onto its roof if you take a turn.

Share this post


Link to post
Share on other sites
2 minutes ago, physbo said:

no, its a fresh start, the vehicle is all the way in the ground all you can see is the gun.  When you get in and drive it flies into the sky, but the vehicle is undrivable once you get it on its wheels, seems like the physics are upside down for it. Just rolls onto its roof if you take a turn.

which version are you running?

 

Share this post


Link to post
Share on other sites
1 minute ago, physbo said:

everything is the latest

 

this bug appear after RHS update where humvee was unground the last released fix the issue : here is the commit https://github.com/Vdauphin/HeartsAndMinds/commit/d1fdebb7bf92c746aa1296d6687dafaaaad5c239

here the last released:https://github.com/Vdauphin/HeartsAndMinds/releases

 

Have fun!

Share this post


Link to post
Share on other sites

haha because of your update i found out that the download path for RHS for linux is old, so my RHS mod was out of date, thank you for the quick response and the wonderful mission.  Now my last question is can i move the saved database to a different server?

Share this post


Link to post
Share on other sites

Hi, love your missions so far,

 

I tried to change your mission for difference AI unit. May I ask how to do it? I tried to change some enemy class name and I got this:(

Thank you very much!!

Share this post


Link to post
Share on other sites
On 3/12/2017 at 11:48 PM, Vdauphin said:

 

Add after this line : https://github.com/Vdauphin/HeartsAndMinds/blob/master_stable/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/city/activate.sqf#L71

 

This NEW line:


for "_i" from 1 to 3 do {[_city,_radius,(random _ratio),0.2] call btc_fnc_mil_create_group;};

The parameter 0.2 define the behavior "In house" for the function. 3 is the number of enemy inside a house. You can twick it has you like.

 

 

Hey Vdauphin, are you saying that line 71 & 72 should look like this:

Line 71       for "_i" from 1 to (_groups) do {[_city,_radius,(random _ratio),(random 1)] call btc_fnc_mil_create_group;};
Line 72       for "_i" from 1 to 3 do {[_city,_radius,(random _ratio),0.2] call btc_fnc_mil_create_group;};

 

or 

 

Are you saying to replace line 71 from:

Line 71       for "_i" from 1 to (_groups) do {[_city,_radius,(random _ratio),(random 1)] call btc_fnc_mil_create_group;};

 

To This:

Line 71       for "_i" from 1 to 3 do {[_city,_radius,(random _ratio),0.2] call btc_fnc_mil_create_group;};

 

Sorry, I'm a scripting noob.

Share this post


Link to post
Share on other sites
On 3/1/2017 at 5:19 PM, doctorbutts said:

Hi,

 

I tried modifying the mission to replace the Huey with a RHS Blackhawk. I made certain to replace the name in the lift config file, as well as its init being the 'dont delete' line, and it is in the btc_veh_ list. Everything was working fine  until the Blackhawk got shot down with an AA rocket and crashed.. We were able to lift it back to base, but when we tried the 'full repair' option on the repair pad, it kept telling us that it wasn't a wreck.

 

Any idea why this is happening?

 

A. If you replace or add a vehicle, which files do you need to modify so everything works, repair, respawn, lift ability, etc.?

 

1. Set the units variable name to btc_veh_# or btc_helo_#

2. Put this code in the units ini - this setVariable ["btc_dont_delete",true]

3. Modify the core\def\mission.sqf to inlcude the added btc_veh_# or btc+helo_#

4. Which lift config file so you need to modify?

 

Also, I want to add an A-10.  How do I add that?

1. Set the units variable name to btc_plane_#

2. Put this code in the units ini - this setVariable ["btc_dont_delete",true]

3. Modify the core\def\mission.sqf to inlcude the added btc_plane_#

4. Do I have to add it to a lift config file?

 

B. How would I add a repair & rearm point/object, like the Cargo Box named :btc_create_object?

 

C. Is it possible to assign a vehicle as?

1. a repair only vehicle

2. a fuel only vehicle

3. an ammo only vehicle

4. a medical only vehicle

 

 

Edited by kman_(kya)
Completed list of questions

Share this post


Link to post
Share on other sites

Ammo cache not there.

Playing on Altis have been running into this issue on several occasions.

Last night had the issue after we destroyed first cache. Got intel until we had about 6 ?100m markers. We searched every building and no cache was located.

We saved mission and restarted in debug mode, went to the cache marker and nothing was there?

Is there a console command we can use to eliminate that cache along with its intel ?'s marks.

Thanks
Eric


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

Hey I see on the Git you made a comment to up version to 1.6.2. Is that on the horizon?

 

After playing the mission *a lot* here's some feedback:

 

1. Although it was nice to integrate ACE Explosives into the IED's, it has made it exceptionally difficult to reliably defuse an explosive. I think the problem mostly stems from the fact that the IED has to be 'hidden' in the ground so it isn't seen easily. The problem is that when the IED is set in the ground, it puts the ACE Interact point into the ground as well. That makes it extremely difficult to disarm in most circumstances mainly because the engineer just can't locate where the ACE Interaction point is.

 

2. May need to fiddle with the 'Free (city)' missions a little bit. Once there's only one or two guys left to kill, they are really hard to find. It may take 10 minutes or so to go from house to house to search for the guy- after the city is mostly cleared. Sometimes there's confusion as to where the 'city' is because we're not sure if it is a 300m radius, 400m radius, or what. I'd suggest maybe forcing the last couple of guys to flee, or something along those lines.

 

3. Make a 'defend the base' mission.

Share this post


Link to post
Share on other sites
22 hours ago, physbo said:

Now my last question is can i move the saved database to a different server?

the database name looks like : Vdauphin.vars.Arma3Profile

You need to find it .... then try :) . I did it to test locally my server DB.

Have fun !

 

10 hours ago, dauhaanh said:

May I ask how to do it?

Of course : open and copy and paste this https://github.com/Vdauphin/HeartsAndMinds/blob/master_stable/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L608-L620

 

And change by the correcte typeof AI units you want.

Then select in mission parameter the new faction you use : https://github.com/Vdauphin/HeartsAndMinds/blob/master_stable/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/param.hpp#L47-L48

 

9 hours ago, kman_(kya) said:

Hey Vdauphin, are you saying that line 71 & 72 should look like this:

Line 71       for "_i" from 1 to (_groups) do {[_city,_radius,(random _ratio),(random 1)] call btc_fnc_mil_create_group;};
Line 72       for "_i" from 1 to 3 do {[_city,_radius,(random _ratio),0.2] call btc_fnc_mil_create_group;};

YES

 

7 hours ago, kman_(kya) said:

C. Is it possible to assign a vehicle as?

1. a repair only vehicle

2. a fuel only vehicle

3. an ammo only vehicle

4. a medical only vehicle

ask ACE3 team

 

7 hours ago, kman_(kya) said:

 

B. How would I add a repair & rearm point/object, like the Cargo Box named :btc_create_object?

take a look here :

https://github.com/Vdauphin/HeartsAndMinds/blob/master_stable/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/int/add_actions.sqf#L20-L26

7 hours ago, kman_(kya) said:

Which lift config file so you need to modify?

 

should be automatic : https://github.com/Vdauphin/HeartsAndMinds/blob/master_stable/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L461-L469

6 hours ago, doctorbutts said:

Hey I see on the Git you made a comment to up version to 1.6.2. Is that on the horizon?

yes ...https://github.com/Vdauphin/HeartsAndMinds/milestones?state=open

 

6 hours ago, doctorbutts said:

That makes it extremely difficult to disarm in most circumstances mainly because the engineer just can't locate where the ACE Interaction point is.

If it is not hard, player will simply see very easily IED :/ . I choose to have sometimes IED easy to see sometimes not.

 

6 hours ago, doctorbutts said:

May need to fiddle with the 'Free (city)' missions a little bit. Once there's only one or two guys left to kill, they are really hard to find. It may take 10 minutes or so to go from house to house to search for the guy- after the city is mostly cleared. Sometimes there's confusion as to where the 'city' is because we're not sure if it is a 300m radius, 400m radius, or what. I'd suggest maybe forcing the last couple of guys to flee, or something along those lines.

Ask to civilian, sometimes they give you enemy position.

6 hours ago, doctorbutts said:

Make a 'defend the base' mission.

Put your base next to a city ;)

 

7 hours ago, eric963 said:

Playing on Altis have been running into this issue on several occasions.

Never saw that :/ Execute SERVER SIDE this in debugconsole:

btc_cache_pos = getpos btc_create_object_point;
call btc_fnc_cache_create;

 

Share this post


Link to post
Share on other sites
1 hour ago, Vdauphin said:

Never saw that :/ Execute SERVER SIDE this in debugconsole:


btc_cache_pos = getpos btc_create_object_point;
call btc_fnc_cache_create;

 

 

Here is the rpt entry when the mission is loaded

"btc_fnc_mil_create_hideout: _this = [[5175.67,21990,0.221649],0,0,9412.42,46,[]] ; POS [5175.67,21990,0.221649] ID 0"
"btc_fnc_mil_create_hideout: _this = [[14601.1,22009.6,0.0314331],1,0,9412.42,59,[]] ; POS [14601.1,22009.6,0.0314331] ID 1"
"btc_fnc_mil_create_hideout: _this = [[5241.58,14952.6,0.164188],2,0,9412.42,75,[]] ; POS [5241.58,14952.6,0.164188] ID 2"
"btc_fnc_mil_create_hideout: _this = [[21248.9,10402.2,0.196405],3,0,9412.42,126,[[[21036.1,10102.1,0],""4000m""],[[22322.6,10580.8,0],""4000m""],[[20412.6,9812.32,0],""4000m""],[[21060.8,10459.1,0],""4000m""]]] ; POS [21248.9,10402.2,0.196405] ID 3"
"btc_fnc_mil_create_hideout: _this = [[22432.5,6808.38,0.0381393],4,0,9412.42,122,[]] ; POS [22432.5,6808.38,0.0381393] ID 4"

"CACHE SPAWNED: ID 1 POS [17949.6,15265,-70198.6]"

 

No cache at the mark.

 

And here is the rpt entry after I execute the command..

 

"CACHE SPAWNED: ID 1 POS [17949.6,15265,-70198.6]"

 

Still no Cache at the mark

 

Is that underground?

 

We are using the RHS Insurgents.

 

Anyway to delete that cache completely and generate the next one?

 

Let me know if you need any more info.

 

Thanks

Eric

 

Additional info

 

Restarted server and got the same rpt entry when the mission loaded..

"CACHE SPAWNED: ID 1 POS [17949.6,15265,-70198.6]"

 

but got a different entry after I ran the commands you gave me..

 

"CACHE SPAWNED: ID 1 POS [8323.16,10113.1,0]"

Share this post


Link to post
Share on other sites
5 hours ago, Vdauphin said:

the database name looks like : Vdauphin.vars.Arma3Profile

You need to find it .... then try :) . I did it to test locally my server DB.

Have fun !

 

Of course : open and copy and paste this https://github.com/Vdauphin/HeartsAndMinds/blob/master_stable/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L608-L620

 

And change by the correcte typeof AI units you want.

Then select in mission parameter the new faction you use : https://github.com/Vdauphin/HeartsAndMinds/blob/master_stable/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/param.hpp#L47-L48

 

 

 

Thank you for your quick reply !!

I tried it but stilll have the same error :(. I have some things like this :

    case (_p_en == 10 && isClass (configfile >> "CfgVehicles" >> "OPTRE_Ins_URF_Rifleman_AR")) : {
        btc_hq                = btc_hq_red;
        btc_enemy_side        = east;
        btc_type_units        = ["OPTRE_Ins_URF_Rifleman_AR","OPTRE_Ins_URF_Assist_Autorifleman","OPTRE_Ins_URF_AT_Specialist","OPTRE_Ins_URF_Autorifleman","OPTRE_Ins_URF_Breacher","OPTRE_Ins_URF_Demolitions"];
        btc_type_divers        = ["O_T_Diver_F","O_T_Diver_TL_F","O_T_Diver_Exp_F"];
        btc_type_crewmen    = "OPTRE_Ins_URF_Rifleman_AR";
        btc_type_vehicles    = ["OPTRE_m1015_mule_ins","OPTRE_M12_FAV_ins","OPTRE_M12_LRV_ins","OPTRE_M12A1_LRV_ins","OPTRE_M12R_AA_ins"];
        btc_type_boats        = ["O_T_Boat_Armed_01_hmg_F","O_T_Boat_Transport_01_F","0_SDV_01_F","I_G_Boat_Transport_01_F"];
        btc_type_motorized    = ["OPTRE_M12_FAV_ins","OPTRE_M12_LRV_ins","OPTRE_M12A1_LRV_ins","OPTRE_M12R_AA_ins","OPTRE_m1015_mule_ins"];
        btc_type_mg            = ["O_HMG_01_F","O_HMG_01_high_F"];
        btc_type_gl            = ["O_GMG_01_F","O_GMG_01_high_F"];

 

Is this correct?

Ps: I tried to use unit class name from Operation Trebuche mod :)

Share this post


Link to post
Share on other sites

And also, does the unit class names have to be from a same faction? I tried to add some ZSU tank to "middle east militia" but I can't see them spawn at all.

Share this post


Link to post
Share on other sites
12 hours ago, eric963 said:

"CACHE SPAWNED: ID 1 POS [8323.16,10113.1,0]"

Go next to the logistic point (or excute this locally : player setpos [8323.16,10113.1,0];) and blow the ammo cache you spawned.

 

9 hours ago, dauhaanh said:

Is this correct?

Look good but I am not a computer, you did something wrong but I don't know where :/

 

8 hours ago, dauhaanh said:

And also, does the unit class names have to be from a same faction? I tried to add some ZSU tank to "middle east militia" but I can't see them spawn at all.

Same SIDE. 

Share this post


Link to post
Share on other sites

Forgot to post last night that the ammo cache spawned on the logistic point. We moved it and blew it up and everything seems cleared up now.

Thanks for the help.


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

Been running an edited version of Hearts and Minds for a couple weeks now. Only criticism I have is the IEDs that spawn inside of buildings. Very difficult to detect and impossible to disarm. One could argue that it's realistic, but I feel it can ruins the flow of the mission. The IEDs that spawn on the road are more than sufficient for adding an element of danger. Would it be possible to edit any files within the pbo to remove the IEDs placed in buildings?

 

Share this post


Link to post
Share on other sites

I have a frustrating problem.  I've modified this awesome version, and I've added RHS A10's and some other RHS vehicles.  When I run a local server, the vehicles I added spawn, but when I run the mission on a dedicated server, none of the stuff I added spawns.  Is there a .rpt file that would show the errors as I'm not seeing any script errors?

Share this post


Link to post
Share on other sites

Did you add the name of the vehicle to the array in the defines?

Share this post


Link to post
Share on other sites
10 minutes ago, giallustio said:

Did you add the name of the vehicle to the array in the defines?

 

I added the vehicles to the core\def\misisons.sqf file (https://github.com/Vdauphin/HeartsAndMinds/wiki/4:-Add-respawn-to-vehicle-or-boat)

 

//Vehs

Line 152 - btc_vehicles =  [btc_veh_1,btc_veh_2,btc_veh_3,btc_veh_4,btc_veh_5,btc_veh_6,btc_veh_7,btc_veh_8,btc_veh_9,btc_veh_10,btc_veh_11,btc_veh_12,btc_veh_13,btc_veh_14,btc_veh_15,btc_veh_16,btc_veh_17,btc_veh_18,btc_veh_19,        btc_veh_20,btc_veh_21];

Line 153 - btc_helo = [btc_helo_1,btc_helo_2,btc_helo_3,btc_helo_4,btc_helo_5,btc_helo_6];};

 

Do I need to add them anywhere else?

Edited by kman_(kya)
formatting

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

×