HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Leader system?

08-04-2007, 03:57 PM#1
Mr.Wuggles
Hello, I need some help. I was thinking about the attached map. I liked the system, but didnt know how to recreate it. As I am new to triggering, I have no clue how to do it. The system in this map is pretty interesting. At the start, you get to pick a "Legion". This "Legion" is not controllable except for one "Leader" hero. Every move he makes, the "Legion" copies. Every item he buys, the "Legion" recieves, and every level he gains, so does the "Legion", which consists of heros of a single type. It's an amazing map made by Th15, a skilled mapmaker that you may or may not have heard of. If anyone knows how to recreate this system, please tell me how.
Attached Files
File type: w3xth15legionariesv04a.w3x (391.1 KB)
08-04-2007, 04:04 PM#2
MrApples
Its just a bunch of triggers....

Code:
A unit gets a item(this a actual event?)

Unit is the Legion Dude

Pick Every Unit in Legion
    Copy and Give Item to Picked Unit

etc. If theres a specific part you don't know how to do, then ask.
08-04-2007, 05:53 PM#3
Mr.Wuggles
Quote:
Originally Posted by MrApples
Its just a bunch of triggers....

Code:
A unit gets a item(this a actual event?)

Unit is the Legion Dude

Pick Every Unit in Legion
    Copy and Give Item to Picked Unit

etc. If theres a specific part you don't know how to do, then ask.

It works with movement and what-not also? Anyways, does it work with more than one person?
08-04-2007, 08:47 PM#4
botanic
you would also need a trigger for more actions

such as

Event
unit issues order targeting a point
conditions
unit is legion hero
actions
pick every unit in legion group and do
move picked unit to point with ofset

also you would need 1 of these for each hero
08-04-2007, 09:15 PM#5
Mr.Wuggles
Quote:
Originally Posted by botanic
you would also need a trigger for more actions

such as

Event
unit issues order targeting a point
conditions
unit is legion hero
actions
pick every unit in legion group and do
move picked unit to point with ofset

also you would need 1 of these for each hero

How would I come about the legion group? Do I set 30 seperate units into 10 seperate groups? 30x10=300, alot of unit group adding. What about abilities? How would I make the computer controlled "legions" use the same abilities as the "leaders" when they use them?
08-04-2007, 09:39 PM#6
botanic
for adding the groups just do an
for intiger a from 1-Number of All Players
Set legiongroup[intiger A] = all units owned by player intiger a

as for abilities it si the same as moving
08-04-2007, 10:21 PM#7
Mr.Wuggles
Quote:
Originally Posted by botanic
for adding the groups just do an
for intiger a from 1-Number of All Players
Set legiongroup[intiger A] = all units owned by player intiger a

as for abilities it si the same as moving

But they are computer controlled heros... how would I come about doing it like that? I also want to make somesort of "legion type" selection system; a selection unit picks a legion type that he wants like in th15'slegionaries (the attachment file), then the legion is created and placed in a starting region and they automatically become labled as a legion that is owned by the owner of the triggering unit, but they are computer controlled. I'm adding in two types of legions for now: a spearman legion and an archer legion. What I'm curious is how I could get it to work.
08-04-2007, 11:05 PM#8
botanic
the best way for me to help you is for you to tell me EXACTLY what you want also I have AIM and that would help make it faster
08-04-2007, 11:22 PM#9
Mr.Wuggles
Quote:
Originally Posted by botanic
the best way for me to help you is for you to tell me EXACTLY what you want also I have AIM and that would help make it faster

Sadly, I dont have aim. But, I could tell you what I want. I watched the 300 recently and was so impressed I wanted to make a game out of it. I've seen a 300 game on b.net before but I didnt like it, so I decided to make a new one. I also found a map online somewhere called "Legionaries" which has a unique system; At start, the players pick a specific type of "legion" (different legions have different unit types). After they pick the "legion", they gain control of 1 hero, while the "legion" they picked will mimic what that 1 hero does. They have no direct control of the legion, because it consists of hero units, and hero icons spamming your screen isnt fun. But with the 1 hero, the "legion officer" or leader or whatever could control them. When he does something, the legion does it also. That is the system I want to implement on my 300 map because it is:

-Realistic and fun.

-Assumably less laggy then a normal wc3 battle.

-Each player would get 30 heros that are owned by a computer player but will do what the legion leader does.

-10 playersx30 heros per legion= exactly 300, discluding the 1 hero that controls them.

-In the end, I think it turns out more fun than just having 11 heros like in the present 300 map hosted on b.net, but is unique at the same time.

-If you still dont get what I want to do, dl the map I attached in my first post and play around with it.

Edit: Actually, I think I'll dl aim very quick and IM you, but I need to know your aim name. Mine being SmlAndDie (Stands for smile and die, dont ask) I used to have it, but deleted it cause I didnt like it. Of course I could get it again for this occasion.
08-04-2007, 11:30 PM#10
botanic
As for an exact mimiracy of units that seems a bit odd... You might be better off creating a set of commands that the hero can use such as move and attack cast spells or even stances such as defensive or w/e just the other method seems odd

As for my AIM name look

<--------There click the AIM icon ;P
08-04-2007, 11:33 PM#11
Mr.Wuggles
Quote:
Originally Posted by botanic
As for an exact mimiracy of units that seems a bit odd... You might be better off creating a set of commands that the hero can use such as move and attack cast spells or even stances such as defensive or w/e just the other method seems odd

As for my AIM name look

<--------There click the AIM icon ;P

Dling aim now, should be easier here-on-out.