Jump to content

Welcome to Obsidian Forum Community
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

How to easily remove Spells with Keyword from Spellcasters?


  • Please log in to reply
12 replies to this topic

#1
Harpagornis

Harpagornis

    (4) Theurgist

  • Members
  • 317 posts

The goal: Remove all spells with keyword "Elemental" from the Shifter subclass.

 

How can i do this most efficiently and which tables have to be reworked?

 

Thanks for your help! ;)


Edited by Harpagornis, 14 September 2018 - 05:02 AM.


#2
BMac

BMac

    Programmer

  • Developers
  • 289 posts
  • Lords of the Eastern Reach Backer

Taking a look at the ClassProgressionTableGameData PT_Wizard, this was done by adding an AvailabilityConditional to each entry in the table that checks that the acquiring character is not one of the prohibited subclasses (ProgressionTableIsSubclass).  This isn't the nicest way to have to do this, but I think that's how it has to be done.


  • Harpagornis likes this

#3
Harpagornis

Harpagornis

    (4) Theurgist

  • Members
  • 317 posts

Wow, thats smart - will try it soon. Thanks a lot @BMac! ;)



#4
Harpagornis

Harpagornis

    (4) Theurgist

  • Members
  • 317 posts

Holy cow, i played around in the original PT but then my PC crashed. The backup for whatever reason is not readable anymore so i am stuck with a crippled PT.

 

Can anyone upload the complete PT for 2.1? Thanks! :yes:



#5
Harpagornis

Harpagornis

    (4) Theurgist

  • Members
  • 317 posts

Its not working - but why?

 

"Prerequisites": {
                                "Conditional": {
                                    "Components": [

{"$type":"OEIFormats.FlowCharts.ConditionalCall, OEIFormats","Data":{"FullName":"Boolean ProgressionTableIsSubclass(Guid)","Parameters":["f4ce16ff-8243-4a75-b3d8-ae1487198aa5"],"Flags":"","UnrealCall":"","FunctionHash":1231916529,"ParameterHash":1092581445},"Not":true,"Operator":0},{"$type":"OEIFormats.FlowCharts.ConditionalCall, OEIFormats","Data":{"FullName":"Boolean ProgressionTableIsSubclass(Guid)","Parameters":["88811ed8-adef-4ca3-af2f-871af1682dd6"],"Flags":"","UnrealCall":"","FunctionHash":1231916529,"ParameterHash":-924966531},"Not":true,"Operator":0}]

 

Must it really be an AvailabilityConditional? VisibilityConditional is also doing nothing - the spells are still available and visible... i hate this PT... :devil:


Edited by Harpagornis, 14 September 2018 - 01:56 PM.


#6
Armakoir

Armakoir

    (2) Evoker

  • Members
  • 74 posts
  • Steam:Armakoir

Its not working - but why?

 

"Prerequisites": {
                                "Conditional": {
                                    "Components": [

{"$type":"OEIFormats.FlowCharts.ConditionalCall, OEIFormats","Data":{"FullName":"Boolean ProgressionTableIsSubclass(Guid)","Parameters":["f4ce16ff-8243-4a75-b3d8-ae1487198aa5"],"Flags":"","UnrealCall":"","FunctionHash":1231916529,"ParameterHash":1092581445},"Not":true,"Operator":0},{"$type":"OEIFormats.FlowCharts.ConditionalCall, OEIFormats","Data":{"FullName":"Boolean ProgressionTableIsSubclass(Guid)","Parameters":["88811ed8-adef-4ca3-af2f-871af1682dd6"],"Flags":"","UnrealCall":"","FunctionHash":1231916529,"ParameterHash":-924966531},"Not":true,"Operator":0}]

 

Must it really be an AvailabilityConditional? VisibilityConditional is also doing nothing - the spells are still available and visible... i hate this PT... :devil:

This conditional says: "this ability can be chosen if you are NOT a Watershaper AND you are NOT an Animist"

 

I think you have your conditionals reversed. Keep one of the entries you have and replace the ID with the Shifter. It should then say "if you are NOT a Shifter then this ability can be chosen"



#7
Harpagornis

Harpagornis

    (4) Theurgist

  • Members
  • 317 posts

Oh, then i completly misunderstood the Conditional... now everything makes sense. Thanks @Armakoir! ;)



#8
Harpagornis

Harpagornis

    (4) Theurgist

  • Members
  • 317 posts

Okay, i reworked the table like you said @Armakoir but things are still not working:

 

"ActivationObject": "Self",
                            "AddAbilityID": "02f2e79e-d4da-4511-b602-8240023688ac",
                            "Category": "General",
                            "Note": "PL 1 Unlock - Winter Wind",
                            "Prerequisites": {
                                "Conditional": {
                                    "Components": [{
                                            "$type": "OEIFormats.FlowCharts.ConditionalCall, OEIFormats",
                                            "Data": {
                                                "Flags": "",
                                                "FullName": "Boolean ProgressionTableIsSubclass(Guid)",
                                                "FunctionHash": 1231916529,
                                                "ParameterHash": -121159574,
                                                "Parameters": ["65eddbbd-8489-46ff-a2b7-56c954c61198"],
                                                "UnrealCall": ""
                                            },
                                            "Not": true,
                                            "Operator": 0
                                        }
                                    ],
                                    "Operator": 0
                                },
                                "IsMutuallyExclusiveUpgrade": "true",
                                "MinimumCharacterLevel": 1,
                                "PowerLevelRequirement": {
                                    "ClassID": "568f1c26-1398-4e67-8b81-0f6a60e6cdde",
                                    "MinimumPowerLevel": 1
                                },
                                "RequiresAbilityID": "00000000-0000-0000-0000-000000000000",
                                "VisibilityConditional": {
                                    "Components": [{
                                            "$type": "OEIFormats.FlowCharts.ConditionalCall, OEIFormats",
                                            "Data": {
                                                "Flags": "",
                                                "FullName": "Boolean ProgressionTableIsSubclass(Guid)",
                                                "FunctionHash": 1231916529,
                                                "ParameterHash": -121159574,
                                                "Parameters": ["65eddbbd-8489-46ff-a2b7-56c954c61198"],
                                                "UnrealCall": ""
                                            },
                                            "Not": true,
                                            "Operator": 0
                                        }
                                    ],
                                    "Operator": 0
                                }
                            },
                            "RemoveAbilityID": "00000000-0000-0000-0000-000000000000",
                            "UnlockStyle": "Unlock"

 

Everything looks right... no? :facepalm:


Edited by Harpagornis, 15 September 2018 - 12:05 AM.


#9
Harpagornis

Harpagornis

    (4) Theurgist

  • Members
  • 317 posts

I resetted the whole PT and now things are working like intended - good. The rest should be just changing a lot of entries... :yes:



#10
Harpagornis

Harpagornis

    (4) Theurgist

  • Members
  • 317 posts

Ă‚fter another reload the spells are now back again even though the new PT is still in the same place.... how can this be???



#11
Harpagornis

Harpagornis

    (4) Theurgist

  • Members
  • 317 posts

The changes only work if i put the PT into the original folder. When in Override folder every change gets ignored. Is there some logic in this madness?



#12
Armakoir

Armakoir

    (2) Evoker

  • Members
  • 74 posts
  • Steam:Armakoir

The changes only work if i put the PT into the original folder. When in Override folder every change gets ignored. Is there some logic in this madness?

This is because when the PT is in the override, it isn't being loaded and it reverts back to the vanilla PT.

 

So, there's an issue in your PT somewhere.



#13
Harpagornis

Harpagornis

    (4) Theurgist

  • Members
  • 317 posts

Modded PT is in original gamedata folder: It works!

Modded PT is in Override Mod folder: Nothing...

 

If there would be an issue it should not work at all... no? :facepalm:

 

Its even more strange cause i copy the complete (!) PT with only some minor changes (Conditionals for Elemental Spells)


Edited by Harpagornis, 15 September 2018 - 10:20 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users