The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> Testing kits in scripts
aigleborgne
post Jan 12 2006, 08:24 AM
Post #1



Group Icon

Mod Developer
Posts: 210
Joined: 3-December 05




Hello,

I'm trying to test kits in scripts, but I have manually set the kits with that:
WRITE_SHORT 0x244 0 //unused in KITLIST.2DA designation
WRITE_BYTE 0x246 29 //change to <name of kit> number as per KITLIST.2DA row
WRITE_BYTE 0x247 0x40 //force kit to use KITLIST.2DA instead of KIT.IDS

29 for a transmuter, in my example
When I look into Near infinity, I have 29 - Transmuter
It seems to work fine (notice that on a normal cre, Transmuter is number 8192 if you set the kit with NI)

Then come the script:
OR(3)
CheckStat(Myself,8192,KIT)
CheckStat(Myself,29,KIT)
Kit(Myself,MAGESCHOOL_TRANSMUTER)
Neither of these triggers work...
The first one work with a normal cre using transmuter kit.

I don't know how to do.
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
Ascension64
post Jan 12 2006, 12:40 PM
Post #2





Contributor
Posts: 44
Joined: 17-September 05




One solution would be to use KIT.IDS in the Kit parameter in the CRE file, but even I am having trouble convering raw hex to Big Endian mod. Any mathematical geniuses know the trick to this (not necessarliy WeiDU coding, just the rules of how to convert)?
Go to the top of the page
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 29th August 2025 - 07:47 PM