|
本帖最后由 chyj4747 于 2012-10-19 20:18 编辑
如图 求求你们帮帮我撒 不然都玩不了。。。。。
globals
// Generated
trigger gg_trg________________u = null
rect gg_rct________000 = null
endglobals
function InitGlobals takes nothing returns nothing
endfunction
//***************************************************************************
//*
//* Unit Creation
//*
//***************************************************************************
//===========================================================================
function CreateUnitsForPlayer0 takes nothing returns nothing
local player p = Player(0)
local unit u
local integer unitID
local trigger t
local real life
set u = CreateUnit( p, 'oeye', -2298.8, 1796.5, 107.164 )
set u = CreateUnit( p, 'oeye', -1643.1, 1405.2, 303.968 )
set u = CreateUnit( p, 'oeye', -1658.9, 2539.0, 92.013 )
set u = CreateUnit( p, 'oeye', -2222.8, 2986.4, 103.593 )
set u = CreateUnit( p, 'oeye', -3114.6, 2286.0, 19.534 )
set u = CreateUnit( p, 'oeye', -3171.6, 1055.1, 72.908 )
set u = CreateUnit( p, 'oeye', -2329.3, 2279.6, 29.082 )
set u = CreateUnit( p, 'oeye', -2228.7, 951.1, 89.706 )
endfunction
//===========================================================================
function CreatePlayerBuildings takes nothing returns nothing
endfunction
//===========================================================================
function CreatePlayerUnits takes nothing returns nothing
call CreateUnitsForPlayer0( )
endfunction
//===========================================================================
function CreateAllUnits takes nothing returns nothing
call CreatePlayerBuildings( )
call CreatePlayerUnits( )
endfunction
//***************************************************************************
//*
//* Regions
//*
//***************************************************************************
function CreateRegions takes nothing returns nothing
local weathereffect we
set gg_rct________000 = Rect( -3648.0, 800.0, -1184.0, 3072.0 )
set we = AddWeatherEffect( gg_rct________000, 'LRma' )
call EnableWeatherEffect( we, true )
endfunction
//***************************************************************************
//*
//* Players
//*
//***************************************************************************
function InitCustomPlayerSlots takes nothing returns nothing
// Player 0
call SetPlayerStartLocation( Player(0), 0 )
call SetPlayerColor( Player(0), ConvertPlayerColor(0) )
call SetPlayerRacePreference( Player(0), RACE_PREF_HUMAN )
call SetPlayerRaceSelectable( Player(0), true )
call SetPlayerController( Player(0), MAP_CONTROL_USER )
endfunction
function InitCustomTeams takes nothing returns nothing
// Force: TRIGSTR_002
call SetPlayerTeam( Player(0), 0 )
endfunction
//***************************************************************************
//*
//* Main Initialization
//*
//***************************************************************************
//===========================================================================
function main takes nothing returns nothing
call SetCameraBounds( -3328.0 + GetCameraMargin(CAMERA_MARGIN_LEFT), -3584.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM), 3328.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT), 3072.0 - GetCameraMargin(CAMERA_MARGIN_TOP), -3328.0 + GetCameraMargin(CAMERA_MARGIN_LEFT), 3072.0 - GetCameraMargin(CAMERA_MARGIN_TOP), 3328.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT), -3584.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM) )
call SetDayNightModels( "Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl", "Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl" )
call NewSoundEnvironment( "Default" )
call SetAmbientDaySound( "SunkenRuinsDay" )
call SetAmbientNightSound( "SunkenRuinsNight" )
call SetMapMusic( "Music", true, 0 )
call CreateRegions( )
call CreateAllUnits( )
call InitBlizzard( )
call InitGlobals( )
endfunction
//***************************************************************************
//*
//* Map Configuration
//*
//***************************************************************************
function config takes nothing returns nothing
call SetMapName( "只是另外一张魔兽争霸III的地图" )
call SetMapDescription( "没有描述" )
call SetPlayers( 1 )
call SetTeams( 1 )
call SetGamePlacement( MAP_PLACEMENT_USE_MAP_SETTINGS )
call DefineStartLocation( 0, 384.0, 1920.0 )
// Player setup
call InitCustomPlayerSlots( )
call SetPlayerSlotAvailable( Player(0), MAP_CONTROL_USER )
call InitGenericPlayerSlots( )
endfunction
我看不懂
我jass 一点都不懂 能不能帮帮我解决啊 谢谢了
ps。我在意大利所以时间差距我可能不会立刻回复【另外找师傅。我图已经有点摸索会了就是触发一点都搞不懂,真心学做图】
还有 我不知道这么分类 请不要罚我先 告诉我这么分我一点会分 |
|