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

Status
Không mở trả lời sau này.
co ai chi em cach thay doi animate cua hero khi no mang giay dc ko;;)?nhu con pit lord trong dota y. Khi no mang giay thi` chay khac,ma` ko mang giay thi` chay khac

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

(tien the anh tom chi em cach lam jass nhe;)))

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

Làm thế nào để khi PotM đang leap ở trên không thì có animation walk ?

[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]
 
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 :(
 
có chế độ auto save ko?
thử vào thư mục test trong maps thử xem :!

WorldEdit là làm maps chứ ko phải model
wa topic model nhờ người giúp :))

híc chẳng biết sao nữa phải tắt hết view ở object đi mới mở được :(
 
Làm sao để unit đi vào nước thì chạy chậm lại nhỉ?
 
đ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 đó )
 
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:
Trigger để mình post mình hỏi cái này trước: có thể làm Fake miss = trigger ko ??
 
đ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 đó )

Thế này thì đặt bao nhiêu cho vừa? có ai có cách khác k?:D
 
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:-??
 
xin hỏi cách làm cho HERO mất khả năng hiếu chiến như lính xây nhà :)
 
ai chỉ em tạo cái bảng tình điểm với cho 4 team và cách update với
 
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.
 
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
 
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:-??

Ơ thế với những map nước lung tung thì làm sao bây giờ?
 
Ơ thế với những map nước lung tung thì làm sao bây giờ?

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 =))
 
Có 1 upgrade 6 levels, muốn up lên lần lượt thì dùng trig như thế nào
 
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
 
Status
Không mở trả lời sau này.
Back
Top