promotional bannermobile promotional banner

Genetic Trait Inheritance

**Genetic Trait Inheritance** is a lightweight, non-invasive ARK: Survival Ascended mod that enables tamed creatures to pass their **Gene Traits** down to their offspring during mating. **No DLC Required**

Genetic Trait Inheritance

Genetic Trait Inheritance is a lightweight, non-invasive ARK: Survival Ascended mod that enables tamed creatures to pass their Gene Traits down to their offspring during mating.

No DLC Required: This mod does not include any structures, items, or assets for storing, extracting, or manipulating traits, so it does not require the Bob's Tall Tales DLC. Using this mod standalone, the only way to groom and combine traits is through continued breeding.

This could be implemented cleaner if Wildcard populated the traits on mating complete from the DinoCharacter class, or even if ShooterGameMode had access to an OnMatingComplete delegate and Embryos behaved the same as eggs in regard to traits. As it is it feels a little "dirty" especially where live birth and embryo birth inheritance is considered. A bug/feature request was submitted here: https://studiowildcard.atlassian.net/browse/ASAIR-1404

Lobby your local Wildcard dev!

Key Features

  • Zero-Conflict Architecture: Uses a World Singleton Actor registered via PrimalGameData -> ServerExtraWorldSingletonActorClasses. No GameMode, structure, or creature Blueprint overrides—fully compatible with creature mods, breeding/incubator mods, and structure mods.
  • Egg-Layers, Hermaphrodites & Gestation Mammals: Writes inherited traits into NextBabyGeneTraits for fertilized eggs, and handles gestation live births plus extracted embryos (tagging embryos with CustomItemData so they survive cryofridges, server restarts, and cross-server transfers when hatched in an Embryo Incubator) with immediate client UI sync. (Note: Gestation tracking keys each mother by DinoID1/DinoID2—third-party recovery/cloning tools that duplicate identical Dino IDs across multiple females (SCS Cryo Dino Recovery) will cause those clones to share a gestation entry, meaning if multiple clones finish mating before extraction, the last clone's roll will overwrite the shared entry and be stamped onto all extracted embryos unless each embryo is extracted before the next clone finishes mating. Normal breeding and ARK's Tek Cloning Chamber assign unique IDs.)
  • Hermaphroditic & Special Breeder Support: Targets the partner owning the active mating state/offspring rather than assuming strict binary gender.
  • Configurable Probability & Step-Down Modes: Supports Multiplicative Decay, Fixed Stepping, and Locked Per-Slot Rates (all conditional).
  • Tier Preservation & Optional Upgrade: Inherited traits preserve their parent tier, with an optional INI-configurable chance to upgrade to the next tier.
  • ARK Rule Validation: Respects species trait eligibility (GeneTraitsCharacterCanHaveGeneTraits, IsTraitAllowedToBeOnThisCreature), per-trait stack limits, and ARK's maximum trait cap (5).
  • Optimized for large populations: Configurable time slicing and per tick processing coupled with mating maps gives large server administrtors peace of mind.

Configuration (GameUserSettings.ini)

Add the [GeneticTraitInheritance] section to your server or single-player GameUserSettings.ini:

[GeneticTraitInheritance]
; Enable (1) or disable (0) genetic trait inheritance
TraitInheritanceEnabled=1

; Step-down probability mode for multiple traits:
;   0 = Multiplicative Decay (P1 = TotalParentTraits * BaseChancePerTrait, subsequent = DecayPercent%)
;   1 = Fixed Stepping (P1 = BaseChance, each subsequent trait subtracts FixedStepPercent)
;   2 = Locked Rate (explicit conditional chance per slot: Slot1Chance..Slot5Chance)
StepDownMode=0

; --- Mode 0 Settings ---
; Base chance (%) added per parent trait for the 1st inherited trait (e.g., 2 = 2% per trait)
TraitInheritanceChancePerTrait=10.0
; Conditional chance (%) for each additional trait after the 1st (e.g., 50 = half as likely each step)
TraitInheritanceDecayPercent=33.3

; --- Mode 1 Settings ---
; Starting chance (%) for the 1st trait in Fixed Stepping mode (if 0, uses TotalParentTraits * ChancePerTrait)
FixedStepBaseChance=0.0
; Flat percentage subtracted for each subsequent trait
FixedStepPercent=10.0

; --- Mode 2 Settings (Locked Conditional Rates %) ---
Slot1Chance=80.0
Slot2Chance=25.0
Slot3Chance=10.0
Slot4Chance=5.0
Slot5Chance=1.0

; --- Limits, Tier Upgrades & Performance ---
; Maximum number of traits an offspring can inherit per mating (1-5)
TraitInheritanceMaxPerBaby=5
; Chance (%) for an inherited trait to upgrade to the next tier (0 = disabled)
TraitTierUpgradeChance=5.0
; How often (in seconds) a new full-map scan sweep begins (minimum 0.25)
PollIntervalSeconds=1.0
; Max PrimalDinoCharacter actors inspected per slice tick (minimum 50)
ScanBatchSize=300
; Max new mating pairs rolled per slice tick (minimum 1)
MaxPairsPerTick=20
; Interval (in seconds) between slice ticks while scanning (minimum 0.02)
SliceTickSeconds=0.05

; --- Debug ---
; Log mating rolls and cancellations to the server/console Output Log (1 = enabled, 0 = disabled)
DebugLogging=0

Probability Modes Explained

Genetic Trait Inheritance Probability Modes

All three modes are conditional: the mod rolls for Slot 1 first; if a slot fails, rolling stops immediately for that mating.

Mode 0: Multiplicative Decay (StepDownMode=0)

  • Slot 1: min(TotalParentTraits × TraitInheritanceChancePerTrait, 100%)
  • Slots 2–5: Each extra slot rolls a flat TraitInheritanceDecayPercent% conditional chance (which acts as a multiplier on the overall probability of reaching each extra trait).
  • Example (10 parent traits, TraitInheritanceChancePerTrait=2, TraitInheritanceDecayPercent=50):
    • 1+ traits: 20%
    • 2+ traits: 20% × 50% = 10%
    • 3+ traits: 10% × 50% = 5%
    • 4+ traits: 5% × 50% = 2.5%
    • 5 traits: 2.5% × 50% = 1.25%

Mode 1: Fixed Stepping (StepDownMode=1)

  • Slot 1: Uses FixedStepBaseChance (or falls back to Mode 0's Slot 1 formula if FixedStepBaseChance=0).
  • Slots 2–5: Each extra slot subtracts FixedStepPercent from the previous slot's conditional chance: max(PrevChance - FixedStepPercent, 0%).
  • Example (FixedStepBaseChance=60, FixedStepPercent=15):
    • Slot 1: 60% roll (60% overall)
    • Slot 2: 45% conditional roll (27% overall)
    • Slot 3: 30% conditional roll (8.1% overall)
    • Slot 4: 15% conditional roll (1.2% overall)
    • Slot 5: 0% conditional roll (0% overall)

Mode 2: Locked Rate (StepDownMode=2)

  • Slots 1–5: Each slot uses its explicit conditional rate (Slot1Chance..Slot5Chance).
  • Example (80, 25, 10, 5, 1):
    • Slot 1: 80% roll (80% overall)
    • Slot 2: 25% conditional roll (20% overall)
    • Slot 3: 10% conditional roll (2% overall)
    • Slot 4: 5% conditional roll (0.1% overall)
    • Slot 5: 1% conditional roll (0.001% overall)

Live Probability Mode Calculator

Live calculator


Large-Server Performance & Optimization

Genetic Trait Inheritance is built to run smoothly on high-population dedicated servers with thousands of loaded creatures:

  • Minimal Network Footprint: The singleton (BP_GeneticTraitInheritanceManager) never ticks every frame (CanEverTick = false), runs all mating/scanning logic strictly server-side (SwitchHasAuthority), and only sends a lightweight one-shot Multicast RPC (NetUpdateFrequency = 1.0) when a gestation baby or embryo hatches so nearby clients see the new traits immediately.
  • Time-Sliced Batch Scanning: Instead of looping over every loaded creature on the map in a single frame, each sweep snapshots loaded PrimalDinoCharacter actors and processes them in small batches (ScanBatchSize=300 every SliceTickSeconds=0.05s), then waits PollIntervalSeconds=1.0s before starting the next sweep.
  • Per-Tick Roll Budget: Even if hundreds of creatures start mating on the same tick, MaxPairsPerTick=20 caps how many inheritance rolls run per slice tick, spreading bursts evenly across frames.
  • Single Roll Per Mating Cycle: Active mating creatures are tracked in ActiveMatingMap, so each mating pair is rolled once when mating begins rather than on every scan.

Tuning Tip for Very Large Servers: If your server has 15,000+ loaded dinos and you want even lighter per-tick work, lower ScanBatchSize (e.g., 150–200) or raise PollIntervalSeconds (e.g., 2.0).


Installation

  1. Subscribe to / install Genetic Trait Inheritance on your server or client.
  2. Add the mod ID to your server's -mods= launch argument (or active mods list).
  3. (Optional) Customize [GeneticTraitInheritance] in GameUserSettings.ini and restart the server. (Console single-player users run with the built-in defaults until the in-game admin configuration tool is added.)

Planned Features

  • In-Game Admin Configuration Tool: An in-game settings UI allowing console single-player users and server admins to view and adjust inheritance modes, rates, tier upgrade chances, and performance tuning without editing GameUserSettings.ini.

Genetic Trait Inheritance Team

profile avatar
  • 3
    Projects
  • 15.2K
    Downloads

More from Sloanstar

  • TEK Genetics Lab project image

    TEK Genetics Lab

    A Tek-tier genetics workstation for that expands on Bob's Tall Tales trait management. Store up to 200 gene traits with a live 40-vial refrigerated display, combine or break down trait tiers, and convert dinosaur-specific traits to new target species.

    • 145
    • November 24, 2026
  • Wind Turbine Ascended project image

    Wind Turbine Ascended

    Wind Turbine Ascended - A revamp of the existing wind turbine.

    • 14.9K
    • August 20, 2025
  • TEK Genetics Lab project image

    TEK Genetics Lab

    A Tek-tier genetics workstation for that expands on Bob's Tall Tales trait management. Store up to 200 gene traits with a live 40-vial refrigerated display, combine or break down trait tiers, and convert dinosaur-specific traits to new target species.

    • 145
    • November 24, 2026
  • Wind Turbine Ascended project image

    Wind Turbine Ascended

    Wind Turbine Ascended - A revamp of the existing wind turbine.

    • 14.9K
    • August 20, 2025