[編輯器]galaxy++介紹

看板StarCraft (星海爭霸2 - SC2)作者 (grantkobe)時間14年前 (2012/05/12 22:50), 編輯推噓5(503)
留言8則, 7人參與, 最新討論串1/1
圖文好讀板: http://ppt.cc/TTY! galaxy++ 是一個外國人所寫的程式 ,用來讓星海編輯器更加直覺好用.基本上可 以直接取代,可以用這個來很容易的寫出mod, 前提是你要會寫c語言 Galaxy++ editor http://www.sc2mapster.com/assets/galaxy-editor-beier/ 這是作者的介紹影片: http://ppt.cc/7UCX 用拖拉的方式做出dialog http://www.youtube.com/watch?v=gPKud8H0Wcs&feature=channel&list=UL&hd=1
可以很容易的做出自訂腳本, 比如他舉例的打出create marine 就可以創造出一隻陸戰隊 下圖那兩隻陸戰隊就是 我打 “create marine”兩次做出來的 不過他code有改 本來用#的要改成現在的寫法 Trigger create_event { events { TriggerAddEventChatMessage( create_event, c_playerAny, “create “, false); } conditions { return StringSub(EventChatMessage(false), 1, 7) == “create “; } actions { string msg = StringSub(EventChatMessage(false), 8, StringLength(EventChatMessage(false))); UnitCreate(1, UnitTypeFromString(msg), 0, EventPlayer(), CameraGetTarget(EventPlayer()), 270); } } 打開新案之後貼這個就可以了. 建議先看過用編輯模式再用這個.會寫程式的 大概就懂了. 建議先看過這幾篇,再去下載 手動編輯器的教程 http://game.techbang.com/posts/3277 http://bbs.islga.org/read-htm-tid-56917.html galaxy的介紹 http://bbs.islga.org/read-htm-tid-837191.html -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.250.130.72

05/12 22:55, , 1F
05/12 22:55, 1F

05/12 23:05, , 2F
GalaxyS2
05/12 23:05, 2F

05/12 23:05, , 3F
酷...
05/12 23:05, 3F

05/12 23:26, , 4F
找我?
05/12 23:26, 4F

05/12 23:29, , 5F
找樓上
05/12 23:29, 5F

05/12 23:29, , 6F
看不懂 XD
05/12 23:29, 6F

05/12 23:33, , 7F
不是找四樓 多一個F 編譯不了 ˊ_>ˋ
05/12 23:33, 7F
大概就是如果你要寫程式控制星海單位的話 像四方爭霸 星海寶石等, 如果你用星海自帶的編輯器會用的很痛苦. 用這個就可以寫程式控制單位的流程, 和表單的控制. 所以只要先用編輯器編出場景, AI用他寫會比傳統的快很多. ※ 編輯: grantkobe 來自: 111.250.130.72 (05/12 23:51)

05/12 23:52, , 8F
哭哭 不是C++ 不過好像也通XD
05/12 23:52, 8F
文章代碼(AID): #1FhdYSEt (StarCraft)
文章代碼(AID): #1FhdYSEt (StarCraft)