Random Variables?
Has anyone been able to get random variables to work? I would like a mod where the AI opponent randomly chooses one of several different AI sovereigns, but no luck.
Has anyone been able to get random variables to work? I would like a mod where the AI opponent randomly chooses one of several different AI sovereigns, but no luck.
Does anyone know or have some advice?
AFAIK we can't use Python yet, and XML is not a type of language where you can do such things.
Exactly. XML is designed to describe data.
There are a few random values, but they are all tied to their respective tags and attributes, and you can't use them to calculate things. Beyond that, I haven't seen anything in the xml files.
It is possible that we can describe random values right now, only we don't know how.
Nope. No idea how the <expressions> work which is, I believe, how they'd be implemented.
Thanks for the answers... hopefully we receive the designs for using randoms variables in one of the updates.
It won't be till fall when the inner workings of the game are exposed via Python.
Welcome Guest! Please take the time to register with us.