Difference between revisions of "Template:LSL Constants/Custom Damage Types"

From Second Life Wiki
Jump to navigation Jump to search
(Create a community list of custom damage types for Combat2)
 
m (Avoid linking on the custom damage types as not official)
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
! title="Value" {{!}}
! title="Value" {{!}}
! class="unsortable" {{!}} Description
! class="unsortable" {{!}} Description
! {{!}} Creator <!-- Creator and generally the technical contact to refer to esp if you need to now details regarding a damage type -->
! {{!}} Creator <!-- Creator and generally the technical contact to refer to, especially if you need to contact them for details regarding the damage type if the System page/site isn't clear -->
! {{!}} System <!-- The brand, combat or game system it relates to if applicable, otherwise leave empty -->
! {{!}} System <!-- The brand, combat or game system it relates to if applicable, otherwise leave empty. This can also link to technical documentation of your system either on this wiki or an external website, for example for my project Vertical Sim per the wiki best practices I would have to add it under my user page at https://wiki.secondlife.com/wiki/User:Nexii_Malthus/Vertical_Sim to avoid polluting the global namespace, the link would look like: [[User:Nexii_Malthus/Vertical_Sim|Vertical Sim]] -->
{{!}}-
{{!}}-


Line 15: Line 15:
<!-- Nexii Malthus 100–199 -->
<!-- Nexii Malthus 100–199 -->
{{!}}-
{{!}}-
{{!}}{{LSL Const|DAMAGE_TYPE_MEDICAL|integer|100|c=Negative damage to heal a wound, damaged limb, first aid, etc. Intended for generic healing of biological nature. Positive damage would be medical malpractice}}
{{!}}{{LSL Const|nolink=*|DAMAGE_TYPE_MEDICAL|integer|100|c=Negative damage to heal a wound, damaged limb, first aid, etc. Intended for generic healing of biological nature. Positive damage would be medical malpractice}}
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
Line 21: Line 21:
{{!}}Vertical Sim
{{!}}Vertical Sim
{{!}}-
{{!}}-
{{!}}{{LSL Const|DAMAGE_TYPE_REPAIR|integer|101|c=Negative damage from repairing an object or something mechanical, welding torch or wrench on a vehicle/robot/mech, etc. Positive damage can be due to mistakes, low skill or sabotage. Intended for generic healing of non-biological nature (e.g. a mechanical tank or an electrical system).}}
{{!}}{{LSL Const|nolink=*|DAMAGE_TYPE_REPAIR|integer|101|c=Negative damage from repairing an object or something mechanical, welding torch or wrench on a vehicle/robot/mech, etc. Positive damage can be due to mistakes, low skill or sabotage. Intended for generic healing of non-biological nature (e.g. a mechanical tank or an electrical system).}}
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
Line 27: Line 27:
{{!}}Vertical Sim
{{!}}Vertical Sim
{{!}}-
{{!}}-
{{!}}{{LSL Const|DAMAGE_TYPE_EXPLOSIVE|integer|102|c=Damage caused by an explosive blast, like a grenade}}
{{!}}{{LSL Const|nolink=*|DAMAGE_TYPE_EXPLOSIVE|integer|102|c=Damage caused by an explosive blast, like a grenade}}
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
Line 33: Line 33:
{{!}}Vertical Sim
{{!}}Vertical Sim
{{!}}-
{{!}}-
{{!}}{{LSL Const|DAMAGE_TYPE_CRUSH|integer|103|c=Damage caused by crushing. Such as being crushed by water pressure}}
{{!}}{{LSL Const|nolink=*|DAMAGE_TYPE_CRUSHING|integer|103|c=Damage caused by crushing. Such as being crushed by water pressure}}
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
Line 42: Line 42:




<!-- You #00–#99 — If you want to add a custom set of types, to avoid overlaps reserve a #00-#99 range block as creator, see my example above and copy the block down below and increment the range by 100 -->


<!-- You #00–#99 — If you want to add a custom set of types, to avoid overlaps reserve a #00-#99 range block as creator, see my example above and copy the block down below -->








{{!}}}
</div></div>


{{!}}}
Custom damage types are in blocks of #00-#99 per Creator. You can reserve another block range if you filled one.
Custom damage types are in blocks of #00-#99 per Creator. You can reserve another block range if you filled one.


Please use a simple description that someone could understand and re-use the damage type themselves as well.
It is recommended to use simple words for the damage type and the description should describe the intent. Someone might want to use your damage type in their scripts or it could even be used in third party HUDs that may need to describe your damage to a reader. E.g. for DAMAGE_TYPE_CRUSHING from an object named "water" I could code a PvP Reporting HUD to tell the (user) was (crushed) by (water).
</div></div>

Latest revision as of 13:53, 26 June 2024

Flag Description Creator System
DAMAGE_TYPE_MEDICAL 100 Negative damage to heal a wound, damaged limb, first aid, etc. Intended for generic healing of biological nature. Positive damage would be medical malpractice Nexii Malthus Vertical Sim
DAMAGE_TYPE_REPAIR 101 Negative damage from repairing an object or something mechanical, welding torch or wrench on a vehicle/robot/mech, etc. Positive damage can be due to mistakes, low skill or sabotage. Intended for generic healing of non-biological nature (e.g. a mechanical tank or an electrical system). Nexii Malthus Vertical Sim
DAMAGE_TYPE_EXPLOSIVE 102 Damage caused by an explosive blast, like a grenade Nexii Malthus Vertical Sim
DAMAGE_TYPE_CRUSHING 103 Damage caused by crushing. Such as being crushed by water pressure Nexii Malthus Vertical Sim

Custom damage types are in blocks of #00-#99 per Creator. You can reserve another block range if you filled one.

It is recommended to use simple words for the damage type and the description should describe the intent. Someone might want to use your damage type in their scripts or it could even be used in third party HUDs that may need to describe your damage to a reader. E.g. for DAMAGE_TYPE_CRUSHING from an object named "water" I could code a PvP Reporting HUD to tell the (user) was (crushed) by (water).