Aller au contenu

Photo

Can someone help me with a few basic concepts?


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Midgetface

Midgetface
  • Members
  • 78 messages
Hey, I just started modding and I need help with a couple of very basic things.

1) I want to modify, say, item_singletarget in Ability_Scripts. I thought the best idea would be duplicate the file, and then somehow manage to override the original one with the duplicate I had with some changes. 
I can't seem to find the way to do that, however. Could anyone give me a hand?
Do I export? What do I do after I performed the necessary changes on the duplicate?

2) Where can I find the part that handles the derived stats from attributes? I want CON to provide some stamina, or affect the fatigue you receive from items, but I can't find this anywhere.

3) I did find this: 

//This function is duplicated within the game executable. Any change made to this function will
//result in GUI glitches and other bugs. Sorry.
fModifier +=  GetCreatureProperty(oCaster, PROPERTY_ATTRIBUTE_FATIGUE)*0.01f;              
fCost = FloatToInt(fCost*fModifier+0.5) * 1.0;

Is there any way to modify that? Maybe I could add another line somewhere?  

EDIT:

4) I found the motherload of abilities in abi_base.xml. My question is - how do I make a mod change something in that Excel? I want to make the Shield talents require CON instead of DEX -- so I change prereqattribute from 2 (Dexterity) to 6. How do I make a mod do that for every game?

Modifié par Midgetface, 24 novembre 2009 - 01:04 .


#2
Midgetface

Midgetface
  • Members
  • 78 messages
shameless bump