跳到内容
在应用中查看

更便捷的浏览方式。了解更多。

主视角中国

主屏幕上的全屏应用,支持推送通知、角标等功能。

在 iOS 和 iPadOS 上安装此应用
  1. 在 Safari 中点击 分享图标
  2. 滚动菜单并点击添加到主屏幕。
  3. 点击右上角的添加。
在 Android 上安装此应用
  1. 点击浏览器右上角的三点菜单(⋮)。
  2. 点击添加到主屏幕或安装应用。
  3. 点击安装确认。

mohdm2随机爆炸程序

推荐回复

// DESTROYED VILLAGE
// ARCHITECTURE: NED
// SCRIPTING: NED

main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "Destroyed Village"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" "88"
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

exec global/door_locked.scr::lock
level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm2

level waittill spawn

//------------------------> (Cobras Random Explosions in the craters)
//coords and random times
thread random_explosions ( 5 634 -32 ) 10,80
thread random_explosions ( -3006 559 -52 ) 20,90
thread random_explosions ( -2535 1058 -59 ) 30,100
thread random_explosions ( -970 1087 -79 ) 40,110
thread random_explosions ( 47 -975 -83 ) 50,120
thread random_explosions ( -444 -2028 -83 ) 60,130
thread random_explosions ( -959 -2994 -83 ) 70,140



end



//-----------------> (Cobras Random Artillery bit)

random_explosions local.location local.wait1 local.wait2:

wait (randomfloat local.wait1 + local.wait2)
local.hurt = spawn script_origin
local.hurt.origin = local.location + ( 0 0 64 ) // raise it up 4 feet
local.explosion = spawn script_model
local.explosion model models/animate/fx_mortar_dirt.tik
local.explosion.origin = local.location + ( 0 0 -16 )
local.hurt playsound leadinmp
wait 1
local.explosion anim start // has it own sound
radiusdamage local.hurt 256 384
wait 4
local.explosion remove
local.hurt remove
wait 25
thread random_explosions local.location local.wait1 local.wait2


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[/code]

//请以上内容全部替换mohdm2.scr内容

  • 1 个月后...

结果是什么???

好!偶稀饭

  • 2 周后...

能不能作一个炸铁丝网的爆破程序,奥玛哈海滩那关,有铁丝网,过不去,挺烦人的,我以前添加过爆破筒,但没有搞爆破装置,所以还是不行,请老兄搞一个我用一下吧

  • 作者

要是按USE键爆破容易些,

要是加入反复拆卸的爆破比较难了..

那个OMAHA有些铁丝网能不能炸掉,

要看它的BSP内有没有物件的代号(如V2的火箭)

没有的话可能不行了...俺看一下再说了...

  • 作者

能不能作一个炸铁丝网的爆破程序,奥玛哈海滩那关,有铁丝网,过不去,挺烦人的,我以前添加过爆破筒,但没有搞爆破装置,所以还是不行,请老兄搞一个我用一下吧

原OBJ3板面有3段的铁丝网可删除,那是原稿的左,中,右放爆破筒的位置

其它的铁丝网看来是不能删除了....

但也不是没有方法,俺有一种方法就是将barbwire_long.tik(大铁丝网)

全部删掉(模型内容清空),然后用小段铁丝网(模型)拼成,再放上爆破筒

即可,只是要些功夫...

// Entity #120                       //**************右边
{
"testanim" "idle"
"angles" "0 90 0"
"classname" "script_model"
"scale" "1.0"
"model" "animate//barbwire_long.tik"
"origin" "2247.53 -2496.11 -279.90"
"targetname" "barbwire_right"        
"spawnflags" "1"
}
// Entity #121                       //****************中间
{
"targetname" "barbwire_center"
"origin" "769.08 -2483.25 -279.90"
"model" "animate//barbwire_long.tik"
"scale" "1.0"
"classname" "script_model"
"angles" "0 95 0"
"testanim" "idle"
"spawnflags" "1"
}
// Entity #122                        //****************左边
{
"targetname" "barbwire_left"
"origin" "-920.66 -2516.36 -282.76"
"model" "animate//barbwire_long.tik"
"scale" "1.0"
"classname" "script_model"
"angles" "0 85 6"
"testanim" "idle"
"spawnflags" "1"
}[/code]

  • 3 周后...

把上边的内容贴进去,就可以实现爆破了吧?

创建账号或登录后评论

账号

导航

搜索

搜索

设置浏览器推送通知

Chrome(安卓)
  1. 点击地址栏旁边的锁形图标。
  2. 点击 权限 → 通知。
  3. 根据需要调整通知设置。
Chrome(桌面)
  1. 点击地址栏中的锁形图标。
  2. 选择 网站设置。
  3. 找到 通知,然后根据需要调整设置。