Topic hỏi đáp cho anh em (Về cách làm map)

Status
Không mở trả lời sau này.
ùi ... tính time cần gì dài dòng thế anh .... nho nhỏ thế này em cũng thấy ổn mà

Mã:
SetTimer
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked player) Food used) Greater than or equal to 59
                    Then - Actions
                        Player - Add 1 to (Picked player) Current lumber
                        Player - Set (Picked player) Food used to 0
                    Else - Actions
                        Player - Add 1 to (Picked player) Food used
 
Xài WE bản gì thế:| Sao WE của mình kô có dòng này nhỉ :-/?:
Mã:
Player - Set (Picked player) Food used to 0
 
@GW : hình như là dòn set Player Pro... ( ngay dòng đầu ấy )
@shark : show / hide unit cũng làm mất locust
@kick : http://forum.gamevn.com/showpost.php?p=7520482&postcount=136 giống dday
http://forum.gamevn.com/showpost.php?p=11167043&postcount=151 giống dota
@Yan : sử dụng event unit spell effect :| hoặc cho B là skill ảo ( sau đó trong unit biến thành của A thì cho abi B và set lv )

WE của tớ cái đấy nó nằm riêng ra một dòng nên kô thấy......
 
Vào phần Advanced > Gameplay Interface > Icon - Food/ Icon - Lumber.

Mình làm dc rồi,cám ơn bạn ^^
Cho hỏi trong 1 map,mình set 2 team như sau : phe player và phe Computer10 + Computer 11.Mình muốn sau khi boss chính bên Computer11 bị phe mình đánh còn khoảng 3500hp thì Computer11 chuyển sang thành cùng phe với mình chống lại Computer10.Cho hỏi trigger có sai chỗ nào ko T____T

Naga King 2
Events
Unit - Mountain King 0165 <gen>'s life becomes Less than 3500.00
Conditions
Actions
Unit - Pause all units
Cinematic - Turn cinematic mode On for (All players)
Wait 1.00 seconds
Cinematic - Send transmission to (All players) from Teruza 0116 <gen> named Teruza - Lord of Dr...: Play No sound and display Naga King,you was l.... Modify duration: Add 0.00 seconds and Wait
Wait 3.00 seconds
Cinematic - Send transmission to (All players) from Mountain King 0165 <gen> named Naga King: Play No sound and display If you give me and .... Modify duration: Add 0.00 seconds and Wait
Wait 3.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
Unit - Unpause all units
Player - Make Player 10 (Light Blue) treat Player 11 (Dark Green) as an Enemy
Player - Make Player 9 (Gray) treat Player 11 (Dark Green) as an Ally
Unit - Move Altar of the Depths 0141 <gen> instantly to (Center of Naga Changes Ally <gen>)
Trigger - Turn on Naga King 3 <gen>

Ngoài ra cho hỏi sao khi set camera quay bám sát theo 1 boss ( Lock camera target to unit ) thì làm sao tắt chế độ quay đó,mình đã dùng Stop Camera mà ko dc ?___?
 
@Yan : sử dụng event unit spell effect :| hoặc cho B là skill ảo ( sau đó trong unit biến thành của A thì cho abi B và set lv )

Có thể hướng dẫn cho mình cụ thể hơn ko? Mình cũng hiểu nôm na cách làm nhưng cụ thể như nào thì mình chịu. Nếu có map demo thì tốt quá! :)
 
Chưa ai trả lời giúp T____T Anh Tom giúp em >"<
 
sao ma` lam`duc cho map ma` chon tuong ay can` xay nha` ra tuong ko bik cach nao` de moi vo cho no lam` dc giong map tong hop? co ai chi~ em ko:)
 
sao ma` lam`duc cho map ma` chon tuong ay can` xay nha` ra tuong ko bik cach nao` de moi vo cho no lam` dc giong map tong hop? co ai chi~ em ko:)

Mình ước sao mình hiểu dc bạn nói gì =.= Mà hình như nhầm topic rồi bạn ~.~

EDIT: viết tiếng việt có dấu đi bạn
 
Sao em chỉnh nền trời không được nhỉ? Lúc ở trong World Editor thì em chỉnh = cách "File >Preferences", nhìn thì được nhưng lúc test map thì lại chẳng thấy nền trời đâu hết ák :(
 
Cho tui hỏi 2 câu
-> tui có làm 1 số Map,sau khi upload lên patch 1.23 thì vào game nó biến mất 8-}. Mặc dù còn có mấy Map tui down về ( Map combine Item) thì xài được còn MAp tui đang làm thì mất tích (nhưng vẫn có trong Folders Map và mở bằng WE được nhưng vào game lại không thấy 8-})
-> Cho hỏi cách làm 1 Map Campaign (tức nhìu MAp gộp lại thành 1 Campaign)
Giúp dùm,plz :D
 
@Drangonangia: bạn có thể nghiên cứu cái này bằng cách vào Campaign Editor(F7) rồi Open cái DemoCapaign.w3n, có cách từ cửa này sang cửa khác đó.
 
muốn cho hero lên 1 cấp nào đó thì tiến hóa thì hero khác(giống map VLTK ngày xưa up lên tầng 1,2,3) thì add trigger thế nào vậy mấy bác
 
như vậy nè :
Varibles :
_TempLoc ( Point )
_CreatedUnit ( Unit )
Mã:
Hero Up
    Events
        Unit - A unit Gains a level
    Conditions
        (Unit-type of (Triggering unit)) Equal to Paladin
        (Level of (Triggering unit)) Equal to 10
        ((Triggering unit) is an illusion) Equal to False
        ((Triggering unit) is A Hero) Equal to True
    Actions
        Set TempLoc = (Position of (Triggering unit))
        Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Other\Levelup\LevelupCaster.mdl
        Special Effect - Destroy (Last created special effect)
        Unit - Make (Triggering unit) Invulnerable
        Unit - Pause all units
        Cinematic - Disable user control for (All players)
        Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.00 seconds
        Camera - Rotate camera 360.00 degrees around TempLoc for (Owner of (Triggering unit)) over 7.00 seconds
        Wait 9.00 seconds
        Cinematic - Enable user control for (All players)
        Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 0.00 seconds
        Unit - Create 1 Mountain King for (Owner of (Triggering unit)) at TempLoc facing Default building facing degrees
        Set CreatedUnit = (Last created unit)
        Special Effect - Create a special effect attached to the overhead of CreatedUnit using Abilities\Spells\Other\Levelup\LevelupCaster.mdl
        Special Effect - Destroy (Last created special effect)
        Unit - Unpause all units
        Hero - Give (Item carried by (Triggering unit) in slot 1) to CreatedUnit
        Hero - Give (Item carried by (Triggering unit) in slot 2) to CreatedUnit
        Hero - Give (Item carried by (Triggering unit) in slot 3) to CreatedUnit
        Hero - Give (Item carried by (Triggering unit) in slot 4) to CreatedUnit
        Hero - Give (Item carried by (Triggering unit) in slot 5) to CreatedUnit
        Hero - Give (Item carried by (Triggering unit) in slot 6) to CreatedUnit
        Unit - Remove (Triggering unit) from the game
        Custom script:   call RemoveLocation (udg_TempLoc)
ko hiểu thì mở map demo ra xem
 

Attachments

Mình có 1 cái trigger đơn giản như này :

Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Hardened Skin
Actions
Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Human\Banish\BanishTarget.mdl

Vấn đề nằm ở chỗ spell Hardened Skin này có 4 lvl, nên khi tăng mỗi lvl thì nó tạo 1 effect BanishTarget, 4 lvl nó tạo ra tới 4 cái Banish, đen sì trông rất là rối mắt. Vậy có cách nào dù có tăng bao nhiêu lvl thì nó cũng chỉ tạo 1 cái effect Banish ko?
 
À ừm, cái này chưa thử bao giờ nhưng hiện giờ theo suy nghĩ của tớ thì làm thế này:
Tạo 2 trigger:
Mã:
Trigger1
    Events
        Time - Elapsed game time is 1.00 seconds
    Conditions
    Actions
        Set Boolean = True
Mã:
Trigger2
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Hardened Skin 
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Boolean Equal to True
            Then - Actions
                Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Human\Banish\BanishTarget.mdl
            Else - Actions
        Set Boolean = False
Vừa vào map sẽ set Boolean = True. Sau lần học thứ nhất sẽ Set Boolean = False và bên trên kiểm tra điều kiền Boolean = True. Tức là lần học thứ nhất Boolean = True, tạo Effect và sau đó Set Boolean = False => sau lần học thứ nhất Boolean = False thì sẽ kô thực hiện Then - Acticons ở If nữa.

P/s: Lần sau cho trigger vào CODE TAG cho dễ nhìn nhé.
 
Ok thank bạn :)! Cũng mới đọc đc câu này của Tom bên box khác rồi. Lần sau sẽ rút kinh nghiệm :)!
Ah mà cho mình hỏi cái Boolean gán giá trị là gì vậy?
 
Mã:
SFX at Lvl 1
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Banish
        [B](Level of Banish for (Triggering unit)) Equal to 1[/B]
    Actions
        Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl

dòng bôi đen là Unit - Level Of Ability For Unit
nghĩa là khi hero học skill, mà level của skill này là 1 thì tạo effect, không thì thôi.
---
@game_war48, suy nghĩ thế là tốt, nhưng cố gắng suy nghĩ thêm :)
---
@YAN[asian], là boolean
 
Em cũng đã từng suy nghĩ như thế. Nhưng em lập giả thiết là: nhỡ "thằng" WE nó "ngu" lúc mình học mà chưa bấm ESC ra thì nó vẫn "tưởng" Level của Banish là 0 -> abcxyz.....
 
Tom ơi cho mình hỏi ( định gọi bằng anh Tom nhưng nghĩ là nhỏ tuổi hơn mình :))
làm sao để tạo con cừu chạy vào vòng chọn tuớng(cái này bík) mà số cừu bằng với số nguời chơi
.
___________Auto Merge________________

.
tiện thể cho hỏi làm seo để quái hồi sinh lại tại chỗ mình đã đặt truớc đó
 
Status
Không mở trả lời sau này.
Back
Top