Cách tạo một số spell !! :D Cho dân vô nghề và chuyên nghiệp.

Thảo luận trong 'World Editor' bắt đầu bởi lekhanhdoan7, 2/5/09.

Trạng thái chủ đề:
Không mở trả lời sau này.
  1. lekhanhdoan7

    lekhanhdoan7 Youtube Master Race

    Tham gia ngày:
    12/4/08
    Bài viết:
    8
    cách tạo một spell:KAMENJOKU
    1:Tạo 3 con custom footman
    +Con thứ nhất tên : Dummy Effect
    Sửa:
    Abilities-Normal: Locust,invulnerable(Neultral)
    Maximum Pitch Angle(degress):-90.00
    Art-Model flie:Tome of remaining
    Scaling Value :5.00
    Shadow image unit:None
    Combat-Attacks Enables:None
    +Con thứ hai: Dummy Kame
    Y NHƯ TRÊN!!
    Trừ:
    Scaling Value :3.00
    Art-Model flie:Revive Hero
    +Con thứ 3: Dummy Thunderclap
    Y NHƯ CÁI Thứ NHẤT
    Trừ
    Model flie:Thunder Clap
    XONG MỘT BƯỚC
    .
    3 Con:
    Dummy Effect
    Dummy Kame
    Dummy Thunder Clap
    Đến Phần Quan Trọng

    Tên:Spell
    Trước hết tạo:Varỉables:
    +Angel-->Real Array(1)-->có phần màu xanh gạch dưới màu xanh để là 0(Defaults)--->Xong 1 cái
    +Cast-->Unit Array(1)-->None-->1 thêm 1 cái nữa
    +Dmg-->Real Array(1)--> 0(Defaults)--->Xong
    +Dummy->Unit Array(1)-->None
    +Group-->Unit Group-->Empty Unit Group(Defaults)
    +In-->Interger-->0(Defaults)
    +Mui-->Interger-->0(Defaults)
    +TempLoc-->Point Array(1)-->None
    +Tick-->Integer Array(1)-->0(Defaults)
    Sau đó nhấn ok& làm mấy bước Trigger như sau:

    Events
    Unit - A unit Starts the effect of an ability
    Conditions
    (Ability being cast) Equal to Kamejoko
    Actions
    Set Mui = (Mui + 1)
    Set Cast[Mui] = (Triggering unit)
    Animation - Play Cast[Mui]'s attack,slam animation
    Set TempLoc[0] = (Position of Cast[Mui])
    Set TempLoc[1] = (Target point of ability being cast)
    Set Angle[Mui] = (Facing of Cast[Mui])
    Set Tick[Mui] = 25
    Set Dmg[Mui] = (100.00 + (5.00 x (Real((Level of Kamejoko for Cast[Mui])))))
    Unit - Create 1 Dummy Kame for (Owner of Cast[Mui]) at TempLoc[0] facing Angle[Mui] degrees
    Set Dummy[Mui] = (Last created unit)
    Unit - Add a 2.00 second Generic expiration timer to Dummy[Mui]
    Unit - Create 1 Dummy Thunderclap for (Owner of Cast[Mui]) at TempLoc[0] facing Angle[Mui] degrees
    Set Dummy[Mui] = (Last created unit)
    Unit - Add a 2.00 second Generic expiration timer to Dummy[Mui]
    Unit - Create 1 Dummy Effect for (Owner of Cast[In]) at TempLoc[0] facing Angle[In] degrees
    Set Dummy[Mui] = (Last created unit)
    Unit - Add a 3.00 second Generic expiration timer to Dummy[Mui]
    Custom script: call RemoveLocation (udg_TempLoc[0])
    Xong cái trigger Spell
    Tạo một cái trigger:Effect
    & làm như sau:
    Effect
    Events
    Time - Every 0.04 seconds of game time
    Conditions
    Actions
    For each (Integer In) from 1 to Mui, do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    Tick[In] Equal to 0
    Then - Actions
    Set Mui = (Mui - 1)
    For each (Integer B) from In to Mui, do (Actions)
    Loop - Actions
    Set Angle[(Integer B)] = Angle[((Integer B) + 1)]
    Set Cast[(Integer B)] = Cast[((Integer B) + 1)]
    Set Dummy[(Integer B)] = Dummy[((Integer B) + 1)]
    Set Tick[(Integer B)] = Tick[((Integer B) + 1)]
    Set Dmg[(Integer B)] = Dmg[((Integer B) + 1)]
    Else - Actions
    Set TempLoc[2] = (Position of Dummy[In])
    Set TempLoc[3] = (TempLoc[2] offset by 25.00 towards Angle[In] degrees)
    Unit - Move Dummy[In] instantly to TempLoc[3]
    Set Group = (Units within 300.00 of TempLoc[2] matching (((Matching unit) belongs to an enemy of (Owner of Cast[In])) Equal to True))
    Unit Group - Pick every unit in Group and do (Actions)
    Loop - Actions
    Unit - Cause Dummy[In] to damage (Picked unit), dealing Dmg[In] damage of attack type Spells and damage type Normal
    Camera - Sway the camera source for (Owner of (Picked unit)) with magnitude 10.00 and velocity 0.10
    Camera - Shake the camera for (Owner of (Picked unit)) with magnitude 5.00
    Camera - Stop swaying/shaking the camera for (Owner of (Picked unit))
    Custom script: call DestroyGroup (udg_Group)
    Custom script: call RemoveLocation (udg_TempLoc[3])
    Animation - Reset Cast[In]'s animation
    Thế là xong
    Thêm cái này :
    Melee Initialization
    Events
    Map initialization
    Conditions
    Actions
    Visibility - Disable fog of war
    Visibility - Disable black mask
    Reply With Quote
    NHỚ Thanks Nha
     
  2. lekhanhdoan7

    lekhanhdoan7 Youtube Master Race

    Tham gia ngày:
    12/4/08
    Bài viết:
    8
    À,NHỚ Tạo một custom spell(cái spell nào cũng đc) Làm Đầu tiên
    tên là Kamejoko
    Sửa ;Xóa hết tất cả trong Missle art,Missle Speed trở về 0
    HotKey learn-E
    Hot key normal là E
    Text Name là Kamejoko
    Order String-Use/Turn on:NONE
    Text tool tip learn:COPY CAI NAY`:"Learn Kam|cffffcc00e|rjoko - [|cffffcc00Level %d|r]"
    Tới phần sửa trong LEvel có thể tự sửa cũng đc nhưng theo như tui thế này là cân bằng
    lv1 data damage 1.00
    lv2 data damage 1.00
    lv3 data damage 1.00
    lv1 data distance 1000.00
    lv2 data distance 1000.00
    lv3 data distance 1000.00

    lv1 stats Arena of Effect 300.00
    lv2 stats Arena of Effect 300.00
    lv3 stats Arena of Effect 300.00
    lv1 stats Buffs ko cho gì hết
    lv2 stats Buffs ko cho gì hết
    lv3 stats Buffs ko cho gì hết
    lv1 stats Cast range 1000.00
    lv2 stats Cast range 1000.00
    lv3 stats Cast range 1000.00
    lv1 Coold down 0
    lv2 Coold down 0
    lv3 Coold down 0
    Target Types:Air, Enermy,Ground,Not self,structure.
    Xong
     
  3. dannyminhduc

    dannyminhduc T.E.T.Я.I.S

    Tham gia ngày:
    20/1/09
    Bài viết:
    616
    Hướng dẫn rất hay, rất chi tiết nhưng hy vọng có sẵn cả maps ví dụ luôn thì quá tốt :D
     
  4. shark321

    shark321 Donkey Kong

    Tham gia ngày:
    17/5/07
    Bài viết:
    488
    clgt này ??? sao không copy text cho đễ nhìn .. sao không lôi map lên cho dễ thực hành ... tình hình chả hiểu đọc hết xong làm hết xong bug đầy chỗ chả biết fix chỗ nào
     
  5. game_war48

    game_war48 Dragon Quest

    Tham gia ngày:
    7/9/08
    Bài viết:
    1,320
    Nơi ở:
    Ice City
    Ông shark321 này có vẻ thích ăn thẻ warning 3 points nhỉ:))

    Cái này kô phải dành cho dân mới vô nghề đâu, tốt nhất khuyên newbie kô nên đọc cái này và chủ topic tạo thế này chi bằng post spell này vào trong "Topic post spell dep = GUI" tự tìm hiểu còn hay hơn là như thế này.
    @Chủ topic: 4rum hiện giờ kô có chức năng thank mà chỉ có +REP mà thôi...
     
  6. rongdoVN

    rongdoVN Space Marine Doomguy Lão Làng GVN

    Tham gia ngày:
    6/9/05
    Bài viết:
    5,663
    Nơi ở:
    TS-Pri GameVN
    cái này là Kame của tui mà pa x-(
    đã ko ghi credit lại còn .... x-(
    Kame
     
Trạng thái chủ đề:
Không mở trả lời sau này.

Chia sẻ trang này