找回密码
 点一下
查看: 1287|回复: 9

我地图创好的时候 为什么有这个啊

[复制链接]
发表于 2012-3-5 05:02:41 | 显示全部楼层 |阅读模式
本帖最后由 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。我在意大利所以时间差距我可能不会立刻回复【另外找师傅。我图已经有点摸索会了就是触发一点都搞不懂,真心学做图】
还有 我不知道这么分类 请不要罚我先  告诉我这么分我一点会分
发表于 2012-3-5 08:40:13 | 显示全部楼层
T 写错了?
回复

使用道具 举报

 楼主| 发表于 2012-3-6 00:18:56 | 显示全部楼层
我根本没有动那个  还有我创的图里面的触发什么都没动 我的触发还是系统一开始就有的  正常的对战触发
回复

使用道具 举报

 楼主| 发表于 2012-3-7 00:31:50 | 显示全部楼层
这么没人啊
  我这个问题不搞好的话我什么图都创建不了啊
回复

使用道具 举报

 楼主| 发表于 2012-3-8 03:16:50 | 显示全部楼层
o(︶︿︶)o 唉 为什么没人回我啊
回复

使用道具 举报

发表于 2012-3-24 21:12:17 | 显示全部楼层
恩……我觉得这个可能是WTG,也就是魔兽字符串列表
回复

使用道具 举报

 楼主| 发表于 2012-5-22 22:00:07 | 显示全部楼层

回 xu695622238 的帖子

xu695622238:恩……我觉得这个可能是WTG,也就是魔兽字符串列表 (2012-03-24 21:12) 
不懂。。。到最后都没人来帮帮我这个可怜的人啊,都快一年了。。。
回复

使用道具 举报

发表于 2012-5-23 19:43:50 | 显示全部楼层
globals
    // Generated
    trigger                 gg_trg________________u    = null
    rect                    gg_rct________000          = null
endglobals

看起来是变量名字问题
回复

使用道具 举报

发表于 2012-7-18 23:00:14 | 显示全部楼层
额,是不是挖坟了,你是不是用的教程图?你看看触发里的变量控制,如果7楼说的对的话,变量里应该有东西,删干净了再试试吧
回复

使用道具 举报

发表于 2012-10-5 11:36:42 | 显示全部楼层
看不懂哦
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-5-8 11:57 , Processed in 0.114791 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表