Jump to content
主视角中国

Recommended Posts

Posted

没问题,只是枯燥乏味,这个M1L2B.SCR已经是30多K的程序了,....

实在是没搞明白,弄不出来啊,麻烦你老说细点吧,唉!郁闷

Posted

简单的说,这个PK3的M1L2B的程序内有这几个功能

1,加了按USE后炸弹显现,如

trig3:

spawn trigger_use "origin" "4083.21 3409.78 299.96"

$Tank03TRIG setsize ( -30 -30 -30 ) ( 30 30 30 )

$Tank03TRIG setthread tank03_bombed

$Tank03TRIG waittill trigger

end

tank03_bombed:

local.player = parm.other

if (local.player.dmteam == axis)

{

thread trig3

}

else

{

$Tank03Avatar remove

parm.other playsound Bomb_Planted

$bomb03 model "animate//radiobomb.tik"

$bomb03 playsound radiobomb

level.tank03_bombplanted = 1

level.bombsleft = (level.bombsleft - 1)

thread nexttank

}

end

2.加按USE后卡车的油管断裂,如

trig5:

spawn trigger_use "origin" "-3775 2802 -208"

$Opel1TRIG setsize ( -30 -30 -30 ) ( 30 30 30 )

$Opel1TRIG setthread opentruck01_disabled

$Opel1TRIG waittill trigger

end

opentruck01_disabled:

local.player = parm.other

if (local.player.dmteam == axis)

{

thread trig5

}

else

{

$Truck01Avatar deactivate

$wire01 remove

$opentruck01 playsound m1l2b_disabletruck

$cutwire01 show

level.opentruck01_disabled = 1

thread nexttruck

}

end

3.加一个计数器

这方面介绍过

level.tank03_bombplanted = 1

level.bombsleft = (level.bombsleft - 1)

level.opentruck01_disabled = 1

.......

当计数器=设定值时,将爆炸

4,加了连续固定视点的爆炸场面

explode:

这个explode程序自已看吧

....

end

以上是简单写一写......

另,本人不建议.SCR的容量>20K...

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.

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