Lol, cái gì = 0? Life = 0 ah?
. Hơn nữa không cần tắt trigger làm gì, lỡ life trên 37 thì lại cần 1 trigger khác turn on nó ah?.
@Ryanpzo9:
Armlet:
Mã:If - Conditions: Life of Hero greater than 37 Then - Antions: Set life of hero to (life of hero - 37) Else - Actions: Set life of hero to 1
understand??local real r=GetUnitState(GetTriggerUnit(),UNIT_STATE_LIFE)-1
call SetUnitState(GetTriggerUnit(),UNIT_STATE_LIFE,(GetUnitState(GetTriggerUnit(),UNIT_STATE_LIFE)-r))
Cho em hỏi làm về cách làm 1 spell dạg target point như spell của crystal nova của rylai trog dota các mục tiêu ko chỉ mất máu mà còn bị slow các bác zúp e![]()
^ Làm con Dummy ở giữa cái vòng rồi cho nó tự cast frost nova vào mồm nóDmg, Effect các kiểu thì tự chỉnh là ok
![]()
Bạn k biết àk Frost Nova k tự cast yourself đc và k cast vào locust đc.... xài skill Blizzard chỉnh thông số lại là xong




Cho mình hỏi cách làm cho tileset trong terrian mượt cái ...ví dụ như Map Gaias Retaliation ORPG vậy hay một vài map khác
Như hình thi thấy mấy tileset mượt không có dạng đè lên nhau:
[spoil]
View attachment 153578
View attachment 153579
View attachment 153580
[/spoil]
còn ở world editor tileset ban đầu nó như thế này
[spoil]
View attachment 153581
[/spoil]
Ai biết cách làm cho tileset mượt thì chỉ mình với nha thank nhiều :P
^X3 + ^X4 + ^X5 + ^X6 Thanks các bác đã zúp e nhiệt tình e làm đc rùi ^^
Cho e hỏi cách làm spell dạg này chọn target rùi target sẽ bị tuns Storm Bolt đều đặn 5 lần mỗi lần cách nhau 2s thanks các bác![]()
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Soul Capture
Actions
Custom script: local unit udg_SoulCaptureCaster
Custom script: local unit udg_SoulCaptureTarget
Custom script: local location udg_SoulCaptureTargetLoc
Set SoulCaptureCaster = (Casting unit)
Set SoulCaptureTarget = (Target unit of ability being cast)
Wait 2.00 seconds
Set SoulCaptureTargetLoc = (Position of SoulCaptureTarget)
Unit - Create 1 Soul Capture Dummy for (Owner of SoulCaptureCaster) at SoulCaptureTargetLoc facing Default building facing degrees
Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
Unit - Set level of Soul Capture Dummy (Neutral Hostile) for (Last created unit) to (Level of Soul Capture for SoulCaptureCaster)
Unit - Order (Last created unit) to Neutral - Firebolt SoulCaptureTarget
Custom script: call RemoveLocation(udg_SoulCaptureTargetLoc)
Wait 2.00 seconds
Set SoulCaptureTargetLoc = (Position of SoulCaptureTarget)
Unit - Create 1 Soul Capture Dummy for (Owner of SoulCaptureCaster) at SoulCaptureTargetLoc facing Default building facing degrees
Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
Unit - Set level of Soul Capture Dummy (Neutral Hostile) for (Last created unit) to (Level of Soul Capture for SoulCaptureCaster)
Unit - Order (Last created unit) to Neutral - Firebolt SoulCaptureTarget
Custom script: call RemoveLocation(udg_SoulCaptureTargetLoc)
Theo mình biết việc terrain đè lên nhau mượt hay ko còn tùy thuộc vào loại tileset nữa thì phải!
thử set từng tileset xem![]()
bạn có thể nói rõ hơn đc ko thank
Ý của bạn là chèn nền đất đá cộng với nên cỏ thì không bị chèn nữa đúng không :) cái này cũng nằm trong câu hỏi mình đang chuẩn bị hỏilà thế này:
map của chúng ta có nhìu tileset như Ashenvale, Summer, Suiken Ruins, Village, Village Fall, Cityscapes,.... đúng ko
lúc trc mình thử tạo một Tileset hiệu Summer, và đặt terrain cỏ và gạch bị chồng lên nhau rất là xấu, sau đó tạo map khác, lấy Tileset hiệu Ashenvale thì cỏ ko bị gạch chồng lên nữa, nhìn rất bắt mắt và đẹp
vì vậy mình nghĩ terrain bắt chồng lên nhau tùy thuộc vào loại tileset mà bạn sử dụng, thử sử dụng loại terrain mong muốn với những tileset khác xem có đk hiệu quả mog muốn ko :)
là thế này:
map của chúng ta có nhìu tileset như Ashenvale, Summer, Suiken Ruins, Village, Village Fall, Cityscapes,.... đúng ko
lúc trc mình thử tạo một Tileset hiệu Summer, và đặt terrain cỏ và gạch bị chồng lên nhau rất là xấu, sau đó tạo map khác, lấy Tileset hiệu Ashenvale thì cỏ ko bị gạch chồng lên nữa, nhìn rất bắt mắt và đẹp
vì vậy mình nghĩ terrain bắt chồng lên nhau tùy thuộc vào loại tileset mà bạn sử dụng, thử sử dụng loại terrain mong muốn với những tileset khác xem có đk hiệu quả mog muốn ko :)
Ý của bạn là chèn nền đất đá cộng với nên cỏ thì không bị chèn nữa đúng không :) cái này cũng nằm trong câu hỏi mình đang chuẩn bị hỏi1:(Làm Thế nào để chọn nhiều kiểu nên đất.VD :Đang nền summer mình muốn add thêm nền bằng vào để cho vào 1 số chỗ
)
Cho mình hỏi cách làm cho tileset trong terrian mượt cái ...ví dụ như Map Gaias Retaliation ORPG vậy hay một vài map khác
Như hình thi thấy mấy tileset mượt không có dạng đè lên nhau:
[spoil]
View attachment 153578
View attachment 153579
View attachment 153580
[/spoil]
còn ở world editor tileset ban đầu nó như thế này
[spoil]
View attachment 153581
[/spoil]
Ai biết cách làm cho tileset mượt thì chỉ mình với nha thank nhiều :P
So sánh 2 texture với nhau sẽ biết làm sao để có được tileset như thế
ngay.
![]()
![]()
Cách làm thì dùng photoshop bôi mờ phần cạnh đi thôi.
Nếu lười mà muốn làm 1 trigger thì dùng biến local như thế này (Skill tên là Soul Capture. Mỗi 2s stun 1 lần. Max 3 lần do 1 lần stun của hero rồi nên chỉ cần 2 lần của Dummy nữa):
Mã:Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Soul Capture Actions Custom script: local unit [B]udg_SoulCaptureCaster[/B] Custom script: local unit[B] udg_SoulCaptureTarget[/B] Custom script: local location[B] udg_SoulCaptureTargetLoc[/B] Set [B]SoulCaptureCaster [/B]= (Casting unit) Set [B]SoulCaptureTarget[/B] = (Target unit of ability being cast) Wait 2.00 seconds Set[B] SoulCaptureTargetLoc[/B] = (Position of[B] SoulCaptureTarget[/B]) Unit - Create 1 Soul Capture Dummy for (Owner of [B]SoulCaptureCaster[/B]) at [B]SoulCaptureTargetLoc [/B]facing Default building facing degrees Unit - Add a 0.01 second Generic expiration timer to (Last created unit) Unit - Set level of Soul Capture Dummy (Neutral Hostile) for (Last created unit) to (Level of Soul Capture for [B]SoulCaptureCaster[/B]) Unit - Order (Last created unit) to Neutral - Firebolt [B]SoulCaptureTarget[/B] Custom script: call RemoveLocation([B]udg_SoulCaptureTargetLoc[/B]) Wait 2.00 seconds Set [B]SoulCaptureTargetLoc[/B] = (Position of[B] SoulCaptureTarget[/B]) Unit - Create 1 Soul Capture Dummy for (Owner of SoulCaptureCaster) at [B]SoulCaptureTargetLoc[/B] facing Default building facing degrees Unit - Add a 0.01 second Generic expiration timer to (Last created unit) Unit - Set level of Soul Capture Dummy (Neutral Hostile) for (Last created unit) to (Level of Soul Capture for[B] SoulCaptureCaster[/B]) Unit - Order (Last created unit) to Neutral - Firebolt[B] SoulCaptureTarget[/B] Custom script: call RemoveLocation([B]udg_SoulCaptureTargetLoc[/B])
Như raivor nói là lấy tile mình cần trong war ra rồi dùng photoshop bôi mờ rồi import vào map hả :-\
vấn đề trên bạn raivor nói mình hiểu rồi nhưng
bạn nói rõ hơn đc ko như tile lấy từ war ra ban đầu như thế nào rồi sau khi sửa sẻ ra sao và import vào map sử dụng sẻ có kết quả như thế nào nếu đc thì thank nhiều :P