Player Resource Consortium

 

Author Topic: Curious...  (Read 6872 times)

0 Members and 1 Guest are viewing this topic.

June 07, 2012, 02:55:43 PM

I am currently working on an Incarnum system, and I was wondering if it would be difficult to just have bound Chakras be coded into the player's hide, and have that lock out or nullify overriden items. It would make coding the Split Chakra Feat easier.
The eventual creator of the PRC Incarnum System!
23rd highest post count and counting!


June 07, 2012, 03:20:51 PM
Reply #1
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

I am currently working on an Incarnum system, and I was wondering if it would be difficult to just have bound Chakras be coded into the player's hide, and have that lock out or nullify overriden items. It would make coding the Split Chakra Feat easier.
It is possible.

Can Chackra be used as a weapon (sorry I haven't finished reading that handbook yet)? If not then I think 'locking' equipement slots is a good idea. Also can Chakra's effects be dispelled?


June 07, 2012, 04:36:33 PM
Reply #2

Soulmelds, as they exist, cannot be used as weapons, and they are suppressed by dispel magic, much like a magic item.
The eventual creator of the PRC Incarnum System!
23rd highest post count and counting!


June 07, 2012, 04:38:56 PM
Reply #3

Also, how would one "Lock" Item Slots?
The eventual creator of the PRC Incarnum System!
23rd highest post count and counting!


June 07, 2012, 06:33:26 PM
Reply #4

Also, how would one "Lock" Item Slots?

Have the OnEquip script deny use of them?
HEATSTROKE


June 07, 2012, 07:48:49 PM
Reply #5

Well, for bound Chakras, I honestly think it would be simpler to just have items placed in the slots they would occupy, which could only be removed by unbinding the Chakra.
The eventual creator of the PRC Incarnum System!
23rd highest post count and counting!


June 08, 2012, 12:39:22 AM
Reply #6
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

Well, for bound Chakras, I honestly think it would be simpler to just have items placed in the slots they would occupy, which could only be removed by unbinding the Chakra.
It's not simplier - this would require a check in OnEquip and OnUnequip events. Most chakras won't be visible on the character anyway, so we could just keep those slots empty (only one check in OnEqiup).


June 08, 2012, 10:50:46 AM
Reply #7

Alright. Will do.
The eventual creator of the PRC Incarnum System!
23rd highest post count and counting!


June 15, 2012, 02:40:01 PM
Reply #8

Quick Question:

How does one do the "Deny Use Using OnEquip" thing?
I tried to look through the existing OnEquip Script, but It was really, really long.
The eventual creator of the PRC Incarnum System!
23rd highest post count and counting!


June 15, 2012, 03:13:08 PM
Reply #9
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

You can use something like this:

Code: [Select]
    if(<item check>)
    {
        //Force unequip
        ForceUnequip(oPC, GetItemInSlot(nSlot, oPC), nSlot);
        SendMessageToPC(oPC, "You cannot use this item");
    }


June 15, 2012, 06:15:00 PM
Reply #10

Ah. I see.
The eventual creator of the PRC Incarnum System!
23rd highest post count and counting!