.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old March 12th, 2008, 07:30 AM

fantasma fantasma is offline
Corporal
 
Join Date: Feb 2008
Posts: 150
Thanks: 0
Thanked 10 Times in 9 Posts
fantasma is on a distinguished road
Default many things determined by #id

is it just my impression or are there really many things determined by the order of their respective (sometimes hidden) id rather than random? I guess most of the time they are harmless but some are really annoying.

For example, I remember two games (ashen empire and ma ulm), both with luck scales and big enough to max out events/turn, were getting almost only those bad events from the newly conquered provinces with lower id and enemy misfortune dominion.

What I would suggest whenever iterating over some id, insert a function call that will randomise its order. I think that can be done fairly easily with search/replace.

For combat action there has to be some fixed order or communions become severely handicapped.

Examples are
monthly rituals - sometimes annoying if you always start searching from the south
action in combat - at least it is shown in the army setup
random events (province id) - problematic if capped and playing turmoil/luck and invading misfortune from the north
army movement?
global enchantments? - having the lowest caster gets the last empty slot?
forging artifacts?

I'm sure their are others.

What do you think about it?
PS: ? indicates that it is just my guess
Reply With Quote
  #2  
Old March 12th, 2008, 07:39 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: many things determined by #id

Id#s are complicated in Dominions 3. I'll get back to you in a little while.
Reply With Quote
  #3  
Old March 12th, 2008, 08:03 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: many things determined by #id

Right, finally got rid of that customer and on a break...
  • Monthly rituals like site searching: Start from the province with the lowest province number that you have not done yet (and in the case of site searching spells, that does not have more than 1 site already found AND does not have that path searched at any level). This cannot be altered.
  • Actions in combat: Always performed in the order the commanders appear in the army setup, from top to bottom. This is because each commander has the invisible unique identifier, which is used to keep track of experience, magic paths, afflictions etc that are specific to the individual unit. Lowest number goes first.
  • Random events: Not determined by province number, but number of events is capped at 3. If you have a number of turmoil/misfortune provinces you just captured, be prepared to deal with the fallout from that. However, it is possible that events are checked for each province every turn and if so, it probably goes from lowest up. So your specific situation may casue problems. Not necessarily feasible to change this mechanism.
  • Globals: Lowest ID goes first. Most powerful spell will override weakest active one in case this results in a clash (assuming it's stronger than the weakest active one, otherwise it fizzles).
  • Artifacts: Lowest number goes first
The ritual casting order should be random according to the manual, but a random casting order has never to my knowledge been observed. Combat is verified to go in IUID order, not randomly.
Reply With Quote
  #4  
Old March 12th, 2008, 09:04 AM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default Re: many things determined by #id

I have often gotten more than three truly random events per month.

I did some testing and got six random events in a single turn and posted the save game in an attachment here:

http://www.shrapnelcommunity.com/thr...ev=#Post584064

There are no battles in the turn at all.
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
Reply With Quote
  #5  
Old March 12th, 2008, 09:11 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: many things determined by #id

Yeah, I've got more than three in a relatively short test as well.
Reply With Quote
  #6  
Old March 12th, 2008, 11:36 AM

fantasma fantasma is offline
Corporal
 
Join Date: Feb 2008
Posts: 150
Thanks: 0
Thanked 10 Times in 9 Posts
fantasma is on a distinguished road
Default Re: many things determined by #id

can be, the point was rather to discuss whether things are too much influenced by their arbitrary but fixed order (via id) or if this is not an issue at all.

I tried to give an example with the events. As it looks, there can be more than 3 but what I'm talking about is realistic proportions.

What I meant was more like if the code goes over all provinces in their order and checks if there is an event (based on scales) and checks if there were already enough/too many events for that nation and ignores the other provinces. I, at least had the impression that it works like that, more or less.

This was in 3.10, maybe it's changed with the scales spreading changes?

Anyways, thanks for the replies
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:16 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.