Thought I might ask a question here to avoid getting someone else to do it for me,
would anyone know the basic scripting for changing the damage done from kicks & punches?
The way I would normally do it is using this trigger:
ti_on_agent_hit = -28.0 #can only be used in module_mission_templates triggers
# Trigger Param 1: damage inflicted agent_id
# Trigger Param 2: damage dealer agent_id
# Trigger Param 3: inflicted damage
# Trigger Param 4: hit bone
# Trigger Param 5: missile item kind no
# Register 0: damage dealer item_id
# Position Register 0: position of the blow
# rotation gives the direction of the blow
# Trigger result: if returned result is greater than or equal to zero, inflicted damage is set to the value specified by the module.
I simply check that the player has no item equipped (for punches, not sure about kicking since it can be done while holding a weapon). Then change the damage using:
(set_trigger_result, [new damage]),
Since you can get the original damage with # Trigger Param 3: inflicted damage, you can either adjust this, or just create a standard amount of damage you want done, e.g. (set_trigger_result, 10),