魔兽 RPG 改图 (二) 基础修改

基础修改

配置地图基础属性

function config takes nothing returns nothing
//设置地图名称
call SetMapName("守护者联盟 V2.96")
//设置地图描述
call SetMapDescription("(用态度导航,用细节护航,用点滴进步)|c0000FF40QQ群号:96715139|r")
//设置玩家数量
call SetPlayers(10)
//设置团队数量
call SetTeams(10)
call SetGamePlacement(MAP_PLACEMENT_TEAMS_TOGETHER)
//设置玩家在地图上的初始位置
call DefineStartLocation(0,-5504.0,-6528.0)
call DefineStartLocation(1,-7168.0,-11328.0)
call DefineStartLocation(2,-5120.0,-11328.0)
call DefineStartLocation(3,3840.0,-11456.0)
call DefineStartLocation(4,6016.0,-11456.0)
call DefineStartLocation(5,4416.0,-6784.0)
call DefineStartLocation(6,-9536.0,6336.0)
call DefineStartLocation(7,7168.0,-3968.0)
call DefineStartLocation(8,-9600.0,-4096.0)
call DefineStartLocation(9,8768.0,5248.0)
call InitCustomPlayerSlots()
call InitCustomTeams()
call InitAllyPriorities()
endfunction

上一篇 魔兽 RPG 改图(一)基础知识