武装突袭3

武装突袭3

251 个评价
Terrain Lib
2
2
   
奖励
收藏
已收藏
取消收藏
Data Type: Mod
文件大小
发表于
更新日期
93.264 KB
2023 年 4 月 23 日 上午 5:10
2024 年 5 月 30 日 下午 2:50
7 项改动说明 ( 查看 )

订阅以下载
Terrain Lib

在 Seb 的 1 个合集中
Seb's Mods
11 件物品
描述
Terrain Library
Use this mod as a terrain editor in Zeus

This provides some useful functions which makes working with terrain much nicer by allowing you to use triggers, markers, and function-based areas to modify terrain as an area, with a ton of parameters.

It also fixes a problem of network optimisation in multiplayer when it comes to changing terrain heights. By default, when you modify group of terrain points, unless the exact same group has been updated before then all points will be sent over the network. This means that you might be sending the same group of terrain points over the network tens of times to JIPs - terrible for server performance. This mod uses an automatic chunking system to fix that, but only when using TerrainLib functions.

Additionally, vehicle velocities are set to 0 when modifying object heights. This fixes that as best as possible when using area commands.

FEATURES:
- Easy, area-based terrain modification with lots of customisation parameters
- Automatic network optimisation for multiplayer (only when using TerrainLib commands)
- Fix vehicle velocity being set to 0 when changing object heights (area-based commands only)
- Increase compatibility between mods that depend on this mod
- CBA event system for hooking into setTerrainHeight events

How to use
Converting your existing code to make use of network optimisation and CBA events is a single line change:
// Your existing code: setTerrainHeight [_positionAndAltitudeArray, _adjustObjects]; // Your new code: [_positionAndAltitudeArray, _adjustObjects] call TerrainLib_fnc_setTerrainHeight;

Compatability
Generally speaking, will be compatible with other mods with minor issues
Deformer:
Don't use TerrainLib code until after the mission is in progress.
This ensures Deformer has already done its thing and the two won't overlap.
TerrainLib's restore terrain height commands will only restore to the original deformer modifications
Various crater mods
TerrainLib's restore terrain height commands will not be able to restore craters unless they were created using TerrainLib.

Code & Licensing
Please submit bug reports or feature requests to this projects GitHub[github.com]
Licensed Under GPLv2
Please do not bundle TerrainLib or its funtions with your addon, make this mod a dependency.
The mod functionality relies on having a single mod (this one) handling all terrain modificaiton


Looking for an Arma community? Check CNTO out:

https://www.carpenoctem.co/

https://www.youtube.com/watch?v=QE8tMdhDYjI
26 条留言
ribera1945e 7 月 14 日 上午 11:06 
Is it possible to create underground facilities while checking the changes this mod makes (for example, by making the ground sink) in EDEN?
Seb  [作者] 2024 年 7 月 31 日 上午 8:59 
Yep, it accepts a trigger as an area.
Ghostbadi 2024 年 7 月 30 日 下午 5:32 
So, from my understanding, i can make trigger specific size, and with code make trench out of that?
Seb  [作者] 2024 年 7 月 30 日 下午 12:48 
It's just some functions to use. The ve demonstration code shows the arguments as a map marker I guess.
Ghostbadi 2024 年 7 月 30 日 上午 11:59 
Is there a chance for "How To Use" step by step? Been reading trough whole day even on github, cant find a clear explanation step by step
ludilo2000 2024 年 6 月 7 日 上午 11:02 
how the fuck do i use this
ICEM4N 2024 年 2 月 17 日 下午 3:09 
instructions unclear, can you provide an better example?, sorry im just dumb xd
Nickis 2023 年 10 月 21 日 上午 9:04 
noooo, fuggin training grounds
Delta-Gamma 2023 年 10 月 14 日 下午 6:50 
Eden support would really make this mod rock.
QuadPapi 2023 年 7 月 10 日 上午 5:11 
Just stopped by to say the last picture is so fucking funny, good job!