PenUltima Online

It is currently Thu Aug 28, 2008 9:24 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: combat hook
PostPosted: Sat Jul 29, 2006 2:51 pm 
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


Top
  
 
 Post subject:
PostPosted: Tue Aug 01, 2006 11:14 pm 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
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!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 12:36 am 
Offline
POL Developer
User avatar

Joined: Wed Jan 25, 2006 2:30 am
Posts: 398
Location: San Diego, California
^-- What Tekproxy said

You can find an example of a combat hook script here
http://svn.sourceforge.net/viewvc/pol-d ... iew=markup


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

_________________
-Austin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl