Skip to content

Commit

Permalink
Add Deprecated to Vanilla Waypoints (#398)
Browse files Browse the repository at this point in the history
* Add Deprecated to Vanilla Waypoints

* change styling

* Improved text

---------

Co-authored-by: Ken Mikkelsen <[email protected]>
  • Loading branch information
jokoho48 and nk3nny authored Jul 7, 2024
1 parent 25abd26 commit 6f37998
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 19 deletions.
38 changes: 19 additions & 19 deletions addons/wp/CfgWaypoints.hpp
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
class CfgWaypoints {
class LAMBS_DangerAI {
displayName = "Advanced AI [LAMBS]";
displayName = "Advanced AI [LAMBS] (Deprecated, use modules)]";
class EGVAR(danger,Attack) {
displayName = CSTRING(Waypoint_TaskAssault_displayName);
displayName = CSTRING(Waypoint_Deprecated_TaskAssault_displayName);
displayNameDebug = QEGVAR(danger,Attack);
file = QPATHTOF(scripts\fnc_wpAssault.sqf);
icon = "\a3\ui_f\data\GUI\Cfg\CommunicationMenu\attack_ca.paa";
tooltip = CSTRING(Waypoint_TaskAssault_Tooltip);
tooltip = CSTRING(Waypoint_Deprecated_TaskAssault_Tooltip);
};
class EGVAR(danger,Retreat) {
displayName = CSTRING(Waypoint_TaskRetreat_displayName);
displayName = CSTRING(Waypoint_Deprecated_TaskRetreat_displayName);
displayNameDebug = QEGVAR(danger,Retreat);
file = QPATHTOF(scripts\fnc_wpRetreat.sqf);
icon = "\a3\ui_f\data\GUI\Cfg\CommunicationMenu\attack_ca.paa";
tooltip = CSTRING(Waypoint_TaskRetreat_Tooltip);
tooltip = CSTRING(Waypoint_Deprecated_TaskRetreat_Tooltip);
};
class EGVAR(danger,Garrison) {
displayName = CSTRING(Waypoint_TaskGarrison_displayName);
displayName = CSTRING(Waypoint_Deprecated_TaskGarrison_displayName);
displayNameDebug = QEGVAR(danger,Garrison);
file = QPATHTOF(scripts\fnc_wpGarrison.sqf);
icon = "\a3\3DEN\Data\CfgWaypoints\Guard_ca.paa";
tooltip = CSTRING(Waypoint_TaskGarrison_Tooltip);
tooltip = CSTRING(Waypoint_Deprecated_TaskGarrison_Tooltip);
};
class EGVAR(danger,Patrol) {
displayName = CSTRING(Waypoint_TaskPatrol_displayName);
displayName = CSTRING(Waypoint_Deprecated_TaskPatrol_displayName);
displayNameDebug = QEGVAR(danger,Patrol);
file = QPATHTOF(scripts\fnc_wpPatrol.sqf);
icon = "\a3\3DEN\Data\CfgWaypoints\Loiter_ca.paa";
ToolTip = CSTRING(Waypoint_TaskPatrol_Tooltip);
ToolTip = CSTRING(Waypoint_Deprecated_TaskPatrol_Tooltip);
};
class EGVAR(danger,Rush) {
displayName = CSTRING(Waypoint_TaskRush_displayName);
displayName = CSTRING(Waypoint_Deprecated_TaskRush_displayName);
displayNameDebug = QEGVAR(danger,Rush);
file = QPATHTOF(scripts\fnc_wpRush.sqf);
icon = "\a3\3DEN\Data\CfgWaypoints\Sentry_ca.paa";
tooltip = CSTRING(Waypoint_TaskRush_Tooltip);
tooltip = CSTRING(Waypoint_Deprecated_TaskRush_Tooltip);
};
class EGVAR(danger,Hunt) {
displayName = CSTRING(Waypoint_TaskHunt_displayName);
displayName = CSTRING(Waypoint_Deprecated_TaskHunt_displayName);
displayNameDebug = QEGVAR(danger,Hunt);
file = QPATHTOF(scripts\fnc_wpHunt.sqf);
icon = "\a3\3DEN\Data\CfgWaypoints\Sentry_ca.paa";
tooltip = CSTRING(Waypoint_TaskHunt_Tooltip);
tooltip = CSTRING(Waypoint_Deprecated_TaskHunt_Tooltip);
};
class EGVAR(danger,Creep) {
displayName = CSTRING(Waypoint_TaskCreep_displayName);
displayName = CSTRING(Waypoint_Deprecated_TaskCreep_displayName);
displayNameDebug = QEGVAR(danger,Creep);
file = QPATHTOF(scripts\fnc_wpCreep.sqf);
icon = "\a3\3DEN\Data\CfgWaypoints\Sentry_ca.paa";
tooltip = CSTRING(Waypoint_TaskCreep_Tooltip);
tooltip = CSTRING(Waypoint_Deprecated_TaskCreep_Tooltip);
};
class EGVAR(danger,CQB) {
displayName = CSTRING(Waypoint_TaskCQB_displayName);
displayName = CSTRING(Waypoint_Deprecated_TaskCQB_displayName);
displayNameDebug = QEGVAR(danger,CQB);
file = QPATHTOF(scripts\fnc_wpCQB.sqf);
icon = "\a3\3DEN\Data\CfgWaypoints\Scripted_ca.paa";
tooltip = CSTRING(Waypoint_TaskCQB_Tooltip);
tooltip = CSTRING(Waypoint_Deprecated_TaskCQB_Tooltip);
};
class EGVAR(danger,Artillery) {
displayName = CSTRING(Waypoint_RegisterArtillery_displayName);
displayName = CSTRING(Waypoint_Deprecated_RegisterArtillery_displayName);
displayNameDebug = "LAMBS_Register_Artillery";
file = QPATHTOF(functions\fnc_taskArtilleryRegister.sqf);
icon = "\a3\3DEN\Data\CfgWaypoints\Scripted_ca.paa";
tooltip = CSTRING(Waypoint_RegisterArtillery_Tooltip);
tooltip = CSTRING(Waypoint_Deprecated_RegisterArtillery_Tooltip);
};
};
};
54 changes: 54 additions & 0 deletions addons/wp/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1221,5 +1221,59 @@
<Italian>Registri artiglieria per uso dinamico</Italian>
<Chinesesimp>动态使用方面的火炮指示</Chinesesimp>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskAssault_displayName">
<English>TASK ASSAULT</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskAssault_Tooltip">
<English>Rushes to target position with no regard for safety\nDEPRECATED, USE MODULES FOR MORE FLEXIBILITY FOR MORE FLEXIBILITY</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskRetreat_displayName">
<English>TASK RETREAT</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskRetreat_Tooltip">
<English>Retreats to target position while ignoring enemies\nDEPRECATED, USE MODULES FOR MORE FLEXIBILITY</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskGarrison_displayName">
<English>TASK GARRISON</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskGarrison_Tooltip">
<English>Garrisons in buildings around waypoint out to WP completion radius (default 50m)\nDEPRECATED, USE MODULES FOR MORE FLEXIBILITY</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskPatrol_displayName">
<English>TASK PATROL</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskPatrol_Tooltip">
<English>Randomised patrol within WP completion radius (Default 200m)\nNB will remove all existing waypoints from group\nDEPRECATED, USE MODULES FOR MORE FLEXIBILITY</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskRush_displayName">
<English>TASK RUSH</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskRush_Tooltip">
<English>Rushes players within WP completion radius (Default 1000m)\nDEPRECATED, USE MODULES FOR MORE FLEXIBILITY</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskHunt_displayName">
<English>TASK HUNT</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskHunt_Tooltip">
<English>Hunts players within WP completion radius (Default 1000m)\nDEPRECATED, USE MODULES FOR MORE FLEXIBILITY</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskCreep_displayName">
<English>TASK CREEP</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskCreep_Tooltip">
<English>Stalks players within WP completion radius (Default 1000m)\nDEPRECATED, USE MODULES FOR MORE FLEXIBILITY</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskCQB_displayName">
<English>TASK CQB</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_TaskCQB_Tooltip">
<English>Enters and clears buildings within WP completion radius (Default 50m)\nDEPRECATED, USE MODULES FOR MORE FLEXIBILITY</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_RegisterArtillery_displayName">
<English>REGISTER ARTILLERY</English>
</Key>
<Key ID="STR_Lambs_WP_Waypoint_Deprecated_RegisterArtillery_Tooltip">
<English>Registers artillery for dynamic use\nDEPRECATED, USE MODULES FOR MORE FLEXIBILITY</English>
</Key>
</Package>
</Project>

0 comments on commit 6f37998

Please sign in to comment.