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
- Inherits from:
MecJob(→MrxTaskJob→MrxTaskMission→MrxTask) —MecJobis a locally-defined base class in this samevz/corpus, not a native engine class. - Imports: none
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/WifMissionDatamission system (theMrxTaskJobbranch), not Contract Framework — see Contract.Register & Lifecycle for why mods use a different, ephemeral system instead of hooking into this one directly. - The
sPropVehTemplatefield is what makesMecJobspawn a visible “damaged vehicle” placeholder prop atmc001.propVehicle— omit it (asMecJob001does) if your variant doesn’t need one.