Add LLCS region Setting to UI for Region/Estate
Adamphillip Resident
add all the region debug consol LLCS options below to the Region/Estate menu:
```allow_damage_adjust
Scripts are allowed to adjust damage.
Read/Write
health_regen_rate
The speed of health regeneration in hitpoints per second.
invulnerability_time
Invulnerablity time applied after avatar death.
damage_limit
Maximum damage per damage event.
damage_throttle
The maximum number of points of damage a single source may inflict on a target per second.
death_action
Set the action to take when an avatar dies in the region.
0 = Teleport home
1 = Teleport to parcel landing point.
2 = Teleport to region telehub.
3 = No action```
And add a Damage multiplier option that add a region/estate wide modifier to damage before Damage events are called in target scripts and acts before "damage_limit".
example; "set damage_multiplier 0.5" and "set damage_limit 100" would result in 100dmg weapons doing 50dmg and any weapon doing 200 or more damage doing 100dmg!
Also add a "ignore_impact_damage" true/false toggle for turning off damage from running really fast into a wall for example.
Log In
Spoons Delcon
Just ripped our private region up and moved to mainland. I seriously need this to be a thing. We can't even set spawn points anymore and tping people home from mainland can often crash for some reason. Spawn points and damage settings were awesome.
Toothless Draegonne
"Ignore Impact Damage" is probably beyond the scope of Combat2. The idea of Combat2 is to be compatible with LLCS while also enabling functions that more full-featured, user-created combat systems can use. So your scripted combat system can multiply DAMAGE_TYPE_IMPACT by 0 to provide invulnerability from prim or land collisions.
Having a UI to twiddle with the Combat2-related region debug settings would be handy though. The question is how to do it in an intuitive manner. You also have to consider that some of these settings are somewhat advanced, which is why they are hidden in the region debug console.
Adamphillip Resident
also maybe fold all/most of the Region debug console options into the main region settings