Jump to content

Seed: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 1 revision imported
 
(No difference)

Latest revision as of 22:04, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Seed
File(s): rules(md).ini
Values: ERROR – No value types set! Please edit this page and fix the Flag template!

This entry was copied from DeeZire's Red Alert 2 and Yuris Revenge INI Editing Guide for the sake of completeness. As it is not our intention to rip off DeeZire's work, this article is subject to a re-write and update with the latest community knowledge.

For further information, please read Inclusion of The Guide.




A random number between 1 and 65535 which is used as the randomizer seed when determining how much water there should be and what 'shape' it should form (either a river or a lake). Changing this number can have quite an effect on the map, and its this value which will dramatically alter how the map appears. Creation of a Random Map is based on a random fractal generation process (as this closely reflects a model of some natural life processes). For information, here�s the process used for the code to create a random map - note that the placement of water is early in the process, which explains the significance attached to adjusting the Seed= value;-

- Initialize the Random Map
- Seed Water
- Initialize Regions
- Make Regions
- Recalculate Cell Attributes
- Create Starting Points
- Add Tech Buildings
- Create Ore
- Create Hills
- Create LATs, Rocks and Terrain items
- Cleanup
- Compute Preview

You cannot set this in the Random Map Generator - it derives this value itself.