Combat Book Packethook [0xD7]

Post your Custom Scripts or Packages.

Moderator: POL Developer

Post Reply
Aeros
Journeyman Poster
Posts: 69
Joined: Mon Apr 24, 2006 10:56 am

Combat Book Packethook [0xD7]

Post by Aeros »

Author: Aeros (aeros@chyrellos.co.za) May 29, 2006. (With help from MuadDib)

Version: 1.0

Core: 096

Bugs: None
Attachments
combatBook.zip
The combat book packet hook. Please see the readme.txt for more information.
(3.33 KiB) Downloaded 656 times
Aeros
Journeyman Poster
Posts: 69
Joined: Mon Apr 24, 2006 10:56 am

Post by Aeros »

Please note that I did not add code to check whether the ability may be activated (in case you want to limit it somehow, we dont limit that on our shard, and neither does OSI), or the code to actually use these abilities. All I gave you in that package was the basic hook to actually make those abilities work.

You'll notice that I'm setting a CProp in the hook. You will use this CProp in your combat code (in the hitscripts, most likely) to actually use the ability. No further changes should be necessary in the hook code, though.
Gnafu
Grandmaster Poster
Posts: 136
Joined: Thu Feb 02, 2006 7:29 am
Location: Livorno, Italy
Contact:

Post by Gnafu »

I can't find the file, have you moved it?
qrak
Grandmaster Poster
Posts: 198
Joined: Sun Feb 05, 2006 4:35 pm
Location: Poland

Post by qrak »

They changed webserver, you can't download any file right now.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Post by MuadDib »

Austin is handling the moving of the Post Attachments. I am on dialup while not at work, so I won't touch those :)
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm
Location: Nederland, Texas

Post by tekproxy »

Did you want to contribute this to the distro? If so, I can look over it and discuss adding it in.
Harley
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Re: Combat Book Packethook [0xD7]

Post by Harley »

Somebody tell me please, how it works?
I read that there is a CProp.
Is someone have an example of code? I'll be very thankful!

With best regards!
User avatar
CWO
POL Expert
Posts: 1158
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: Combat Book Packethook [0xD7]

Post by CWO »

This code really doesn't do anything other than setting a prop with the ability ID number. You have to change your own hitscripts to read the ID number, act on it however you want to, then delete the prop which the inc file has the function to do.
Post Reply