Larian Banner
Previous Thread
Next Thread
Print Thread
Joined: Apr 2020
stranger
OP Offline
stranger
Joined: Apr 2020
Ask, I am modifying the BUFF gain effect of MOD.
The purpose is to weaken all "Specialist".

type "Potion"
data "Act" "1"
data "Act part" "0"
data "FireSpecialist" "-1"
data "WaterSpecialist" "-2"
data "AirSpecialist" "-3"
data "EarthSpecialist" "-4"
data "summoning" "-5"
data "Polymorph" "-4"
data "Necromancy" "-3"
data "Warriorlore" "-2"
data "Rangerlore" "-1"
data "Roguelore" "-2"

But,
I wrote 10 codes of weakening effects, but in the game, only 6 of the enemy's weakening effects are displayed.
Why???
schematic diagram
[img]https://imgur.com/wBGs0Hx[/img]
[img]https://imgur.com/9l2nbYc[/img]

Joined: Sep 2015
A
addict
Offline
addict
A
Joined: Sep 2015
First: This is the forum section for DOS 1 modding.

As for your problem: The names of those abilities not appearing are incorrect (case sensitivity):

WarriorLore
RangerLore
RogueLore
Summoning


My mods for DOS 1 EE: FasterAnimations - QuietDay - Samaritan
Joined: Apr 2020
stranger
OP Offline
stranger
Joined: Apr 2020
Thank you

Joined: Apr 2020
stranger
OP Offline
stranger
Joined: Apr 2020
Originally Posted by Abraxas*
First: This is the forum section for DOS 1 modding.

As for your problem: The names of those abilities not appearing are incorrect (case sensitivity):

WarriorLore
RangerLore
RogueLore
Summoning


I would like to ask, if you want to make the effect of immunity to various states, what is the code?
For example, Potion of Strong Will.
[img]https://imgur.com/kfH0Em3[/img]

Joined: Sep 2015
A
addict
Offline
addict
A
Joined: Sep 2015
You can just look up the entry of this potion in: Data\Public\Shared\Stats\Generated\Data\Potion.txt after you unpacked 'Shared.pak' with the converter tool (http://forums.larian.com/ubbthreads.php?ubb=showflat&Number=572322&page=14) - don't know if the files are available otherwise -, or you can probably view the game's stats with the Editor (never used it, so I don't know if all data is accessible right from the start):

Code
new entry "CON_Potion_Will"
type "Potion"
using "Potion"
data "RootTemplate" "98785868-afb7-4845-a7c3-f550b08110a6"
data "Act part" "9"
data "StackId" "Will"
data "Value" "300"
data "Duration" "4"
data "Flags" "CharmImmunity;FearImmunity;MuteImmunity;BlindImmunity;CursedImmunity;TauntedImmunity;SleepingImmunity"
data "ObjectCategory" "VariousPotion"
data "MinAmount" "1"
data "MaxAmount" "1"
data "Priority" "1"
data "MinLevel" "9"


Just copy the line

data "Flags" "CharmImmunity;FearImmunity;MuteImmunity;BlindImmunity;CursedImmunity;TauntedImmunity;SleepingImmunity"

to your stats entry and delete the immunities you don't need (seems like 'MadnessImmunity' was added sometime after I unpacked the files or there's another will potion, doesn't matter, it's justan example).

A list of flags can be found in: Data\Public\Shared\Stats\Generated\Structure\Base\ValueLists.txt:

Code
valuelist "AttributeFlag"
value "None"
value "FreezeImmunity"
value "BurnImmunity"
value "StunImmunity"
value "PoisonImmunity"
value "CharmImmunity"
value "FearImmunity"
value "KnockdownImmunity"
value "MuteImmunity"
value "ChilledImmunity"
value "WarmImmunity"
value "WetImmunity"
value "BleedingImmunity"
value "CrippledImmunity"
value "BlindImmunity"
value "CursedImmunity"
value "WeakImmunity"
value "SlowedImmunity"
value "DiseasedImmunity"
value "InfectiousDiseasedImmunity"
value "PetrifiedImmunity"
value "DrunkImmunity"
value "SlippingImmunity"
value "FreezeContact"
value "BurnContact"
value "StunContact"
value "PoisonContact"
value "ChillContact"
value "Torch"
value "Arrow"
value "Unbreakable"
value "Unrepairable"
value "Unstorable"
value "Grounded"
value "HastedImmunity"
value "TauntedImmunity"
value "SleepingImmunity"
value "AcidImmunity"
value "SuffocatingImmunity"
value "RegeneratingImmunity"
value "DisarmedImmunity"
value "DecayingImmunity"
value "ClairvoyantImmunity"
value "EnragedImmunity"
value "BlessedImmunity"
value "ProtectFromSummon"
value "Floating"
value "DeflectProjectiles"
value "IgnoreClouds"
value "MadnessImmunity"
value "ChickenImmunity"
value "IgnoreCursedOil"
value "ShockedImmunity"
value "WebImmunity"
value "LootableWhenEquipped"
value "PickpocketableWhenEquipped"
value "LoseDurabilityOnCharacterHit"
value "EntangledContact"
value "ShacklesOfPainImmunity"
value "Custom1"
value "Custom2"
value "InvisibilityImmunity"

Last edited by Abraxas*; 13/04/20 09:12 AM.

My mods for DOS 1 EE: FasterAnimations - QuietDay - Samaritan
Joined: Apr 2020
stranger
OP Offline
stranger
Joined: Apr 2020
Thank You.


Moderated by  Larian_Koala, Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5