๐งช Gene Mechanics Deep Dive
Understand the mathematical foundation of Horsey Game genetics. Learn how gene values are calculated, discover hidden trait interactions, and master the science behind creating perfect specimens.
โ ๏ธ Advanced Guide
This guide explains the underlying mechanics of how genes work in Horsey Game. It's technical and math-heavy, designed for players who want to understand WHY certain DNA configurations work, not just copy templates.
If you just want to create fast horses, check out the CRISPR Complete Guide or Fastest Horses Showcase instead. Come back here when you're ready to experiment and optimize beyond existing templates.
Understanding Gene Value Calculation
Every gene in Horsey Game has two DNA strands (one from each parent). When these strands have different base pairs, the game calculates the final value using a priority-weighted formula.
The Core Formula
For genes where the two bases are different (e.g., TG instead of TT):
Where "m" is the priority percentage defined in the game's genes.xml file, and priority is determined by the "n" field (base order).
Example: NECK_ANGLE Gene
From the game files:
Base values: T=45, A=30, C=60, G=75
Priority order (n="TACG"): T (highest) โ A โ C โ G (lowest)
Priority weight (m): 90%
Calculation for TG:
T has higher priority than G, so:
(0.9 ร 45) + (0.1 ร 75) = 40.5 + 7.5 = 48ยฐ
Result: A horse with TG gets a 48-degree neck angle
Important Notes
- The order doesn't matter: TG and GT produce the same result
- Identical bases (TT, AA, CC, GG) use their pure value with no calculation
- Each gene has its own m value and priority order
- Higher m values mean the dominant base matters more
When m=100: Dominant Genes
Some genes have m=100, meaning the lower priority base is completely ignored for numerical calculations. However, there's a critical detail most players miss:
The Hidden Effect
Even when m=100 and the lower priority base doesn't affect the gene's numeric value, it STILL affects:
- Coat patterns and colors
- Visual appearance details
- Breeding inheritance patterns
This is why two horses with the same "effective" gene values can look completely different.
Special Gene Effects
Some genes have special effects that go beyond their numeric values. These are critical for advanced breeding.
CHEST_SMALL Gene
Numeric effect: Controls body size
Special effect: Having an A base gives the horse a sloped chest, regardless of the numeric value. This is purely visual but can affect hitboxes in sumo wrestling.
OSTO_SIZE Gene
Numeric effect: Controls spike size (if horse has back spikes)
Special effect: Having a G base makes the spikes rounded instead of pointed, changing the visual style completely.
Intelligence Interaction
Condition: HAS_ANTLERS = 1 AND HAT_SIZE > 50
Effect: This combination seems to grant intelligence even when HIGH_INTELLECT = 0. The horse will be smarter and potentially more stubborn.
Creating Special Species
Certain gene combinations trigger special species transformations. These override normal horse behavior.
๐ Fish (Dies on Land)
Fish transformation requires ALL three conditions:
SKIN_HEAD
Value must equal 2
SKIN_HUE
Value must equal 1
SKIN_HUE2
Value must equal 3
Note: Fish transformation takes priority over crocodile transformation if both conditions are met.
๐ Crocodile (Swims on Water)
Crocodile transformation requires at least 2 out of these 3 conditions:
Condition 1: Sharp Teeth
TEETH_SHAPE value = 3
Condition 2: Reptile Joints
LEG_JOINT_TYPE = 1 AND ARM_JOINT_TYPE = 1
Condition 3: Specific Green Shade
โข BASE_GREEN = 2 (AA or AG)
โข GREEN_KNOCKOUT = 0
โข BASE_BLACK = 0
โข SWAP_BASE_SPOT = 0
โข BASE_RED โค 2
Meeting 2 out of 3 conditions is enough. You don't need all three.
Racing Start Timing Issues
Many players report horses that consistently start late or too early in races. These are caused by specific gene configurations and can be fixed.
๐ Delayed Start Problem
Symptom: Horse consistently starts 0.5-1 second late
Cause: EAR_SIZE value is too low (โค10)
Solution: Increase EAR_SIZE to above 10. The horse will hear the starting signal better and react faster.
โก Early Start Problem
Symptom: Horse starts before the signal consistently
Cause: SPINAL_LOCO value = 1
Solution: Change SPINAL_LOCO to a different value. Note that SPINAL_LOCO = 1 also slows down overall movement speed.
โ ๏ธ Testing Note
These observations come from community testing and may not be 100% accurate in all cases. Use this information at your own risk and test your horses before important races.
๐ฌ Practical Applications
Now that you understand the mechanics, here's how to apply this knowledge:
For Optimization
- Calculate exact values instead of guessing
- Understand why certain combinations work
- Fine-tune genes for specific numeric targets
- Predict offspring values before breeding
For Experimentation
- Create fish or crocodile horses intentionally
- Fix racing start timing issues
- Understand visual vs. numeric effects
- Design horses for specific challenges
For Breeding
- Predict which traits will dominate
- Understand why offspring vary
- Control inheritance patterns
- Avoid unwanted special effects
For Troubleshooting
- Diagnose performance issues
- Fix unexpected behaviors
- Understand why templates fail
- Adapt existing builds to your needs
FAQ
What does the "m" value in genes mean?
The "m" value determines the priority percentage. For example, m=90 means 90% of the higher priority base and 10% of the lower priority base are used in the calculation.
Do both DNA strands always matter?
When m=100, only the higher priority base matters numerically. However, the lower priority base still affects coat patterns and colors even when m=100.
How do I make my horse start on time in races?
If your horse consistently starts late, increase EAR_SIZE to above 10. If it starts too early, avoid SPINAL_LOCO value of 1.
Can I create a fish or crocodile horse?
Yes! Fish requires specific SKIN_HEAD, SKIN_HUE values. Crocodiles need 2 out of 3 conditions: TEETH_SHAPE=3, specific joint types, or certain green coloring.
Related Guides
CRISPR Complete Guide โ
Apply this knowledge with hands-on gene editing in the CRISPR lab.
Fastest Horses Showcase โ
See these mechanics in action with proven champion DNA templates.
Advanced Breeding โ
Use gene mechanics knowledge to predict and control breeding outcomes.
Gene Editor Tool โ
Interactive tool that calculates gene values in real-time as you edit.
๐ฌ Comments & Discussion
Share your thoughts, ask questions, or discuss strategies with the community!