The Dink Network

Reply to Re: 2 questions need help with them both b4 tomorrow!!!

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 19th 2008, 12:33 PM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
1)Follow this procedure:

Assuming Dink only has a fist:

You need to copy the script item-fst.c into the STORY folder of your DMOD. Now open it, you see this line:

&basehit += 100;

The value &basehit is basically the basehit of dink. (Works just like a basewalk but then for attacking sequences) Now edit this value to the basehit of the sprite you want (normally 730 for a blue knight).

You probably want something like this in your DMOD if you want to switch between both forms:

if (dink is knight)
{
&basehit += 730;
}
if (dink is dink)
{
&basehit += 100;
}

Works similar for other weapons.

Extra note: You probably want to use the command push_active(0); to make sure the knight can't push anything (Otherwise he will look like Dink when he does).

2) Hmm... what's the script for the spell? And what is not working? Does it appear in your inventory? Does it cost magic to cast the spell?