System Hero and Creep Revive, Item Combiner 2

SD_Ryoko

Ultra Cool Member
Reaction score
85
Ryoko's Hero Tavern
This demo map sells heroes from a tavern. You can use random, repick, and all random.

YOU MUST add every custom hero to gameplay constants. You can delete everything that is already there.

Techtree - Dependancy Equivelants - Hero : ADD ALL HERE.
Techtree - Dependancy Equivelants - Alter: ADD ZONE INDICATOR.

Neutral Vehicle Loading]

This demo map helps you make cars for your map and cars you can steal.

-You need all the triggers.
-You need the two custom abilities.
-Your passenger unit must have the custom loading ability.
-Your vehicle must have all four abilities the tank has, including the custom cargo ability.

Ryoko Heroes, Creeps, and Items

Item Combiner
Shows how to combine charged items into one inventory slot. For example, it will combine potions with 5 charges each, into a potion with 10 charges.

Hero Revive
Revives heros using a timer window, local variables, and based on hero level.

Creep Revive
Revives creeps after x seconds, in the exact original location, and original type.

Hero Morph
Shows how to 'morph' heroes into a different hero when they level.

Item Attachments
The Claws of Attack +9 in the center has a model effect. It attaches a sword to the left hand of the hero. It has the 'Sword Effect' ability.

Spell Casting Tower
The tower in the center is a chain lightning tower. This shows how to make a tower cast spells on units. Notice, the attack cooldown is slightly less than the abilities cooldown, and the ability requires 0 mana. A trigger controls its behavior.

Imported Unit Models
This map has an import model, the Ice Infernal. Note the import paths were provided in the ZIP file, and I used it on a Rock Golem.

Elevators and Footswitches
-A simple up-and-down Elevator Example
-How to use Elevators as Stairs
-An example footswitch that kills all units

Teleporter
A simple one way teleporter with special effects.

Ryokos' Multiboard
Also has a simple multiboard that displays a force icon, player name, and kills.

Senkins' Multiboard
This is the multiboard used in Senkins tutorial. Download this if you came from the tutorial.

.
 

Attachments

  • Ryoko Heroes, Creeps, and Items 2.w3x
    229.2 KB · Views: 22,935
  • Senkins Multiboard.w3x
    218.8 KB · Views: 12,921
  • Ryoko Hero Tavern.w3x
    24.4 KB · Views: 14,925
  • Ryoko Vehicle Load.w3x
    13.8 KB · Views: 7,066
H

Hurricane

Guest
There's one bug on your map Ryoko Vehicle Load.w3x ...when you unload the car if you move him the control won't change to neutral passive...yuo can fix it by changing the event "finish cast a ability" to "being casting a ability"...
 
I

icinchy1

Guest
Thanks

hey guys, just wanted to say thanks for this, it was really helpful
 
B

butters132

Guest
how would you make it so that when you repick you don't have to choose a hero?
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
Ryoko's Hero Tavern
This demo map sells heroes from a tavern. You can use random, repick, and all random.

YOU MUST add every custom hero to gameplay constants. You can delete everything that is already there.

Techtree - Dependancy Equivelants - Hero : ADD ALL HERE.
Techtree - Dependancy Equivelants - Alter: ADD ZONE INDICATOR.

Neutral Vehicle Loading]

This demo map helps you make cars for your map and cars you can steal.

-You need all the triggers.
-You need the two custom abilities.
-Your passenger unit must have the custom loading ability.
-Your vehicle must have all four abilities the tank has, including the custom cargo ability.

Ryoko Heroes, Creeps, and Items

Item Combiner
Shows how to combine charged items into one inventory slot. For example, it will combine potions with 5 charges each, into a potion with 10 charges.

Hero Revive
Revives heros using a timer window, local variables, and based on hero level.

Creep Revive
Revives creeps after x seconds, in the exact original location, and original type.

Hero Morph
Shows how to 'morph' heroes into a different hero when they level.

Item Attachments
The Claws of Attack +9 in the center has a model effect. It attaches a sword to the left hand of the hero. It has the 'Sword Effect' ability.

Spell Casting Tower
The tower in the center is a chain lightning tower. This shows how to make a tower cast spells on units. Notice, the attack cooldown is slightly less than the abilities cooldown, and the ability requires 0 mana. A trigger controls its behavior.

Imported Unit Models
This map has an import model, the Ice Infernal. Note the import paths were provided in the ZIP file, and I used it on a Rock Golem.

Elevators and Footswitches
-A simple up-and-down Elevator Example
-How to use Elevators as Stairs
-An example footswitch that kills all units

Teleporter
A simple one way teleporter with special effects.

Ryokos' Multiboard
Also has a simple multiboard that displays a force icon, player name, and kills.

Senkins' Multiboard
This is the multiboard used in Senkins tutorial. Download this if you came from the tutorial.

.

I've got an idea for improvement:
Limit the heroes in your hero tavern map to 1 and if they repick limit it to old limit + 1
 

Rommel

New Member
Reaction score
13
Great job, my love...Iam going to use all of ur wonderful systems in my map "Battle of mount Hyjal.."..Thank you very much...and keep up your good job <3
 
J

Joppez

Guest
I used your tutorial for making hero revive ->
http://world-editor-tutorials.thehelper.net/revive.php

and now i have 2 problems when i try to test my map.
1: call TimerDialogDisplayForPlayersBJ( true, WINDOW, GetOwningPlayer(OURHERO) )
it says: expected a function name. so what must i change here?

2: call ReviveHeroLoc(OURHERO, GetRectCenter(GetdieheroRect()), true )
diehero is here the name of my region. now it says: Expected a name

what must i change here?
 
R

ryukolink

Guest
yes but how would spawn new creeps after they died? I dont want to use a timer on mine, and how would you set them to spawn initially after a certain interval..

(e.g. I want no creeps to be there in the beginning then after 5 minutes creeps to spawn for the FIRST TIME and only once , when they are killed I want them to respawn after a certain interval too)
 

SerraAvenger

Cuz I can
Reaction score
234
Item Combiner
Shows how to combine charged items into one inventory slot. For example, it will combine potions with 5 charges each, into a potion with 10 charges.

I think my Item stacker will do better there, as it allows for individual settings for each item Instead of just some global settings. Good work, though
 

BANANAMAN

Resident Star Battle Expert.
Reaction score
150
Does any one know how to make this show a timer only to the owner of the dead unit?


Code:
Revive Hero
    Events
        Unit - A unit Dies
    Conditions
        ((Triggering unit) is A Hero) Equal to (==) True
        ((Owner of (Dying unit)) slot status) Equal to (==) Is playing
    Actions
        Custom script:   local timerdialog WINDOW
        Custom script:   local integer HEROWAIT
        Custom script:   local timer OURTIMER
        Custom script:   local unit OURHERO
        Custom script:   set OURHERO = GetDyingUnit()
        Custom script:   set HEROWAIT = ( GetHeroLevel(OURHERO) * 5)
        Custom script:   set OURTIMER = CreateTimer()
        Custom script:   call StartTimerBJ( OURTIMER, false, ( I2R(HEROWAIT) ))
        Custom script:   call CreateTimerDialogBJ( OURTIMER, GetPlayerName(GetOwningPlayer(OURHERO)) )
        Custom script:   set WINDOW = GetLastCreatedTimerDialogBJ()
        Custom script:   call TimerDialogDisplayForPlayerBJ( true, WINDOW, GetOwningPlayer(OURHERO) )
        Custom script:   call PolledWait( HEROWAIT )
        Hero - Instantly revive (Dying unit) at ((Owner of (Dying unit)) start location), Show revival graphics
        Custom script:   call PanCameraToTimedLocForPlayer( GetOwningPlayer(OURHERO), GetUnitLoc(OURHERO), 0.60 )
        Custom script:   call DestroyTimerDialog(WINDOW)
 

Ayanami

칼리
Reaction score
288
Hmm, here's a suggestion for the repick command.

Code:
Player Group - Pick every player in (Player group((Triggering player))) and do (Actions)
    Loop - Actions
        Trigger - Turn off (This trigger)

Maybe add this code so that a player cannot keep on repeating the repick command. Or else, a player could keep on repicking heroes. Just a suggestion =D
 

Dameon

"All the power in the world resides in the eyes"
Reaction score
127
Your makeing the same mistake I did at first, read the rules of this section before you post, you have to remove all the leaks from your triggers and I found a few that leak, if you look around this forum there is a program that will tell you what is leaking and how to fix it. (If you can't find it just post and I will find the link.)
 
G

GabrielGray.

Guest
Revive Location Q

I've read the tutorial on the reviving heroes trigger, but I don't understand how to change the location that the heroes revive in. What do I have to change in this to make the heroes revive at a region?

call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayableMapRect()), true )

Thanks in advance for any help! :)
 

trb92

Throwing science at the wall to see what sticks
Reaction score
142
call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayableMapRect()), true )
Change the bolded part to gg_rct_RegionName
So, for example, if you had a region called "Revive", your line would look like this
call ReviveHeroLoc(OURHERO, GetRectCenter(gg_rct_Revive), true )
 

millzy

Ultra Cool Member
Reaction score
44
i cant open the first tuturial
i dl it then it says thay frozen throne disk isent in....
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top