(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Tutorials > JASS/AI Scripts Tutorials

JASS/AI Scripts Tutorials Contains tutorials regarding JASS scripting and the AI editor.
Read the Rules before posting.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 04-02-2007, 01:52 AM   #1 (permalink)
 
Hero12341234's Avatar

────║╣ero────
 
Join Date: Dec 2006
Posts: 84

Hero12341234 has little to show at this moment (2)


Injury System

UPDATED:v.1.02
Updates in v.1.02
-Dead Units do not spark
-Blood Hit trigger added in
-Optimized some of the code
-Added Poll Waits

-Made in [COMPLETE] JASS

UPDATED:v.1.01
-If a Unit If Mechanical the unit will spark and emit electricity
(thanks for that comment)

Injury System V.1.02

A simple injury system that displays a bleeding effect on a unit once it reaches less than 30% health (can be edited)

UPDATED:
-If a Unit If Mechanical the unit will spark and emit electricity

---------Requirements----------
V.1.02

******To Implement This Into Your Map The Easy Way Just Copy The Whole Injury System Folder and Paste It Into Your Triggers*****

--Required Triggers:--

-Preload Trigger
-Pick Every Unit Trigger
-Show Blood Effect Trigger
-Remove Unit If Healed Trigger
-Blood on Dmg Trigger

------Required Script in Custom Header------
-Read Implementation Comment
______________________________________________
--Variables Used:--

Name: Type: Array: Size:
Human_BleedEffect String Yes 4
Orc_BleedEffect String Yes 4
Undead_BleedEffect String Yes 4
NightElves_BleedEffect String Yes 4
BleedingGroup Unit Group No --
cscache Game Cache No --

______________________________________________

--Features:--
-Easily Editable by changing some strings for the blood and some small triggers
-Covers the 4 main races
-Should not lag if so preload all the effect strings
-Should not contain leaks
-Shows the blood on a 2 second
-Shows blood type for that specific race (Ex. Orcs will bleed orc blood not human)
-Shows different types of blood effects 4 for each race
-If a Unit If Mechanical the unit will spark and emit electricity
-Easily Editable for different races
-NOW features blood on dmg script...which creates blood depending on the race everytime a unit is damaged
______________________________________________
Ideal For:
Any-map
______________________________________________
Updates In Next Version:
-A Jass Script for this system (ex. call Injury_System (blah blah) )
-Make the whole system 1 Trigger

Credits
              -Hero12341234 for the System
             -Emjlr3 for the DamDetect_Attacks System
             -Vexorian for the CS_Cache

Implementation

Copy the Custom Header of this map

It includes

Vexorian's CS_Cache
and
Emjlr3's Attack Detect System


First should be the cs_cache
under that the attack detect system

*****NOTE BEFORE SAVING YOUR MAP YOU MUST CREATE A VARIABLE CALLED cscache (case sensitive, must all be lowercased) it is a game cache and has no array
*****NOT Following this rule MAY make your map CRASH

______________________________________________

--Total Variables Used:-- (this is including the Injury System)

Name: Type: Array: Size:
Human_BleedEffect String Yes 4
Orc_BleedEffect String Yes 4
Undead_BleedEffect String Yes 4
NightElves_BleedEffect String Yes 4
BleedingGroup Unit Group No --
cscache Game Cache No --
______________________________________________

******To Implement This Into Your Map The Easy Way Just Copy The Whole Injury System Folder and Paste It Into Your Triggers*****

Other Wise...

--Required Triggers:--

-Preload Trigger
-Pick Every Unit Trigger
-Show Blood Effect Trigger
-Remove Unit If Healed Trigger
-Blood on Dmg Trigger

Get The Updated System Here: Injury System v1.02.w3x

Last edited by Wolverabid; 06-27-2007 at 12:49 AM. Reason: detached signature.
Hero12341234 is offline  
Old 04-02-2007, 02:18 AM   #2 (permalink)
Overall Site Manager
 
Wolverabid's Avatar

 
Join Date: Oct 2006
Posts: 8,756

Wolverabid has much of which to be proud (1208)Wolverabid has much of which to be proud (1208)

Respected User: This user has been given the respected user award. User of the Year: 2007 

Question Injury System

Although the map performs flawlessly and seems to be a powerful and effective system, the tutorial itself has issues that make its approval impossible in its present state.

Become familiar with the General Tutorial Submitting Rules and Guidelines - Read Before Posting!
Quote:
The content of the tutorial should be in the post. We won't accept attached .doc / html documents, nor images that have all the contents of the tutorial.

If you're using JASS in your tutorial, use the JASS tags.

All image files must be attached to your post. We don't wish to be dependent on other sites (To avoid situations in which the server on which the images have been saved falls, damaging the tutorial).
Authors MUST enter the contents of their tutorials in the vBuelletin format.

THW's JASS Specialists will analyze the code for validity and original content.
__________________
SuperSecretSearchSystem .......Netiquette....... Posting And You..........Read Me.......Vote

Antivirus Chat Dictionary Games Hoaxes Links Music News Quotations Reference Software

[timquote]blah[/timquote]
Wolverabid is offline  
Old 04-02-2007, 02:58 AM   #3 (permalink)
Spell and Map Moderator
 
Dr Super Good's Avatar

The Helpful Personage
 
Join Date: Jan 2005
Posts: 4,416

Dr Super Good is a name known to all (650)Dr Super Good is a name known to all (650)


Very good, one of the better systems I have seen. The mechanical effect is great, same with the blood effect. No major flaws are noticed but one tiny flaw is really noticable, you did not nullify all your local handles and so they are leaking. Please update with setting all local handles you make, set to null at the end of the function or it might cause lag late game due to leakage. Anyway I see no reason why this tutorial should not be approved when it meets the tutorial rule format.
Dr Super Good is offline  
Old 04-02-2007, 10:57 PM   #4 (permalink)
 
Hero12341234's Avatar

────║╣ero────
 
Join Date: Dec 2006
Posts: 84

Hero12341234 has little to show at this moment (2)


Quote:
Originally Posted by Dr Super Good View Post
Very good, one of the better systems I have seen. The mechanical effect is great, same with the blood effect. No major flaws are noticed but one tiny flaw is really noticable, you did not nullify all your local handles and so they are leaking. Please update with setting all local handles you make, set to null at the end of the function or it might cause lag late game due to leakage. Anyway I see no reason why this tutorial should not be approved when it meets the tutorial rule format.
Will..do...this will also help me to update stuff on the other sites

Quote:
Although the map performs flawlessly and seems to be a powerful and effective system, the tutorial itself has issues that make its approval impossible in its present state.

Become familiar with the General Tutorial Submitting Rules and Guidelines - Read Before Posting!
Quote:
The content of the tutorial should be in the post. We won't accept attached .doc / html documents, nor images that have all the contents of the tutorial.

If you're using JASS in your tutorial, use the JASS tags.

All image files must be attached to your post. We don't wish to be dependent on other sites (To avoid situations in which the server on which the images have been saved falls, damaging the tutorial).
Authors MUST enter the contents of their tutorials in the vBuelletin format.

THW's JASS Specialists will analyze the code for validity and original content.
Very sorry..will fix this one up..so far I fixed up the Tree Revival System

This will be fixed hopefully in a couple days...at least before Saturday..if time life allows me to do this.
__________________
Hero12341234 is offline  
Old 05-07-2007, 06:29 PM   #5 (permalink)
 
Ricky's Avatar

A.K.A Tichondrias
 
Join Date: May 2007
Posts: 26

Ricky is an unknown quantity at this point (0)


Hi

Hi~Ricky

The idea of it sounds great. Only i wont ever find out unless you completely reorginise it. I cant understand a thing. It is more of a "heres how to do it" Than a tutorial. So if you manage to sort this out a lot more people would post good things
Ricky is offline  
Old 05-07-2007, 07:13 PM   #6 (permalink)
 
Diablo-dk's Avatar

Shifting voidwalker!
 
Join Date: Nov 2004
Posts: 452

Diablo-dk has a spectacular aura about (128)Diablo-dk has a spectacular aura about (128)Diablo-dk has a spectacular aura about (128)Diablo-dk has a spectacular aura about (128)


Sounds pretty nice, but shouldn't this rather be in the spells and system sections or in the resource section?
__________________
Need an easy Recipe System for your map?
Wonder what is inside the Spellbook?
Check my Cinematic!

Vote for the hive, the most friendly wc3 website.
Diablo-dk is offline  
Old 06-27-2007, 12:51 AM   #7 (permalink)
Overall Site Manager
 
Wolverabid's Avatar

 
Join Date: Oct 2006
Posts: 8,756

Wolverabid has much of which to be proud (1208)Wolverabid has much of which to be proud (1208)

Respected User: This user has been given the respected user award. User of the Year: 2007 

Thumbs up Tutorial Approved!

Thread moved to JASS/AI Scripts Tutorials.
__________________
SuperSecretSearchSystem .......Netiquette....... Posting And You..........Read Me.......Vote

Antivirus Chat Dictionary Games Hoaxes Links Music News Quotations Reference Software

[timquote]blah[/timquote]
Wolverabid is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ Trigger / System ] - Elemental Damage and Mastery System akasixcon Requests 1 03-08-2008 06:30 PM
[Trigger] Help with EndFight System Ultimatus Triggers & Scripts 2 01-04-2008 10:15 PM
2D system Sube2 Requests 2 12-17-2007 02:52 PM
[Trigger] Xp system Ultimatus Triggers & Scripts 15 05-01-2007 04:44 PM
What's the best system? Secret Assasin54321 Off-Topic 21 11-12-2004 02:27 PM

All times are GMT. The time now is 06:03 PM.






Your link here 
Mortgages | Cash ISA | Loan | MPAA | Hackers
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle