武装突袭3

武装突袭3

Grenade Window Breaker
32 条留言
STyx2909 6 月 15 日 下午 10:31 
A life saver until BI decided to add this to the game engine.
It is now obsolete.
Bl00dyDruid 2020 年 9 月 18 日 下午 10:07 
Not working on Wefferlingen from Global Mobilization DLC with mod grenades or smoke grenades
[Black_Hawk_BG]_->_<-_X-Ray 2019 年 4 月 9 日 下午 11:23 
Well, now it works with normal grenades. Stun grenades, for example, cause the same error, but I tried to throw 1 through a small hangar window.
[Black_Hawk_BG]_->_<-_X-Ray 2019 年 4 月 9 日 上午 12:01 
Still not working the right way. There's an error. I can send you a screenshot to see what's wrong.
[Black_Hawk_BG]_->_<-_X-Ray 2019 年 4 月 8 日 下午 10:23 
Thank you very much for your efforts, dude! I really appreciate your help. I will test it today. :)
Shift+g  [作者] 2019 年 4 月 8 日 下午 4:13 
@[Black_Hawk_BG]_->_<-_X-Ray

fixed, have a try. But just a few windows on that map won't work, if that is necessary, try to change the value in "fn_nadeWindowA3.sqf"---_t = 0.8 change the _t value bigger that will help. but not recommended, since that may cause two or three windows even the windows in the whole building be broken together, just depend on how big this value is.
[Black_Hawk_BG]_->_<-_X-Ray 2019 年 4 月 8 日 上午 4:52 
I don't know what kind of buildings are used on Tilos. That's where I've made the testing.
Shift+g  [作者] 2019 年 4 月 8 日 上午 1:55 
@[Black_Hawk_BG]_->_<-_X-Ray

What custom buildings are you using for your mission, I've tried the script with CUP buildings and all works fine, also no error throws
Shift+g  [作者] 2019 年 4 月 8 日 上午 1:33 
@[Black_Hawk_BG]_->_<-_X-Ray

You've used a custom building? I haven't tested it yet.
[Black_Hawk_BG]_->_<-_X-Ray 2019 年 4 月 8 日 上午 1:30 
Does it work only on vanilla windows?
[Black_Hawk_BG]_->_<-_X-Ray 2019 年 4 月 8 日 上午 1:29 
Absolutely. I am going to test it again separately from my current mission.
Shift+g  [作者] 2019 年 4 月 8 日 上午 1:24 
@[Black_Hawk_BG]_->_<-_X-Ray

It works fine for me, weird. Do you have the functions folder, Description.ext and initPlayerLocal.sqf, I mean all of them
[Black_Hawk_BG]_->_<-_X-Ray 2019 年 4 月 7 日 下午 11:41 
Thank you very much! :)
Shift+g  [作者] 2019 年 4 月 7 日 下午 11:39 
@[Black_Hawk_BG]_->_<-_X-Ray

Alright, I will check it out one hour later
[Black_Hawk_BG]_->_<-_X-Ray 2019 年 4 月 7 日 下午 11:28 
I use this combination with ace.
Shift+g  [作者] 2019 年 4 月 7 日 下午 11:24 
@[Black_Hawk_BG]_->_<-_X-Ray

Due to another report from Armatop, I wonder if there's a misunderstanding---Is your shift+g "throwing in vanilla way" or "throwing in ace3 way"
[Black_Hawk_BG]_->_<-_X-Ray 2019 年 4 月 7 日 下午 11:09 
That's the way I tried.
Shift+g  [作者] 2019 年 4 月 7 日 下午 11:07 
@[Black_Hawk_BG]_->_<-_X-Ray

the first important thing is whether you use shift+g to prepare grenade when you are using ace3, I don't think it won't work if you do it that way
[Black_Hawk_BG]_->_<-_X-Ray 2019 年 4 月 7 日 下午 10:57 
Absolutely. I didn't want additional mods, so I decided to use this version with the scripts. I copied all files to my scenario folder, but it didn't work for me. I tried the usual vanilla way to throw a grenade and the ace more complicated way. It did not change anything. I even double checked the files, but I am 100% sure everything's fine with them. Any solution or should try without ace? Because I must use it in any way in this scenario of mine, it's a dependency. How would I fix this or are you going to test it and fix it? :)
Armatop 2019 年 4 月 7 日 下午 10:33 
script with ace not working too
Shift+g  [作者] 2019 年 4 月 6 日 下午 11:31 
@Судья

but it's just too low for me, the latest version I have changed it to 10,78, (and the script has changed, recommend you to use the latest one), 10,78 sounds fine in my mod version, but it's kind of weird when I adjust it in sciprt version because the same value in two version, but just not the same volume in them. But due to the mod version test, I'll adjust it to 10,58 which is just much more suitable.
Судья 2019 年 4 月 6 日 下午 7:09 
All perfectly. but there is a slight drawback. the sound of breaking the window is much higher than the vanilla sound when broken from different distances. I changed the parameter. Try it.

playSound3D [format ["A3 \ Sounds_F \ arsenal \ sfx \ bullet_hits \ glass_0% 1.wss", (floor random 8) + 1], _na, false, _nP, 7.1,15]};
-->7,1,15
Shift+g  [作者] 2019 年 4 月 4 日 上午 3:40 
@[SeL] Belbo

Thank you for your advise.I will try to make this better, and also expect for your further suggestions and the ones from BI forum scripters.
[SeL] Belbo 2019 年 4 月 4 日 上午 12:42 
This is a great concept and idea.
I've taken a look at your code though and would recommend you to look into code optimisation.
Readability would be a great plus too, because there's very much room for improvement - and your code will cause some performance issues with clients, so it might be in your interest to have other community scripters to offer you guidance in regards of optimisation.
I'd take your script over to the BI forum, there are some really nifty scripters who are always willing to offer help.
Судья 2019 年 4 月 3 日 下午 11:08 
thank u)
Shift+g  [作者] 2019 年 4 月 3 日 下午 10:10 
@[JgBtl533] Patrick

I'll take that into account
Shift+g  [作者] 2019 年 4 月 3 日 下午 10:09 
@Судья

use a little time, find it's not so hard, here's the mod version
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1702704179
Patrick 2019 年 4 月 3 日 下午 2:47 
maybe you can make it work with "ACE3 Grenades"?
Shift+g  [作者] 2019 年 4 月 3 日 上午 10:04 
@Судья

I haven't try to turn any script to a mod before, so I don't know how to do it for now, and I have no time these days to learn it, so maybe sometime later or maybe someone who could help me to do that?
Судья 2019 年 4 月 3 日 上午 9:06 
what about mod version?
Shift+g  [作者] 2019 年 4 月 3 日 上午 8:06 
@Paladinknightsword

yes, here it is:
http://www.armaholic.com/page.php?id=34995
Paladinknightsword 2019 年 4 月 2 日 下午 5:00 
Do you have a direct download link available?