stuck units
Jan 27 2008, 9:06 pm
By: eXirrah  

Jan 27 2008, 9:06 pm eXirrah Post #1



hi... i need some help with my TD map. How can i create a unit that won't be able to move. I want to know how the creator of Random Beacon Defence did.



None.

Jan 27 2008, 9:45 pm Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

1. create a 1x1 location called 'freeze location' and put it in the right lower edge of the map.
(in general the location has to be put over unwalkable terrain like water or space)

2. a trigger system like that
Trigger
Players

  • Player X
  • Conditions

  • always
  • Actions

  • preserve trigger
  • Move 'all' 'men' owned by 'Current Player' from 'Anywhere//Playing Area' to 'freeze location'

  • modify men to allow some units to move like an scv. just make this trigger action for every unit which should be freezed.

    3. use hypertriggers (explained here)

    effects:
    -units are not able to walk
    -units can attack
    -units can cast spells
    -units are nearly unhittable/invinceble

    if you want to freeze air units, you need to put the location out of the map. (Other methods can cause lags)
    (resize map to 256x256; move location in the right lower edge; resize map again)




    Jan 27 2008, 10:03 pm eXirrah Post #3



    thanls a lot i'll try it right away



    None.

    Jan 27 2008, 11:30 pm Falkoner Post #4



    Quote
    (Other methods can cause lags)
    Where are you getting that? Moving the air unit to a floating CC doesn't lag..



    None.

    Jan 27 2008, 11:55 pm Ahli Post #5

    I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

    moving ground units to walkable ground which is already filled up with ground units cause extreme lags (I nearly freezed the game with that ;P). why it should be different with air units?

    Only a few units will not cause lags, but if you freeze many air units, it may lag.




    Jan 27 2008, 11:57 pm Falkoner Post #6



    Hmm, I guess that's true, but that's only if you're trying to move LOTS there, most people are only trying to stop a couple units.



    None.

    Jan 28 2008, 12:00 am Ahli Post #7

    I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

    so I wrote 'can' :D




    Jan 28 2008, 12:04 am TartarusMkII Post #8



    SO let me get this straight. when you try to move the unit to a place it shouldnt be able to go its stuck in a impossible loop and just..cant do anything?



    None.

    Jan 28 2008, 12:06 am Ahli Post #9

    I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

    Quote
    effects:
    -units are not able to walk
    -units can attack
    -units can cast spells
    -units are nearly unhittable/invinceble
    try out my map and you will notice most of the effects...




    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [04:35 pm]
    O)FaRTy1billion[MM] -- Brusilov
    Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
    my server that was hosting it died
    [2024-5-10. : 8:46 pm]
    NudeRaider -- Brusilov
    Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
    https://armoha.github.io/eud-book/
    [2024-5-10. : 8:36 am]
    Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
    [2024-5-09. : 11:31 pm]
    Vrael -- :wob:
    [2024-5-09. : 8:42 pm]
    Ultraviolet -- :wob:
    [2024-5-08. : 10:09 pm]
    Ultraviolet -- let's fucking go on a madmen rage bruh
    [2024-5-08. : 10:01 pm]
    Vrael -- Alright fucks its time for cake and violence
    [2024-5-07. : 7:47 pm]
    Ultraviolet -- Yeah, I suppose there's something to that
    [2024-5-06. : 5:02 am]
    Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
    [2024-5-06. : 5:02 am]
    Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
    Please log in to shout.


    Members Online: IlyaSnopchenko, Roy