ACCESSING CCdataBase\\ RETRIEVING CCcontentMessage\\ .. msg:"Welcome. To Campaign Creations."

CUSTOM POINTS FOR KILLS

After I made my first map, Hell's Fury, I received several E-Mails adressing Custom Kill Points. Many wanted to know HOW I customized Blizzard's own Kill Score to give different scorings (I.E.: A Gui Montag Firebat giving 150 points instead of 400.) Well, actually, I didn't use Blizzards system at all, or rather, I didn't display their system on the Score Board. Rather, I did a simple conversion that works rather nice, and is, in fact, much more versitile than Blizzard's Kill Score System. Here is the first step in executing this suprisingly simple task:

Conditions:
- Elapsed time is at least 0 milliseconds.
Actions:
- Display ''Custom'' Leader Board: Label ''Custom''

You may also wanna exclude computers from the leader board by adding this action:

- Disable use of computers in Leader Board.

Now obviously the Players, Conditions, and Label can be all changed according to what you feel fit, infact the only important thing here is the Display Custom Leader Board trigger. Simple, eh? Ok, now for the conversion part. Let's say you wanted to make a Zerg Zergling worth 25 points, even though the Kill Score makes it 50. Here's what you do:

Conditions:
-
Current Player Kill Score is exactly 50.
Actions:
- Modify Score for
Current Player: Add 25 Custom.
- Preserve Trigger

That's that! Now before you say to yourself, What the Hell?, let me explain. 50 points is the Blizzard Kill Score amount for a Zergling. So whenever you kill a Zergling you receive 50 Kill Points. This is what activates the trigger. Not the death of the Zergling, but the 50 Kill Points you get for killing it. Once activated 25 Custom Points are added to the Leader Board. Simple as that. Now inorder to get the desired affect, you must make this trigger for every Kill Score that you will using in the game, which isn't hard, being there aren't THAT MANY units in StarCraft. You can find a list of the kill score values compiled by XVeLoCityX here.

Now there is only on more trigger left to complete this conversion, probably the simplest, yet MOST important:

Conditions:
-Always.
Actions:

- Modify Score for
Current Player: Set 0 Kill Points.
- Preserve trigger.

This resets the Kill Points during the game, so it doesn't continue to add custom points after you kill a unit. Now occasionally, usually in a map that has a continuous trigger throughout the entire map (like the witches special effect in mine =]) you may need to create a failsafe in the reset value, so that everything runs smoothly. If this is the case, use the following instead of the one above.

Conditions:
- Always.
Actions:

- Modify Score for
Current Player: Set 0 Kill Points.
- Wait
X amount milliseconds.
- Preserve Trigger.

Basically this amounts for certain "time lapses" in the Blizzard trigger system. X is the amount of milliseconds to wait before the trigger resets the Kill Score. The lower the amount of milliseconds you can get away with, the better. I'd say no more than 2000, but 1000 is probably the safest to go with. Well that's about it. The cool thing about this is not the points, necessarily, but what else you can do with it. You can add a line in the conversion trigger that adds a certain amount of minerals every time a unit is killed. You can also EXCLUDE certain units from giving any points at all, simply by not making a trigger for that unit =). That's all I can think of, but I'm positive there are more uses for this type of score. I hope it helps you all.

Human_Ape
July 25, 1999