Jump to content
主视角中国

偷文件程序简介


moh8888

Recommended Posts

偷文件程序简介

在GAME中有些盟军偷文件的任务...

网摘的一个典型程序,经改动后如下:

documents:     //设定程序名为documents
local.docs = spawn script_model
local.docs model "models/items/naxosplans1.tik"      //文件模型你可用别的替代
local.docs.origin = ( x y z )           //坐标
local.docs.angle = 90                  //方向
local.trig = spawn trigger_use        //按USE键
local.trig.origin = ( -x y z )        //坐标
local.trig setsize ( -10 -10 -10 ) ( 10 10 10 )      //区域
local.trig setthread got_em           //执行got_em命令
local.trig waittill trigger
local.trig delay 0
local.trig wait .1
local.docs hide     // (应加在这里有效)
local.trig remove
end


got_em:  //got_em命令内容
local.allman = parm.other     //可以是任何人
//local.docs hide         //文件隐藏(透明)------>没了(我看这一条是错的,应X掉)
//<-------------------------------这里可加入其它的,如SOUND,想按USE键后发生的事件

end[/code]

俺没TEST,应没文题....

Link to comment
Share on other sites

爆炸筒步骤:

1,放一要爆炸的东东,如TANK...

2.放闪烁爆炸筒

3同位置放一爆炸模型(如带火光的爆炸.TIK)隐藏hide

3指定USE区域

4-----WAIT 10 等10秒

5爆炸模型显出(show)

7闪烁爆炸筒移除remove

8爆炸声音

9爆炸的东东移除remove

10爆炸模型移除remove

为了真实性加威力参数而产生地震和破坏力

Link to comment
Share on other sites

  • 2 weeks later...
  • 5 weeks later...
  • 1 month later...
  • 2 weeks later...

我得试试!

这是MOHDM3的德军图纸它在德军后方的小楼上

               local.papers = spawn script_model
local.papers model "animate/pulse_stg44plans.tik"
local.papers.origin = ( 3986.21 -1333.87 71.20 )
local.papers.angles = ( 0 0 0 )[/code]

请将以上代码放到MOHDM.SCR level waittill spawn下

盟军如何将它拿走呐?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

访客
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 创建新的...