Topic hỏi đáp về cách làm map | version 13

Status
Không mở trả lời sau này.
1422251d23bb9a4fa49c932283b23517_40153005.blug.jpg


Sau khi mình File=> preferences ở phần General đánh dấu vào Automatically Create Unknow Variables while pasting trigger data

Thì nó ra thế này chỉ có ít chổ đỏ và mình đã chĩnh giống hệt spell kia mà nó vẫn ko hoat động , mong mấy anh giúp em với huhu
 

Attachments

  • 1422251d23bb9a4fa49c932283b23517_40153005.blug.jpg
    1422251d23bb9a4fa49c932283b23517_40153005.blug.jpg
    97 KB · Đọc: 2
@bardock:

click vào nó ấn enter 1 cái không có chết đâu :-@
 
là sao mình ko hiểu hihihihihihi

click vào cái Trigger - Turn On EB Loop<gen> gì đó bấm vào nó xong ấn enter 1 cái là được nó sẽ khôi phục lại bình thường :|
 
Chỉnh sửa cuối:
click vào cái Trigger - Turn On EB Loop<gen> gì đó bấm vào nó xong ấn enter 1 cái là được nó sẽ khôi phục lại bình thường :|

không đc huhu bạn cho mình cái nick Y!M đi đc ko >.<

---------- Post added at 19:14 ---------- Previous post was at 18:39 ----------

1422251d23bb9a4fa49c932283b23517_40153005.blug.jpg


Sau khi mình File=> preferences ở phần General đánh dấu vào Automatically Create Unknow Variables while pasting trigger data

Thì nó ra thế này chỉ có ít chổ đỏ và mình đã chĩnh giống hệt spell kia mà nó vẫn ko hoat động , mong mấy anh giúp em với huhu
 
ai cho em hỏi cách làm cho creep chết rồi hồi sinh
 
Ở mục Player có cái action Share vision của player này sang player kia. Nếu share của player 1 sang 2 mà ko share ngược lại 2 sang 1 thì 2 sẽ nhìn thấy 1 mà 1 ko thể thấy 2. Dùng cái này tốt hơn là cast skill kiểu kia nhiều.

Bạn có thể làm mẩu mình 1 cái đc không mình làm không được thanks nhìu :D
 
bác nào có sẵn cái trigger giống courier trong dota không cho em xin, bao gồm item drop, item transfer, hồi thành (cái này em tự viết cũng được, nhanh thôi), disassemble item (cái này không cần cũng không sao). Google cả ngày không kiếm được :-<.
 
Bạn có thể làm mẩu mình 1 cái đc không mình làm không được thanks nhìu :D
Sr có tí nhầm là nó ở mục Unit =.=! Chẳng hạn như là: Player 1 chat -sharevision thì sẽ share vision cho player 2 nhé. Và player 2 thì ko share ngược lại cho player 1 => chỉ player 2 thấy toàn bộ vision của player 1.
Mã:
Events
    Player - Player 1 (Red) types a chat message containing -sharevision as An exact match
Conditions
Actions
    Set VisionGroup = (Units owned by Player 1 (Red))
    Unit Group - Pick every unit in VisionGroup and do (Actions)
        Loop - Actions
            Unit - Grant shared vision of (Picked unit) to Player 2 (Blue)
    Custom script:   call DestroyGroup(udg_VisionGroup)
 
cho mình hỏi trigger Dash này bị sao thế??? bấm vào nó đứng yên lun
Mã:
trigger 1
Sneaking is Good
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Sneaking is Good! 
    Actions
        Set Caster[3] = (Triggering unit)
        Set Temp_loc1 = (Position of Caster[3])
        Set Temp_loc2 = (Target point of ability being cast)
        Set Slide_Angle = (Angle from Temp_loc1 to Temp_loc2)
        Set Slide_Tick = 20
        Set Slide_Distance = (90.00 + (30.00 x (Real(Slide_Tick))))
        Custom script:   call RemoveLocation (udg_Temp_loc1)
        Custom script:   call RemoveLocation (udg_Temp_loc2)

Mã:
trigger 2
Sneaking is Good move
    Events
        Time - Every 0.04 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Slide_Tick Equal to 0
            Then - Actions
                Trigger - Turn off (This trigger)
                Skip remaining actions
            Else - Actions
                Set Slide_Tick = (Slide_Tick - 1)
                Set Temp_loc1 = (Position of Caster[3])
                Set Temp_loc2 = (Temp_loc1 offset by Slide_Distance towards Slide_Angle degrees)
                Unit - Move Caster[3] instantly to Temp_loc2
                Unit - Create 1 Dummy Soulcontroler 2 for (Owner of Caster[3]) at (Target point of ability being cast) facing Default building facing degrees
                Unit - Set level of Howl of Terror  for (Last created unit) to (Level of Sneaking is Good!  for Caster[3])
                Unit - Order (Last created unit) to Neutral Pit Lord - Howl Of Terror
                Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                Custom script:   call RemoveLocation (udg_Temp_loc1)
                Custom script:   call RemoveLocation (udg_Temp_loc2)

giúp giùm mình với!!!
 
cho mình hỏi trigger Dash này bị sao thế??? bấm vào nó đứng yên lun. giúp giùm mình với!!!
Trigger 1 thêm cái Trigger - Turn on Trigger 2 vào. Mới vào game tick = 0 sẵn nên hiển nhiên trigger 2 bị off từ đầu game và mãi ko đc turn on nhờ trigger 1.

Trigger này là để các quân trong Ally ko đánh dc nhau.
Trong map, Player1 và Player 2 là Ally | Player 3 và Player 4 là Ally. Trong Trigger của tớ là khi 1 unit A của Player 1 giết chết unit B của Player 3, thì unit B của Player B sẽ biến thành unit C và Player 3 sẽ thành Ally vs cả Player 1 và 2; và Player 3 sẽ thành Enemy của Player 4.
PS: cậu có yahoo cho t xin hỏi cho tiện :)
1) Hiển nhiên, nó tiếp tục đánh nhau vì Order cũ vẫn còn, dùng trigger đó để ngăn các Ally thực thi order cũ.
2) Xem ở dưới.
3) Hỏi tớ thì cái topic này là tiện nhất rồi đấy;)), chả có bao h đọc PM và trả lời Yh cả. Hỏi dh-g là biết =))
 

Attachments

Có bác nào biết làm số âm trong we ko chỉ cho em với.
 
Mình nghĩ lỗi nằm ở đây và dường như cậu chưa turn on trigger kia :) hy vọng là đúng

cho mình hỏi trigger Dash này bị sao thế??? bấm vào nó đứng yên lun
Mã:
trigger 1
Sneaking is Good
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Sneaking is Good! 
    Actions
        Set Caster[3] = (Triggering unit)
        Set Temp_loc1 = (Position of Caster[3])
        Set Temp_loc2 = (Target point of ability being cast)
        Set Slide_Angle = (Angle from Temp_loc1 to Temp_loc2)
        Set Slide_Tick = 20
        Set Slide_Distance = (90.00 + (30.00 x (Real(Slide_Tick))))
        Custom script:   call RemoveLocation (udg_Temp_loc1)
        Custom script:   call RemoveLocation (udg_Temp_loc2)

Mã:
trigger 2
Sneaking is Good move
    Events
        Time - Every 0.04 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Slide_Tick Equal to 0
            Then - Actions
                Trigger - Turn off (This trigger)
                Skip remaining actions
            Else - Actions
                Set Slide_Tick = (Slide_Tick - 1)
                Set Temp_loc1 = (Position of Caster[3])
                Set Temp_loc2 = (Temp_loc1 offset by Slide_Distance towards Slide_Angle degrees) [COLOR="#FF0000"] [B]Set Temp_loc2 = (Teamp_loc1 offset by 50.00 towards Slide_Angel degrees)[/B][/COLOR]
                Unit - Move Caster[3] instantly to Temp_loc2
                Unit - Create 1 Dummy Soulcontroler 2 for (Owner of Caster[3]) at (Target point of ability being cast) facing Default building facing degrees
                Unit - Set level of Howl of Terror  for (Last created unit) to (Level of Sneaking is Good!  for Caster[3])
                Unit - Order (Last created unit) to Neutral Pit Lord - Howl Of Terror
                Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                Custom script:   call RemoveLocation (udg_Temp_loc1)
                Custom script:   call RemoveLocation (udg_Temp_loc2)

giúp giùm mình với!!!

P/s: èo lonewolf020291 đã trả lời giúp rồi =_=,hix anh Tom vui lòng xóa giúp em bài này,em ko để ý
 
Chỉnh sửa cuối:
Sr có tí nhầm là nó ở mục Unit =.=! Chẳng hạn như là: Player 1 chat -sharevision thì sẽ share vision cho player 2 nhé. Và player 2 thì ko share ngược lại cho player 1 => chỉ player 2 thấy toàn bộ vision của player 1.
Mã:
Events
    Player - Player 1 (Red) types a chat message containing -sharevision as An exact match
Conditions
Actions
    Set VisionGroup = (Units owned by Player 1 (Red))
    Unit Group - Pick every unit in VisionGroup and do (Actions)http://i280.photobucket.com/albums/kk199/Ryanpzo9/FateT.jpg
        Loop - Actions
            Unit - Grant shared vision of (Picked unit) to Player 2 (Blue)
    Custom script:   call DestroyGroup(udg_VisionGroup)

:(( sao không được zậy nè mình làm y trang chỉ khác phần "Unit - Grant shared vision of (Picked unit) to Player 2 (Blue)" là mình chỉnh ra nhiều player khác nữa(2,3,4,5,6) với lại wên nói player 1 là computer và player 1 là địch đối với player 2,3,4,5,6 và 2,3,4,5,6 là bạn không bik có ảnh hưởng zì không thanks nhìu :(
 
player 1 là computer và player 1 là địch đối với player 2,3,4,5,6 và 2,3,4,5,6 là bạn không bik có ảnh hưởng zì không thanks nhìu :(

Tức là h cần share vision của player 1 sang cho 2 3 4 5 6 hở? Tức là 2 3 4 5 6 sẽ thấy toàn bộ của 1 hay gì?
 
Mình nghĩ lỗi nằm ở đây và dường như cậu chưa turn on trigger kia :) hy vọng là đúng



P/s: èo lonewolf020291 đã trả lời giúp rồi =_=,hix anh Tom vui lòng xóa giúp em bài này,em ko để ý

đúng là như thế, tks cậu nhìu nha

---------- Post added at 16:47 ---------- Previous post was at 15:37 ----------

ah, nhưng h gặp thêm lỗi nữa là khi tảget vào một point thì nó bay cực kỳ xa, bay tới tận cùng map luôn. H sao??
Mã:
Sneaking is Good
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Sneaking is Good! 
    Actions
        Set Caster[3] = (Triggering unit)
        Set Temp_loc1 = (Position of Caster[3])
        Set Temp_loc2 = (Target point of ability being cast)
        Set Slide_Angle = (Angle from Temp_loc1 to Temp_loc2)
        Set Slide_Tick = 10
        Set Slide_Distance = (Distance between Temp_loc1 and Temp_loc2)
        Trigger - Turn on Sneaking is Good move <gen>
        Custom script:   call RemoveLocation (udg_Temp_loc1)
        Custom script:   call RemoveLocation (udg_Temp_loc2)
Mã:
Sneaking is Good move
    Events
        Time - Every 0.01 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Slide_Tick Equal to 0
            Then - Actions
                Special Effect - Destroy (Last created special effect)
                Trigger - Turn off (This trigger)
                Skip remaining actions
            Else - Actions
                Set Slide_Tick = (Slide_Tick - 1)
                Set Temp_loc1 = (Position of Caster[3])
                Set Temp_loc2 = (Temp_loc1 offset by Slide_Distance towards Slide_Angle degrees)
                Unit - Move Caster[3] instantly to Temp_loc2
                Unit - Create 1 Dummy Soulcontroler 2 for (Owner of Caster[3]) at Temp_loc2 facing Default building facing degrees
                Unit - Set level of Howl of Terror  for (Last created unit) to (Level of Sneaking is Good!  for Caster[3])
                Unit - Order (Last created unit) to Neutral Pit Lord - Howl Of Terror
                Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                Special Effect - Create a special effect attached to the hands of Caster[3] using Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
                Custom script:   call RemoveLocation (udg_Temp_loc1)
                Custom script:   call RemoveLocation (udg_Temp_loc2)
 
Tức là h cần share vision của player 1 sang cho 2 3 4 5 6 hở? Tức là 2 3 4 5 6 sẽ thấy toàn bộ của 1 hay gì?

Yup 2-3-4-5-6 thấy all unit của 1 và ngược lại thì ko lúc mới zô map lun ấy, nhưg có cần phải share vision lun ko :( ? mình muốn zo map là thấy liền, thanks :D
 
cho hỏi nếu muốn làm cho 1 skill x theo Level thì làm thế nào ? ví dụ skill đó có 5 bậc mỗi bậc là x lên ? Level 1 X 1 , Level X 2 , Level 3 X 3 ,
 
đúng là như thế, tks cậu nhìu nha
ah, nhưng h gặp thêm lỗi nữa là khi tảget vào một point thì nó bay cực kỳ xa, bay tới tận cùng map luôn. H sao??
Mã:
Sneaking is Good
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Sneaking is Good! 
    Actions
        Set Caster[3] = (Triggering unit)
        Set Temp_loc1 = (Position of Caster[3])
        Set Temp_loc2 = (Target point of ability being cast)
        Set Slide_Angle = (Angle from Temp_loc1 to Temp_loc2)
        Set Slide_Tick = 10
[COLOR="#FF0000"]        Set Slide_Distance = (Distance between Temp_loc1 and Temp_loc2)[/COLOR]
        Trigger - Turn on Sneaking is Good move <gen>
        Custom script:   call RemoveLocation (udg_Temp_loc1)
        Custom script:   call RemoveLocation (udg_Temp_loc2)
Mã:
Sneaking is Good move
    Events
        Time - Every 0.01 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Slide_Tick Equal to 0
            Then - Actions
[COLOR="#FF0000"]                Special Effect - Destroy (Last created special effect)[/COLOR]
                Trigger - Turn off (This trigger)
                Skip remaining actions
            Else - Actions
                Set Slide_Tick = (Slide_Tick - 1)
                Set Temp_loc1 = (Position of Caster[3])
                Set Temp_loc2 = (Temp_loc1 offset by Slide_Distance towards Slide_Angle degrees)
                Unit - Move Caster[3] instantly to Temp_loc2
                Unit - Create 1 Dummy Soulcontroler 2 for (Owner of Caster[3]) at Temp_loc2 facing Default building facing degrees
                Unit - Set level of Howl of Terror  for (Last created unit) to (Level of Sneaking is Good!  for Caster[3])
                Unit - Order (Last created unit) to Neutral Pit Lord - Howl Of Terror
                Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
[COLOR="#FF0000"]                Special Effect - Create a special effect attached to the hands of Caster[3] using Abilities\Weapons\IllidanMissile\IllidanMissile.mdl[/COLOR]
                Custom script:   call RemoveLocation (udg_Temp_loc1)
                Custom script:   call RemoveLocation (udg_Temp_loc2)

Chỗ màu đỏ là chỗ cần sửa ấy. Trigger đầu, Set Slide_Distance = (Distance between Temp_loc1 and Temp_loc2) thì khoảng cách move sẽ là gấp 10 lần khoảng cách sửa caster và target. Giả sử khoảng cách giữa caster và target là 600 thì khi cast skill sẽ move đi 6k range. Bạn nên sửa lại là 1 số khác.

Còn trigger sau, Special effect bạn nên set = 1 biến và nên tạo special effect ở trigger đầu, trigger sau chỉ xóa biến chứa special effect đó thôi
 
Status
Không mở trả lời sau này.
Back
Top