武装突袭3

武装突袭3

54 个评价
Convert to Simple Objects
2
   
奖励
收藏
已收藏
取消收藏
Data Type: Composition
Meta: Dependency
文件大小
发表于
更新日期
1.272 KB
2022 年 4 月 20 日 上午 11:22
2022 年 4 月 26 日 下午 9:42
2 项改动说明 ( 查看 )

订阅以下载
Convert to Simple Objects

描述
**THIS IS NOT BIS_fnc_replaceWithSimpleObject**

Game logic entity that will convert synchronized objects to simple objects AND anything that is in the "Simple Objects" layer will be converted as well. Can work for any number of objects.

This will boost server performance by preventing the delegation of resources toward objects that do not require interaction in your mission (doors, physics, ladders, etc.). Ideal for "props" that only exist as cover or scenery.

https://community.bistudio.com/wiki/Arma_3:_Simple_Objects
20 条留言
Martin Friss 2024 年 11 月 12 日 上午 6:50 
THX!

Very nice script :)
Disco 2023 年 12 月 6 日 下午 5:18 
does this create dependency on missions?
Dutch 2023 年 12 月 5 日 下午 9:25 
Thanks for the quick reply! I've used it before on small scale and it worked, no issues. :D Some items like tents might as for a diff. texture but that's fine. I was more asking about any network negatives or overall tips on what never to use this for, I've seen some reports of Simple Objects in general causes desync on JIP or what not. Always difficult to seperate the chaff from the good stuff.
realartfo  [作者] 2023 年 12 月 5 日 下午 6:33 
whoops, thought i could markdown format a code block like in discord. The code to test if an object under your crosshair is a simple object is:

isSimpleObject cursorObject

in case that formatting causes confusion
realartfo  [作者] 2023 年 12 月 5 日 下午 6:31 
If you would like to verify its functionality you can use the isSimpleObject command in the debug console https://community.bistudio.com/wiki/isSimpleObject e.g.

```sqf
isSimpleObject cursorObject
```

while pointing your crosshair at the object in question. The only downsides I can recall is that objects lose everything interactive but their model properties (like collision) and sometimes the script does not cleanly replace the object (position and angle may be a little askew). I'd recommend loading the mission and taking a quick look before running the script live to see if you need to exclude anything.
Dutch 2023 年 12 月 5 日 上午 8:41 
Hey @Real - is this still usable after all the updates between 2022 and now? We're building a large campaign and might be looking at making A LOT of things simple through your system, any downsides you know about?
Nemac 2022 年 5 月 13 日 上午 5:03 
how does one go about using this?
Ellman 2022 年 4 月 28 日 上午 6:13 
@MKNavaG I've using "BIS_fnc_replaceWithSimpleObject" for the past 2 months without problems ^^
realartfo  [作者] 2022 年 4 月 27 日 下午 3:26 
To address your concerns, this script does not call BIS_fnc_replaceWithSimpleObject whatsoever.
MK_ 2022 年 4 月 27 日 下午 2:29 
quick question,
Are you manually circumventing the limitation of the simple object creation or using a massive BIS_fnc_replaceWithSimpleObject for evetything in the layer?

Asking as, stated in wiki, the later should not be used for MP as it might cause desync.