HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problem with build map

09-16-2002, 08:42 PM#1
Guest
I want to build a map with normal game, but need to have a particularity: the real heroes: I want to train Arthas, Jaina, etc. with the original voices, but, if i replace the heroes with these, the voice is wrong and if i create a custom unit, this, need a trigger to construct only one, and is very long and heavy work. :´(

Anyone know how i train Arthas, Jaina, etc. and replace the custom heroes with these ?

Thanks!
09-16-2002, 09:19 PM#2
Guest
Have you tried to use 'melee game - limit heroes to 1 per type' or something called like that?
Alternatively, you could let the user train the default heroes, and on their "enters (playable map area)" event they should be replaced by your campaign hero.
So you'll have to change the interface icon and tooltip of the paladin for example to that of Arthas, and make a trigger that will remove the paladin and replace it with Arthas. When this hero dies it will be revivable like ordinary heroes, youv got nothing to tweak about that (remember the campaigns, the revive sequence works with no triggers or custom units needed).
09-16-2002, 11:09 PM#3
h0pesfall
edit the sounds of the heroes in unitdata.slk
Advanced World Editor allows you to do this directly from the unit editor, too.
09-17-2002, 03:25 PM#4
Guest
I will try the two solutions but i don't have idea to replace an unit with other, I think the world editor is in some cases a little confuse. Anyway I am going to reveer it .

Very Thanks
09-17-2002, 03:28 PM#5
h0pesfall
i said advanced world editor... i meant x-tra world editor, i think you can get it at war3pub.net
09-17-2002, 05:32 PM#6
Guest
ZZzz, you keep saying UnitData. Are you sure?

I've successfully modified UnitUI.slk and changed a unit's sounds to that of another, but you end up losing the original unit's sound (i.e., all of that type of unit and any customs based on it now sound like the new unit). Import the changed UnitUI into your map and it works find over battle.net.

The UnitMetaData fix only works for single player, until Blizzard patches it.

Care.
09-17-2002, 05:34 PM#7
h0pesfall
i don't know, i said unitdata from memory, but my memory isnt very good :) also i've never tested on bnet but was told it worked
09-17-2002, 06:35 PM#8
Guest
It all sound pretty complicated to me. How about just do a trigger like one:

Events
Unit owned by player 1 enters (entire map)
Conditions
Unit type of triggering unit is Paladin
Actions
Remove triggering unit from the game
Create 1 Arthas at (position of triggering unit) facing default building degrees.


That will be everything you need.
09-17-2002, 10:53 PM#9
Guest
Quote:
Originally posted by ZZzz
i don't know, i said unitdata from memory, but my memory isnt very good :) also i've never tested on bnet but was told it worked


There is a unitdata.slk file, but it has no reference to any sound used. That file is unitui.slk. It's got a unitsound field, and when modified does work on bnet.

Unitmetadata.slk however, only works for single player.

Care.
09-18-2002, 10:02 AM#10
Guest
Why aren't you just using the Arthas and Jaina units already there?

All custom heroes will have the problem of being able to build multiple heroes of that type, even if you base them off the original heroes.

melee game - limit heroes to 1 per type only works for the default heroes.

The easiest way is to use GoldenUrg's editor patch (http://goldenurg.tripod.com) which adds an action to limit the number of units per type that a player can own.