Topic hỏi đáp (tập 3) về cách làm map

Thảo luận trong 'World Editor' bắt đầu bởi Tom_Kazansky, 15/6/09.

Trạng thái chủ đề:
Không mở trả lời sau này.
  1. sgreen_dragon

    sgreen_dragon T.E.T.Я.I.S

    Tham gia ngày:
    21/7/09
    Bài viết:
    511
    ko biết, có bao giờ chơi dota đâu:-??
    lần sau viết tiếng việt có dấu giùm nhé, bị chém dừng kêu[-X

    [thread=485055]GUI to JASS[/thread]

    [post=6948696]Bật Animation 1 cách chính xác[/post]

    mấy cái trên ở trong [thread=589246]tổng hợp các bài hướng dẫn và 1 số link hữu dụng[/thread]
     
  2. [Yami]

    [Yami] Donkey Kong

    Tham gia ngày:
    29/12/07
    Bài viết:
    313
    Nơi ở:
    Ha Noi, Vietnam,
    Em muốn tạo 1 skill tăng dam cho 5 phát đánh, sử dụng JASS (có MUI) thì nên làm thế nào ạ ? Nhất là cách Count em không rõ làm như nào :(
     
  3. midou21093

    midou21093 Youtube Master Race

    Tham gia ngày:
    26/3/09
    Bài viết:
    83
    híc chẳng biết sao nữa phải tắt hết view ở object đi mới mở được :(
     
  4. ghót9x

    ghót9x Donkey Kong

    Tham gia ngày:
    15/6/09
    Bài viết:
    477
    Nơi ở:
    Hà Nội
    Làm sao để unit đi vào nước thì chạy chậm lại nhỉ?
     
  5. KuKulKan

    KuKulKan T.E.T.Я.I.S

    Tham gia ngày:
    2/8/09
    Bài viết:
    629
    Nơi ở:
    Quận Thủ Đức, Thành phố Hồ Chí Minh
    đi vào nuơc chạy châm lại, bạn thử dùng fade dumy có skill aura slow đặt ở chỗ có nước...thử x(em hoặc 1 cách nào đó )
     
  6. ZhengHe

    ZhengHe T.E.T.Я.I.S

    Tham gia ngày:
    4/1/09
    Bài viết:
    623
    có thể làm fake miss = GUI ko vậy các huynh. Cho hỏi thêm 1 câu nữa là em set Target = Damage Source thì khi test map bi văng ra là sao ??
    P/s: khi tạo dummy mà dùng Loop integer thì có cần set array cho biến Dummy ko ?? ví dụ như Dummy[Integer A] ??
     
    Chỉnh sửa cuối: 29/1/10
  7. sgreen_dragon

    sgreen_dragon T.E.T.Я.I.S

    Tham gia ngày:
    21/7/09
    Bài viết:
    511
    post hẳn map hoặc trigger lên. nói thế ai hiểu???:-??
     
  8. ZhengHe

    ZhengHe T.E.T.Я.I.S

    Tham gia ngày:
    4/1/09
    Bài viết:
    623
    Trigger để mình post mình hỏi cái này trước: có thể làm Fake miss = trigger ko ??
     
  9. ghót9x

    ghót9x Donkey Kong

    Tham gia ngày:
    15/6/09
    Bài viết:
    477
    Nơi ở:
    Hà Nội
    Thế này thì đặt bao nhiêu cho vừa? có ai có cách khác k?:D
     
  10. sgreen_dragon

    sgreen_dragon T.E.T.Я.I.S

    Tham gia ngày:
    21/7/09
    Bài viết:
    511
    tạo 1 cái region ở chỗ có nước, event là khi 1 unit enter region...
    action là cho dummy cast spell slow
    trigger 2 thì có event là khi 1 unit leave region
    action là remove buff hay gì đó để set lại speed
    ko biết có đúng ko:-??
     
  11. WarCraft 3

    WarCraft 3 Youtube Master Race

    Tham gia ngày:
    6/1/10
    Bài viết:
    64
    xin hỏi cách làm cho HERO mất khả năng hiếu chiến như lính xây nhà :)
     
  12. midou21093

    midou21093 Youtube Master Race

    Tham gia ngày:
    26/3/09
    Bài viết:
    83
    ai chỉ em tạo cái bảng tình điểm với cho 4 team và cách update với
     
  13. WarCraft 3

    WarCraft 3 Youtube Master Race

    Tham gia ngày:
    6/1/10
    Bài viết:
    64
  14. anhtoi2210

    anhtoi2210 Youtube Master Race

    Tham gia ngày:
    16/11/08
    Bài viết:
    12
    cho mình hỏi làm cái skill slash(ultimate) của thằng Yunero trong Dota làm thế nào vậy.
     
  15. dh-g

    dh-g Fire in the hole!

    Tham gia ngày:
    29/8/09
    Bài viết:
    2,654
    Nơi ở:
    Q1 TP.HCM
    Mã:
    No Doubles Sentinel
        Events
            Unit - A unit enters Hero Select <gen>
        Conditions
        Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Weapon Master
                Then - Actions
                    Set HeroFlags[18] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Drow Ranger
                Then - Actions
                    Set HeroFlags[1] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Mountain Giant
                Then - Actions
                    Set HeroFlags[2] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Thunder Knight
                Then - Actions
                    Set HeroFlags[3] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Sven
                Then - Actions
                    Set HeroFlags[4] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Shandelzare Silkwood
                Then - Actions
                    Set HeroFlags[5] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Rylai 
                Then - Actions
                    Set HeroFlags[6] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Rikimaru
                Then - Actions
                    Set HeroFlags[7] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Melf
                Then - Actions
                    Set HeroFlags[8] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Lina Inverse
                Then - Actions
                    Set HeroFlags[9] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Jakiro
                Then - Actions
                    Set HeroFlags[10] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to GOD
                Then - Actions
                    Set HeroFlags[11] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Furion
                Then - Actions
                    Set HeroFlags[12] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Chen
                Then - Actions
                    Set HeroFlags[13] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Wanderer
                Then - Actions
                    Set HeroFlags[14] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Rhasta
                Then - Actions
                    Set HeroFlags[15] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Flame Lord
                Then - Actions
                    Set HeroFlags[16] = True
                Else - Actions
                    Do nothing
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Nortrom
                Then - Actions
                    Set HeroFlags[17] = True
                Else - Actions
                    Do nothing
    
    Mã:
    Random Select Sentinel
        Events
            Player - Player 2 (Blue) types a chat message containing -random as An exact match
            Player - Player 3 (Teal) types a chat message containing -random as An exact match
            Player - Player 4 (Purple) types a chat message containing -random as An exact match
            Player - Player 5 (Yellow) types a chat message containing -random as An exact match
            Player - Player 6 (Orange) types a chat message containing -random as An exact match
        Conditions
        Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    ((Triggering player) Food cap) Equal to 5
                Then - Actions
                    Set Random = (Random integer number between 1 and 17)
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 17) and (HeroFlags[17] Equal to False)
                        Then - Actions
                            Player - Limit training of Nortrom to 0 for Player 2 (Blue)
                            Player - Limit training of Nortrom to 0 for Player 3 (Teal)
                            Player - Limit training of Nortrom to 0 for Player 4 (Purple)
                            Player - Limit training of Nortrom to 0 for Player 5 (Yellow)
                            Player - Limit training of Nortrom to 0 for Player 6 (Orange)
                            Unit - Create 1 Nortrom for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 16) and (HeroFlags[16] Equal to False)
                        Then - Actions
                            Player - Limit training of Flame Lord to 0 for Player 2 (Blue)
                            Player - Limit training of Flame Lord to 0 for Player 3 (Teal)
                            Player - Limit training of Flame Lord to 0 for Player 4 (Purple)
                            Player - Limit training of Flame Lord to 0 for Player 5 (Yellow)
                            Player - Limit training of Flame Lord to 0 for Player 6 (Orange)
                            Unit - Create 1 Flame Lord for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 15) and (HeroFlags[15] Equal to False)
                        Then - Actions
                            Player - Limit training of Rhasta to 0 for Player 2 (Blue)
                            Player - Limit training of Rhasta to 0 for Player 3 (Teal)
                            Player - Limit training of Rhasta to 0 for Player 4 (Purple)
                            Player - Limit training of Rhasta to 0 for Player 5 (Yellow)
                            Player - Limit training of Rhasta to 0 for Player 6 (Orange)
                            Unit - Create 1 Rhasta for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 14) and (HeroFlags[14] Equal to False)
                        Then - Actions
                            Player - Limit training of Wanderer to 0 for Player 2 (Blue)
                            Player - Limit training of Wanderer to 0 for Player 3 (Teal)
                            Player - Limit training of Wanderer to 0 for Player 4 (Purple)
                            Player - Limit training of Wanderer to 0 for Player 5 (Yellow)
                            Player - Limit training of Wanderer to 0 for Player 6 (Orange)
                            Unit - Create 1 Wanderer for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 13) and (HeroFlags[13] Equal to False)
                        Then - Actions
                            Player - Limit training of Chen to 0 for Player 2 (Blue)
                            Player - Limit training of Chen to 0 for Player 3 (Teal)
                            Player - Limit training of Chen to 0 for Player 4 (Purple)
                            Player - Limit training of Chen to 0 for Player 5 (Yellow)
                            Player - Limit training of Chen to 0 for Player 6 (Orange)
                            Unit - Create 1 Chen for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 12) and (HeroFlags[12] Equal to False)
                        Then - Actions
                            Player - Limit training of Furion to 0 for Player 2 (Blue)
                            Player - Limit training of Furion to 0 for Player 3 (Teal)
                            Player - Limit training of Furion to 0 for Player 4 (Purple)
                            Player - Limit training of Furion to 0 for Player 5 (Yellow)
                            Player - Limit training of Furion to 0 for Player 6 (Orange)
                            Unit - Create 1 Furion for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 11) and (HeroFlags[11] Equal to False)
                        Then - Actions
                            Player - Limit training of GOD to 0 for Player 2 (Blue)
                            Player - Limit training of GOD to 0 for Player 3 (Teal)
                            Player - Limit training of GOD to 0 for Player 4 (Purple)
                            Player - Limit training of GOD to 0 for Player 5 (Yellow)
                            Player - Limit training of GOD to 0 for Player 6 (Orange)
                            Unit - Create 1 GOD for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 10) and (HeroFlags[10] Equal to False)
                        Then - Actions
                            Player - Limit training of Jakiro to 0 for Player 2 (Blue)
                            Player - Limit training of Jakiro to 0 for Player 3 (Teal)
                            Player - Limit training of Jakiro to 0 for Player 4 (Purple)
                            Player - Limit training of Jakiro to 0 for Player 5 (Yellow)
                            Player - Limit training of Jakiro to 0 for Player 6 (Orange)
                            Unit - Create 1 Jakiro for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 9) and (HeroFlags[9] Equal to False)
                        Then - Actions
                            Player - Limit training of Lina Inverse to 0 for Player 2 (Blue)
                            Player - Limit training of Lina Inverse to 0 for Player 3 (Teal)
                            Player - Limit training of Lina Inverse to 0 for Player 4 (Purple)
                            Player - Limit training of Lina Inverse to 0 for Player 5 (Yellow)
                            Player - Limit training of Lina Inverse to 0 for Player 6 (Orange)
                            Unit - Create 1 Lina Inverse for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 8) and (HeroFlags[8] Equal to False)
                        Then - Actions
                            Player - Limit training of Melf to 0 for Player 2 (Blue)
                            Player - Limit training of Melf to 0 for Player 3 (Teal)
                            Player - Limit training of Melf to 0 for Player 4 (Purple)
                            Player - Limit training of Melf to 0 for Player 5 (Yellow)
                            Player - Limit training of Melf to 0 for Player 6 (Orange)
                            Unit - Create 1 Melf for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 7) and (HeroFlags[7] Equal to False)
                        Then - Actions
                            Player - Limit training of Rikimaru to 0 for Player 2 (Blue)
                            Player - Limit training of Rikimaru to 0 for Player 3 (Teal)
                            Player - Limit training of Rikimaru to 0 for Player 4 (Purple)
                            Player - Limit training of Rikimaru to 0 for Player 5 (Yellow)
                            Player - Limit training of Rikimaru to 0 for Player 6 (Orange)
                            Unit - Create 1 Rikimaru for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 6) and (HeroFlags[6] Equal to False)
                        Then - Actions
                            Player - Limit training of Rylai  to 0 for Player 2 (Blue)
                            Player - Limit training of Rylai  to 0 for Player 3 (Teal)
                            Player - Limit training of Rylai  to 0 for Player 4 (Purple)
                            Player - Limit training of Rylai  to 0 for Player 5 (Yellow)
                            Player - Limit training of Rylai  to 0 for Player 6 (Orange)
                            Unit - Create 1 Rylai  for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 5) and (HeroFlags[5] Equal to False)
                        Then - Actions
                            Player - Limit training of Shandelzare Silkwood to 0 for Player 2 (Blue)
                            Player - Limit training of Shandelzare Silkwood to 0 for Player 3 (Teal)
                            Player - Limit training of Shandelzare Silkwood to 0 for Player 4 (Purple)
                            Player - Limit training of Shandelzare Silkwood to 0 for Player 5 (Yellow)
                            Player - Limit training of Shandelzare Silkwood to 0 for Player 6 (Orange)
                            Unit - Create 1 Shandelzare Silkwood for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 4) and (HeroFlags[4] Equal to False)
                        Then - Actions
                            Player - Limit training of Sven to 0 for Player 2 (Blue)
                            Player - Limit training of Sven to 0 for Player 3 (Teal)
                            Player - Limit training of Sven to 0 for Player 4 (Purple)
                            Player - Limit training of Sven to 0 for Player 5 (Yellow)
                            Player - Limit training of Sven to 0 for Player 6 (Orange)
                            Unit - Create 1 Sven for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 3) and (HeroFlags[3] Equal to False)
                        Then - Actions
                            Player - Limit training of Thunder Knight to 0 for Player 2 (Blue)
                            Player - Limit training of Thunder Knight to 0 for Player 3 (Teal)
                            Player - Limit training of Thunder Knight to 0 for Player 4 (Purple)
                            Player - Limit training of Thunder Knight to 0 for Player 5 (Yellow)
                            Player - Limit training of Thunder Knight to 0 for Player 6 (Orange)
                            Unit - Create 1 Thunder Knight for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 2) and (HeroFlags[2] Equal to False)
                        Then - Actions
                            Player - Limit training of Mountain Giant to 0 for Player 2 (Blue)
                            Player - Limit training of Mountain Giant to 0 for Player 3 (Teal)
                            Player - Limit training of Mountain Giant to 0 for Player 4 (Purple)
                            Player - Limit training of Mountain Giant to 0 for Player 5 (Yellow)
                            Player - Limit training of Mountain Giant to 0 for Player 6 (Orange)
                            Unit - Create 1 Mountain Giant for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Random Equal to 1) and (HeroFlags[1] Equal to False)
                        Then - Actions
                            Player - Limit training of Drow Ranger to 0 for Player 2 (Blue)
                            Player - Limit training of Drow Ranger to 0 for Player 3 (Teal)
                            Player - Limit training of Drow Ranger to 0 for Player 4 (Purple)
                            Player - Limit training of Drow Ranger to 0 for Player 5 (Yellow)
                            Player - Limit training of Drow Ranger to 0 for Player 6 (Orange)
                            Unit - Create 1 Drow Ranger for (Triggering player) at (Center of Hero Select <gen>) facing ((Triggering player) start location)
                        Else - Actions
                            Do nothing
                Else - Actions
                    Do nothing
            If (((Triggering player) Food used) Equal to 0) then do (Trigger - Run (This trigger) (checking conditions)) else do (Do nothing)
    

    đây là một cách tốt rắt tạo hero
    -random không đụng hàng
    mà nói trước cái này rắt là mệt mình làm không nổi
     
  16. ghót9x

    ghót9x Donkey Kong

    Tham gia ngày:
    15/6/09
    Bài viết:
    477
    Nơi ở:
    Hà Nội
    Ơ thế với những map nước lung tung thì làm sao bây giờ?
     
  17. Laiev Shadowsong

    Laiev Shadowsong C O N T R A

    Tham gia ngày:
    5/11/09
    Bài viết:
    1,561
    Thì đơn giản hơn cứ tạo dummy với Aura giảm speed, căn chỉnh sao cho hợp lý, phải hy sinh 7, 8 cái ability tạo mới nhưng yên tâm là ability với 1 level không làm map load lâu hơn đâu :)>-

    Cần dek rì phải cast slow cho nó thêm lag map =))
     
  18. ghót9x

    ghót9x Donkey Kong

    Tham gia ngày:
    15/6/09
    Bài viết:
    477
    Nơi ở:
    Hà Nội
    Có 1 upgrade 6 levels, muốn up lên lần lượt thì dùng trig như thế nào
     
  19. Tom_Kazansky

    Tom_Kazansky

    Tham gia ngày:
    28/12/06
    Bài viết:
    3,454
    Nơi ở:
    Hà Nội
    Player - Set Current Research Level

    Player - Set the current research level of <Upgrade> to ((Current research level of <Upgrade> for <Player>) + 1) for <Player>

    phần gạch chân: Arithmetic -> Player - Current Research Level + 1
     
  20. WarCraft 3

    WarCraft 3 Youtube Master Race

    Tham gia ngày:
    6/1/10
    Bài viết:
    64
    cần người trả lời gấp :((
    help me
     
Trạng thái chủ đề:
Không mở trả lời sau này.

Chia sẻ trang này