Jump to content

setattribute to 'all' - mod amending existing record - is this doable?


Recommended Posts

When I try to setattribute on an existing record to change the count to "all", in loot.xml, the game rejects it on loading.

I can create a new record with count="all",  but if I remove and re-add an existing record the game also red-inks me on loading because the record is momentarily absent.

 

Is there some way to do this?

Link to comment
Share on other sites

Thanks, it was actually "set" I was having the problem with too, but I went through a barrage of attempts to fix it and got lost along the way, seeing your example made me realise what I'd done wrong!

 

NOW though, it works and the loot.xml in the configsdump shows the "all" values where I want them, but the game still pops the console open on loading the game and complains about the "all" in red ink.

(This was what originally started me trying other things and ending up in the situation which prompted this post)

ERR XML loader : Loading and parsing 'loot.xlm' failed
Exception : Parsing error count 'all'


It's doing the changes I want, but with an intrusive exception I'd like to avoid. Is there some way to do this and prevent the exception?

This happens with 'setattribute' when adding a count to an entry which did not have one, and 'set' when changing an existing count.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...