1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Choose your ride to damnation in the 5th Special Effect Contest Poll.
    Dismiss Notice
  5. The winners of the 13th Techtree Contest have been announced!
    Dismiss Notice
  6. Vote for the best entries in the 13th Music Contest Poll.
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Another Question

Discussion in 'World Editor Help Zone' started by kj_, Aug 10, 2008.

  1. kj_

    kj_

    Joined:
    Aug 1, 2008
    Messages:
    134
    Resources:
    0
    Resources:
    0
    Sorry for all threads :\
    Okay so this is what I want to happen the good force(any) can enter this area at a specific time(Day) and the evil side can't and then at night the evil can enter and the goodies can't enter it , how can I do this

    Help would be apprec
    :cool:
    ~kj_
     
  2. YoshiRyu

    YoshiRyu

    Joined:
    Jun 26, 2007
    Messages:
    686
    Resources:
    0
    Resources:
    0
    is this area closed (wall or cliff all around) of is it open ?
     
  3. kj_

    kj_

    Joined:
    Aug 1, 2008
    Messages:
    134
    Resources:
    0
    Resources:
    0
    Cliff (1) and you enter via a ramp :p
     
  4. YoshiRyu

    YoshiRyu

    Joined:
    Jun 26, 2007
    Messages:
    686
    Resources:
    0
    Resources:
    0
    do you want the evil guy to be able to go down the good guy ramp?

    (or maybe there is only one common ramp for all the guy...?)
     
  5. kj_

    kj_

    Joined:
    Aug 1, 2008
    Messages:
    134
    Resources:
    0
    Resources:
    0
    There is one ramp , which the evil can go up at night and the good can't and then at day the evil can't go up it and the good can , only 1 ramp
    Edit: Note: That the creeps that spawn in the training ground can not go down at all in day nor night can they go down :p
     
  6. YoshiRyu

    YoshiRyu

    Joined:
    Jun 26, 2007
    Messages:
    686
    Resources:
    0
    Resources:
    0
    ok, the easy way to do this is this one :

    - you put 2 regions on the ramp :
    sample_ramp.jpg

    then, you add two trigger like this :
    • Block Good/Bad Guy
      • Events
        • Unit - A unit enters Red Region
      • Conditions
        • (Team number of (Owner of (Triggering unit))) Equal to 0/1
        • Or/And - Any/All (Conditions) are true
          • Conditions
            • (In-game time of day) lower/greater than (night_to_day)
            • (In-game time of day) greater/lower than (day_to_night)
      • Actions
        • Unit - Move (Triggering unit) instantly to (Center of Blue Region)

    i don't remember exactly the time of day's specific values
     
  7. kj_

    kj_

    Joined:
    Aug 1, 2008
    Messages:
    134
    Resources:
    0
    Resources:
    0
    1 Last question , when a unit dies to evil I want it to turn against all his allies , btw if you kill a peasent there spawns a ghoul and if you kill a hero it turns into a vampire and against his allies btw if hero dies all your stuff die and you must turn against your ally's how do I make that happen?
     
  8. YoshiRyu

    YoshiRyu

    Joined:
    Jun 26, 2007
    Messages:
    686
    Resources:
    0
    Resources:
    0
    use 2 dummy players (it can be the neutral and the hostile ones)
    set alliances of each of them : ally with one of the team, enemy with the other team
    then, when you spaws your ghoul or vampire, you create it under the control of one of the dummy players