Skip to content

Commit

Permalink
Built String Table
Browse files Browse the repository at this point in the history
  • Loading branch information
DerivenLoki committed Jun 28, 2024
1 parent 5d72349 commit cad17c8
Show file tree
Hide file tree
Showing 19 changed files with 152 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class ACE_WrenchDestroyUserAction : ScriptedUserAction
if (!gadget)
return false;

if (!gadget.FindComponent(SCR_RepairSupportStationComponent))
if (!gadget.GetOwner().FindComponent(SCR_RepairSupportStationComponent))
return false;

return true;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
StringTableRuntime {
Ids {
"ACE-Explosives_DeminingUserAction_Name"
}
Texts {
"Disarm"
}
}
32 changes: 32 additions & 0 deletions addons/explosives/Prefabs/Weapons/Core/ExplosiveCharge_base.et
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
GenericEntity : "{CD00FFBAFD036BE2}Prefabs/Weapons/Core/Explosives_base.et" {
ID "5968D2B6A82C6019"
components {
ActionsManagerComponent "{5AA692DC30B9C623}" {
ActionContexts {
UserActionContext "{61B82D1B81E2313E}" {
ContextName "Empty"
}
}
additionalActions {
SCR_DisarmExplosiveChargeAction "{5F1CD13994BFA81F}" {
ParentContextList {
"Empty"
}
UIInfo UIInfo "{5F1A794DA78B2106}" {
Name ""
}
ActionTitle ""
}
ACE_Explosives_DeminingUserAction "{61B8246250D78F21}" {
ParentContextList {
"default"
}
UIInfo UIInfo "{61B82462489B738B}" {
Name "#ACE-Explosives_DeminingUserAction_Name"
}
VisibilityRange 1
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
MetaFileClass {
Name "{7D968AE11F63B3F6}Prefabs/Weapons/Core/ExplosiveCharge_base.et"
Configurations {
EntityTemplateResourceClass PC {
}
EntityTemplateResourceClass XBOX_ONE : PC {
}
EntityTemplateResourceClass XBOX_SERIES : PC {
}
EntityTemplateResourceClass PS4 : PC {
}
EntityTemplateResourceClass PS5 : PC {
}
EntityTemplateResourceClass HEADLESS : PC {
}
}
}
4 changes: 2 additions & 2 deletions addons/explosives/Prefabs/Weapons/Core/Mine_base.et
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ GenericEntity : "{CD00FFBAFD036BE2}Prefabs/Weapons/Core/Explosives_base.et" {
}
ActionsManagerComponent "{59E4E6938E65C2ED}" {
additionalActions {
ACE_Explosives_DeminingUserAction "{61B77855355025F3}" {
ACE_Explosives_DeminingUserAction "{61B82460734EEF61}" {
ParentContextList {
"default"
}
UIInfo UIInfo "{61B7785556CD0A18}" {
UIInfo UIInfo "{61B824606B6A2B03}" {
Name "#ACE-Explosives_DeminingUserAction_Name"
}
VisibilityRange 1
Expand Down
17 changes: 17 additions & 0 deletions addons/explosives/Prefabs/Weapons/Core/Mine_base.et.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
MetaFileClass {
Name "{9C80A507960AA473}Prefabs/Weapons/Core/Mine_base.et"
Configurations {
EntityTemplateResourceClass PC {
}
EntityTemplateResourceClass XBOX_ONE : PC {
}
EntityTemplateResourceClass XBOX_SERIES : PC {
}
EntityTemplateResourceClass PS4 : PC {
}
EntityTemplateResourceClass PS5 : PC {
}
EntityTemplateResourceClass HEADLESS : PC {
}
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
//------------------------------------------------------------------------------------------------
//! Mine deletion user action
class ACE_Explosives_DeminingUserAction : ACE_ShovelDestroyUserAction
{
//! Explosive deletion user action
class ACE_Explosives_DeminingUserAction : ACE_WrenchDestroyUserAction
{

//------------------------------------------------------------------------------------------------
//! Request deletion of the tree
//! Request deletion of the explosive
override void PerformAction(IEntity pOwnerEntity, IEntity pUserEntity)
{
SCR_EntityHelper.DeleteEntityAndChildren(pOwnerEntity);
Expand Down

0 comments on commit cad17c8

Please sign in to comment.