Author Topic: Finding Poison, Disease type  (Read 460 times)

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Finding Poison, Disease type
« on: January 14, 2011, 12:11:23 am »


               I almost done work on a system that let you store and retrieve the poions type and disease type. Some minor edits of the Poison.2da and Disease.2da and custom scripts. Only problem is you have to have a script for every poions and disease. I put up a demo module prob. this weekend.
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
Finding Poison, Disease type
« Reply #1 on: January 14, 2011, 03:01:59 am »


               Did you by chance determine how much you could increase the row count of those 2das? I've been meaning to test that, to see if there was a ceiling.



Funky
               
               

               
            

Legacy_TheSpiritedLass

  • Hero Member
  • *****
  • Posts: 1118
  • Karma: +0/-0
Finding Poison, Disease type
« Reply #2 on: January 14, 2011, 09:26:40 pm »


               I'll be eagerly watching this thread!  Will your system be able to deal with the DC of the disease/poison?
               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Finding Poison, Disease type
« Reply #3 on: January 14, 2011, 10:25:18 pm »


               

FunkySwerve wrote...

Did you by chance determine how much you could increase the row count of those 2das? I've been meaning to test that, to see if there was a ceiling.

Funky


If I can find time this weekend. '<img'>

TheSpiritedLass wrote...

I'll be eagerly watching this thread!  Will your system be able to deal with the DC of the disease/poison?


In what way do you mean? I will interupting the engine loops so we can substitute the secondary DC for disease and set your incubation time. I noticed a DC 127 cap displayed with high DC, but have not check if this is just a display or it is the real cap. I finnishing the scripting and doing alittle more testing and test with override.
               
               

               


                     Modifié par ShadowM, 14 janvier 2011 - 11:19 .
                     
                  


            

Legacy_TheSpiritedLass

  • Hero Member
  • *****
  • Posts: 1118
  • Karma: +0/-0
Finding Poison, Disease type
« Reply #4 on: January 14, 2011, 11:59:09 pm »


               A while back I wanted to basically re-create how healing kits work and ran into a road block of not being able to tell the DC of the poison presently turning the player green.  At the time, there was no elegant (non-nwnx) method to track the DC to tell if the player's heal skill beat it.  Thus making the whole idea useless.
               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Finding Poison, Disease type
« Reply #5 on: January 15, 2011, 01:00:27 am »


               Yep, you will be able to do that system with this. One of the reasons I looked into this. You check for poison / disease effect on pc and then check for a int that will match up to a 2da look up or your own switch case to find the DC and then you will be able to do a heal check vs that DC and heal the pc of the poison / Disease. My test so far show  that the 2das work in override for single and for server also. There a few other things you could do with this system too. There are a few changes that would have to made to your spells related to Poison and disease but that about it.'B)'
               
               

               


                     Modifié par ShadowM, 15 janvier 2011 - 01:03 .
                     
                  


            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
Finding Poison, Disease type
« Reply #6 on: January 15, 2011, 03:26:28 am »


               My reason for asking what I did was similar - I want to be able to make enough diseases to set up a full range of initial dc checks. I've been putting it off in hopes of getting a nwnx haxxor to override that dc, but I'm still very curious to know.

Thanks,

Funky
               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Finding Poison, Disease type
« Reply #7 on: January 15, 2011, 08:49:27 pm »


               

FunkySwerve wrote...

My reason for asking what I did was similar - I want to be able to make enough diseases to set up a full range of initial dc checks. I've been putting it off in hopes of getting a nwnx haxxor to override that dc, but I'm still very curious to know.
Thanks,
Funky


I know or if we could block the engine saving throw message unless it from a script then you could run it all through each script. With this system (with disease) you get one fake saving throw from the engine  then the script takes over.

I had another version that could get the poison / disease in one script(for all poisons) (one script for all disease) if they were from a monster, but it had limitations with triggers, placables and calls from scripts. I drop it because it seem like it had to do alot of work to get the information so I switch to this version.

Ok, uploaded to the vault. How long does it take to post? I will be d.m. some pnp D&D the rest of the night so I probably miss any questions until tomorrow. 
Wow that was fast it up here the link
wrapper.ign.com/s
               
               

               


                     Modifié par ShadowM, 15 janvier 2011 - 09:11 .
                     
                  


            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Finding Poison, Disease type
« Reply #8 on: December 04, 2011, 08:35:49 pm »


               Great idea. I found this on the vault. Was just what I was looking for.
               
               

               
            

Legacy_Kato -

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +0/-0
Finding Poison, Disease type
« Reply #9 on: December 11, 2011, 08:20:21 am »


               Very nice system indeed. Any idea if the 2DAs are server-side?


Kato
               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Finding Poison, Disease type
« Reply #10 on: December 11, 2011, 11:24:57 pm »


               I think I tested if they were and I think they were, but do not take my old memory as a guarantee.