این تایپکت بنده پارسال زدم و همون طور که میبینی 1 ساعت نشده امدم تا ببینم اگه کسی سوالی داشته باشه جواب بدم اما میبینی که هیچ استقبالی نشد
Printable View
این تایپکت بنده پارسال زدم و همون طور که میبینی 1 ساعت نشده امدم تا ببینم اگه کسی سوالی داشته باشه جواب بدم اما میبینی که هیچ استقبالی نشد
من که هنوزم پایه World Edit هستم
اگه شما هم هستی بیا با هم این تاپیک رو ران بندازیم (سوال جواب) نه فقط آموزش
در هر دو صورت حتما جواب :)
باشه من سوال میکنم چطور میشه AI ساخت؟؟؟
دوست عزیز
1. گفتم "(سوال جواب) نه فقط آموزش" یعنی سوال و جواب نداریم و فقط آموزش اما شاید بد مطرح کردم!!!
2. سوالت نسبت به اطلاعاتی که فکر میکنم داری بنظر شبیه به شوخی میمونه تا سوال!!!
برای ساخت AI دو راه وجود داره
1. استفاده از AI Editor که از منو Module -> AI Editor یا کلید میانبر F8 و یا از Toolbar اصلی AI Editor
2. استفاده از Trigger (که کامل تر اما خیلی سخت تره)
AI Editor
از AI Editor خود World Editor اکثرا برای مپ وار(War) استفاده میشه و خیلی محدود ه
صفحه AI Editor از 5 تب اصلی تشکیل شده
General - یک سری تنظیمات از قبیل نام ,Race, و توانایی های AI
Heros - بازیکن AI از چه هیرو هایی استفاده کنه (3 تا هیرو میشه براش تعریف کرد) + ترتیب گرفتن Spell ها و غیره
Building - مربوط به ساخت و ساز(ساختمان و نیرو(کارگر - جنگجو)) و جمع آوری(طلا و چوب) میشه
Attacking - نیروهایی که ساخته میشه(جنگجو و هیرو) گروهبندی میکنه و برای جنگ تو مپ پخش میکنه
Test Configuration - تنظیماتی که انجام دادید براتون تست میکنه
Trigger AI
این بحثش خیلی تولانیه بنابراین فقط نمونه میزارم
به امید دیدارکد:
کد:
Spawning Events Time - Every 60.00 seconds of game time Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Execution count of (This trigger)) Equal to 1 Then - Actions Unit - Create 1 Child of the Sun for Player 6 (Orange) at (Center of Spawn 1 top <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player6[1] = (Last created unit) Unit - Create 1 Child of the Sun for Player 6 (Orange) at (Center of Spawn 1 middle <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player6[2] = (Last created unit) Unit - Create 1 Child of the Sun for Player 6 (Orange) at (Center of Spawn 1 bottom <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player6[3] = (Last created unit) Unit - Create 1 Shadow Hunter for Player 6 (Orange) at (Center of Spawn 1 top <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player6[4] = (Last created unit) Unit - Create 1 Shadow Hunter for Player 6 (Orange) at (Center of Spawn 1 middle <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player6[5] = (Last created unit) Unit - Create 1 Shadow Hunter for Player 6 (Orange) at (Center of Spawn 1 bottom <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player6[6] = (Last created unit) Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Execution count of (This trigger)) Equal to 1 Then - Actions Unit - Create 1 Death Knight for Player 12 (Brown) at (Center of Spawn 2 top <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player12[1] = (Last created unit) Unit - Create 1 Death Knight for Player 12 (Brown) at (Center of Spawn 2 middle <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player12[2] = (Last created unit) Unit - Create 1 Death Knight for Player 12 (Brown) at (Center of Spawn 2 bottom <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player12[3] = (Last created unit) Unit - Create 1 Lich for Player 12 (Brown) at (Center of Spawn 2 top <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player12[4] = (Last created unit) Unit - Create 1 Lich for Player 12 (Brown) at (Center of Spawn 2 middle <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player12[5] = (Last created unit) Unit - Create 1 Lich for Player 12 (Brown) at (Center of Spawn 2 bottom <gen>) facing Default building facing (270.0) degrees Set AI_Heroes_Player12[6] = (Last created unit) Else - Actions -------- Team 1 spawn -------- Unit - Create 2 Spawn_Type[1] for Player 6 (Orange) at (Center of Spawn 1 top <gen>) facing Default building facing (270.0) degrees Unit - Create 2 Spawn_Type[1] for Player 6 (Orange) at (Center of Spawn 1 middle <gen>) facing Default building facing (270.0) degrees Unit - Create 2 Spawn_Type[1] for Player 6 (Orange) at (Center of Spawn 1 bottom <gen>) facing Default building facing (270.0) degrees Unit - Create 2 Rifleman for Player 6 (Orange) at (Center of Spawn 1 top <gen>) facing Default building facing (270.0) degrees Unit - Create 2 Rifleman for Player 6 (Orange) at (Center of Spawn 1 middle <gen>) facing Default building facing (270.0) degrees Unit - Create 2 Rifleman for Player 6 (Orange) at (Center of Spawn 1 bottom <gen>) facing Default building facing (270.0) degrees -------- Team 2 spawn -------- Unit - Create 2 Spawn_Type[2] for Player 12 (Brown) at (Center of Spawn 2 top <gen>) facing Default building facing (270.0) degrees Unit - Create 2 Spawn_Type[2] for Player 12 (Brown) at (Center of Spawn 2 middle <gen>) facing Default building facing (270.0) degrees Unit - Create 2 Spawn_Type[2] for Player 12 (Brown) at (Center of Spawn 2 bottom <gen>) facing Default building facing (270.0) degrees Unit - Create 2 Burning Archer for Player 12 (Brown) at (Center of Spawn 2 top <gen>) facing Default building facing (270.0) degrees Unit - Create 2 Burning Archer for Player 12 (Brown) at (Center of Spawn 2 middle <gen>) facing Default building facing (270.0) degrees Unit - Create 2 Burning Archer for Player 12 (Brown) at (Center of Spawn 2 bottom <gen>) facing Default building facing (270.0) degrees
کد:
Movement from spawn Events Unit - A unit enters Spawn 1 top <gen> Unit - A unit enters Spawn 1 middle <gen> Unit - A unit enters Spawn 1 bottom <gen> Unit - A unit enters Spawn 2 top <gen> Unit - A unit enters Spawn 2 middle <gen> Unit - A unit enters Spawn 2 bottom <gen> Conditions Or - Any (Conditions) are true Conditions (Owner of (Entering unit)) Equal to Player 6 (Orange) (Owner of (Entering unit)) Equal to Player 12 (Brown) Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Owner of (Entering unit)) Equal to Player 6 (Orange) (Spawn 1 top <gen> contains (Entering unit)) Equal to True Then - Actions Unit - Order (Entering unit) to Attack-Move To (Center of Move top <gen>) Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Owner of (Entering unit)) Equal to Player 6 (Orange) (Spawn 1 middle <gen> contains (Entering unit)) Equal to True Then - Actions Unit - Order (Entering unit) to Attack-Move To (Center of Spawn 2 middle <gen>) Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Owner of (Entering unit)) Equal to Player 6 (Orange) (Spawn 1 bottom <gen> contains (Entering unit)) Equal to True Then - Actions Unit - Order (Entering unit) to Attack-Move To (Center of Move bottom <gen>) Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Owner of (Entering unit)) Equal to Player 12 (Brown) (Spawn 2 top <gen> contains (Entering unit)) Equal to True Then - Actions Unit - Order (Entering unit) to Attack-Move To (Center of Move top <gen>) Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Owner of (Entering unit)) Equal to Player 12 (Brown) (Spawn 2 middle <gen> contains (Entering unit)) Equal to True Then - Actions Unit - Order (Entering unit) to Attack-Move To (Center of Spawn 1 middle <gen>) Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Owner of (Entering unit)) Equal to Player 12 (Brown) (Spawn 2 bottom <gen> contains (Entering unit)) Equal to True Then - Actions Unit - Order (Entering unit) to Attack-Move To (Center of Move bottom <gen>) Else - Actions
کد:
Movement from top corner Events Unit - A unit enters Move top <gen> Conditions Or - Any (Conditions) are true Conditions (Owner of (Entering unit)) Equal to Player 6 (Orange) (Owner of (Entering unit)) Equal to Player 12 (Brown) Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Owner of (Entering unit)) Equal to Player 6 (Orange) Then - Actions Unit - Order (Entering unit) to Attack-Move To (Center of Spawn 2 top <gen>) Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Owner of (Entering unit)) Equal to Player 12 (Brown) Then - Actions Unit - Order (Entering unit) to Attack-Move To (Center of Spawn 1 top <gen>) Else - Actions
کد:
Movement from bottom corner Events Unit - A unit enters Move bottom <gen> Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Owner of (Entering unit)) Equal to Player 6 (Orange) Then - Actions Unit Group - Pick every unit in (Units in Move bottom <gen>) and do (Unit - Order (Picked unit) to Attack-Move To (Center of Spawn 2 bottom <gen>)) Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Owner of (Entering unit)) Equal to Player 12 (Brown) Then - Actions Unit - Order (Entering unit) to Attack-Move To (Center of Spawn 1 bottom <gen>) Else - Actions
کد:
کد های بالا از لینک
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
دریافت شده
بخش اول که با ai editor هست فقط مخصوص مپ های خود وار هست
من میخواستم برای مپ خودم ai بذارم یعنی مثلا فقط unit های دشمن از یه محدوده تا یه محدوده دیگه برن و بیان ولی وقتی ما اونجا رفتیم unit های خودی تکون نخورن
به این که AI نمیگن
AI مخفف یک لغت بود که معنی نمیدونم مغز چیچیک میشد با AI سی پی یو پلیر ها فکر میکنن و تصمیم میگیرن
اما در این حالت شما میگی از اینجا برو اونجا از اونجا برو فلان جا که این حالت تو مپ های Tower زیاد دیده میشه اگر بلدید که هیچ اما اگه بلد نیستی یک مپ نمونه بزارم
بابت این مدت نبودم شرمنده ISP رو عوض کردم خیلی علاف شدم
کسی کار با heavylock2.8 کسی بلده !
بله من کار کردم
شما کجاش مشکل داری؟
میخواستم ببینم کسی اینجا بلد هست مدل برای وارکرافت بسازه (Mdx) لطفا اگر نرم افزاری داره اینکش را برام بزارین؟
سلام دوستان
اعجب تاپیک خوبیه من هودود 6 ماه است که دونبال چنین تاپیکی هستم
من خیلی دوست دارم از شما دوستان در مرد World Edite چیز هایزیادی یاد بگیرم ایا مرا هم راهی میکنید ؟
درزم تواین تاپیک باید کار اموزش را شرو کنید دورسته تاپیک شما زیاد گل نکرده ولی ادم های امسال من به کمک شما خیلی نیاز دارن خولاسه نا امید نشین .
من در مرد World Edite قسمت Trigger کمی بلدم البته هرچی بلدم خودم یاد گرفتم هتا نمی دونم درست یاد گرفتم یانه
خولاسه اگر مایل هستید به من کمک کونید الان کنید تا من سوا لا تم را شرو کنم
با تشکر از شما