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

Status
Không mở trả lời sau này.
Cái Unit State System và cái JNG của mình không hiểu bị gì,khi save ở ngoài net thì không vấn đề gì,nhưng cứ save ở máy nhà thì jasshelper nó báo Syntax error cái dòng này +_+,mình đã thử dùng JNG khác (máy nhà) nhưng vẫn bị ???
Mã:
        static if State__ARMORP then
 
cụ thể là thế nào anh chỉ kĩ hơn cho em được không ạ :D

chỉ thế nào nữa bây giờ? Terrain Deformation có 4 loại: Crater, Ripple, Wave, Random
thì KHÔNG DÙNG cái Random, còn 3 loại kia dùng cái nào thì tùy

Cái Unit State System và cái JNG của mình không hiểu bị gì,khi save ở ngoài net thì không vấn đề gì,nhưng cứ save ở máy nhà thì jasshelper nó báo Syntax error cái dòng này +_+,mình đã thử dùng JNG khác (máy nhà) nhưng vẫn bị ???
Mã:
        static if State__ARMORP then

lỗi nói gì? mà update JassHelper chưa?
 
Jasshelper của em là 0.9.I.2

Lỗi thì nó báo như dưới mà chỉ máy nhà em bị vậy =-=

À,tiện cho em hỏi làm sao chỉnh font chữ của Floating text là font mình import vào map hả anh ?


d5125573664db42bf6efd4cae6c08b7a_47736796.123.700x0.jpg
 
cho hỏi lỗi 5 trigger này:
2 Trigger đầu của skill Cage Of Eden
[spoil]
Mã:
Cage of Eden
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Cage Of Eden 
    Actions
        Set MUI[9] = (MUI[9] + 1)
        Set Loc[9] = (Position of (Triggering unit))
        Set LevelMUI[MUI[9]] = (Level of Cage Of Eden  for (Triggering unit))
        Set RealMUI[MUI[9]] = 5.00
        Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at Loc[9] facing Default building facing degrees
        Set DummyMUI[MUI[9]] = (Last created unit)
        Unit - Add Cage Dummy   to DummyMUI[MUI[9]]
        Unit - Set level of Cage Dummy   for DummyMUI[MUI[9]] to LevelMUI[MUI[9]]
        Set Group[2] = (Units within 500.00 of Loc[9] matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
        Unit Group - Pick every unit in Group[2] and do (Actions)
            Loop - Actions
                Unit - Order DummyMUI[MUI[9]] to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
        Custom script:   call DestroyGroup( udg_Group[2] )
        For each (Integer A) from 1 to 18, do (Actions)
            Loop - Actions
                Set Loc[10] = (Loc[9] offset by 500.00 towards ((Real((Integer A))) x 20.00) degrees)
                Destructible - Create a Summer Tree Wall at Loc[10] facing (Random angle) with scale 1.00 and variation 0
        Trigger - Turn on CoE Loop <gen>
        EGUI Leak - Remove Loc[9]
        EGUI Leak - Remove Loc[10]
Mã:
CoE Loop
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        For each (Integer MUI2[9]) from 1 to MUI[9], do (Actions)
            Loop - Actions
                Set LocMUI[MUI2[9]] = (Position of DummyMUI[MUI2[9]])
                Set RealMUI[MUI2[9]] = (RealMUI[MUI2[9]] - 1.00)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        [B]RealMUI[MUI2[9]] Equal to 0.00[/B]
                    Then - Actions
                        Unit - Remove DummyMUI[MUI2[9]] from the game
                        Destructible - Pick every destructible within 600.00 of LocMUI[MUI2[9]] and do (Actions)
                            Loop - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        (Destructible-type of (Picked destructible)) Equal to Summer Tree Wall
                                    Then - Actions
                                        Destructible - Remove (Picked destructible)
                                    Else - Actions
                        Set MUI[9] = (MUI[9] - 1)
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                MUI[9] Equal to 0
                            Then - Actions
                                Set MUI2[9] = 0
                                Trigger - Turn off (This trigger)
                            Else - Actions
                    Else - Actions
                EGUI Leak - Remove LocMUI[MUI2[9]]
[/spoil]
3 trigger tiếp theo của skill Narural Order :
[spoil]
Mã:
Nature Order
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Natural Order (Spell)
    Actions
        Set MUI[10] = (MUI[10] + 1)
        Set Destructibles[MUI[10]] = (Target destructible of ability being cast)
        Set LocMUI[MUI[10]] = (Position of Destructibles[MUI[10]])
        Set CasterMUI[MUI[10]] = (Triggering unit)
        Set RealMUI[MUI[10]] = 2.00
        Set LevelMUI[MUI[10]] = (Level of Natural Order (Spell) for CasterMUI[MUI[10]])
        Unit - Add Release  to CasterMUI[MUI[10]]
        Unit - Set level of Release  for CasterMUI[MUI[10]] to LevelMUI[MUI[10]]
        Player - Disable Natural Order (Spell) for (Owner of CasterMUI[MUI[10]])
        Trigger - Turn on Release Order <gen>
        Trigger - Turn on Nature Loop <gen>
Mã:
Nature Loop
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        For each (Integer MUI2[10]) from 1 to MUI[10], do (Actions)
            Loop - Actions
                Set RealMUI[MUI2[10]] = (RealMUI[MUI2[10]] - 1.00)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        RealMUI[MUI2[10]] Less than or equal to 0.00
                    Then - Actions
                        Set MUI[10] = (MUI[10] - 1)
                        Unit - Remove Release  from CasterMUI[MUI2[10]]
                        Player - Enable Natural Order (Spell) for (Owner of CasterMUI[MUI2[10]])
                        EGUI Leak - Remove Loc[12]
                        EGUI Leak - Remove Loc[13]
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                MUI[10] Equal to 0
                            Then - Actions
                                Set MUI2[10] = 0
                                Trigger - Turn off (This trigger)
                            Else - Actions
                    Else - Actions
Mã:
Release Order
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Release 
    Actions
        For each (Integer MUI2[10]) from 1 to MUI[10], do (Actions)
            Loop - Actions
                Set Loc[13] = (Target point of ability being cast)
                Unit - Create 1 Dummy Caster for (Owner of CasterMUI[MUI2[10]]) at LocMUI[MUI2[10]] facing Default building facing degrees
                Set Dummy[8] = (Last created unit)
                Unit - Add a 0.50 second Generic expiration timer to Dummy[8]
                Unit - Add Nature's Order  to Dummy[8]
                Unit - Set level of Nature's Order  for Dummy[8] to LevelMUI[MUI2[10]]
                Unit - Order Dummy[8] to Orc Tauren Chieftain - Shockwave Loc[13]
                [B]Set RealMUI[MUI2[10]] = 0.00[/B]
                EGUI Leak - Remove LocMUI[MUI2[10]]
                EGUI Leak - Remove Loc[13]
                Trigger - Turn off (This trigger)
[/spoil]

Skill Cage Of Eden: dùng để tạo ra 1 vòng tròn cây nhốt đối thủ lại trong 5s. Sau 5s sẽ tiêu diệt hết các cây đã tạo:
Skill Natural Order : target vào 1 cái cây sẽ cho skill dummy ( Release ) trong 2s. trong 2s đó nếu target vào ground sẽ bắn ra 1 đường shockwave r bỏ skill dummy, sau 2s nếu k target vào ground sẽ mất skill dummy.
Vấn đề : Khi sử dụng Cage Of Eden r` target Natural Order thì lập lức các cây được tạo ra từ Cage of eden lập tức biến mất. Mặc dù e đã set Loop là 2 biến For MUI2[9] ...... và For MUI2[10] riêng biệt nhau. vậy s vẫn bị đụng về biến RealMUI ở 2 trigger

Ai chỉ em với :| .................. đang cần gấp
 
Em hỏi làm sao biết được unit xài skill hồi sinh, như leo trong dota ấy, để khi hồi sinh sẽ stun aoe thay vì slow ?
 
Em hỏi làm sao biết được unit xài skill hồi sinh, như leo trong dota ấy, để khi hồi sinh sẽ stun aoe thay vì slow ?
Mình nghĩ là bạn làm 1 dummy lấy skill war stom của con bò trong melee ý
chỉnh sửa skill 1 chút
làm 1 trigger
khi mình chết
thì tạo dummy có skill giậm tun ra
order cho nó dùng skill đó
rồi remove nó đi
 
Em hỏi làm sao biết được unit xài skill hồi sinh, như leo trong dota ấy, để khi hồi sinh sẽ stun aoe thay vì slow ?

cách đơn giản nhất là dùng dummy cast skills stun Area có sử dụng casting time
 
ai giúp mình đi! tại sao khi mình mở model vừa down bằng model editor thì cái model nó đen thui vậy?

quote lại lần thứ 3....ai rảnh tay giúp mình đi!!!
 
quote lại lần thứ 3....ai rảnh tay giúp mình đi!!!
link bạn up lên có down đc đâu bạn ?

Mình nghĩ là bạn làm 1 dummy lấy skill war stom của con bò trong melee ý
chỉnh sửa skill 1 chút
làm 1 trigger
khi mình chết
thì tạo dummy có skill giậm tun ra
order cho nó dùng skill đó
rồi remove nó đi
cách đơn giản nhất là dùng dummy cast skills stun Area có sử dụng casting time
Vậy làm sao biết nó chết vậy 2 bạn :-s
 
link bạn up lên có down đc đâu bạn ?



Vậy làm sao biết nó chết vậy 2 bạn :-s

chỉnh time sống cho nó thì biết chắc chắn sau x giây nó sẽ chết :P
 
^ Time sống là ???, đừng nói lung tung nha bạn, trigger event - a unit dies
 
cho hỏi có cách nào chỉnh dmg skill của warcraft thành dmg dựa trên chỉ số intel của hero ko? Ví dụ khi Tauren xài skill Shockwave thì các mục tiêu sẽ ăn thêm 1 lượng dmg = 50% Intel của Tauren.
 
cho hỏi có cách nào chỉnh dmg skill của warcraft thành dmg dựa trên chỉ số intel của hero ko? Ví dụ khi Tauren xài skill Shockwave thì các mục tiêu sẽ ăn thêm 1 lượng dmg = 50% Intel của Tauren.

Nếu là Standard Ability của War 3 thì k có cách nào chỉnh đc vậy đâu. Cái này chỉ có dùng trigger can thiệp thôi.
 
^
dÙng 1 unit làm viên đạn rÙi vừa slide vừa gây dmg thui. shock wave thì chỉ có cách đó. các skill khác thì có thể để event unit starting effect of ability rồi pick target và gây dmg.... nhưng mà cái dc cái không.... mong các anh chỉ thêm...
 
cho hỏi event Unit take damage , thì Damage Taken ở đây là dmg chưa tính giáp, kháng phép phải ko ? Và damage gây ra bởi skill , ví dụ skill Shockwave chỉnh dmg là 100, thì khi 1 unit ko có kháng phép dính skill Shockwave sẽ mất 100 dmg, và Damage Taken sẽ là 100 fải ko ?

---------- Post added at 20:04 ---------- Previous post was at 19:55 ----------

^ vừa test thì thấy Damage skill ko fải là tuyệt đối :| , có cách nào chỉnh cho damge gây ra bởi 1 skill là tuyệt đối ko?
 
Damage skill base sẵn của WE là dạng Type: Spell, khi gây sát thương chỉ có 70% ( 100 máu thì chỉ mất 70 máu ), mún chỉnh sửa thì vào Advanced => Gameplay Constants => Combat Damage Bonus Table Spell: rồi vào chỉnh % gây dame theo các loại Type Armor
Còn gây dame tuyệt đối thì trigger, chỉnh theo cái in đậm

Mã:
Unit - Cause (Triggering unit) to damage (Triggering unit), dealing 500.00 damage of attack type Spells and damage type [B]Universal[/B]
 
^ Time sống là ???, đừng nói lung tung nha bạn, trigger event - a unit dies

đùa? Cậu thử tạo 1 cái skil hồi sinh và 1 dòng message mỗi giây hiện số máu xem? Thực ra unit chưa chết, mình nhớ là số máu sẽ thành 16 HP hay mấy ấy thì phải.
 
Cho hỏi có cách nào check Armor của 1 unit ko :3cool_nosebleed:
 
Status
Không mở trả lời sau này.
Back
Top