中国虚拟军事网(VME)- 专注于武装突袭系列虚拟军事游戏

 找回密码
 加入VME

QQ登录

只需一步,快速开始

搜索
12
返回列表 发新帖
楼主: a2677998

[讨论] 各位兄弟 谁能看懂这个脚本在哪里修改爆炸的大小的?

[复制链接]
发表于 2012-6-27 22:07:20 | 显示全部楼层
"HelicopterExploSmall"
"HelicopterExploBig"
這幾個呢?剛剛在幫你找網路上的資料時翻到的~!
发表于 2012-6-27 22:08:50 | 显示全部楼层
  1. //////////////////////////////////////////////////////////////////
  2. // Function file for Armed Assault
  3. // Created by: TODO: Author Name
  4. //////////////////////////////////////////////////////////////////
  5. // Use the following to activate the script.
  6. // nul=[center,size,howmany,delay] execVM "RndExpl.sqf"
  7. // or use
  8. // nul=[this,50,20,5]execVM "RndExpl.sqf" placed in a game logic Init for instant result.
  9. // ///////////////////////////////////////////////////////////////
  10. // 1. Center place an object ot gamelogic where you want the explosions.
  11. // 2. Choose the size of the area in metere.
  12. // 3. Select how many explosions you require
  13. // 4. Select the maximum delay between explosions in seconds.
  14. // 5. minimum delay is 0.5 secs and can be changed in the script.
  15. // 6. If the two // are removed from the "Grenadebase" line a more visible marke is left on the ground.

  16. _pos    = _this select 0;
  17. _area   = _this select 1;
  18. _rounds = _this select 2;
  19. _del    = _this select 3;

  20. _height = 0;// increase this if you want the items to fall from the sky.
  21. _ammo = "grenade";// Ammo can be changed for larger effects.

  22. for [{_i = 0},{_i < _rounds},{_i = _i + 1}] do
  23. {
  24. _newpos = GetPos _pos;
  25.   _posX = _newpos select 0;
  26.    _posY = _newpos select 1;
  27.    _bomb = _ammo createVehicle[(_posX + random _area)-_area/2, (_posY + random _area)-_area/2,_height];
  28. // _bomb = "GrenadeBase" createVehicle [(getpos _bomb select 0),(getpos _bomb select 1),-10];
  29. sleep (random _del)+0.5;// minimum delay 0.5, adjust for best results.
  30. };
复制代码
剛剛找到的,單純產生特效引爆的Script
 楼主| 发表于 2012-6-28 00:17:25 | 显示全部楼层
a8325811 发表于 2012-6-27 22:07
"HelicopterExploSmall"
"HelicopterExploBig"
這幾個呢?剛剛在幫你找網路上的資料時翻到的~!

这两个绝对有用   不过还有没有更多呢
 楼主| 发表于 2012-6-28 00:18:59 | 显示全部楼层
fan 发表于 2012-6-27 21:03
的确是的,进游戏用脚本看了下CfgAmmo其他的还有HelicopterExploBig.HelicopterExploSmall....等.

这个cfgammo具体是哪里打开的呢?要不整个txt发上来容小弟慢慢观看~
您需要登录后才可以回帖 登录 | 加入VME

本版积分规则

小黑屋|中国虚拟军事网

GMT+8, 2024-4-29 02:17

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表