PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
combat hook

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096
Display posts from previous:   

Author Message
degree



Joined: 29 Jul 2006
Posts: 1

PostPosted: Sat Jul 29, 2006 6:51 pm    Post subject: combat hook Reply with quote

i need to write new combat system - i want to set many things, for example chance to hit, amount of attacks during given time etc... how to do it? can somebody show me example of hook? i've tried to read about that, but i dont know every word in english and its really hard to understand, so I hope, that somebody can show me example of as short as it necessary script

respects

Author Message
tekproxy
Distro Developer


Joined: 06 Apr 2006
Posts: 350
Location: Nederland, Texas

PostPosted: Wed Aug 02, 2006 3:14 am    Post subject: Reply with quote

There is an example in the distro of a combat hook. It's a system hook, and it needs to be as lean as possible since it's going to be called many times. It's quite a pain to handle everything yourself, have fun!

Author Message
Austin
POL Developer


Joined: 30 Jan 2006
Posts: 354
Location: San Diego, California

PostPosted: Wed Aug 02, 2006 4:36 am    Post subject: Reply with quote

^-- What Tekproxy said

You can find an example of a combat hook script here
http://svn.sourceforge.net/viewvc/pol-distro/releases/097/Distro/pkg/systems/combat/hooks/combatHook.src?view=markup


It isnt finished but the general idea is there and it does work.

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty