Skip to content

Commit 837c9a0

Browse files
committed
Merge pull request #22 from fritogotlayed/DUWSR-2
DUWSR-2 Adjusted skills so XP 15 is covered in multiplayer and added skill for multiplayer XP 55
2 parents a104d78 + 78949cf commit 837c9a0

File tree

2 files changed

+62
-51
lines changed

2 files changed

+62
-51
lines changed
Lines changed: 57 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,57 @@
1-
2-
3-
4-
waitUntil {sleep 2; experience_total>=5};
5-
_handle = [player] execVM "persistent\experience\experience_ability_stamina.sqf";
6-
["new_ability",["New ability: Enhanced Conditionning","Boost your endurance, evade and escape ennemies"]] call bis_fnc_showNotification;
7-
["new_ability",["Abilities","More info on abilities inside the briefing"]] call bis_fnc_showNotification;
8-
_index = player createDiarySubject ["abilities_info","Abilities"];
9-
player createDiaryRecord ["abilities_info", ["Abilities", "Each time you will earn a new ability, a new entry will appear inside this tab and you'll be able to read its description. Access the abilities with the radio menu (0-0)."]];
10-
player createDiaryRecord ["abilities_info", ["Enhanced Conditionning", "<font color='#FF0000'>Cooldown: 180 seconds</font color><br />Description:<br />When activated through the radio menu, you get a 20 seconds boost where you can run, sprint up mountains and aim without any effect on your stamina. Use this to quickly evade ennemies or for quick exfiltration."]];
11-
12-
13-
if (!isMultiplayer) then {
14-
waitUntil {sleep 2; experience_total>=15};
15-
_handle = [player] execVM "persistent\experience\experience_ability_slowtime.sqf";
16-
["new_ability",["New ability: Quick Reflexes","Slow down time, take your shot"]] call bis_fnc_showNotification;
17-
player createDiaryRecord ["abilities_info", ["Quick Reflexes", "<font color='#FF0000'>Cooldown: 5 minutes</font color><br />Description:<br />When activated through the radio menu, the time is slowed down for around 12 seconds, allowing you to clear rooms, compound or kill in a brief amount of tyme a group of ennemies."]];
18-
};
19-
20-
21-
22-
23-
waitUntil {sleep 2; experience_total>=25};
24-
_handle = [player] execVM "persistent\experience\experience_ability_heal.sqf";
25-
["new_ability",["New ability: Field Surgery","You are really hard to kill, you know that ?"]] call bis_fnc_showNotification;
26-
player createDiaryRecord ["abilities_info", ["Field Surgery", "<font color='#FF0000'>Cooldown: 20 minutes</font color><br />Description:<br />When activated through the radio menu, you will be fully healed after a short period of time"]];
27-
28-
waitUntil {sleep 2; experience_total>=30};
29-
_handle = [player] execVM "persistent\experience\experience_ability_fieldcomm.sqf";
30-
["new_ability",["New ability: Field Commander","Leading the way"]] call bis_fnc_showNotification;
31-
player createDiaryRecord ["abilities_info", ["Field Commander", "<font color='#FF0000'>Cooldown: N/A</font color><br />Description:<br />You can now access the squad manager when you want."]];
32-
33-
34-
35-
waitUntil {sleep 2; experience_total>=35};
36-
_handle = [player] execVM "persistent\experience\experience_ability_warrior.sqf";
37-
["new_ability",["New ability: Veteran Instinct","I think I saw someone around this corner..."]] call bis_fnc_showNotification;
38-
player createDiaryRecord ["abilities_info", ["Veteran Instinct", "<font color='#FF0000'>Cooldown: 10 minutes</font color><br />Description:<br />When activated through the radio menu, for 60 seconds you will know if the zone in a radius of 50 meters around you is clear of enemies or not."]];
39-
40-
waitUntil {sleep 2; experience_total>=45};
41-
_handle = [player] execVM "persistent\experience\experience_ability_refit.sqf";
42-
["new_ability",["New ability: Field Repair","Did someone say MacGyver ?"]] call bis_fnc_showNotification;
43-
player createDiaryRecord ["abilities_info", ["Field Repair", "<font color='#FF0000'>Cooldown: 1 hour</font color><br />Description:<br />When activated through the radio menu, the vehicle in wich you are inside will be repaired, and a little bit of fuel added."]];
44-
45-
waitUntil {sleep 2; experience_total>=55};
46-
_handle = [player] execVM "persistent\experience\experience_ability_logistic.sqf";
47-
["new_ability",["New ability: Logistic Support","They're sending lots of ressources your way"]] call bis_fnc_showNotification;
48-
player createDiaryRecord ["abilities_info", ["Logistic Support", "<font color='#FF0000'>Cooldown: 15 minutes (passive)</font color><br />Description:<br />This passive ability gives you +1 command point every 15 minutes."]];
49-
50-
51-
1+
// Abilities based on the players accumulated experience is enabled here.
2+
3+
waitUntil {sleep 2; experience_total>=5};
4+
_handle = [player] execVM "persistent\experience\experience_ability_stamina.sqf";
5+
["new_ability",["New ability: Enhanced Conditioning","Boost your endurance, evade and escape enemies"]] call bis_fnc_showNotification;
6+
["new_ability",["Abilities","More info on abilities inside the briefing"]] call bis_fnc_showNotification;
7+
_index = player createDiarySubject ["abilities_info","Abilities"];
8+
player createDiaryRecord ["abilities_info", ["Abilities", "Each time you will earn a new ability, a new entry will appear inside this tab and you'll be able to read its description. Access the abilities with the radio menu (0-0)."]];
9+
player createDiaryRecord ["abilities_info", ["Enhanced Conditioning", "<font color='#FF0000'>Cool down: 180 seconds</font color><br />Description:<br />When activated through the radio menu, you get a 20 seconds boost where you can run, sprint up mountains and aim without any effect on your stamina. Use this to quickly evade enemies or for quick exfiltration."]];
10+
11+
12+
waitUntil {sleep 2; experience_total>=15};
13+
if (!isMultiplayer) then {
14+
_handle = [player] execVM "persistent\experience\experience_ability_slowtime.sqf";
15+
["new_ability",["New ability: Quick Reflexes","Slow down time, take your shot"]] call bis_fnc_showNotification;
16+
player createDiaryRecord ["abilities_info", ["Quick Reflexes", "<font color='#FF0000'>Cooldown: 5 minutes</font color><br />Description:<br />When activated through the radio menu, the time is slowed down for around 12 seconds, allowing you to clear rooms, compound or kill in a brief amount of time a group of enemies."]];
17+
}
18+
else
19+
{
20+
// Place holder until a new skill can be thought up. :-)
21+
_handle = [player] execVM "persistent\experience\experience_ability_logistic.sqf";
22+
["new_ability",["New ability: Logistic Support","They're sending lots of resources your way"]] call bis_fnc_showNotification;
23+
player createDiaryRecord ["abilities_info", ["Logistic Support", "<font color='#FF0000'>Cooldown: 15 minutes (passive)</font color><br />Description:<br />This passive ability gives you +1 command point every 15 minutes."]];
24+
};
25+
26+
waitUntil {sleep 2; experience_total>=25};
27+
_handle = [player] execVM "persistent\experience\experience_ability_heal.sqf";
28+
["new_ability",["New ability: Field Surgery","You are really hard to kill, you know that ?"]] call bis_fnc_showNotification;
29+
player createDiaryRecord ["abilities_info", ["Field Surgery", "<font color='#FF0000'>Cooldown: 20 minutes</font color><br />Description:<br />When activated through the radio menu, you will be fully healed after a short period of time"]];
30+
31+
waitUntil {sleep 2; experience_total>=30};
32+
_handle = [player] execVM "persistent\experience\experience_ability_fieldcomm.sqf";
33+
["new_ability",["New ability: Field Commander","Leading the way"]] call bis_fnc_showNotification;
34+
player createDiaryRecord ["abilities_info", ["Field Commander", "<font color='#FF0000'>Cooldown: N/A</font color><br />Description:<br />You can now access the squad manager when you want."]];
35+
36+
waitUntil {sleep 2; experience_total>=35};
37+
_handle = [player] execVM "persistent\experience\experience_ability_warrior.sqf";
38+
["new_ability",["New ability: Veteran Instinct","I think I saw someone around this corner..."]] call bis_fnc_showNotification;
39+
player createDiaryRecord ["abilities_info", ["Veteran Instinct", "<font color='#FF0000'>Cooldown: 10 minutes</font color><br />Description:<br />When activated through the radio menu, for 60 seconds you will know if the zone in a radius of 50 meters around you is clear of enemies or not."]];
40+
41+
waitUntil {sleep 2; experience_total>=45};
42+
_handle = [player] execVM "persistent\experience\experience_ability_refit.sqf";
43+
["new_ability",["New ability: Field Repair","Did someone say MacGyver ?"]] call bis_fnc_showNotification;
44+
player createDiaryRecord ["abilities_info", ["Field Repair", "<font color='#FF0000'>Cooldown: 1 hour</font color><br />Description:<br />When activated through the radio menu, the vehicle in which you are inside will be repaired, and a little bit of fuel added."]];
45+
46+
waitUntil {sleep 2; experience_total>=55};
47+
if (!isMultiplayer) then {
48+
_handle = [player] execVM "persistent\experience\experience_ability_logistic.sqf";
49+
["new_ability",["New ability: Logistic Support","They're sending lots of ressources your way"]] call bis_fnc_showNotification;
50+
player createDiaryRecord ["abilities_info", ["Logistic Support", "<font color='#FF0000'>Cooldown: 15 minutes (passive)</font color><br />Description:<br />This passive ability gives you +1 command point every 15 minutes."]];
51+
}
52+
else
53+
{
54+
_handle = [player] execVM "persistent\experience\experience_ability_logistic_boost.sqf";
55+
["new_ability",["New ability: Logistic Boost","We are committed to winning."]] call bis_fnc_showNotification;
56+
player createDiaryRecord ["abilities_info", ["Logistic Boost", "<font color='#FF0000'>Cooldown: 30 minutes (passive)</font color><br />Description:<br />This passive ability gives you +5 command point every 30 minutes."]];
57+
};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
while {true} do {
2+
sleep 1800;
3+
commandpointsblu1 = commandpointsblu1 + 5;
4+
publicVariable "commandpointsblu1";
5+
};

0 commit comments

Comments
 (0)