Aller au contenu

Photo

Special Ability


  • Veuillez vous connecter pour répondre
36 réponses à ce sujet

#26
WhiZard

WhiZard
  • Members
  • 1 204 messages

Failed.Bard wrote...

NWNX has GetFirst/GextNext variable functions, so it's easily checked what variables are stored on the character. Caster level and Metamagic aren't among them, unfortunately.


Thanks for checking.  The only other places that might have it that could be alterable are the databases (SetCampaignInt() I don't think this one's the case) or the module's local variables.  If someone wants to tackle these and is successful, it would really be a boon to the community.  Otherwise, if it is not in those locations, I guess we are at a loss for directly changing it by standard script.

#27
Shadooow

Shadooow
  • Members
  • 4 468 messages
Its not in database, if it would then every module would created some database when launched. This is not the case of how things works.

#28
WhiZard

WhiZard
  • Members
  • 1 204 messages

ShaDoOoW wrote...

Its not in database, if it would then every module would created some database when launched. This is not the case of how things works.


I said unlikely, but a database like "dbgeneral" might be a location, the standard Neverwinter does not come devoid of databases you know.

#29
WhiZard

WhiZard
  • Members
  • 1 204 messages

WhiZard wrote...

ShaDoOoW wrote...

Its not in database, if it would then every module would created some database when launched. This is not the case of how things works.


I said unlikely, but a database like "dbgeneral" might be a location, the standard Neverwinter does not come devoid of databases you know.

Tested all databases in the database folder.  None of them are affected by a  caster level change.

#30
Shadooow

Shadooow
  • Members
  • 4 468 messages
I told you. Its not so easy, if it would someone else would found it out already after all its 10years old game. You are not the first one who had this idea with local variables, Im pretty sure that Primogenitor original founder of PRC and the first who found out mappins was also looking for something like caster level.

#31
GhostOfGod

GhostOfGod
  • Members
  • 863 messages

ShaDoOoW wrote...

...someone else would found it out already after all its 10years old game.


Not necessarily. People are still finding out new stuff after all this time. social.bioware.com/forum/1/topic/192/index/8147590

It doesn't hurt to poke around and try to find new ways to do stuff. Or even revisit old ways to see if something has changed.

Just my 2 cents.

#32
WhiZard

WhiZard
  • Members
  • 1 204 messages

ShaDoOoW wrote...

I told you. Its not so easy, if it would someone else would found it out already after all its 10years old game. You are not the first one who had this idea with local variables, Im pretty sure that Primogenitor original founder of PRC and the first who found out mappins was also looking for something like caster level.


Well if you want the final word on the subject, there is still the Module Local Variables to test.  Other than that it can't be adjusted by standard scripting.

#33
Shadooow

Shadooow
  • Members
  • 4 468 messages

GhostOfGod wrote...

ShaDoOoW wrote...

...someone else would found it out already after all its 10years old game.


Not necessarily. People are still finding out new stuff after all this time. social.bioware.com/forum/1/topic/192/index/8147590

It doesn't hurt to poke around and try to find new ways to do stuff. Or even revisit old ways to see if something has changed.

Just my 2 cents.

Of course they do, but this is a bit different than local variables on object.


BTW module variables can be easily checked via save game WhiZard.

#34
WhiZard

WhiZard
  • Members
  • 1 204 messages

ShaDoOoW wrote...

BTW module variables can be easily checked via save game WhiZard.


They could also be deleted on saving.  When you load a save game your caster level is back to zero.

#35
WhiZard

WhiZard
  • Members
  • 1 204 messages
The way to effectively test for module variables is to loop through the active module variables while in game before and after casting a spell that would change caster level just as failed bard did with PC locals, and how I did for databases.  Unfortunately, without NwNx, I do not have access to these commands.

Modifié par WhiZard, 26 août 2011 - 01:03 .


#36
Failed.Bard

Failed.Bard
  • Members
  • 774 messages
It might be stored in temporarily in CombatRoundData [UserDefinedStruct: 51930], which is empty when the saved bic is viewed, but I have no idea how to get a list of struct components in game via script to see what, if anything, gets inserted there.

#37
WhiZard

WhiZard
  • Members
  • 1 204 messages

Failed.Bard wrote...

It might be stored in temporarily in CombatRoundData [UserDefinedStruct: 51930], which is empty when the saved bic is viewed, but I have no idea how to get a list of struct components in game via script to see what, if anything, gets inserted there.


A struct might not be able to be changed in such a way that later callings would reflect the change.  Can there be verification of a module local variables not being affected, as that is the last certain realm of direct modification?