Author Topic: Customizing Crafting Feats  (Read 495 times)

Legacy_Kalindor

  • Newbie
  • *
  • Posts: 43
  • Karma: +0/-0
Customizing Crafting Feats
« on: January 08, 2011, 09:36:26 pm »


                 I am wondering how to cause the Brew Potion, Scribe Scrolls, Craft Wand to function by opening a custom dialogue file instead of their default functionality. I apologize if the answer is somewhere obvious, but I have not found it. Thanks.
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
Customizing Crafting Feats
« Reply #1 on: January 09, 2011, 12:12:48 am »


               Take a look at x2_inc_craft and x2_pc_craft to get you started.

Funky
               
               

               


                     Modifié par FunkySwerve, 09 janvier 2011 - 12:12 .
                     
                  


            

Legacy_La Rose Noire

  • Newbie
  • *
  • Posts: 49
  • Karma: +0/-0
Customizing Crafting Feats
« Reply #2 on: January 10, 2011, 10:50:18 am »


               You just replace the existing craft dialogs with your own.
               
               

               
            

Legacy_420

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
Customizing Crafting Feats
« Reply #3 on: January 10, 2011, 06:38:30 pm »


               

La Rose Noire wrote...

You just replace the existing craft dialogs with your own.

There are no craft dialogs for those feats, you simply cast a spell on the proper item (Bone Wand, Magical Potion Bottle or Blank Scroll).

The relevent code is in the scripts FunkySwerve posted.

-420
               
               

               


                     Modifié par 420, 10 janvier 2011 - 06:39 .
                     
                  


            

Legacy_Kalindor

  • Newbie
  • *
  • Posts: 43
  • Karma: +0/-0
Customizing Crafting Feats
« Reply #4 on: January 13, 2011, 11:57:39 pm »


               I've turned off the XP2 crafting system with the module switch and substituted a crafting system of my own design. However, the game still displays "Crafting feats are not enabled in this module" every time I target a blank scroll with a spell... I've tried commenting out all floatytext commands in x2_inc_craft to no avail. Does anyone know where the command to display this text is coming from? Thanks.