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

Status
Không mở trả lời sau này.

Tom_Kazansky

<b><font color="RoyalBlue"><font face="Lucida Cons
Tham gia ngày
28/12/06
Bài viết
3,454
Reaction score
462
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 3:-O
- 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:
code.gif


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

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
reputation-40b.png
để 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)
 
có cách nào enable cái ống MP bar ko :-ss
 
IndexInt
Events
Map initialization
Conditions
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Set IndexAttack[(Integer A)] = 100







IndexAttack
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) is A Hero) Equal to True
Actions
Set TempInt = (Player number of (Owner of (Attacking unit)))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
IndexAttack[TempInt] Greater than 0
Then - Actions
Set IndexAttack[TempInt] = (IndexAttack[TempInt] - 1)
Else - Actions
Unit - Order (Attacking unit) to Stop




cái đó là của dh-g nhưng chỉ tại cái tôi ngu ko bik nên bây giờ ai giỏi cho tôi xin cái map demon có 2 loại trigger này
 
^ @Dh-g: Cậu ko sợ nó spam attack animation thì cái số 100 kia về 0 rất nhanh à?
 
^ @Dh-g: Cậu ko sợ nó spam attack animation thì cái số 100 kia về 0 rất nhanh à?
nếu nó spam attack thì nó đâu có index để đánh =))

SPAM attack = chịu =))
 
Tôi muốn hỏi về cách thức làm disabled item như kelen's dagger trong DotA vậy. Cơ cấu thì cũng có hiểu nhưng disabled mỗi khi nhận dmg từ 1 players nào đó thì làm thế nào để sau 3s nếu không nhận dmg nữa thì item sẽ được trả lại cho hero?
 
làm thế nào để kill hero đc tiền hả bác, các bác giúp em với chuân sác tí nhé pm luôn đường đưa cho em link khác khó hiểu lám thank các bác nhùi nha
 
Tôi muốn hỏi về cách thức làm disabled item như kelen's dagger trong DotA vậy. Cơ cấu thì cũng có hiểu nhưng disabled mỗi khi nhận dmg từ 1 players nào đó thì làm thế nào để sau 3s nếu không nhận dmg nữa thì item sẽ được trả lại cho hero?

Giả sử khi nhận dmg Kan dùng 1 timer, mỗi lần timer tick thì count = count - 1, (count này ban đầu = 3 nhé, 3s như bạn nói), nếu không nhận dmg thì sau 3s khi count = 0 thì enable cho item, nếu nhận dmg thì mỗi lần đó lại set count = 3.
 
Cho hỏi tý trigger bị hư dùng tool gì để gỡ ,vì không thể open map được
 
Cho hỏi tý trigger bị hư dùng tool gì để gỡ ,vì không thể open map được
trigger không thể hư trừ khi là trigger ngoại hàm lệnh khác.
nếu trigger đã hư sao bạn save map dc ?, trừ khi trigger war3map.j có vấn đề (đã edit) hoặc map đang protect.

P/S: không có tools nào để mở :|
 
Cho hỏi tý trigger bị hư dùng tool gì để gỡ ,vì không thể open map được

Có thể model bị lỗi, thử dùng mpqmaster xem sao.
 
Cho mình hỏi làm thế nào để cho AI hero cast được channel spell vậy? Có cần dựa vào cái Base Order ID ko?
 
View attachment hinh.bmp cho em hỏi là vụ lưu hashtable này bị lỗi gì, mà khi em display ra thì nó không tính thêm chỉ số cộng vào từ Hero Atributehinh.jpg
 
Chỉnh sửa cuối:
Giả sử khi nhận dmg Kan dùng 1 timer, mỗi lần timer tick thì count = count - 1, (count này ban đầu = 3 nhé, 3s như bạn nói), nếu không nhận dmg thì sau 3s khi count = 0 thì enable cho item, nếu nhận dmg thì mỗi lần đó lại set count = 3.
Cám ơn cậu tôi đã hiểu rồi :) MUI cho cái này thì có lẽ nghĩ 1 lúc nữa sẽ ra :D
 
ai cho mình xin file Textures\gutz.blp với. mình có mấy cái model mà cái nào cũng cần cái đó hết. mình có file .mdx rồi chỉ thiếu mỗi cái đó. ai có giúp mình với :(
 
cái đó có sẵn mà? :-/
 
Tại sao sau khi mình add 1 skill nào đó vào 1 item, sau khi sử dụng item đó thì mặc dù skill có cooldown nhưng nó lại không hiện cái vòng cooldown trên item là sao nhỉ? :|
 
ý anh là trả lời câu hỏi của em hả anh. mà có sẵn thì lấy ở đâu hả anh

có sẵn tức là không cần phải thêm vào nữa

còn muốn biết nó ở đâu thì: war3.mpq

Tại sao sau khi mình add 1 skill nào đó vào 1 item, sau khi sử dụng item đó thì mặc dù skill có cooldown nhưng nó lại không hiện cái vòng cooldown trên item là sao nhỉ? :|

cho ability active lên đầu danh sách ability của item
 
Anh Tom xem dùm em luôn xem cái trigger này có leak cái gì ko mà cast đc 3 4 phát là bắt đầu hơi giật giật. Cast thêm nhiều nữa thì giật thôi rồi...
Mã:
Events
    Time - Every 0.04 seconds of game time
Conditions
Actions
    For each (Integer A) from 1 to PowerIndex, do (Actions)
        Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    PowerDistance[(Integer A)] Greater than 0.00
                Then - Actions
                    Set PowerDistance[(Integer A)] = (PowerDistance[(Integer A)] - 40.00)
                    Set PowerCasterLoc = (Position of PowerCaster[(Integer A)])
                    Set PowerCasterLoc2 = (PowerCasterLoc offset by 40.00 towards PowerAngle[(Integer A)] degrees)
                    Unit - Move PowerCaster[(Integer A)] instantly to PowerCasterLoc2
                    Special Effect - Create a special effect at PowerCasterLoc using Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
                    Special Effect - Destroy (Last created special effect)
                    Set PowerDragPoint = (PowerCasterLoc offset by 128.00 towards (Facing of PowerCaster[(Integer A)]) degrees)
                    Set PowerGroup[(Integer A)] = (Units within 175.00 of PowerDragPoint matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of PowerCaster[(Integer A)])) Equal to True))))
                    Destructible - Pick every destructible within 200.00 of PowerCasterLoc2 and do (Actions)
                        Loop - Actions
                            Destructible - Kill (Picked destructible)
                    Unit Group - Pick every unit in PowerGroup[(Integer A)] and do (Actions)
                        Loop - Actions
                            Unit - Turn collision for (Picked unit) Off
                            Unit - Move (Picked unit) instantly to PowerDragPoint
                            Special Effect - Create a special effect attached to the head of (Picked unit) using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                            Special Effect - Destroy (Last created special effect)
                    Custom script:   call DestroyGroup(udg_PowerGroup[GetForLoopIndexA()])
                    Custom script:   call RemoveLocation(udg_PowerCasterLoc)
                    Custom script:   call RemoveLocation(udg_PowerCasterLoc2)
                    Custom script:   call RemoveLocation(udg_PowerDragPoint)
                Else - Actions
                    Set PowerCasterLoc = (Position of PowerCaster[(Integer A)])
                    Unit - Turn collision for PowerCaster[(Integer A)] On
                    Set PowerGroup[(Integer A)] = (Units within 500.00 of PowerCasterLoc matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of PowerCaster[(Integer A)])) Equal to True))))
                    Destructible - Pick every destructible within 450.00 of PowerCasterLoc and do (Actions)
                        Loop - Actions
                            Destructible - Kill (Picked destructible)
                    Unit Group - Pick every unit in PowerGroup[(Integer A)] and do (Actions)
                        Loop - Actions
                            Unit - Turn collision for (Picked unit) On
                    Custom script:   call DestroyGroup(udg_PowerGroup[GetForLoopIndexA()])
                    Animation - Play PowerCaster[(Integer A)]'s slam animation
                    Unit - Create 1 Powerful Charge Dummy for (Owner of PowerCaster[(Integer A)]) at PowerCasterLoc facing Default building facing degrees
                    Unit - Add a 0.10 second Generic expiration timer to (Last created unit)
                    Unit - Set level of Powerful Charge Dummy (Neutral Hostile 1) for (Last created unit) to (Level of Powerful Charge  for PowerCaster[(Integer A)])
                    Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
                    Special Effect - Create a special effect at PowerCasterLoc using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
                    Special Effect - Destroy (Last created special effect)
                    Special Effect - Create a special effect at PowerCasterLoc using FireNova2.mdx
                    Special Effect - Destroy (Last created special effect)
                    Custom script:   call RemoveLocation(udg_PowerCasterLoc)
                    For each (Integer B) from (Integer A) to (PowerIndex - 1), do (Actions)
                        Loop - Actions
                            Set PowerAngle[(Integer B)] = PowerAngle[((Integer B) + 1)]
                            Set PowerCaster[(Integer B)] = PowerCaster[((Integer B) + 1)]
                            Set PowerDistance[(Integer B)] = PowerDistance[((Integer B) + 1)]
                            Set PowerGroup[(Integer B)] = PowerGroup[((Integer B) + 1)]
                    Set PowerIndex = (PowerIndex - 1)
 
Status
Không mở trả lời sau này.
Back
Top