Jump to content
主视角中国

Recommended Posts

Posted

:whistling:

MOHAA单人图.SCR最简单的改动方法

偶尔一试竟然成了,这样便有了单人图.SCR的具体格式

那就是

// REMAGEN
// ARCHITECTURE: STAGGER
// SCRIPTING: POWZER

main:

//singer Maps mod by liu8888
//www.fpschina.com
setcvar "g_gametype" "2"  //它是TDM团队作战
setcvar "fraglimit" "0"
setcvar "timelimit" "20"

// set scoreboard messages
setcvar "g_obj_alliedtext1" "M1L1"//这是单人图的地图名称变为M1L1
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" "88"
setcvar "g_obj_axistext3" "www.fpschina.com"

// call additional stuff for playing this map round based is needed
if(level.roundbased)
 thread roundbasedthread
removeclass actor   //移除原图中人物
thread spawns   //执行出生点指令
level waittill prespawn

//*** Precache Dm Stuff
exec global/DMprecache.scr

level.script = maps/m1l1.scr  //采用的图名,改成你要的单人图名称,这里是m1l1单人图
exec global/ambient.scr m1l1 //采用图的声音,改成你要的单人图名称,这里是m1l1单人图

thread global/door_locked.scr::lock

level waittill spawn

end

//-----------------------------------------------------------------------------

roundbasedthread:

// Can specify different scoreboard messages for round based games here.

level waitTill prespawn

level waittill spawn

// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0  
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw

level waittill roundstart

end
spawns:

//allied spawns      盟军出生点坐标"X Y Z"需要自己填,方向A

local.allied = spawn info_player_allied origin "X Y Z" angle A
local.allied = spawn info_player_allied origin "-331 3153 -430" angle 61  //这是举例
local.allied = spawn info_player_allied origin "X Y Z" angle A
local.allied = spawn info_player_allied origin "X Y Z" angle A
local.allied = spawn info_player_allied origin "X Y Z" angle A
//...............设多少出生点自己定吧!

//axis spawns  德军出生点坐标"X Y Z"需要自己填,方向A

local.axis = spawn info_player_axis origin "X Y Z" angle A
local.axis = spawn info_player_axis origin "1168 5584 -173" angle 117 //这是举例
local.axis = spawn info_player_axis origin "X Y Z" angle A
local.axis = spawn info_player_axis origin "X Y Z" angle A
local.axis = spawn info_player_axis origin "X Y Z" angle A
//.....................设多少出生点自己定吧!
end[/code]

这样就可以了,不过有的图天空的景象不存在了...呵呵!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

登录

Already have an account? Sign in here.

现在登录
×
×
  • 创建新的...