Open Gate?

  • Thread starter Thread starter Sk8z
  • Start date Start date
S

Sk8z

Guest
Hey im having some trouble getting something to work. any help would be thankful, here is my problem:

Im trying to get a gate to open, but the thing is ive made the gate upgradeable, and in order to do that i hade create a new Unit and use the Gate as the model in order to make it upgradeable, basically the problem is, i cant make the gate open because it is a Unit. And ive looked up and down through the triggers, and conditions and havent been able to get the gate to open because it is a unit now, and no longer a Destructable.

Is there anyway to make the Gate open as a unit and not a destructable?

For the gate to open, i would want to make it so the owner of the gate says "-open" for it to open and "-close" for it to close.

is this possible?
Thanks in advance
 
Hmm, this is just a guess but I think that the 'opening' animation for gates is the models dying animation. You could try that.
 
Hmm

I kind of understand the concept that your trying to get at.. use the animation when the command is entered? and it should open, but how would i go about implementing that?
 
hmm.. instead of doing this why dont u make a trigger taht says when an upgrade is researched, it will increase the gates hit points?
 
?

I still dont quite grasp the idea of how to get this working..

ive tried the ideas posted in here but came up with no progress, sadly

are there any other possible ways to do this?

with the commands : "-open" opening a gate for a certain player
"-close" close a gate for a certain player

any help, thank you
 
It's simple really...
you made the destructible a unit... i suggest you forget that idea for the
mean time...
and here is a good idea

Event
player owned by player 1 finishes an upgrade

Condition
tech-type comparison (make an upgrade that pretty much does nothing)

Action
Destructible - set max life of (the gate you want) to (life)



Now for the open gate

Event
Player1 types a chat message containing -open as An exact match

Condition
none needed

Action
Destructible - open (the gate you want)




Heres a suggestion you might like in your map
create 2 skills using warstomp in your object editor
-remove damage
-remove animations (or add stand and then add channel so it would look like he's doing some fancy stuff like ordering the people to open the gate)
-add a hotkey for this skill
-change name of skill to desired (something related with the gate)
-set the mana to desired amount
-hero ability = false
-set cooldown - i suggest 3 or 4 seconds
-set art -button position to x=2 y=1
the learn button will be disabled anyway once you restart the map editor
so lets leave that as it is...
so your all set with the skills


Now for the trigger lets say your gate is gateX and your skill is
open gate and close gate


For the open gate

Event
A unit owned by player1 begins casting an ability

Condition
if ability equals to open gate

Action
Destructible - Open gateX
Wait 1 seconds
Unit - remove ability open gate from Event response casting unit
Unit - add ability close gate to Event response casting unit

Finally to close gate


Event
A unit owned by player1 begins casting an ability

Condition
if ability equals to close gate

Action
Destructible - Close gateX
Wait 1 seconds
Unit - remove ability close gate from Event response casting unit
Unit - add ability open gate to Event response casting unit


It's a little long but hell, dont you think its a cute idea?
just a suggestion~ have fun and i hope you understood what i was
typing... this was long...
 
Thanks

thank you, i figured it out, all help is appreciated, i liked that idea in the last one, i tried it out and it works well, but i decided in the end to stick with the command based opening of the gate.

a couple more things..

1.) is it possible for a certain player to own a destructable?

2.) how do i make a destructable upgradeable?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
    +1
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.
  • A Andyoyo:
    Thank you for the hard work over the years. It did not go unnoticed.

The Helper Discord

Staff online

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top