HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Quick (but odd) question

02-03-2004, 03:23 AM#1
DescX
I tried asking a question awhile back, and it was kinda on the long side and got no answers, probably because the post length intimidated people... So this will be a shorter post :)

I'm making a custom melee map, and I've noticed that racial heroes actually cost cash at Tier 1. Also, they don't get TP scrolls when first created, despite the fact that I have the

Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)

action in my Initialization. Is this because this Melee Game trigger doesn't run on custom maps? Is there a field somewhere that impacts the Tier 1 hero cost/TP scroll that I might've changed without realizing I did? Will I have to trigger things manually?

...Hopefully someone has some feedback for me :).
02-03-2004, 03:44 AM#2
Dark Illidan
you can change all of the tier stuff in the game play contrants
02-03-2004, 03:56 AM#3
DescX
Actually, I've gone over the constants several times to make sure the problem wasn't stemming directly from there :). I've only changed is the tax rates and damage tables, and just for kicks I've even reset them to defaults to see if it solves my problem... and it doesn't.

Also, if it helps, all I've done to the base town halls is play with their hitpoints and names. I've reset the halls back to default as well, and first heroes still end up costing money, and have no teleport scrolls.

Btw, thanks for the quick reply Illidan :).
02-03-2004, 04:03 AM#4
Earth-Fury
to give em scrolls u need the mele starting action that gives starting units the scroll (trigger action)
02-03-2004, 04:13 AM#5
DescX
Ahh, slight problem there Earth-Fury - I already have that trigger in and active. I actually stated that in my first post... hehe. Thanks for the reply nonetheless :).
02-03-2004, 08:11 AM#6
Earth-Fury
then set a flag for wehn unit is trained type is hero give trained unit items.
02-03-2004, 09:42 AM#7
Emekun
Actually it is rather weird, cause i have made a custom melee map some time ago and then i had absolutely no problems.

As stated before if nothing else works, then trigger it. But first, this is pretty obvious and you've probably allready checked it several times, make sure the Trigger that has the action: "Give traied heros a Scroll of town portal" has "Map initilazion" in the Events.
02-03-2004, 01:52 PM#8
DescX
Indeed Emekun, it is pretty weird...

Yes, I do have the proper Map Initialization event... In fact, I've got a loop that puts starting peons around the starting hall rather than in a cluster near the mine; it's under the Map Initialization bit, and works fine. Also, the rest of the Melee triggers seem to work just fine (Melee Game - Set Starting Resources, Limit Heroes to 1 Per Hero-Type, etc).

Another tidbit I just thought of - I started this map without using any special editors in 1.13, with the old patch values for units and the rest of that junk. Then, I updated to 1.14 when 1.14 came out and just kept working on the map. Is it possible that maybe there are some inconsistancies between saved data from the crap old 1.13 World Editor and 1.14?

I'm really scrambling here to figure out why the hell this has happened... worst comes to worst, I will trigger it, but I'd love to figure out what made this happen in the first place :).
02-03-2004, 03:24 PM#9
Remy
Please:|, just post the map!

THIS WOULD BE SO MUCH EASIER!
02-03-2004, 04:14 PM#10
ubern00b
hey.. did you base this on an already existing melee map? if not, try just copying all the triggers from a normal melee map and pasting them in yours.
02-03-2004, 04:25 PM#11
Peacerich
I havent read all answers but, it seemed that you still dunno how to fix it:

just give tha heroes a tp when they are created!!! if you cant trigger that, you shudnt even make a map:D
02-03-2004, 04:41 PM#12
DescX
Remy: I didn't attach it originally because I had a bunch of barely compressed BLPs sitting in it. I totally would've forgotten to optimize it for size for awhile if you hadn't capslocked me there, so a big thanks :) Also, map is now attached...

ubern00b: Yup, as the filename probably hints, this was based off of turtle rock :). I opened the Blizzard map file, resaved it as a seperate one, and went to work on my editing.

Again, it's not that I'm using the wrong triggers... it's that the triggers that are supposed to work aren't behaving properly. Obviously I did something to make it that way, but I'm pretty darned the problem isn't deathly obvious :).

[edit]

Hate to double post here, but just saw your reply there Peacerich :)

I know how to add scrolls (take a look at the newly attached map... it's not over the top, but it's fairly trigger intensive...) without hitches. My real problem is finding out why heroes cost money to hire at Tier 1. If you're only a custom player and don't play melee, then you might not have noticed - your first hero out only costs you 5 food, and then from there it costs cash. THIS is the real problem I'm having :).

Yes, I could work around the gold cost issue. Create seperate heroes that have no gold cost and use them at game start-up; then when the player begins to tech, replace the heroes at the altars with ones that cost money. Although that'd work just dandy, it doesn't help my curiosity much :). There's obviously a reason why the TP scroll AND hero cost things just aren't, err, going, and I'd like to find out why :)

So for clarity, I can do the work-arounds myself no problem - and again, thanks to those that posted the obvious ones. What I can't do myself is figure out why this happened in the first place :)

[EDIT 2]
Removed attached map... bugged and unfinished, no need to waste room over it :).
02-03-2004, 05:01 PM#13
Dark Illidan
you can change the cost of a unit, some of the other costs for heros, have you tried that?
02-03-2004, 05:05 PM#14
DescX
Unfortunately Illidan, unless I'm blind, heroes only have one set of cost fields you can change, and it's a trigger ([edit] or something...) that makes them initially free, not Object Editor values... Again though, thanks for the thought :).
02-03-2004, 05:09 PM#15
Dark Illidan
really i thought that you could chang that in the heros stats . . . and then in the game play constrants you could set it for no revive cost. but im at school and dont have w3 here (but im thinking about adding to one of the comps here), so i cant be sure