Navigation
Browse the developer docs

FH2 Mod Platform for .NET

Skills

How soon the game can award a skill again.

By Bartholomew Ho (qiangqiang101) · MIT license · v0.12.0 · 15 Nov 2026 · repository · original page

On this page

How soon the game can award a skill again. After awarding Wreckage, the game waits 2.5 seconds before it awards another, so smashing through a forest gives one Wreckage, then nothing for a while. Skills changes that wait for Wreckage, Lumberjack and Sideswipe.

New in 0.10.0.

Thread: any. Set the delays in OnInit: the game reads its skills once, while it starts. A delay set later applies straight away if the game has read that skill already.

Example

protected override void OnInit()
{
    Skills.SetRetriggerDelay(Skill.Wreckage, 1.0f);     // a Wreckage every second you keep smashing
    Skills.SetRetriggerDelay(Skill.Lumberjack, 2.5f);
}
Protected Overrides Sub OnInit()
    Skills.SetRetriggerDelay(Skill.Wreckage, 1.0F)      ' a Wreckage every second you keep smashing
    Skills.SetRetriggerDelay(Skill.Lumberjack, 2.5F)
End Sub

Members

MemberWhat it does
SetRetriggerDelay(Skill skill, float seconds) (method)How many seconds after awarding skill the game waits before it can award it again. A negative value keeps the game's own.
RetriggerDelay(Skill skill) (method, returns float?)The delay the game uses for skill now, or null before the game has read its skills.

Skill

ValueThe skill
WreckageSmashing scenery. The game's own delay is 2.5 s.
LumberjackSmashing log piles (and trees a mod makes count as one).
SideswipeRubbing against another car.

Notes

  • The delay is the game's own setting (Skills.xml's RetriggerDelay), changed in memory: nothing on disk is touched.
  • If two mods set the same skill, the last one to set it wins.
  • On a game build the SDK doesn't support, the delays stay the game's and platform.log says so.

See also

Copied from the wiki page Skills at commit 7396a07 · MIT license
MIT License

Copyright (c) 2026 Bartholomew Ho

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.