• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Basic trigger question

Status
Not open for further replies.
Level 4
Joined
Jul 9, 2005
Messages
49
Well since my comp broke little after summer and the release of my first map Jurassic Park Survival. People loved the map so much they ripped a million versions for it, and eventually died. Great first map, now I'm starting my real big project called, † Kingdom of Arondight †

An RPG-AOS like map. But I haven't triggered since summer so I gotta rattle my brain and just spark the fire and re-remember everything.

Normally this trigger would be easy but I just restarted so I'm a bit brain dead right now while reremembering it all.

I have hero selection my tavern, and you use 1 Lumber(Replaced by a resource called Soul) to buy a hero. How do I set it that once you buy that hero, the starting location is inside your respective kingdom gates? Once I get that, I can trigger the entrance and exit of my kingdom gates and do an extremely early psuedo alpha test with my friend who is excited about the project to drool over the AMAZING models I used. Not choppy or bad models, great models, although they DID take a HUGE chunk in the maps space, I'm at 2.2 MBs, but the terraining is near half done and it took 0.1 MB, I just need to add some triggers, items, around 3 quests for the first version(expand once I release v1), monsters, and spells, I can probably hold it within the 4 MB limit.

Also, how much room do custom spells take? I'm hoping not as much as models, cause if they do, I gotta stick with preset spells for a bit until I keep optimizing the files to a smaller size =/

Anywho that simple trigger and my spell <--> Size of the map relation question is all I need to know. Thanks in advance.
 
Level 4
Joined
Jul 9, 2005
Messages
49
No edit button <_<?

Well sorry for the double. My first post had a few Run-On Sentences, don't mind them. Kind of sleepy.

Anywho I forgot to ask, I know there is a preset image in the editor, it looks like a Blue Crystal or Diamond, and its commonly used as an icon for Lumber or Food as a replacement. Under what section is it found and what is it called.

Also How do I get my name(On the file) A different color? is it the same as the c|hexcode(text)|r thing, or is it a third=party application.

Also does that color code work anywhere on the Editor? An Example would be in Under the section where it shows upkeep, if I add in my own text there, can I change the color with that code? Another example is triggers, does the color code work? Basically I'm asking does it work everywhere(including the map file color)?

Thanks again in advance >.<


EDIT: Well I found this useful button, Apparantly it doesn't like showing itself in the browser I was using a second ago. Terribly sorry V_V
 
Level 9
Joined
Sep 8, 2004
Messages
633
That's a hell of a lot questions.

Okay, lemme think;

1) You can use the hexidecimal color codes anywhere in the editor. In unit names, in player names, in the interface options, name it.

2) Custom spells can be large, but small too. It all depends on wheter or not they use a non-warcraft art model. Like an explosion that's not normally in warcraft, will take up alot of space, since it's a model on itself.
So, custom spells with warcraft 3 art are small, but with alien art, are big.

3) And for the triggers, altough your explanation of the problem isn't very clear to me, i believe you mean that you want the hero - when bought - to appear in the kingdom right away.
For this, you can use the following trigger;
(done by heart, not in the editor)

Code:
Event:
A unit sells a unit

Conditions:
((Event Response - Sold unit) is a hero is equal to (true))

Actions:
(Unit - Move (Event Response - Sold unit) instantly to (Center of Rect001) facing (default building degrees (270))
(Camera - Pan camera for (Owner of (Event response - Sold unit) to the location of (Event response - Sold unit))

I hope that helps :)
 
Status
Not open for further replies.
Top