武装突袭3

武装突袭3

126 个评价
[SP & MP] Protesting civilians
   
奖励
收藏
已收藏
取消收藏
Data Type: Composition
文件大小
发表于
23.227 KB
2023 年 4 月 17 日 上午 1:29
1 项改动说明 ( 查看 )

订阅以下载
[SP & MP] Protesting civilians

描述
An MP compatible composition of generic protesting civilians.
With animations and sound. All vanilla, though they can be customized.

The protest will dissolve once a shot is fired. Civilians will run in panic to nearby random positions, regroup afterwards and move to a waypoint where they will be deleted.

It is best used in an urban envirorment since the firedNear eventhandler will only trigger for like a max. distance of ~69m.
36 条留言
SpaceGhost 1 月 13 日 上午 6:52 
It works in zeus, or it did the last time I used it.
JaySOC 2024 年 11 月 27 日 上午 5:52 
how to make this for server only? When spawned from editor everyone is lagging because of loading for everyone
Walker  [作者] 2023 年 8 月 29 日 上午 6:55 
@Athlete It was not supposed to be spawned with zeus, guess it just does not execute the code in this case depending on how the zeus implementation was achieved ;)
s-man 2023 年 8 月 27 日 上午 12:05 
when i spawn this composition as zeus in our local server they civis just run to a waypoint even if there are no gunshots nearby, am i missing something?
vuo 2023 年 8 月 19 日 上午 1:24 
regarding Kick Blitz's comment about the performance:
to my understanding, in a multiplayer environment, the unit init that the script is run through is executed by every player in the server.
because there are remoteExecuted and global commands in the script, these are run by all players and this can cause performance issues.
so if you have 12 players playing your mission, each of them would be running the script at the same time, executing commands on top of one another.

i think you should be able to make the script run server only if you add:

if (!isServer) exitWith {};

at the beginning of each unit init containing code.

that way the script should only run on the server.
correct me if i am wrong.
Supercon192 2023 年 7 月 28 日 上午 6:38 
@Oliveros_CZ this is not a mod this is a composition, Compositions can be used in zeus and in the editor, here is a video guide on compositions https://www.youtube.com/watch?app=desktop&v=kT6LwVunXXg&ab_channel=f9
Oliveros_CZ 2023 年 7 月 26 日 上午 9:47 
How can i use this mod?
Walker  [作者] 2023 年 7 月 18 日 下午 8:18 
No, i dont know if it is possible in this scope to adjust the eventhandlers trigger radius.

But i think the protest has a check if a certain variable is active on the unit. For limited use one could make a trigger, though you´d have to work the condition out, and set the variable to false to make em flee.
D2rkst2r 2023 年 7 月 18 日 下午 8:04 
The mod is awesome! Is there a way to adjust the firedNear trigger distance in the script ran on the main civ?
von Graf 2023 年 7 月 17 日 上午 5:34 
I remember in A2 there was a mod where protesters threw stones and knifes at you and were able to search for weapons in a certain area and use them. Greatest fun ever.
I'll try this out too. Thanks