[Solved] GalaxyScenarioDef Grief

I am trying to import Sins Plus and everything works accept the GalaxyScenarioDef is spitting out an error.

Assert @ c:\projects\Perforce\SinsDiplomacy\main\CodeSource\Engine/Math/RandomStream.h(75)
maxV >= minV

I am guessing this is one of my counts but I can find the damn thing after going over it and over it.

Any ideas?

galaxyscenariodef.galaxyscenariodef

Solved

3,125 views 4 replies
Reply #1 Top

as I read the error message, it suggests to me that the random generator is being asked for a number in a range where the max value is larger than the min value, but that is my guess, it could also be max Velocity

could it be to do with the WithChance values?

I usually set them up largest to smallest.

harpo

 

Reply #2 Top

Actually yes , I have had this same error with a mod and thought it was either a entity error or a galaxyscenario.def error. In fact it was a mesh error. Once i removed a custom mesh the error went away. It was a custom mesh for a added planet mesh. The mesh was creating the error in conjunctuion with the galaxy scenario file. I would say start looking at the custom mesh for the planets , you will find the culprit. let me know if this helps thanks jtaylorpcs

Reply #3 Top

:thumbsup:  I'm on it. Thanks for the direction.

Reply #4 Top

What a pain in the ass. First I checked all the meshes. Then I had to totally start from scratch slowly adding to the GalaxyScenarioDef and once I started adding to the WeightedRandom 1 at a time and testing and testing and testing, arrrrgggg.

orbitBodyType "Industrial"

and boom

Assert @ c:\projects\Perforce\SinsDiplomacy\main\CodeSource\Engine/Math/RandomStream.h(75)
maxV >= minV

I have no idea yet what causes it yet but I will find it.

EDIT

metalResourceAsteroidSetup

 minCount 3

 maxCount 1

doohhh  :S :thumbsdown:  Hole damn day on that one. Not to mention a 500 population max where a home Terran only has 280 max.