Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update doc lines #1684

Merged
merged 4 commits into from
Feb 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion =BTC=co@30_Hearts_and_Minds.Altis/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@
</Key>
<Key ID="STR_BTC_HAM_SIDE_RESC_BODYBAG_DESC">
<Original>%1 has been killed. Place %1 in a body bag.</Original>
<German>%1 wurde getötet. Bergen Sie seine Leiche mithilfe eines Leichsacks.</German
<German>%1 wurde getötet. Bergen Sie seine Leiche mithilfe eines Leichsacks.</German>
<Chinesesimp>%1 已经阵亡。将 %1 装进尸体袋。</Chinesesimp>
<French>%1 a été tué. Placez %1 dans un sac mortuaire.</French>
<Czech>%1 byl zabit. Umístěte %1 do vaku na tělo.</Czech>
Expand Down
3 changes: 0 additions & 3 deletions docs/Action-has-consequences.md

This file was deleted.

10 changes: 5 additions & 5 deletions docs/Add-factions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ You have two way to add new factions. First one need to know all class name of t

## First way
- Get all class names of your faction.
- Replace `_allclasse select` by the corresponding array of faction name in [/core/def/mission.sqf#L639-L648](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L639-L648).
- Replace `_allclasse select` by the corresponding array of faction name in [/core/def/mission.sqf#L645-L654](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L645-L654).

## Second way
- Launch your game with all factions mods you want to have in the H&M and launch the H&M mission.
- Execute locally in [debug console](https://community.bistudio.com/wiki/Mission_Editor:_Debug_Console_(Arma_3)) : `copyToClipboard str (["EN"] call btc_fnc_get_class);`.
- Open a text editor and paste the result.
- You have an array of 4 array: [author name, text entry for mission parameters, faction name array, corresponding number for each faction].
- text entry for mission parameters (second array): copy and paste it in [/core/def/param.hpp#L149](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/param.hpp#L149).
- corresponding number for each faction (fourth array): copy and paste it in [/core/def/param.hpp#L148](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/param.hpp#L148).
- faction name array (third array): copy and paste it in [/core/def/mission.sqf#L635](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L635).
- text entry for mission parameters (second array): copy and paste it in [/core/def/param.hpp#L155](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/param.hpp#L155).
- corresponding number for each faction (fourth array): copy and paste it in [/core/def/param.hpp#L154](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/param.hpp#L154).
- faction name array (third array): copy and paste it in [/core/def/mission.sqf#L641](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L641).

Note: if you don't want some class name take a look here [/core/def/mission.sqf#L650-L671](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L650-L671).
Note: if you don't want some class name take a look here [/core/def/mission.sqf#L656-L677](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L656-L677).
2 changes: 1 addition & 1 deletion docs/Change-MAP-of-Hearts-and-Minds.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@

# Tips :
- Some map does not provide enough city. You can add new cities by using `btc_custom_loc` in [/define_mod.sqf#L1](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/define_mod.sqf#L1) like it has been talk [here](https://forums.bohemia.net/forums/topic/165948-mp-btc-hearts-and-minds/?page=39&tab=comments#comment-3280136).
- For small map, you should tweak the safezone for hideout spawn ([/core/def/mission.sqf#L163](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L163)).
- For small map, you should tweak the safezone for hideout spawn ([/core/def/mission.sqf#L165](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/mission.sqf#L165)).
- [Some map](https://forums.bohemia.net/forums/topic/165948-mp-btc-hearts-and-minds/?page=52&tab=comments#comment-3348268) use only NameCity for the type of locations but H&M hideouts system looks for "NameLocal", "Hill", "NameVillage", "Airport". You should add in the array the "NameCity" [here](https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/hideout/create.sqf#L50).
Loading