MecJob002

Overview

MecJob002 is the second of 3 thin MecJob subclasses — delivers a damaged vehicle labeled "m35" (displayed as reference image global_polaroid_cortez) to the mechanic’s garage. The smallest of the three: unlike MecJob001 it doesn’t spawn its own starter vehicle, and unlike MecJob003 it doesn’t override LoadAssets/Cleanup — it relies entirely on whatever places the target vehicle in the world and on MecJob’s own layer/cleanup handling.

Inheritance

Instance pattern

Native task-framework subclass (self-based) — no state of its own beyond the identity fields it sets on self before deferring to its parent.

Functions

Activated(self)

Sets sVehImg/sVehLabel/sObjText/iMinHealth/sIntro/sWrongVeh/sRightVeh (label "m35", minimum health 30) and sPropVehTemplate = "Monster Truck phase1" (the damaged-vehicle prop MecJob’s own Activated spawns/respawns), then calls MecJob.Activated(self) (super call).

Events

None registered directly in this file — all event wiring happens in MecJob.

Notes for modders

  • This is the native MrxTaskContract/WifMissionData mission system (the MrxTaskJob branch), not Contract Framework — see Contract.Register & Lifecycle for why mods use a different, ephemeral system instead of hooking into this one directly.
  • The sPropVehTemplate field is what makes MecJob spawn a visible “damaged vehicle” placeholder prop at mc001.propVehicle — omit it (as MecJob001 does) if your variant doesn’t need one.

Back to top

This site uses Just the Docs, a documentation theme for Jekyll.