wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Resources > Code Resources > Systems
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 02-16-2006, 05:10 PM   #1
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default CS16.0 [For wc3 1.23b or later]

The caster system is a pack of functions, a model and a unit that simplify many aspects of making maps, but specially spells.

Click image for larger version

Name:	castersystem139.jpg
Views:	3917
Size:	193.8 KB
ID:	12826 Features
- Casting functions: Cast abilities whenever you want, in the way you want by just using a function (mass AOE / group casting possible)
- Damage over time functions : Create 'flames' that do periodic damage or add damage over time with just a function.
- Damage Options : You can easily choose what units to affect and how to affect them.
- CSCache : Must have storage system includes Attacheable Variables, Pools, Tables, Dynamic arrays, location exploiting and CSDatas.
- Projectiles : Create projectile effects with curve movement, you can also use them to do damage or other things.
- CollisionMissiles : Object oriented method for making missiles that can detect collisions with units.
- Special Events: Easier and faster way of setting common events like spell effect / learn / cast
- A way to hide items without all the issues the native SetItemVisible arises.
- Utility functions: calculations with angles, detect if a point is above water , Show an interface error , rotate models and more.

Version History:
16.0
CasterSystem:
* Changed some return bug giberish into better things.

CSCache
* As it was deprecated in the past, it has now been removed completely
since it will not work in 1.23b+ and is not trivial to port it.

CSData:
* Removed return bug usage, it now uses a hashtable instead of a big vJass array.

CSSafeCache:
* Still works, not recommended though, I suggest not using this library
unless there are compatibility reasons.

CSSafety:

TimerUtils included in the map updated for the post 1.23b world.
Uses a hacked GroupUtils so that H2I is replaced with GetHandleId, this is
not an official version, I recommend you to update from the official
thread if you wish to implement the caster system...

Demo map:
* Is compatible and playable in wc3 1.23b or later.
15.3
Version 15.3:
CasterSystem:
- TimerUtils and GroupUtils are in use

CSDamagers:
- Uses TimerUtils instead of CSSafety
- Now Damagers use their damage options argument correctly.

CSSafety:
- This library is not used anymore by caster system, but a dummy one
has been included for compatibility with old stuff that might explicitely
require this library.

CSSafeCache:
- Documentation now includes an explanation of what the older module,
CSCache is and why you shouldn't use its functions as well as a recommendation
not to use CSSafeCache.
15.2
CSSafety:
- NewGroup actually works.
- ReleaseGroup is able to correctly recognize when the group stack is full.

CasterSystem:
- CSSafety bug fix should have fixed issues with many of the CS functions, confirmed: DamageUnitsInAOEEx

Demo map:
- Queltallas revenge now uses the correct damage options variable.
- It actually works.
Attached Files
File Type: w3x cs15.3.w3x (166.1 KB, 727 views)
File Type: w3x cs16.0.w3x (162.0 KB, 1599 views)
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 05-25-2006, 06:36 PM   #2
moyack
Evil Emoticon
 
moyack's Avatar


Respected User
Project Leader: PoC
 
Join Date: Jan 2006
Posts: 3,279

Submissions (17)

moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)

AI Tournament #2 - 2nd PlaceHero Contest - Second place

Send a message via MSN to moyack
Default

I'm going to test this system in my map when I get home. Do you have any recommendation for users (like me) that don't know many jass?
moyack is offline   Reply With Quote
Old 05-25-2006, 06:58 PM   #3
Chuckle_Brother
Oh for the sake of fudge
 
Chuckle_Brother's Avatar


Respected User
 
Join Date: Dec 2005
Posts: 782

Submissions (2)

Chuckle_Brother will become famous soon enough (53)Chuckle_Brother will become famous soon enough (53)

Send a message via ICQ to Chuckle_Brother Send a message via AIM to Chuckle_Brother Send a message via MSN to Chuckle_Brother Send a message via Yahoo to Chuckle_Brother
Default

Learn
__________________
"...you play a mean banjo"
Chuckle_Brother is offline   Reply With Quote
Old 05-25-2006, 07:40 PM   #4
moyack
Evil Emoticon
 
moyack's Avatar


Respected User
Project Leader: PoC
 
Join Date: Jan 2006
Posts: 3,279

Submissions (17)

moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)

AI Tournament #2 - 2nd PlaceHero Contest - Second place

Send a message via MSN to moyack
Default

Quote:
Originally Posted by Chuckle_Brother
Learn
Hey, I'm learning, I just want to know if I have to do something special in the adding process, that's all.
moyack is offline   Reply With Quote
Old 05-25-2006, 10:57 PM   #5
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Just the classic trial and error, with patience and that kind of things.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 05-25-2006, 11:01 PM   #6
moyack
Evil Emoticon
 
moyack's Avatar


Respected User
Project Leader: PoC
 
Join Date: Jan 2006
Posts: 3,279

Submissions (17)

moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)moyack is a splendid one to behold (666)

AI Tournament #2 - 2nd PlaceHero Contest - Second place

Send a message via MSN to moyack
Default

Quote:
Originally Posted by Vexorian
Just the classic trial and error, with patience and that kind of things.
Okidoki, if I have any issue, I PM you.
moyack is offline   Reply With Quote
Old 06-21-2006, 07:34 AM   #7
TGhost
User
 
Join Date: Aug 2003
Posts: 119

TGhost has little to show at this moment (0)

Default

When i copy paste all the CsChace text, as the instructions say, into the custom script of my map, it crashes when i try to save?

EDIT: After trying a few things out i found what the error possibly was (it works now), when i copied all the text, there was no empty line between the endfunction and the start of the next function, after looking abit at your code i saw that you did that between all your ends and starts, so after correcting this and making the empty line myself (didnt get copied in the first place, maybe i forgot to copy it together with the rest), it didnt crash when i saved, just thought i would let everyone know if anyone else is having the same problem.

Last edited by TGhost : 06-21-2006 at 07:39 AM.
TGhost is offline   Reply With Quote
Old 07-17-2006, 09:36 PM   #8
shadow1500
STARCRAFT II OMFG
 
shadow1500's Avatar
 
Join Date: Jul 2004
Posts: 1,004

Submissions (9)

shadow1500 is just really nice (306)shadow1500 is just really nice (306)shadow1500 is just really nice (306)

Send a message via ICQ to shadow1500 Send a message via AIM to shadow1500 Send a message via MSN to shadow1500
Default

Quote:
but please I recomend that any table name that is not
acquired with this function is used between "(" ")" or "[" "]"
Why? Using names like "ClassName_Misc" or "ClassName_#" is fine, as NewTable returns an integer in string format.

Last edited by shadow1500 : 07-17-2006 at 10:23 PM.
shadow1500 is offline   Reply With Quote
Old 07-17-2006, 10:23 PM   #9
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

nope because names that are not between () and [] are used by other stuff of the caster system, besides that [] is a good way to point out they are special
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 07-18-2006, 12:56 AM   #10
emjlr3
Rehabbing
 
emjlr3's Avatar
 
Join Date: Jun 2005
Posts: 1,386

Submissions (14)

emjlr3 is a jewel in the rough (151)emjlr3 is a jewel in the rough (151)

Mapping Contest First Place

Send a message via AIM to emjlr3 Send a message via MSN to emjlr3
Default

y does the caster model require any size at all, y do u even use a model? jsut curious
__________________
emjlr3 is offline   Reply With Quote
Old 07-18-2006, 03:49 AM   #11
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Ok, Ask yourself how could I get so many different missile fx without creating a different unit type.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 07-18-2006, 04:59 AM   #12
emjlr3
Rehabbing
 
emjlr3's Avatar
 
Join Date: Jun 2005
Posts: 1,386

Submissions (14)

emjlr3 is a jewel in the rough (151)emjlr3 is a jewel in the rough (151)

Mapping Contest First Place

Send a message via AIM to emjlr3 Send a message via MSN to emjlr3
Default

what i figured
__________________
emjlr3 is offline   Reply With Quote
Old 07-18-2006, 07:23 PM   #13
BertTheJasser
xyzi - our universe
 
BertTheJasser's Avatar
 
Join Date: May 2005
Posts: 742

Submissions (2)

BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)

Default

If you get around, you could open a thread or PM and explain how the list converter works and the lists itself and why...

GJ. Would Rep you if I could.
__________________
Note: Bye... I had a lot of fun here!
Special thanks to Vexorian who helped me learn jass, the real jass and always helped me when problems occured, I would call him somehow my mentor. Pipedream, who made amazing Grimoire and helped me acclerating my map (currently at 99% finished, no developement atm).

Vote for Linux Ports in general of Blizzard products: http://www.PetitionOnline.com/ibpfl/

Last edited by BertTheJasser : 07-18-2006 at 07:26 PM.
BertTheJasser is offline   Reply With Quote
Old 07-18-2006, 07:44 PM   #14
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Quote:
Or how you're changing the z-axis orientation. I opened the model up thinking "why the hell is a model that should amount to little more than an attachment point 30k?" Needless to say, I highly approve of your solution. 181 animations, heh.

It is funny, I thought about that on saturday then Asked Mc! he said "yeah I am gonna make it *soon*" So I would have had to wait 3 months, but suddenly I figure out that INFraNE made that model a while ago. It was strange.

I think that the model could be compressed by removing empty space/comments, still it is a text file that would be compressed by mpq compression itself so it maybe does not matter

Quote:
If you get around, you could open a thread or PM and explain how the list converter works and the lists itself and why...

GJ. Would Rep you if I could.

what?
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 07-18-2006, 09:14 PM   #15
BertTheJasser
xyzi - our universe
 
BertTheJasser's Avatar
 
Join Date: May 2005
Posts: 742

Submissions (2)

BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)

Default

Just forget it, I *guess* I got it myself. My brain seems to be very exhausted this evening.
__________________
Note: Bye... I had a lot of fun here!
Special thanks to Vexorian who helped me learn jass, the real jass and always helped me when problems occured, I would call him somehow my mentor. Pipedream, who made amazing Grimoire and helped me acclerating my map (currently at 99% finished, no developement atm).

Vote for Linux Ports in general of Blizzard products: http://www.PetitionOnline.com/ibpfl/

Last edited by BertTheJasser : 07-18-2006 at 09:14 PM.
BertTheJasser is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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


All times are GMT. The time now is 08:49 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2018, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services