FFA Masters League

General => General Discussion => Topic started by: rygorych on November 09, 2011, 07:53:33 pm

Title: Help with WC3 Editor
Post by: rygorych on November 09, 2011, 07:53:33 pm
I'm trying to customize the Silverpine Forest map to include 1 worker of each race (peon aco peasant wisp) at every starting location.

My goal is to create map where every player has all 4 workers at their command right off the bat and can build up as any combination of races.

Any pointers?
Title: Re: Help with WC3 Editor
Post by: FML|WorpeX on November 09, 2011, 11:29:30 pm
And what is it that you actually need help with? if you can't figure this out on your own, you're either blind or not actually trying cause this is super simple.
Title: Re: Help with WC3 Editor
Post by: FML|red7z7 on November 10, 2011, 03:28:37 am
yeah you dumbass. seriously your IQ must be like 50 or something.

nah jk. go to the "units" layer and click on the player color and select whatever unit i think then place it on the map. actually that would probly give a set number of players in set positions so iuno
Title: Re: Help with WC3 Editor
Post by: rygorych on November 10, 2011, 05:40:27 am
Well, OK, I should have specified the particular issue I'm having.

There is a unit called "Starting Location" which seems to be generic and includes:

Depending on the race chosen
5 peasants + Town Hall
or
5 peons+ Great Hall
or
3 acos +1 ghoul + Necropolis
or
5 wisps + TOL



What I want it to include instead is this:

Depending on the race chosen
1 aco 1 peon 2 peasant 1 wisp + Town Hall
1 aco 2 peon 1 peasant 1 wisp + Great Hall
2 aco 1 peon 1 peasant 1 wisp + Necropolis
1 aco 1 peon 1 peasant 2 wisp+ TOL



So every race starts out with their particular "Town Hall" building... but diff race workers instead of their particular 5 racial workers.



So I guess my question is, can I modify what is included in every race's "Starting Location"?

Title: Re: Help with WC3 Editor
Post by: FML|red7z7 on November 10, 2011, 06:47:47 am
should make a gender neutral townhall that can make any of the 4 peons. and shops will all races items. and 1 production building for each tier that can make all races units of that tier. and infernal stones hidden behind the tree line
Title: Re: Help with WC3 Editor
Post by: FML|WorpeX on November 10, 2011, 07:03:08 am
ah, that needs to be done in triggers. Don't have time to write it up at the moment, ill do it when I get home.
Title: Re: Help with WC3 Editor
Post by: rygorych on November 10, 2011, 07:09:38 am
Thanks Worp, and Red, the idea is basically same as WC3 melee, but you get access to each race's workers right off the bat, so you can build up any tree/any units/ any hero combo. I think the possibilities here are limitless, and for people with good micro especially since they can make these ridiculous armies with 1 of each caster, etc.
Title: Re: Help with WC3 Editor
Post by: FML|WorpeX on November 10, 2011, 07:58:11 am
Well here, I'll write up a quick "this is the general idea" and if you can figure it out, awesome. If not, then I'll post the actual code here when I get home (which wont be till super late)

Basically, go into triggers and find the map initialization trigger. You need to remove the one which creates the starting units.

Then, you need to create an if/then/else action in this trigger which says, "If player 1 race = undead then create necropolis at the center of start location. Also in "then", create all the workers (perhaps making a new region outside the start location so that the workers all spawn at the same spot.) Else, do nothing.

You need to do this for all 4 races and 6 players.
Title: Re: Help with WC3 Editor
Post by: rygorych on November 10, 2011, 08:31:51 am
Sounds painful. How easy would this be to transfer to other maps? I'm testing Silverpine because it's simple/popular.
Title: Re: Help with WC3 Editor
Post by: rygorych on November 10, 2011, 09:20:58 am
Btw, Worp I figured it out, but it's ridiculously painful to set it all up 1 by 1.
Title: Re: Help with WC3 Editor
Post by: FML|Renaud on November 10, 2011, 09:32:32 am
hehe that might be painful for elf and ud, since they have a special way to mine gold!

Then again i suppose it will also be painful to every race beside ud, who will be stuck with an aco that can't mine, and can't even build unless he finds blight :D

So it balances it out! (xpte for elf, they are mostly fuck, but aren't they always).
Title: Re: Help with WC3 Editor
Post by: rygorych on November 10, 2011, 11:01:44 am
I can give elves an extra wisp to balance out the beginning?
Title: Re: Help with WC3 Editor
Post by: rygorych on November 10, 2011, 11:05:26 am
So worp here is my trigger, now tell me how to copy this for every race and player

Map initialization

(Race of Player 1 (Red)) Equal to Human

Unit - Create 1 Wisp for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees
Unit - Create 1 Peon for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees
Unit - Create 2 Peasant for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees
Unit - Create 1 Town Hall for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees

I tested it and it works... but I'm going to die if I have to create this 15 more times (4 players 4 races)



Nm, found the copy option :) kekeke


Ohh shit, more problems. When I create ud units, how do i put the haunted gold mine on the actual gold mine? Same for NE :S
Title: Re: Help with WC3 Editor
Post by: FML|WorpeX on November 10, 2011, 01:04:52 pm
I don't know off hand, i'm sure their is a way though. If you don't figure it out by the time I get home, Ill play with the world editor and get an answer for you. Also, I don't think this code takes into account a player being absent (which would mean creeps should spawn.) That isn't a hugely difficult fix, but again, I don't know the code off hand for it.

If you had asked this 3 years ago when I knew the world editor like the back of my hand, i'd probably be able to answer better, but not anymore. :(
Title: Re: Help with WC3 Editor
Post by: rygorych on November 10, 2011, 02:25:45 pm
Well I'm taking it one step at a time... can't figure out this so far.
Title: Re: Help with WC3 Editor
Post by: FML|WorpeX on November 10, 2011, 04:00:37 pm
You could always do a forum search on http://world-editor-tutorials.thehelper.net/. I always went their when I had any questions and was able to get answers very quickly.
Title: Re: Help with WC3 Editor
Post by: FML|WorpeX on November 10, 2011, 09:42:42 pm
Didn't really end up being that hard, xD. You just need to make a second building creation action.

Unit - Create 1 Haunted Gold Mine for Player 1 (Red) at (Position of Gold Mine 0015 <gen>) facing Default building facing degrees

You'll have to use the select unit function to get the exact gold mine. This does leave another problem though, as this wont have randomized spawns. Player 1 will always been at the same spot and shit. : /

As for doing a check to be sure their a player playing, add another 'if' option (hopefully you used if/then/else (multiple functions):

(Player 1 (Red) slot status) Equal to Is playing
Title: Re: Help with WC3 Editor
Post by: rygorych on November 11, 2011, 05:36:20 am
Fuck... you know what, I think I'll just make it normal melee, and then put all the extra workers in the middle.
Title: Re: Help with WC3 Editor
Post by: Pinballmap on November 11, 2011, 05:56:24 am
ive found 2 monsoon-all-races maps on Slacks!

check them out

http://www.ffareplays.com/maps/(6)Monsoonallracefinal.w3x

http://www.ffareplays.com/maps/(6)Monsoonallrace.w3x


i played them once they are just melee maps , with all workers at the starting location
Title: Re: Help with WC3 Editor
Post by: rygorych on November 11, 2011, 07:16:09 am
Thank you sir, this helps
Title: Re: Help with WC3 Editor
Post by: rygorych on November 11, 2011, 08:07:13 am
OK, it's ready.

http://www.ffareplays.com/maps/%286%29SilverpineForestAllRaces.w3x

I also increased slightly the gold in the mines. Would appreciate help testing it out sometime (I'm leaving town for the weekend, so maybe next week?)

If we figure it sux and leads to boring games, I'll scrap the tournament idea and think of something else.

But I just can't imagine how it can get boring... the hero/unit combos are endless and you can't blame imba anymore!!!!
Title: Re: Help with WC3 Editor
Post by: FML|Renaud on November 11, 2011, 08:26:57 am
so many things come to mind!  Wagon with brilliance aura!  Tanks with trueshot aura!
No better!  Sh with voodoo and ams potion!!!

Wait fuck all those noob shit, lusted wyrm!!... or lusted anything really!!!
Title: Re: Help with WC3 Editor
Post by: rygorych on November 11, 2011, 09:19:15 am
I often get orc casters as UD in ladder where it's easy to steal a peon. It's fun, but not as devastating as it seems, due to Wyrms costing so much food and thus army becoming much smaller than orc's usual. Lusted chims on the other hand... that I'd love to try out....
Title: Re: Help with WC3 Editor
Post by: FML|Renaud on November 11, 2011, 09:27:11 am
omg, i got it!
Ill go DR/TC/SH, orc tri caster, wyv, maibe a few tauren, and lots of bats!

....

WAIT A SECOND! :D
Title: Re: Help with WC3 Editor
Post by: rygorych on November 11, 2011, 09:31:51 am
I loled.

I duno, I'm thinking:

MK/SH/TC + Chims + Bats + all 3 casters + fuck this shit.
Title: Re: Help with WC3 Editor
Post by: Pinballmap on November 11, 2011, 10:24:22 am
what about frenzied-lusted-linked-innerfired-roared-shelled- Chimairas? would be awesome xD
Title: Re: Help with WC3 Editor
Post by: Pinballmap on November 11, 2011, 11:25:51 am
OK, it's ready.

http://www.ffareplays.com/maps/%286%29SilverpineForestAllRaces.w3x

I also increased slightly the gold in the mines. Would appreciate help testing it out sometime (I'm leaving town for the weekend, so maybe next week?)

If we figure it sux and leads to boring games, I'll scrap the tournament idea and think of something else.

But I just can't imagine how it can get boring... the hero/unit combos are endless and you can't blame imba anymore!!!!

sorry for doublepost

i just tested the map with 3 bots. problem was there were 4 neutral workers,one of each kind, at my main (they didnt belong to any player!)

When i start the game with fullhouse (5 bots) the problem is solved. Would be nice if you can fix this issue.
Title: Re: Help with WC3 Editor
Post by: rygorych on November 11, 2011, 11:48:40 am
huh? What the... OK I'll need to test it out tonight.

I basically copied the triggers from the monsoon one, can you try and see if it has same problem?
Title: Re: Help with WC3 Editor
Post by: Pinballmap on November 11, 2011, 12:42:41 pm
huh? What the... OK I'll need to test it out tonight.

I basically copied the triggers from the monsoon one, can you try and see if it has same problem?

yes i got the same bug on the monsoon version
Title: Re: Help with WC3 Editor
Post by: rygorych on November 11, 2011, 01:04:41 pm
It might be designed to work with non-bot players only. I will need to test it out on garena.
Title: Re: Help with WC3 Editor
Post by: Pinballmap on November 11, 2011, 01:06:57 pm
yeah lets test this today on garena...i will have a hell of a herocombo :D