Aller au contenu

Photo

NWNX + NWNCX Idea: Open Spellcasting to Customizing


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

#1
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 875 messages

I'm not sure if this can be done, but figured I'd throw out the idea for the geniuses (such as virusman) to think about.  Hey, it worked with weapon VFX (and beams, and skins, and open face helms), right?

 

So, here's the idea, and I'm sure it would take a combination of NWNX2 and NWNCX...

 

Add a string column to the end of classes.2da called "SpellList". This string would contain the name of the column in spells.2da that governs what spells a given class has access to and at what spell levels.  There's already columns for "Bard", "Cleric", "Druid", "Paladin", "Ranger", "Wiz_Sorc", and "Innate".

 

If NWNX2 & NWNCX could be used to force the game to read from whatever column is designated in classes.2da, that could conceivably open up customization (or at least, experimentation) by letting builders use the SpellGainTable and SpellKnownTable columns in classes.2da to give actual spell lists to Assassins, Blackguards, and even completely new classes.

 

As an example (assuming new plugins work as intended), a builder could then experiment with giving the Assassin class an actual spell list and casting ability by:

1. changing the value of the SpellCaster column from 0 to 1 (classes.2da)

2. changing the value of the SpellGainTable column from **** to cls_spgn_asasin (classes.2da)

3. changing the value of the (new) SpellList column from **** to Assassin (classes.2da)

4. adding a new column (titled "Assassin"), mimicking other caster columns to assign levels to spells for Assassins (spells.2da)

 


  • Pstemarie, Shadooow, henesua et 1 autre aiment ceci

#2
henesua

henesua
  • Members
  • 3 861 messages

I'd buy that for a dollar…

 

metaphorically speaking, that is.



#3
virusman

virusman
  • Members
  • 282 messages
Spellcasting classes are hardcoded almost everywhere in the code, and while it's technically possible, it'd require a *lot* of patching.

#4
Pstemarie

Pstemarie
  • Members
  • 2 745 messages

I just suddenly got this image of Virusman shackled to a computer next to TAD's workstation.  :lol:



#5
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 875 messages

Spellcasting classes are hardcoded almost everywhere in the code, and while it's technically possible, it'd require a *lot* of patching.

Well, it was worth suggesting, anyway.  Thanks for that info, virusman.

 

Dammit, BioWare.  You lead us on by letting us customize practically everything else with this game... :rolleyes:

 

I just suddenly got this image of Virusman shackled to a computer next to TAD's workstation.  :lol:

My wife and kids might question my remaining sanity...

...and I hope he's got his own treadmill desk, because I'm using mine. :P



#6
Squatting Monk

Squatting Monk
  • Members
  • 444 messages

Check out nwnx_spells. Not as elegant a solution as an NWNCX plugin would be, but it allows some of the functionality you're talking about.


  • henesua aime ceci