More then 1 build menu

Jessi

I'm so green. Like a Machine.
Reaction score
37
Have a spellbook (no build icon), and have a dummy spell that says "next page" and one that has "previous page" then have it so when they're clicked it uses a hidden spellbook, getting rid of the first, and the second one has the next set of buildings, and so on..
 
Reaction score
107
It's definetly possible.

Nature's Call - Circle Defense has a very good implementation of it. No idea how it's done though.

I took a look at it, and its made using the normal build menu, and a spell book with a "build tiny ~~" ability from what i could tell. It could work using both, but the problem is getting more then one building into the spell book.

Or you could use spellbooks, two on one unit and trigger every single building.

How would you go about it? I'm not even sure if "build tiny ~~" abilities have a listed order id in GUI triggering...
 

chovynz

We are all noobs! in different states of Noobism!
Reaction score
130
what I meant is:

Code:
BuildTownHall
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to CustomBuildTownHall
    Actions
        Set {local timer for building countdown variable} = 100
        Unit - Create 1 Town Hall for (Triggering player) at (Target point of ability being cast) facing Default building facing degrees
        Loop from 0 to {local timer} 
            Unit - Set (Last created unit) construction progress to local timer integer
            etc...
        Endloop
        Remove leaks scripts

You'd have to create an ability and trigger for every single building type. Make it once, make sure its correct and works, then just copy and paste changing the building.
 

Romek

Super Moderator
Reaction score
964
This is definitely possible, i once had a system like this (i've lost it). I don't know how it worked though it was probably replacing the unit. (Interflows escape builder also has something like this, and that replaces the builder)
 
G

guevara_cf

Guest
True!

One thing I hate about the idea of replacing unit is the fact that the hotkeys that the unit is assigned to gets broken.

That may not be as much of a problem for others, but I rely heavily on unit hotkeys to maintain my sense of order in the universe. :)

I totally understand that! But I imagine there is a trigger you could use to store hotkeys... I think.
 

gameman

It's been a long, long time.
Reaction score
96
dude just edit bear form
same hotkey
diferent attacks and can handel
another build menu
 

ShadowTek

New Member
Reaction score
23
I totally understand that! But I imagine there is a trigger you could use to store hotkeys... I think.

There may be some way to do that in JASS, but I don't see anything like that in the GUI. It might be possible to use the "game - force ui key" to rig something up, but I can't get it to recognize the control key.

Gameman, your suggestion would probably be the best course of action in this situation, but I'm just curious to explore this specific issue since it has been raised. :)
 

gameman

It's been a long, long time.
Reaction score
96
dude i just said edit bear and stop form stop going over complacated and just make it simpler
im sorry but simpler things can make a better result
 

Psiblade94122

In need of sleep
Reaction score
138
whoa i found something strange, when i was trying to add abiliteis to a unit i saw the abilities "build (human), build (nightelvs), ect" anyone know what these are for? i cant find them on the ability editor and when i tested a unit with one of those abilities, well.. nothing happened

just posting this find here, if anyone knows what it dose, it might be able to help

he dosent want to change or replace the unit, also if you have multiple morph abilities useing the same base abilities they will bugg each other
 

gameman

It's been a long, long time.
Reaction score
96
those never really did any thing for me lol

but try editing them in the editor maybe you will get something
 

ShadowTek

New Member
Reaction score
23
Psiblade: I think you have to use an ability that has the same baseorderid as the spell that is listed on the casting spell list. I think you have to change another ability to have the same baseorderid as one of those. Thats just a guess though; I though I remember reading that somewhere.

Also, maybe you could create several morph abilities that are based off of channel so that you could change the baseorderids and avoid conflicts. I'm not sure if that can be done properly (I'm no expert); I'm just suggesting what I would try to do. :)

Gameman: what I was trying to say is that I am not recommending my method over yours. I think that there are some (other) situations where unit replacement is the only option, and I was curious to take the opportunity to explore the possibilities of that situation while I had the chance.
 

gameman

It's been a long, long time.
Reaction score
96
ok sorry :(
ill go take some anger management classes
just kidding



ok realy what situations do you mean when you have to replace the unit i dont get it when do you ever need to replace the unit ? :confused:

never really had to do that
 

ShadowTek

New Member
Reaction score
23
Well, in one of my maps I have a trigger that replaces the unit of a player that has been killed by a teammate (while defeating the owner of the killing unit with some scornful remarks). The unit is replaced with a unit of the same type. Everything works out nice and smooth except for the fact that the new unit is not assigned to any hotkeys.

I could use a selection action to immediately select the new unit for that player, but that's about all I can figure out how to do.
 
Reaction score
107
what I meant is:

Code:
BuildTownHall
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to CustomBuildTownHall
    Actions
        Set {local timer for building countdown variable} = 100
        Unit - Create 1 Town Hall for (Triggering player) at (Target point of ability being cast) facing Default building facing degrees
        Loop from 0 to {local timer} 
            Unit - Set (Last created unit) construction progress to local timer integer
            etc...
        Endloop
        Remove leaks scripts

You'd have to create an ability and trigger for every single building type. Make it once, make sure its correct and works, then just copy and paste changing the building.

I tried using a trigger like that, the problem with doing it that way is that its kind of inaccurate. Like, creating the buildings at the point might displace them one square over from where you want them to go, and if you try to create it on unbuildable terrain then it creates in a completely wrong position. But i guess these are problems some If conditions could solve, but the building grid would still be nice... :eek:

whoa i found something strange, when i was trying to add abiliteis to a unit i saw the abilities "build (human), build (nightelvs), ect" anyone know what these are for? i cant find them on the ability editor and when i tested a unit with one of those abilities, well.. nothing happened

just posting this find here, if anyone knows what it dose, it might be able to help

he dosent want to change or replace the unit, also if you have multiple morph abilities useing the same base abilities they will bugg each other

As far as i know they dont do anything, I've tried fiddling around with them, but they dont seem to do much, aside from giving funny error messages... like "must build on blight" even when im trying to build a scout tower...
 

Psiblade94122

In need of sleep
Reaction score
138
thats odd as hell o_O

as for a solution, i once again point at the items solution, yes its an extra click, but it shuld get you what your asking for, and from my knolage of useing items, and item's activateable ability will not bug another item's activateable ability, they might share cooldowns, but it wont bug
(i used a universal dummy ability when i was makeing my itemed style hero building system for aviation wars)
 
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

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top