Jump to content
主视角中国

Recommended Posts

Posted

在DM2关中德军出生点附近有一个跳短墙进入透明区ZB的地方,

你可以将以下程序全部替代MOHDM2.SCR的内容,

就会看到有一架飞机会飞向短墙处,产生爆炸坠毁并冒烟,

在那里堵住ZB的必经之地!

// DESTROYED VILLAGE

// 2004.8.11

//

// Map Mod By 88

// plane Mods

// Website: www.mohchina.com

// Email:

// set scoreboard messages

setcvar "g_obj_alliedtext1" "Destroyed Village"

setcvar "g_obj_alliedtext2" ""

setcvar "g_obj_alliedtext3" ""

setcvar "g_obj_axistext1" "plane Mod "

setcvar "g_obj_axistext2" "www.mohchina.com"

setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "mohdm2"

// call additional stuff for playing this map round based is needed

if(level.roundbased)

thread roundbasedthread

level waittill prespawn

//*** Precache Dm Stuff

exec global/DMprecache.scr

cache models/emitters/linger_smoke.tik

cache models/emitters/ddaysmoke.tik

cache models/vehicles/gmctruck.tik

cache models/fx/fx_truck_explosion.tik

cache models/vehicles/p47fly.tik

cache models/vehicles/stuka_fly.tik

//exec global/door_locked.scr::lock

level.script = maps/dm/mohdm2.scr

exec global/ambient.scr mohdm2

level waittill spawn

thread plane

thread plane2

thread plane3

plane:

wait 10.0

local.fly = spawn script_model

local.fly.origin = ( -1200 -3591 800 )

local.fly.angles = ( 0 90 15 )

local.fly model "models/vehicles/p47fly.tik"

local.fly playsound airplane6

wait 0.2

local.fly hide

local.fly1 = spawn script_model

local.fly1.origin = ( -1200 -3273 800 )

local.fly1.angles = ( 0 90 15 )

local.fly1 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly1 hide

local.fly2 = spawn script_model

local.fly2.origin = ( -1200 -2952 800 )

local.fly2.angles = ( 0 90 15 )

local.fly2 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly2 hide

local.fly3 = spawn script_model

local.fly3.origin = ( -1200 -2631 800 )

local.fly3.angles = ( 0 90 20 )

local.fly3 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly3 hide

local.fly4 = spawn script_model

local.fly4.origin = ( -1200 -2310 800 )

local.fly4.angles = ( 0 90 20 )

local.fly4 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly4 hide

local.fly5 = spawn script_model

local.fly5.origin = ( -1200 -1989 800 )

local.fly5.angles = ( 0 90 20 )

local.fly5 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly5 hide

local.fly6 = spawn script_model

local.fly6.origin = ( -1200 -1668 800 )

local.fly6.angles = ( 0 90 25 )

local.fly6 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly6 hide

local.fly7 = spawn script_model

local.fly7.origin = ( -1200 -1347 800 )

local.fly7.angles = ( 0 90 25 )

local.fly7 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly7 hide

local.fly8 = spawn script_model

local.fly8.origin = ( -1200 -1026 800 )

local.fly8.angles = ( 0 90 25 )

local.fly8 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly8 hide

local.fly9 = spawn script_model

local.fly9.origin = ( -1200 -705 800 )

local.fly9.angles = ( 0 90 30 )

local.fly9 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly9 hide

local.fly10 = spawn script_model

local.fly10.origin = ( -1200 -384 800 )

local.fly10.angles = ( 0 90 30 )

local.fly10 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly10 hide

local.fly11 = spawn script_model

local.fly11.origin = ( -1200 63 800 )

local.fly11.angles = ( 0 90 30 )

local.fly11 model "models/vehicles/p47fly.tik"

wait 0.11

local.fly11 hide

local.fly12 = spawn script_model

local.fly12.origin = ( -1200 258 800 )

local.fly12.angles = ( 0 90 25 )

local.fly12 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly12 hide

local.fly13 = spawn script_model

local.fly13.origin = ( -1200 579 800 )

local.fly13.angles = ( 0 90 15 )

local.fly13 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly13 hide

local.fly14 = spawn script_model

local.fly14.origin = ( -1200 900 800 )

local.fly14.angles = ( 0 90 25 )

local.fly14 model "models/vehicles/p47fly.tik"

wait 0.1

//www.mohchina.com

local.fly14 hide

local.fly15 = spawn script_model

local.fly15.origin = ( -1200 1221 800 )

local.fly15.angles = ( 0 90 25 )

local.fly15 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly15 hide

local.fly16 = spawn script_model

local.fly16.origin = ( -1200 1542 800 )

local.fly16.angles = ( 0 90 25 )

local.fly16 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly16 hide

wait 45.0

goto plane

end

plane2:

wait 12.0

local.fly = spawn script_model

local.fly.origin = ( -1600 -3591 800 )

local.fly.angles = ( 0 90 0 )

local.fly model "models/vehicles/p47fly.tik"

local.fly playsound airplane5

wait 0.2

local.fly hide

local.fly1 = spawn script_model

local.fly1.origin = ( -1600 -3273 800 )

local.fly1.angles = ( 0 90 0 )

local.fly1 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly1 hide

local.fly2 = spawn script_model

local.fly2.origin = ( -1600 -2952 800 )

local.fly2.angles = ( 0 90 0 )

local.fly2 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly2 hide

local.fly3 = spawn script_model

local.fly3.origin = ( -1600 -2631 800 )

local.fly3.angles = ( 0 90 0 )

local.fly3 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly3 hide

local.fly4 = spawn script_model

local.fly4.origin = ( -1600 -2310 800 )

local.fly4.angles = ( 0 90 0 )

local.fly4 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly4 hide

local.fly5 = spawn script_model

local.fly5.origin = ( -1600 -1989 800 )

local.fly5.angles = ( 0 90 0 )

local.fly5 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly5 hide

local.fly6 = spawn script_model

local.fly6.origin = ( -1600 -1668 800 )

local.fly6.angles = ( 0 90 0 )

local.fly6 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly6 hide

local.fly7 = spawn script_model

local.fly7.origin = ( -1600 -1347 800 )

local.fly7.angles = ( 0 90 0 )

local.fly7 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly7 hide

local.fly8 = spawn script_model

local.fly8.origin = ( -1600 -1026 800 )

local.fly8.angles = ( 0 90 0 )

local.fly8 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly8 hide

local.fly9 = spawn script_model

local.fly9.origin = ( -1600 -705 800 )

local.fly9.angles = ( 0 90 0 )

local.fly9 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly9 hide

local.fly10 = spawn script_model

local.fly10.origin = ( -1600 -384 800 )

local.fly10.angles = ( 0 90 0 )

local.fly10 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly10 hide

local.fly11 = spawn script_model

local.fly11.origin = ( -1600 63 800 )

local.fly11.angles = ( 0 90 0 )

local.fly11 model "models/vehicles/p47fly.tik"

wait 0.11

local.fly11 hide

local.fly12 = spawn script_model

local.fly12.origin = ( -1600 258 800 )

local.fly12.angles = ( 0 90 0 )

local.fly12 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly12 hide

local.fly13 = spawn script_model

local.fly13.origin = ( -1600 579 800 )

local.fly13.angles = ( 0 90 0 )

local.fly13 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly13 hide

local.fly14 = spawn script_model

local.fly14.origin = ( -1600 900 800 )

local.fly14.angles = ( 0 90 0 )

local.fly14 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly14 hide

local.fly15 = spawn script_model

local.fly15.origin = ( -1600 1221 800 )

local.fly15.angles = ( 0 90 0 )

local.fly15 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly15 hide

local.fly16 = spawn script_model

local.fly16.origin = ( -1600 1542 800 )

local.fly16.angles = ( 0 90 0 )

local.fly16 model "models/vehicles/p47fly.tik"

wait 0.1

local.fly16 hide

wait 45.0

goto plane2

plane3:

wait 15.0

local.fly = spawn script_model

local.fly.origin = ( -3317 -2840 800 )

local.fly.angles = ( 0 85 35 )

local.fly model "models/vehicles/stuka_fly.tik"

local.fly playsound airplane6

wait 0.2

local.fly hide

local.fly1 = spawn script_model

local.fly1.origin = ( -3270 -2567 780 )

local.fly1.angles = ( 0 85 40 )

local.fly1 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly1 hide

local.fly2 = spawn script_model

local.fly2.origin = ( -3223 -2294 760 )

local.fly2.angles = ( 0 85 45 )

local.fly2 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly2 hide

local.fly3 = spawn script_model

local.fly3.origin = ( -3176 -2021 720 )

local.fly3.angles = ( 0 85 50 )

local.fly3 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly3 hide

local.fly4 = spawn script_model

local.fly4.origin = ( -3129 -1748 700 )

local.fly4.angles = ( 0 85 55 )

local.fly4 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly4 hide

local.fly5 = spawn script_model

local.fly5.origin = ( -3082 -1475 680 )

local.fly5.angles = ( 0 85 60 )

local.fly5 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly5 hide

local.fly6 = spawn script_model

local.fly6.origin = ( -3035 -1202 660 )

local.fly6.angles = ( 0 85 65 )

local.fly6 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly6 hide

local.fly7 = spawn script_model

local.fly7.origin = ( -2988 -929 640 )

local.fly7.angles = ( 0 85 60 )

local.fly7 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly7 hide

local.fly8 = spawn script_model

local.fly8.origin = ( -2941 -656 620 )

local.fly8.angles = ( 0 85 55 )

local.fly8 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly8 hide

local.fly9 = spawn script_model

local.fly9.origin = ( -2894 -383 600 )

local.fly9.angles = ( 0 85 60 )

local.fly9 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly9 hide

local.fly10 = spawn script_model

local.fly10.origin = ( -2847 -110 580 )

local.fly10.angles = ( 0 85 55 )

local.fly10 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly10 hide

local.fly11 = spawn script_model

local.fly11.origin = ( -2800 163 560 )

local.fly11.angles = ( 0 85 55 )

local.fly11 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly11 hide

local.fly12 = spawn script_model

//www.mohchina.com

local.fly12.origin = ( -2753 436 540 )

local.fly12.angles = ( 0 85 55 )

local.fly12 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly12 hide

local.fly13 = spawn script_model

local.fly13.origin = ( -2706 709 520 )

local.fly13.angles = ( 0 85 50 )

local.fly13 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly13 hide

local.fly14 = spawn script_model

local.fly14.origin = ( -2659 982 500 )

local.fly14.angles = ( 0 85 50 )

local.fly14 model "models/vehicles/stuka_fly.tik"

wait 0.2

local.fly14 hide

local.bomb = spawn script_model

local.bomb.origin = ( -2552 1527 473 )

local.bomb.angles = ( 0 0 0 )

local.bomb model "fx/fx_truck_explosion.tik"

local.bomb.scale = 3

local.bomb playsound arty_exp_sand3

local.stuka_d = spawn script_model

local.stuka_d model "models/vehicles/stuka_d.tik"

local.stuka_d.origin = ( -2552 1527 473 )

local.stuka_d.angles = ( -13 87 25 )

local.stuka_d solid

local.stuka_d immune bullet

local.stuka_d immune fast_bullet

local.stuka_d immune bash

local.stuka_d immune mg

local.stuka_d immune explosion

local.inferno = spawn script_model

local.inferno model "emitters/inferno.tik"

local.inferno.origin = ( -2536 1580 539 )

local.inferno.angles = ( -2 88 0 )

local.ddaysmoke = spawn script_model

local.ddaysmoke model "emitters/ddaysmoke.tik"

local.ddaysmoke.origin = ( -2536 1580 539 )

local.ddaysmoke.angles = ( -2 88 0 )

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

  • 1 month later...
Posted

可以设置个最小的东西放在断墙上方,譬如一把螺丝刀,然后设置为 hide,就能把对服务器的影响降到最低,也不影响外观。

Posted

local.stuka_d = spawn script_model

local.stuka_d model "models/vehicles/stuka_d.tik"

local.stuka_d.origin = ( -2552 1527 473 )

local.stuka_d.angles = ( -13 87 25 )

local.stuka_d solid

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.

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