Kỹ Thuật WorldEditor

Thảo luận trong 'World Editor' bắt đầu bởi dh-g, 3/2/10.

  1. 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
    Giải mã đẩn gì mà điều không thể làm được là có thể
    hướng đẩn đầy đủ và show tác phẩm của mình

    Nội quy như anh tom
    còn đây là chỉ đẩn đầy đủ mình biết và show lên topic này :)

    cảm thấy hài lòng hay gì gì thì ko cần quote rồi khen đâu. Muốn khen thì cộng rep ([​IMG]) rồi comment luôn ấy.-----
    Ai có spell nào và System hay,... cứ post vào, chia sẻ cho anh em
    .

    ____________________________________________________________




    Tạo một Computer có thể là Observer trong Dota
    [​IMG]


    Mã:
    Map Initialization
        Events
            Map initialization
        Conditions
        Actions
            Player - Hide Player 1 (Red) in the post-game score screen
            Player - Hide Player 7 (Green) in the post-game score screen
            Player - Set name of Neutral Hostile to Neutral creeps
            Player - Make Player 1 (Red) treat Player 7 (Green) as an Enemy
            Player - Make Player 1 (Red) treat Player 8 (Pink) as an Enemy
            Player - Make Player 1 (Red) treat Player 9 (Gray) as an Enemy
            Player - Make Player 1 (Red) treat Player 10 (Light Blue) as an Enemy
            Player - Make Player 1 (Red) treat Player 11 (Dark Green) as an Enemy
            Player - Make Player 1 (Red) treat Player 12 (Brown) as an Enemy
            Player - Make Player 2 (Blue) treat Player 7 (Green) as an Enemy
            Player - Make Player 2 (Blue) treat Player 8 (Pink) as an Enemy
            Player - Make Player 2 (Blue) treat Player 9 (Gray) as an Enemy
            Player - Make Player 2 (Blue) treat Player 10 (Light Blue) as an Enemy
            Player - Make Player 2 (Blue) treat Player 11 (Dark Green) as an Enemy
            Player - Make Player 2 (Blue) treat Player 12 (Brown) as an Enemy
            Player - Make Player 3 (Teal) treat Player 7 (Green) as an Enemy
            Player - Make Player 3 (Teal) treat Player 8 (Pink) as an Enemy
            Player - Make Player 3 (Teal) treat Player 9 (Gray) as an Enemy
            Player - Make Player 3 (Teal) treat Player 10 (Light Blue) as an Enemy
            Player - Make Player 3 (Teal) treat Player 11 (Dark Green) as an Enemy
            Player - Make Player 3 (Teal) treat Player 12 (Brown) as an Enemy
            Player - Make Player 4 (Purple) treat Player 7 (Green) as an Enemy
            Player - Make Player 4 (Purple) treat Player 8 (Pink) as an Enemy
            Player - Make Player 4 (Purple) treat Player 8 (Pink) as an Enemy
            Player - Make Player 4 (Purple) treat Player 10 (Light Blue) as an Enemy
            Player - Make Player 4 (Purple) treat Player 11 (Dark Green) as an Enemy
            Player - Make Player 4 (Purple) treat Player 12 (Brown) as an Enemy
            Player - Make Player 5 (Yellow) treat Player 7 (Green) as an Enemy
            Player - Make Player 5 (Yellow) treat Player 8 (Pink) as an Enemy
            Player - Make Player 5 (Yellow) treat Player 9 (Gray) as an Enemy
            Player - Make Player 5 (Yellow) treat Player 10 (Light Blue) as an Enemy
            Player - Make Player 5 (Yellow) treat Player 11 (Dark Green) as an Enemy
            Player - Make Player 5 (Yellow) treat Player 12 (Brown) as an Enemy
            Player - Make Player 6 (Orange) treat Player 7 (Green) as an Enemy
            Player - Make Player 6 (Orange) treat Player 8 (Pink) as an Enemy
            Player - Make Player 6 (Orange) treat Player 9 (Gray) as an Enemy
            Player - Make Player 6 (Orange) treat Player 10 (Light Blue) as an Enemy
            Player - Make Player 6 (Orange) treat Player 11 (Dark Green) as an Enemy
            Player - Make Player 6 (Orange) treat Player 12 (Brown) as an Enemy
            Player - Make Player 7 (Green) treat Player 1 (Red) as an Enemy
            Player - Make Player 7 (Green) treat Player 2 (Blue) as an Enemy
            Player - Make Player 7 (Green) treat Player 3 (Teal) as an Enemy
            Player - Make Player 7 (Green) treat Player 4 (Purple) as an Enemy
            Player - Make Player 7 (Green) treat Player 5 (Yellow) as an Enemy
            Player - Make Player 7 (Green) treat Player 6 (Orange) as an Enemy
            Player - Make Player 8 (Pink) treat Player 1 (Red) as an Enemy
            Player - Make Player 8 (Pink) treat Player 2 (Blue) as an Enemy
            Player - Make Player 8 (Pink) treat Player 3 (Teal) as an Enemy
            Player - Make Player 8 (Pink) treat Player 4 (Purple) as an Enemy
            Player - Make Player 8 (Pink) treat Player 5 (Yellow) as an Enemy
            Player - Make Player 8 (Pink) treat Player 6 (Orange) as an Enemy
            Player - Make Player 9 (Gray) treat Player 1 (Red) as an Enemy
            Player - Make Player 9 (Gray) treat Player 2 (Blue) as an Enemy
            Player - Make Player 9 (Gray) treat Player 3 (Teal) as an Enemy
            Player - Make Player 9 (Gray) treat Player 4 (Purple) as an Enemy
            Player - Make Player 9 (Gray) treat Player 5 (Yellow) as an Enemy
            Player - Make Player 9 (Gray) treat Player 6 (Orange) as an Enemy
            Player - Make Player 10 (Light Blue) treat Player 1 (Red) as an Enemy
            Player - Make Player 10 (Light Blue) treat Player 2 (Blue) as an Enemy
            Player - Make Player 10 (Light Blue) treat Player 3 (Teal) as an Enemy
            Player - Make Player 10 (Light Blue) treat Player 4 (Purple) as an Enemy
            Player - Make Player 10 (Light Blue) treat Player 5 (Yellow) as an Enemy
            Player - Make Player 10 (Light Blue) treat Player 6 (Orange) as an Enemy
            Player - Make Player 11 (Dark Green) treat Player 1 (Red) as an Enemy
            Player - Make Player 11 (Dark Green) treat Player 2 (Blue) as an Enemy
            Player - Make Player 11 (Dark Green) treat Player 3 (Teal) as an Enemy
            Player - Make Player 11 (Dark Green) treat Player 4 (Purple) as an Enemy
            Player - Make Player 11 (Dark Green) treat Player 5 (Yellow) as an Enemy
            Player - Make Player 11 (Dark Green) treat Player 6 (Orange) as an Enemy
            Player - Make Player 12 (Brown) treat Player 1 (Red) as an Enemy
            Player - Make Player 12 (Brown) treat Player 2 (Blue) as an Enemy
            Player - Make Player 12 (Brown) treat Player 3 (Teal) as an Enemy
            Player - Make Player 12 (Brown) treat Player 4 (Purple) as an Enemy
            Player - Make Player 12 (Brown) treat Player 5 (Yellow) as an Enemy
            Player - Make Player 12 (Brown) treat Player 6 (Orange) as an Enemy
            Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision
            Player - Make Player 1 (Red) treat Player 3 (Teal) as an Ally with shared vision
            Player - Make Player 1 (Red) treat Player 4 (Purple) as an Ally with shared vision
            Player - Make Player 1 (Red) treat Player 5 (Yellow) as an Ally with shared vision
            Player - Make Player 1 (Red) treat Player 6 (Orange) as an Ally with shared vision
            Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision and shared units
            Player - Make Player 3 (Teal) treat Player 1 (Red) as an Ally with shared vision and shared units
            Player - Make Player 4 (Purple) treat Player 1 (Red) as an Ally with shared vision and shared units
            Player - Make Player 5 (Yellow) treat Player 1 (Red) as an Ally with shared vision and shared units
            Player - Make Player 6 (Orange) treat Player 1 (Red) as an Ally with shared vision and shared units
            Player - Make Player 7 (Green) treat Player 8 (Pink) as an Ally with shared vision
            Player - Make Player 7 (Green) treat Player 9 (Gray) as an Ally with shared vision
            Player - Make Player 7 (Green) treat Player 10 (Light Blue) as an Ally with shared vision
            Player - Make Player 7 (Green) treat Player 11 (Dark Green) as an Ally with shared vision
            Player - Make Player 7 (Green) treat Player 12 (Brown) as an Ally with shared vision
            Player - Make Player 8 (Pink) treat Player 7 (Green) as an Ally with shared vision and shared units
            Player - Make Player 9 (Gray) treat Player 7 (Green) as an Ally with shared vision and shared units
            Player - Make Player 10 (Light Blue) treat Player 7 (Green) as an Ally with shared vision and shared units
            Player - Make Player 11 (Dark Green) treat Player 7 (Green) as an Ally with shared vision and shared units
            Player - Make Player 12 (Brown) treat Player 7 (Green) as an Ally with shared vision and shared units
            Player - Hide Player 1 (Red) in the post-game score screen
            Player - Hide Player 7 (Green) in the post-game score screen
            Player - Set name of Neutral Hostile to Creeps Neutral
            Player - Make Player 1 (Red) treat Neutral Hostile as an Ally with shared vision
            Player - Make Player 7 (Green) treat Neutral Hostile as an Ally with shared vision
            Player - Make Player 1 (Red) treat Neutral Victim as an Ally with shared vision and shared units
            Player - Make Player 7 (Green) treat Neutral Extra as an Ally with shared vision and shared units
            Player - Make Neutral Passive treat Player 2 (Blue) as an Ally
            Player - Make Neutral Passive treat Player 3 (Teal) as an Ally
            Player - Make Neutral Passive treat Player 4 (Purple) as an Ally
            Player - Make Neutral Passive treat Player 5 (Yellow) as an Ally
            Player - Make Neutral Passive treat Player 6 (Orange) as an Ally
            Player - Make Neutral Passive treat Player 8 (Pink) as an Ally
            Player - Make Neutral Passive treat Player 9 (Gray) as an Ally
            Player - Make Neutral Passive treat Player 10 (Light Blue) as an Ally
            Player - Make Neutral Passive treat Player 11 (Dark Green) as an Ally
            Player - Make Neutral Passive treat Player 12 (Brown) as an Ally
            Player - Make Neutral Passive treat Player 1 (Red) as an Ally
            Player - Make Neutral Passive treat Player 6 (Orange) as an Ally
    
    ____________________________________________________



    Cách làm nhặt Items ở ngoài của Circle of Power trong dota

    Mã:
    Pick all Items 1
        Events
            Unit - A unit Starts the effect of an ability
        Conditions
            (Ability being cast) Equal to Pick all Items 
        Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Owner of (Triggering unit)) Equal to Player 2 (Blue)
                Then - Actions
                    Hero - Give (Random item in Player 2 <gen>) to (Triggering unit)
                    Hero - Give (Random item in Player 2 <gen>) to (Triggering unit)
                    Hero - Give (Random item in Player 2 <gen>) to (Triggering unit)
                    Hero - Give (Random item in Player 2 <gen>) to (Triggering unit)
                    Hero - Give (Random item in Player 2 <gen>) to (Triggering unit)
                    Hero - Give (Random item in Player 2 <gen>) to (Triggering unit)
    
                Else - Actions
    
    Player 2 <gen> là một Region để tại trong của Circle of Power
    [​IMG]

    đây là một Skill của Orb Tauren tên là Wat Stomp
    Pick all Items mình chỉ cho nó
    có thời gian cooldown và không có damage

    ____________________________________________________



    Cách làm bỏ Items ở ngoài của Circle of Power trong dota

    Mã:
    Drops Items
        Events
            Unit - A unit Starts the effect of an ability
        Conditions
            (Ability being cast) Equal to Drops Items 
        Actions
            Hero - Drop the item from slot 1 of (Triggering unit)
            Hero - Drop the item from slot 2 of (Triggering unit)
            Hero - Drop the item from slot 3 of (Triggering unit)
            Hero - Drop the item from slot 4 of (Triggering unit)
            Hero - Drop the item from slot 5 of (Triggering unit)
            Hero - Drop the item from slot 6 of (Triggering unit)
    

    ________________________________________

    Theo một cấp độ nào đó cho Items được nâng cấp như DDay

    Mã:
    LevelUp Items
        Events
            Unit - A unit Gains a level
        Conditions
            And - All (Conditions) are true
                Conditions
                    (Real((Hero level of (Triggering unit)))) Greater than or equal to 4.00
                    ((Item carried by (Triggering unit) of type Cloak of Flames Level 1) is owned) Equal to True
        Actions
            Item - Remove (Item carried by (Triggering unit) of type Cloak of Flames Level 1)
            Hero - Create Cloak of Flames Level 2 and give it to (Triggering unit)
            Game - Display to (Player group((Owner of (Last created item)))) the text: ((Name of (Last created item)) +  Have been upgraded.)
    
    (Real((Hero level of (Triggering unit)))) Greater than or equal to 4.00
    cấp độ cho lên lv
    ví dụ trong hero khi lên lv không thập hơn lv 4 thì cho lên check lên Unit - A unit Gains a level sẻ Remove một Items Cloak of Flames Level 1 và cung cấp Cloak of Flames Level 2
     
    Chỉnh sửa cuối: 3/2/10
  2. kingwar2010

    kingwar2010 T.E.T.Я.I.S

    Tham gia ngày:
    6/11/09
    Bài viết:
    554
    Nơi ở:
    TP.HCM
    up maps demo cho copy lẹ,chỉnh lâu lắm :|
    làm biến đọc chữ quá, sắp bị cận nặng rùi :(
     
    Chỉnh sửa cuối: 3/2/10
  3. 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à sao topic này không ai cống hiến vậy :|
    tạo vì cống hiến spell mà có 1 minh tôi cống hiến :|
     
  4. Tom_Kazansky

    Tom_Kazansky

    Tham gia ngày:
    28/12/06
    Bài viết:
    3,454
    Nơi ở:
    Hà Nội

Chia sẻ trang này