Jump to content
giallustio

[MP] =BTC= Hearts and Minds

Recommended Posts

Heyyy ! 

Thanks a lot for what you did for us! 

 

I have a questions, do i need to change variable in the initserver.sqf ? 

Because when i modify vehicle like in the wiki (http://vdauphin.github.io/HeartsAndMinds/Add-vehicle-or-boat-to-H&M-system) i have a issue with date and vehicle:

 

Error in expression <t [3, btc_p_time];
setDate _date;

 

Error in expression <his}, {_this call btc_fnc_db_add_veh;}, _x] call CBA_fnc_waitUntilAndExecute;
} >
13:06:12   Error position: <_x] call CBA_fnc_waitUntilAndExecute;

 

Also i can't spawn random quest with the officer and i can't interact anymore with the logistic point and the red box 😕 

 

Patate,

Share this post


Link to post
Share on other sites

Hello and welcome to the forum,

 

1 minute ago, 14_MrPatate said:

I have a questions, do i need to change variable in the initserver.sqf ?  

No, just follow the guide you linked

 

2 minutes ago, 14_MrPatate said:

Error in expression <t [3, btc_p_time];
setDate _date;

 

Error in expression <his}, {_this call btc_fnc_db_add_veh;}, _x] call CBA_fnc_waitUntilAndExecute;
} >
13:06:12   Error position: <_x] call CBA_fnc_waitUntilAndExecute;

 

Also i can't spawn random quest with the officer and i can't interact anymore with the logistic point and the red box 😕 

You did an error somewhere. Most of the time people miss to name a vehicle in their mission.sqm

You should check your .rtp (https://community.bistudio.com/wiki/Crash_Files#Location) and find the first error appearing in it

 

Cheers

Share this post


Link to post
Share on other sites

Thanks! It's working now! 

Now i have a question about the saving system, can i play on a older save (like 2-3 save before the last save )?

 

Thanks you for the gamemod btw! ^^'

 

MrPatate

Share this post


Link to post
Share on other sites

Hello,

25 minutes ago, 14_MrPatate said:

Thanks! It's working now! 

Perfect!

 

25 minutes ago, 14_MrPatate said:

Now i have a question about the saving system, can i play on a older save (like 2-3 save before the last save )?

No, but you can do manual saving and loading like that:

["El_Comandante_Sr.Patata_save_one"] spawn btc_fnc_db_save;

Then after restart manually load data base:

["El_Comandante_Sr.Patata_save_one"] call btc_fnc_db_load;

(Those command must be executed server side)

 

It "should" work

 

Good luck

 

 

Edited by Vdauphin

Share this post


Link to post
Share on other sites

Hello and welcome to the forum,

 

2 hours ago, DestruidorBRZ said:

Can someone help me?

Have you check in debug mode that cities around are disable by your maker?

 

Cheers

Share this post


Link to post
Share on other sites

@DestruidorBRZ

Like Vdauphin said, go into debug mode and check if the cities are being disabled.
Also make you named the correct marker. (I personally always use the "btc_base" one)

 

If you wanna prevent AI from walking into your base then you can set a trigger with the following:
Type: None

Activation: (Whatever side your enemy is on)

Repeatable: Yes

Condition: this

Activation: { _x setDamage 1 } forEach thislist;

(This will kill all units of said side walking into the trigger, which will then be cleaned up by the corpse manager)

 

Share this post


Link to post
Share on other sites

Hello!

 

The Hearts and Minds mission 1.20.7 hotfix is here!

Now H&M requires CBA and ACE3 only. But there is also a RHSUS version!

 

Changelog :

  • Param.hpp changed.
  • Mission.sqm not changed.
  • FIX: Missing factions since CUP and 3CB factions update (@Vdauphin).
  • FIX: Civilian still moving even after STOP order (@Vdauphin).
  • FIX: Apply careless and BLUE combat mode to civilian traffic (@Vdauphin).
  • FIX: Group with only dead units are deleted whatever player position is (@Vdauphin).
  • FIX: Comment about btc_type_crewmen is a string not an array (@Vdauphin).

Have fun!!!

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

Awesome Vdauphin, thank you so much! Keep up the good work you doing mate

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Hellow, how can I change area/zone size-radius around cities and villages ? Thanks. 

Share this post


Link to post
Share on other sites

Hello,

 

36 minutes ago, baton1990 said:

Hellow, how can I change area/zone size-radius around cities and villages ? Thanks. 

Those are defined by the map maker

You can increase the radius of player detection inside mission parameters: https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/param.hpp#L338-L343

But this doesn't increase the radius of where objects/units spawn.

You may want to take a look to the Tips section of the wiki here: http://vdauphin.github.io/HeartsAndMinds/Change-MAP-of-Hearts-and-Minds

 

Hope that help

Cheers

  • Thanks 1

Share this post


Link to post
Share on other sites

Hey there,

 

great mission but I have one question, is it possible to expand saving permissions? For example to tie to specific slot? Because of the way our server is run, the person "running" the mission is not always an admin. 

 

Share this post


Link to post
Share on other sites

Hello,

28 minutes ago, oriskana said:

For example to tie to specific slot?

Here is the code adding the interaction: https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/int/add_actions.sqf#L24

The {serverCommandAvailable "#logout" || !isMultiplayer} is the condition when the interaction is available

You need to tweak this to fit your need.

 

I would suggest to do it like it is done for side mission: https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/int/add_actions.sqf#L114

 {player getVariable ["side_mission", false]} this mean only player with the variable "side_mission" on true will have the interaction. This variable is define directly inside the init box of the unit in mission.sqm (https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/mission.sqm#L1025)

 

Good luck

Share this post


Link to post
Share on other sites

Hi Vdauphin!

 

I have a question about the weather in Hearts & Minds.. .

 

I've tryed to start rain now and then during our events by using ace weather via zues, but it never starts.

What I really would like is a dynamic weather, shifting between hot summer sun and some random rain.

 

Is it possible.. .or dose it have a negative effect on the mission and there for disabled?

Share this post


Link to post
Share on other sites

Hello,

5 minutes ago, bodybaq said:

I've tryed to start rain now and then during our events by using ace weather via zues, but it never starts.

Ask to ACE slack or create an issue here: https://github.com/acemod/ACE3/issues/new?assignees=&amp;labels=kind%2Fbug&amp;template=bug_report.md&amp;title=

 

2 minutes ago, bodybaq said:

What I really would like is a dynamic weather, shifting between hot summer sun and some random rain.

 

Is it possible..

May be but don't know how

 

3 minutes ago, bodybaq said:

or dose it have a negative effect on the mission and there for disabled?

H&M doesn't handle weather, this is out of the scope of a mission

 

Good luck

  • Like 1

Share this post


Link to post
Share on other sites

Hello,

4 hours ago, Georgians said:

What about enemy static turrets in mission how it possible?

Do you want this :

95782570-5db7f580-0cd0-11eb-9b94-29580ae

?

Share this post


Link to post
Share on other sites

no other way? maybe on other map building will better.let me know how i can do this, and my interest how i can put on the roadsIDES,i before villages or towns. on roads or other place  where i want Place it

Share this post


Link to post
Share on other sites

hi Vdauphin,

 

love the H&M mission but how can we make a static hideout rather then randomise? my sqf skill is not good. tried deiting the create_hideout.sqf. seems cant figure out what is the _pos - [Array]. hope you can help. Thank you.

Share this post


Link to post
Share on other sites

Hello,

 

2 hours ago, darksani said:

my sqf skill is not good. tried deiting the create_hideout.sqf. seems cant figure out what is the _pos - [Array].

Sadly this isn't easy.

May be replace here https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/mil/create_hideout.sqf#L46

by: _city = btc_city_all select 15; where 15 is the ID of the city where you want to see your hideout.

ID can be see on map in debug mode

 

Cheers

Share this post


Link to post
Share on other sites

hi vdauphin,

 

Thank for the guide manage to do it. thank you very much for the help.

Share this post


Link to post
Share on other sites

Hi Vdauphin!

 

Thank you for another awesome update of Hearts & Minds bruv.

 

I have a question tho.. .

 

I've a edited version on Virolahti/Finland but v1.20.7.

Instead of remaking it, I wanna update it with the changes you've done.

Can you explain to me how I can see exactly what you've change, so I can fix this in my current version?

 

Love your work man, keep it up!

Share this post


Link to post
Share on other sites

Hello,

 

6 minutes ago, bodybaq said:

Can you explain to me how I can see exactly what you've change, so I can fix this in my current version?

 

Just use the GitHub compare tool https://github.com/Vdauphin/HeartsAndMinds/compare/1.20.7...Vdauphin:master (change this link to the version you are, here 1.20.7)

Or fork my repository and push change every time you want to stay up to date as some people already do (https://github.com/Vdauphin/HeartsAndMinds/network).

 

Have fun 🙂

  • Thanks 1

Share this post


Link to post
Share on other sites

how i can change fob flag,need it for red side players when deploy fob there is flag nato

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

×