HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger/Optimazation Toturial Map! Also for genocidal people

05-19-2002, 09:20 PM#1
weaaddar
How do I make guys give gold when I kill them?
how come my leaderboard isn't working?
Why does my timer keep stoping ?
Why doesn't my timer have a window like all the other maps?
DO I really need So and So many triggers to make guys continually spawn?
How do I make it spawn less guys in perportion of players?
How do I get round tiles or square tiles on my regular terrian huh, Huh?
If your me your tired of seeing this barrage of questions that were answered so many times before I have created a map which abuses many little tricks and secrets.
What the hell is this you may be saying? (Say it damn it)
http://war3pub.net/upload/index.php?...killfestv3.w3m
This is a game where you go around as a "humanitarion" lowering the surplus population...by well erm how should I put this...mowing them down with semi-automatic weaponry...
. It answers all those questions above in a few short (okay longish) actions.
The map is comented and shows an old "long" way of doing some of the triggers and a new more effiecient and less space taking version.
The map is my first start into making a good toturial. I'll add camera angle toturial as an intro to the map but thats latter work.
Wait wait you think your a trigger master too? Well this map has some nice optimazations (trigger wise) to keep your map size friendly for 56k users. It also teachs you the value of a good For integer loop if they weren't your best friend before they will be now.
For those who are downloading this map merely for the "Humanitarian" reasons
this map features THE FASTEST FIRING UNIT IN THE GAME...A bloodlusted endurance aura level 3 machine gunner (Bandit using a rifleman skin) The machine gunner actually fires with a cooldown of .2-.25
5 of them can take down a reddragon in litterally 2 seconds.
And since this map will have large amounts of units I reduced the massed guys to half there size to keep lag down.

Essientally this map is good for everyone so Download it!


_________________
______________________________________
Weaaddar Yoshimitsu resident trigger master.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
05-20-2002, 08:23 AM#2
Guest
wait 1 day and all the questions up there will be asked again =(
05-20-2002, 07:10 PM#3
weaaddar
but its alot of fun and if I get people to download a map and then wonder how to do it they can look at the well commented and VEry optimized code and maybe get a handle of it.
05-20-2002, 10:14 PM#4
Guest
bout that fast fire...

u just have to enable 2nd attack and the rifleman attacks as fast as u want him to attack. no need for buffs here.
this was not possible in older versions afaik but i just did it. (i used a custom mountainking for the 2nd attack i dont think a standard rifleman has a 2nd attack.)

uhm and yea the rest is cool
05-24-2002, 06:59 PM#5
weaaddar
http://war3pub.net/upload/index.php?...llfestv5.6.w3m
Whats New...
Cheat Codes (You'll have to open the map to see what they are or guess they not that hard)
Villager Models (using Cookies Trick)
"Correctly" Growing Heros. (Just some thinking for this one (I hate them!)

As always well optimized (the cheats could use one variable but my god that'd be a headache) and compact.
Strings are fixed so they don't say dumb things. (like defeat! on leaderboard)

Heres what you can do to help... Does anyone know how to clear all text? Unlike starcraft where game text and player type text share the same space in War3 they are 2 diferent things which can overlap (this is what we call a BAD thing) any one know of a way to clear both fields...


I'll prolly add the upgrade trick dataangel and I came up with and call it 6.0. Cheers enjoy this new versioN I know alot of people have been asking for code help to do multipart RPGs my map just shows basic code work.
05-24-2002, 08:02 PM#6
Guest
just optimizied the map ... spawn trigger much better now :P
05-24-2002, 08:11 PM#7
weaaddar
just check it out I never knew what array did :) your right thats good I'm going to optimize some more.. Going to reduce the god aweful amount of boss triggers (instead of 10!) down to like 1 with a unit variable array. (Yes I'll be using BOTH the A & B variable at once all hell will break loose!)
05-24-2002, 08:26 PM#8
Guest
hmm who do want to mange it ... cause they should spawn all the same time =) maybe you should make a trigger if time at 0 bossnumber = bossnumber + 1
but i dont know y you want to use 2 for loops just make trigger like that
if(spawned[bossnumber] == 0) then do for int A if(player[A] is playing) then create 2 Level[bossnumber] for player 9 at spawn[A] else do nothing else do nothing
set var spawned[bossnumber] = 1;
think thats it
05-24-2002, 08:30 PM#9
Guest
or make as event countdowntime =0 then you dont need the spawned var i think

putting this all in 1 line isnt really less work cause you will set the units to the level array ...
05-24-2002, 08:48 PM#10
weaaddar
Hey um life you made an error You made them move to middle on the bosses instead of attack-move to anyway I figured out how to do it with out actually using both loops... I found my way around game time thing it now is told to luanch in leaderboard (so it can't start automaticly) whatever...

Here it is 5.7!
http://war3pub.net/upload/index.php?...llfestv5.7.w3m

Yes life thats true But i'm trying to reduce clutter like your thing really doesn't reduce work it just lowers the clutter factor :)
And its smaller too (about 20kb smaller then 5.6)
05-24-2002, 09:14 PM#11
Guest
ops but should be much work to fix it=)
ill have a look at 5.7
ic you did it like i described
05-24-2002, 10:44 PM#12
weaaddar
I found out why the triggers didn't work for them to attack it seems that the boss triggers seem to always 1 second behind a villager spawn time so that since they were still in region they recieved a move to instead of attack I'll change the villager thing to be specific to only villagers...Wooh That one hurt my head on why it didn't work
07-24-2002, 01:35 AM#13
Athifos
Am I missing something because everytime I try to load one of the Killfest maps, it starts to load the triggers but I get this error:

"Trigger function does not exist in database: xxxx"

(xxxx = the trigger). I would really like to get this working because I need some of those questions answered :)
07-24-2002, 01:55 AM#14
weaaddar
you dug up some old map. its a beta map which is why its not working get the newer released version which works in retail which is stickied.
07-24-2002, 01:59 AM#15
Athifos
Oh.....ok..thanks :D