Simulating class with kits

Started by egm, January 23, 2006, 03:22:52 PM

Previous topic - Next topic

egm

... it's possible to use specific effects or scripting actions with a specific kits?

For example: dwarves can't be mage. It's a fact.

There is an effect which is described as below

Quote#72 (0x48) IDS: Set IDS State [72]
    Parameter #1: IDS Entry
    Parameter #2: IDS File
    Description:
    Alters the IDS state of the targeted creature(s) specified
    by the 'IDS File' field, to the value specified by the 'IDS
    Entry' field.
   
    Known values for 'IDS File' are:
    1   Generic
    2   Race
    3   Class
    4   Specific
    5   Gender
    6   Alignment
   

Does anybody test it?

There are also two scripting actions that might be interesting:

Quote156 ChangeClass(O:Object*,I:Value*Class)
Changes the class classification of the object to the value specified. The class values are found in Class.ids.


IF
Global"KR_CLASS_CHANGE","LOCALS",0)< br>THEN
RESPONSE #100
SetGlobal"KR_CLASS_CHANGE","LOCALS",1)
ChangeClass((),FIGHTER)
END

So you first change the class of a character.

Quote274 AddKit(I:Kit*KIT)
This removes the creatures current kit, and then add the specified kit. Abilities from any previous kit are removed.
AddKit(0) will remove a creatures current kit.
Class restrictions apply for kits. When attempting adding an invalid kit, the existing kit (if any) will be replied.

And then you should change the kit and the abilities.
But what does it mean by "Class restrictions apply"? Ability scores? That you can't add a wizardslayer kit to a thief? Or true class restrictions, including race?

Avenger_teambg

See GemRB !

egm

Quote from: Avenger_teambgYes, you could make a dwarf mage this way.
Thankssssssssss  :D

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name:
Email:
Shortcuts: ALT+S post or ALT+P preview