Thread: [Snippet] Miss and Hit Hitsplats

Results 1 to 2 of 2
  1. #1 [Snippet] Miss and Hit Hitsplats 
    Registered Member
    Velocity's Avatar
    Join Date
    Jan 2009
    Age
    28
    Posts
    2,028
    Thanks given
    1,013
    Thanks received
    2,376
    Rep Power
    4112
    Seeing that I want to get back RSC and want to motivate some to start again, I will release some things.

    Snippet: Miss and Hit Hitsplats.

    This basically changes the hit system so that a blue hitsplat is shown when the hit is miss, and a red one when a hit does damage.


    Okay, here we go.




    Step 1
    Open up mudclient.java.

    Step 2
    Search for "SPRITE_MEDIA_START + 11" (without quotes).
    This will give 2 results. The following has to be applied to both:

    Step 3
    Change

    Code:
    gameGraphics.drawPicture((j3 + k / 2) - 12, (j + l / 2) - 12, SPRITE_MEDIA_START + 11);
    To

    Code:
    gameGraphics.drawPicture((j3 + k / 2) - 12, (j + l / 2) - 12, SPRITE_MEDIA_START + (mob.anInt164 == 0 ? 12 : 11));
    Make sure you do this to both search results!

    Step 4
    Compile and run.





    Enjoy
    My first tut btw, dunt be mean
    xxxxxxx
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2012
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    It does appear twice, but the second one when you change it gives an error.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [562/659 or 657] Hitsplats
    By CheaterXman in forum Tutorials
    Replies: 11
    Last Post: 08-12-2011, 10:44 PM
  2. [REQ]562 Hitsplats
    By Ventrix in forum Graphics
    Replies: 9
    Last Post: 05-18-2011, 01:06 AM
  3. Hitsplats
    By Juggalo Family in forum Help
    Replies: 3
    Last Post: 04-01-2011, 09:01 PM
  4. Hitsplats - Over 1,000
    By Origin in forum Media
    Replies: 13
    Last Post: 08-22-2010, 05:27 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •