nebulation wrote: ↑Fri Sep 22, 2023 1:22 am
Hi is anyone able to help me figure out what's bugging out from this? I'm trying to get the Myrkul's scythe to work with the item spawner. UUID is S_COL_ApostleScythe_1cf197e8-a751-4712-8822-b08257a6bd32. Using just the last 32 characters didn't work for me in the sample script. It's worth noting that the item despawns when it leaves the inventory so I had to reload my save to pull the UUID in cheat engine
[ENABLE]
{$lua}
if syntaxcheck then return end
local items = {
"1cf197e8-a751-4712-8822-b08257a6bd32"
}
TemplateAddToPlayer(items, 1)
{$asm}
[DISABLE]
the item id is
"3112f0f5-4073-45d2-8e37-eeafa1558896" and there are conditions (a tag to add to your character) to be able to use it.
It's tested: I spawned it succefully but then I could not use it yet. I added thus the tag and then I could use it, including the class action.
Damn, you sure won't fit in a rabbit hole with it !
All these information are in the files I share and maintain here for the community, see my post:
viewtopic.php?p=311868#p311868
"3112f0f5-4073-45d2-8e37-eeafa1558896": {
"MapKey": "3112f0f5-4073-45d2-8e37-eeafa1558896",
"Name": "WPN_MYRKUL_Apostle_Scythe_A",
"Type": "item",
"ParentTemplateName": "WPN_HUM_Glaive_A_0",
"DisplayNameEnglish": "Scythe of Myrkul",
"ParentTemplateId": "99f3b2d9-e03d-4cd5-9a67-5435a95682da",
"VisualTemplate": "cbc9a006-c70a-61dd-b0f7-baf857cd2805",
"PhysicsTemplate": "d749ad27-e87c-a9d0-6cb9-2a37fd29d8c4",
"DisplayName": "h6646db16g663dg4337g94eage6ebf57676e5;1",
"DisplayNameFrench": "Faux de Myrkul",
"Stats": "WPN_Apostle_Scythe",
"CanBePickpocketed": "False",
"ContainerAutoAddOnPickup": "False",
"IsBoss": "False",
"RootFolder": "Shared\\Public\\SharedDev\\RootTemplates",
"RootFile": "3112f0f5-4073-45d2-8e37-eeafa1558896.lsf.lsx"
}
{
"EntryName": "WPN_Apostle_Scythe",
"EntryType": "Weapon",
"EntryUsing": "WPN_Glaive",
"RootTemplate": "3112f0f5-4073-45d2-8e37-eeafa1558896",
"RootFolder": "Shared/Public/SharedDev",
"DisplayNameEnglish": "Scythe of Myrkul",
"DisplayNameFrench": "Faux de Myrkul",
"UseConditions": "Tagged('APOSTLE_OF_MYRKUL', context.Source)",
"Damage": "2d12",
"WeaponRange": "500",
"Boosts": "UnlockSpell(Zone_Cleave_Apostle)"
},
"7fb75b00-68b1-4217-874e-6ce1812d20e8": {
"TagUUID": "7fb75b00-68b1-4217-874e-6ce1812d20e8",
"Name": "APOSTLE_OF_MYRKUL",
"Category": "Code, Dialog",
"UUID": "7fb75b00-68b1-4217-4e87-e16c2d81e820",
"RootFolder": "Shared\\Public\\SharedDev\\Tags",
"RootFile": "7fb75b00-68b1-4217-874e-6ce1812d20e8.lsf.lsx"
},
"Zone_Cleave_Apostle": {
"EntryName": "Zone_Cleave_Apostle",
"EntryType": "SpellData",
"EntryUsing": "Zone_Cleave",
"RootFolder": "Patch1/Public/SharedDev",
"SpellType": "Zone",
"SpellSchool": "None",
"Cooldown": "OncePerTurn",
"DeathType": "Physical",
"SpellSuccess": "DealDamage(2d12+UnarmedMeleeAbilityModifier,Slashing);DealDamage(3d4,Necrotic);IF(not SavingThrow(Ability.Strength, 17)):Force(4)",
"TargetConditions": "not Dead() and not Self()",
"Icon": "GenericIcon_Intent_Damage",
"DisplayName": "hd6fcf415g4f3ag464eg9779g2232e5f755c1;4",
"DisplayNameEnglish": "Reaper's Scythe",
"DisplayNameFrench": "Faux du Faucheur",
"Description": "h798a7e8bg8af0g4a20g8f40g4ee27887002b;4",
"DescriptionEnglish": "Swing your weapon in a large arc that knocks targets back [1]. ",
"DescriptionFrench": "Vous décrivez un grand arc de cercle avec votre arme pour repousser les cibles de [1]. ",
"DescriptionParams": "Distance(3)",
"TooltipDamageList": "DealDamage(2d12+UnarmedMeleeAbilityModifier,Slashing);DealDamage(3d4,Necrotic)",
"CastSound": "Vocal_Component_Stop",
"FrontOffset": "-2",
"Range": "5",
"Angle": "120",
"SpellAnimation": "8b8bb757-21ce-4e02-a2f3-97d55cf2f90b,,;6606c30b-be1c-4f17-ae6b-1a591c80b18c,,;f4ac302b-1569-404f-bd52-1fe443e265df,,;e8a5c57f-855b-4227-acaa-11e8ce8d7d64,,;7bb52cd4-0b1c-4926-9165-fa92b75876a3,,;2b81c18b-9698-4262-a623-932c2bb1296d,,;0b07883a-08b8-43b6-ac18-84dc9e84ff50,,;,,;,,",
"WeaponTypes": "Melee",
"SpellFlags": "IsMelee;IgnoreVisionBlock;IsAttack",
"CastEffect": "1c0ec9cd-d786-4d1d-b151-59fc9dfff822"
},