Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-19-2007, 06:50 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Classic weapon remakes

I decided to rescript old weapons that were seen on Classic, things like the hammer, shovel and such. These weapons will be fully compatible with GS2 and gmaps.

First, I already rescripted the hammer. This hammer can hammer a multitude of things, stakes of course(all the types), bushes, rocks and vases.
Adding new things able to be hammered is quite easy. It already states it in the script, the first value for the array is the 4 stake tiles. The second is for the hammered tiles. You must get the hex-values of these tiles in this order:

The third value is what leap(using old leap values), and the last is what sound to play when the hammer hits.

Currently this doesn't trigger NPCs, and I didn't bother to put in hitting other players. If you wish me to I will, but I didn't find much point in it since so many servers use their own HP system. Please post if you see any errors, suggestions, I'll rescript and post more old scripts, if you have any requests feel free to post them.

I've attached the script(damn bad request bug is getting annoying), and the needed gani and image.
Attached Images
 
Attached Files
File Type: gani dusty_hammer.gani (10.2 KB, 417 views)
File Type: txt hammer.txt (2.2 KB, 533 views)

Last edited by DustyPorViva; 08-19-2007 at 05:32 PM..
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.