The Dink Network

Reply to Re: How to use another sprite instead of Dink?

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:
 
 
November 24th 2009, 03:26 AM
burntree.gif
Fireball5
Peasant He/Him Australia
Let me heat that up for you... 
Assuming you have already got the appropriate dink.ini lines already set up, then change the following code in START-1.C:

    //Change dink from a mouse pointer into a human being.  
    sp_base_walk(1, x);
    sp_base_attack(1, y);
    set_mode(2); //turn game on
    reset_timer();
    sp_dir(1, 8);
    sp_brain(1, 1);
    sp_que(1, 0);
    sp_noclip(1, 0);


Replace x with the sequence number for walking psrites (Round the number down to ten, e.g. 74 becomes 70, as does 78) Replace y with the attacking sequence, also rounding the number down.