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


Ram Laptop DDR3, Ổ Cứng SSD Giá Siêu Tốt tại zShop.vn



Trang 1 / 174 1231151101 ... Cuối cùngCuối cùng
Hiển thị kết quả 1 đến 10 trên tổng số 1737

Chủ đề: Topic hỏi đáp về cách làm map | version 14

  1. #1
    Ngày tham gia
    28-12-2006
    Đến từ
    Hà Nội
    Bài viết
    3,436
    Rep Power
    34

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

    Anh em có vấn đề gì về cách làm map hãy hỏi, ai biết sẽ trả lời.

    Nghiêm cấm việc:
    - ko trả lời mà cứ chat nhảm
    - trả lời ko rõ ràng
    - trả lời với "hình như"

    Khi trả lời nếu có trigger phải cho vào code tag: [code]<trigger cho vô đây>[/code] hoặc dùng biểu tượng:

    Trả lời câu hỏi của ai, ở post nào phải quote (trích dẫn) rõ ràng.

    ai muốn "thank" người đã giúp mình thì thay vì post 1 bài nói thank hãy click vào biểu tượng để thank (chú ý: ai chưa post đủ 50 bài sẽ ko thấy nút "Thanks", muốn thank thì vào profile của ng` kia, dùng VM (Visitor Message - Lời Nhắn) để thank)

    à trước khi hỏi gì, hãy đọc các topic chú ý:
    - Một số bài viết đáng chú ý của box
    - Tổng hợp các bài hướng dẫn
    - WE - object toàn thư
    Đồng thời tìm kiếm trong các topic hỏi đáp:

    ----
    ai có vấn đề gì ở topic cũ mà chưa đc trả lời hãy quote sang đây (chỉ đc quote 24h 1 lần với mỗi vấn đề chưa đc trả lời)

    ----------------------------
    CHỦ ĐỀ TƯƠNG TỰ:
    "Any sufficiently advanced technology is indistinguishable from magic" - Arthur C. Clarke

  2. #2
    Ngày tham gia
    27-09-2007
    Đến từ
    Đà Nẵng
    Bài viết
    556
    Rep Power
    22
    cho mình hỏi 1 vấn đề nữa là. làm sao để bán Item "vỏ" vd Item A cần nhập từ B+C. và cái recipe iteam A là 500 chẳng hạn. làm sao để khi mua Iteam A mà chưa có B và C thì nó ra tờ công thức. còn có B C rồi thi nó ép thành item A. chứ làm như basic thì bán item A mà mình mua thì dù chưa có B C nó vẫn hiện ra Icon item A. làm người chơi không nhận biết được đã ép item chưa


  3. #3
    Ngày tham gia
    13-11-2011
    Đến từ
    Darkness
    Bài viết
    161
    Rep Power
    6
    Làm 3 cái Item, 1 cái thật, 2 cái kia giả và 1 cái có hình cái sớ. Rồi dùng trigger (đang ở ngoài quán net nên chỉ nói đc sơ qua vậy thui)


  4. #4
    Ngày tham gia
    25-04-2009
    Bài viết
    13
    Rep Power
    0
    cho em hỏi cách làm Bottle như trong DotA như thế nào??

    ---------- Post added at 16:22 ---------- Previous post was at 16:18 ----------

    và cả cách làm skill Sun Strike của Invoker nữa ( trừ phần damage ) ( xin lỗi vì em không biết phải lấy ví dụ ntn nên đành lấy của DotA =.=" )


  5. #5
    Ngày tham gia
    13-11-2011
    Đến từ
    Darkness
    Bài viết
    161
    Rep Power
    6
    Tạo item 4 item có icon bottle đầy, 2/3 bình, 1/3 bình và hết bình (ko tính runner). Tạo trigger khi sử dụng sẽ remove cái bottle hiện tại đi và thay vào là cái bottle ít hơn (nhớ check bằng conditions), khi về đến giếng thì lại thay cái bottle đầy vào.


  6. #6
    Ngày tham gia
    28-08-2010
    Bài viết
    49
    Rep Power
    0
    Xin hỏi có thế làm ẩn icom của một item trong shop sau khi mua item đó không? nếu có thì làm thế nào?


  7. #7
    Ngày tham gia
    25-04-2009
    Bài viết
    13
    Rep Power
    0
    Trích dẫn Từ bài viết của Drakkar Knight Xem bài
    Tạo item 4 item có icon bottle đầy, 2/3 bình, 1/3 bình và hết bình (ko tính runner). Tạo trigger khi sử dụng sẽ remove cái bottle hiện tại đi và thay vào là cái bottle ít hơn (nhớ check bằng conditions), khi về đến giếng thì lại thay cái bottle đầy vào.
    bước đấy thì em biết rồi =.=" ý em hỏi là hỏi phần Trigger ấy =.="


  8. #8
    Ngày tham gia
    13-11-2011
    Đến từ
    Darkness
    Bài viết
    161
    Rep Power
    6
    Trích dẫn Từ bài viết của viet8426 Xem bài
    bước đấy thì em biết rồi =.=" ý em hỏi là hỏi phần Trigger ấy =.="
    Triger 1:
    Bottle
    Events
    Unit - A unit Starts the effect of an ability
    Conditions
    (Ability being cast) Equal to Healing Salve
    Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    ((Triggering unit) has an item of type Bottle 3/3) Equal to True
    Then - Actions
    Wait 3.00 seconds
    Item - Remove (Item carried by (Triggering unit) of type Bottle 3/3)
    Hero - Create Bottle 2/3 and give it to (Triggering unit)
    Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    ((Triggering unit) has an item of type Bottle 2/3) Equal to True
    Then - Actions
    Wait 3.00 seconds
    Item - Remove (Item carried by (Triggering unit) of type Bottle 2/3)
    Hero - Create Bottle 1/3 and give it to (Triggering unit)
    Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    ((Triggering unit) has an item of type Bottle 1/3) Equal to True
    Then - Actions
    Wait 3.00 seconds
    Item - Remove (Item carried by (Triggering unit) of type Bottle 1/3)
    Hero - Create Bottle 0/3 and give it to (Triggering unit)
    Else - Actions
    Trigger 2:
    Bottle 2
    Events
    Time - Every 0.10 seconds of game time
    Conditions
    Actions
    Set Point = (Position of Fountain of Health 0001 <gen>)
    Set Group = (Units within 500.00 of Point matching ((((Matching unit) has an item of type Bottle 2/3) Equal to True) or ((((Matching unit) has an item of type Bottle 1/3) Equal to True) or (((Matching unit) has an item of type Bottle 0/3) Equal to True))))
    Unit Group - Pick every unit in Group and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    ((Picked unit) has an item of type Bottle 2/3) Equal to True
    Then - Actions
    Item - Remove (Item carried by (Picked unit) of type Bottle 2/3)
    Hero - Create Bottle 3/3 and give it to (Picked unit)
    Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    ((Picked unit) has an item of type Bottle 1/3) Equal to True
    Then - Actions
    Item - Remove (Item carried by (Picked unit) of type Bottle 1/3)
    Hero - Create Bottle 3/3 and give it to (Picked unit)
    Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    ((Picked unit) has an item of type Bottle 0/3) Equal to True
    Then - Actions
    Item - Remove (Item carried by (Picked unit) of type Bottle 0/3)
    Hero - Create Bottle 3/3 and give it to (Picked unit)
    Else - Actions
    Custom script: call RemoveLocation(udg_Point)
    Custom script: call DestroyGroup(udg_Group)


  9. #9
    Ngày tham gia
    27-09-2007
    Đến từ
    Đà Nẵng
    Bài viết
    556
    Rep Power
    22
    Trích dẫn Từ bài viết của Drakkar Knight Xem bài
    Làm 3 cái Item, 1 cái thật, 2 cái kia giả và 1 cái có hình cái sớ. Rồi dùng trigger (đang ở ngoài quán net nên chỉ nói đc sơ qua vậy thui)
    nói kĩ hơn đi


  10. #10
    Ngày tham gia
    13-11-2011
    Đến từ
    Darkness
    Bài viết
    161
    Rep Power
    6
    Trích dẫn Từ bài viết của viet8426 Xem bài
    bước đấy thì em biết rồi =.=" ý em hỏi là hỏi phần Trigger ấy =.="
    Ý quên ko bỏ vào code ^^
    Trigger 1:
    Code:
    Bottle
        Events
            Unit - A unit Starts the effect of an ability
        Conditions
            (Ability being cast) Equal to Healing Salve
        Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    ((Triggering unit) has an item of type Bottle 3/3) Equal to True
                Then - Actions
                    Wait 3.00 seconds
                    Item - Remove (Item carried by (Triggering unit) of type Bottle 3/3)
                    Hero - Create Bottle 2/3 and give it to (Triggering unit)
                Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            ((Triggering unit) has an item of type Bottle 2/3) Equal to True
                        Then - Actions
                            Wait 3.00 seconds
                            Item - Remove (Item carried by (Triggering unit) of type Bottle 2/3)
                            Hero - Create Bottle 1/3 and give it to (Triggering unit)
                        Else - Actions
                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                If - Conditions
                                    ((Triggering unit) has an item of type Bottle 1/3) Equal to True
                                Then - Actions
                                    Wait 3.00 seconds
                                    Item - Remove (Item carried by (Triggering unit) of type Bottle 1/3)
                                    Hero - Create Bottle 0/3 and give it to (Triggering unit)
                                Else - Actions
    Trigger 2:
    Code:
    Bottle 2
        Events
            Time - Every 0.10 seconds of game time
        Conditions
        Actions
            Set Point = (Position of Fountain of Health 0001 <gen>)
            Set Group = (Units within 500.00 of Point matching ((((Matching unit) has an item of type Bottle 2/3) Equal to True) or ((((Matching unit) has an item of type Bottle 1/3) Equal to True) or (((Matching unit) has an item of type Bottle 0/3) Equal to True))))
            Unit Group - Pick every unit in Group and do (Actions)
                Loop - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            ((Picked unit) has an item of type Bottle 2/3) Equal to True
                        Then - Actions
                            Item - Remove (Item carried by (Picked unit) of type Bottle 2/3)
                            Hero - Create Bottle 3/3 and give it to (Picked unit)
                        Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            ((Picked unit) has an item of type Bottle 1/3) Equal to True
                        Then - Actions
                            Item - Remove (Item carried by (Picked unit) of type Bottle 1/3)
                            Hero - Create Bottle 3/3 and give it to (Picked unit)
                        Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            ((Picked unit) has an item of type Bottle 0/3) Equal to True
                        Then - Actions
                            Item - Remove (Item carried by (Picked unit) of type Bottle 0/3)
                            Hero - Create Bottle 3/3 and give it to (Picked unit)
                        Else - Actions
            Custom script:   call RemoveLocation(udg_Point)
            Custom script:   call DestroyGroup(udg_Group)


    ---------- Post added at 17:10 ---------- Previous post was at 17:08 ----------

    Trích dẫn Từ bài viết của zzchaolegionzz Xem bài
    nói kĩ hơn đi
    Cho cái map demo nè: http://www.mediafire.com/download.php?diwtutnfthb9nom


Trang 1 / 174 1231151101 ... Cuối cùngCuối cùng

Bookmarks

Bookmarks

Quyền hạn

  • Bạn không thể gửi bài mới
  • Bạn không thể gửi trả lời
  • Bạn không thể gửi kèm files
  • Bạn không thể sửa bài đã gửi
  •  
>