News:

And we're back!

Main Menu

A glance at HoI3

Started by Norgy, August 07, 2009, 04:03:26 PM

Previous topic - Next topic

MadImmortalMan

Setting processor affinity to a single core made an insane amount of difference in game speed, BTW.
"Stability is destabilizing." --Hyman Minsky

"Complacency can be a self-denying prophecy."
"We have nothing to fear but lack of fear itself." --Larry Summers

Neil

So the game doesn't run properly on modern, multi-core computers?
I do not hate you, nor do I love you, but you are made out of atoms which I can use for something else.

MadBurgerMaker

Okay...I'm having some difficulty with this event chain here.  It probably has something to do with the fact that I've been drinking since noon, but whatever. 

###########################
#Release of Colonies TRIGGER
############################
country_event = {

id = 11113

is_triggered_only = yes

title = "Colonies Released"
desc = "asdgadhg"
picture = "fire"

option = {
name = "hurf"
ai_chance = { factor = 0 }
ENG = { country_event = 11114 }
FRA = { COUNTRY_EVENT = 11115 }
HOL = { COUNTRY_EVENT = 11116 }
duration = -1

}
}

############################
#British Colonies
############################
country_event = {

id = 11114

is_triggered_only = yes

trigger = {
tag = ENG
}

title = "UK Colonies Released"
desc = "safdah"
picture = "fire"

option = {
name = "ydhdf"
ai_chance = { factor = 100 }
release = ISR
release = JOR
release = PAL
release = EGY
release = PAK
release = IND
release = GUY
from = { country_event = 11113 }
}
}

#################################
#French Colonies
#################################
country_event = {

id = 11115

is_triggered_only = yes

trigger = {
tag = FRA
}

title = "FRA Colonies Released"
desc = "dkgasdga"
picture = "fire"

OPTION = {
NAME = "DSGASD"
AI_CHANCE = { FACTOR = 100 }
RELEASE = SYR
RELEASE = LEB
RELEASE = IDC
FROM = { COUNTRY_EVENT = 11113 }
}
}

################################
#DUTCH COLONIES
####################################
COUNTRY_EVENT = {

ID = 11116

IS_TRIGGERED_ONLY = YES

TRIGGER = {
TAG = HOL
}

TITLE = "Dutch Colonies Released"
DESC = "FAHDFHH"
PICTURE = "FIRE"

OPTION = {
NAME = "DASDAHFD"
AI_CHANCE = { FACTOR = 100 }
RELEASE = INO
FROM = { COUNTRY_EVENT = 11113 }
}
}


When I fire the thing from whichever country, it just immediately pops back up.  I put the duration = -1 thing in there hopeing that maybe that has something to do with it, but there was no change.  The event works, as in, it releases all of those countries, but the window ( the 11113 window that says the others will happen) just continuously pops up.  Maybe add the duration bit to all of them?

sbr

#273
Quote from: MadBurgerMaker on August 22, 2009, 05:58:05 PM
Okay...I'm having some difficulty with this event chain here.  It probably has something to do with the fact that I've been drinking since noon, but whatever. 

###########################
#Release of Colonies TRIGGER
############################
country_event = {

id = 11113

is_triggered_only = yes

title = "Colonies Released"
desc = "asdgadhg"
picture = "fire"

option = {
name = "hurf"
ai_chance = { factor = 0 }
ENG = { country_event = 11114 }
FRA = { COUNTRY_EVENT = 11115 }
HOL = { COUNTRY_EVENT = 11116 }
duration = -1

}
}

############################
#British Colonies
############################
country_event = {

id = 11114

is_triggered_only = yes

trigger = {
tag = ENG
}

title = "UK Colonies Released"
desc = "safdah"
picture = "fire"

option = {
name = "ydhdf"
ai_chance = { factor = 100 }
release = ISR
release = JOR
release = PAL
release = EGY
release = PAK
release = IND
release = GUY
from = { country_event = 11113 }
}
}

#################################
#French Colonies
#################################
country_event = {

id = 11115

is_triggered_only = yes

trigger = {
tag = FRA
}

title = "FRA Colonies Released"
desc = "dkgasdga"
picture = "fire"

OPTION = {
NAME = "DSGASD"
AI_CHANCE = { FACTOR = 100 }
RELEASE = SYR
RELEASE = LEB
RELEASE = IDC
FROM = { COUNTRY_EVENT = 11113 }
}
}

################################
#DUTCH COLONIES
####################################
COUNTRY_EVENT = {

ID = 11116

IS_TRIGGERED_ONLY = YES

TRIGGER = {
TAG = HOL
}

TITLE = "Dutch Colonies Released"
DESC = "FAHDFHH"
PICTURE = "FIRE"

OPTION = {
NAME = "DASDAHFD"
AI_CHANCE = { FACTOR = 100 }
RELEASE = INO
FROM = { COUNTRY_EVENT = 11113 }
}
}


When I fire the thing from whichever country, it just immediately pops back up.  I put the duration = -1 thing in there hopeing that maybe that has something to do with it, but there was no change.  The event works, as in, it releases all of those countries, but the window ( the 11113 window that says the others will happen) just continuously pops up.  Maybe add the duration bit to all of them?

What triggers event 11113?

You could use a flag to keep it from firing more than once.  Add something like:

NOT = { has_country_flag = released_colonies }

to the triggers, so it will only fire if that flag is not present. Then use

###########################
#Release of Colonies TRIGGER
############################
country_event = {
   
   id = 11113

   is_triggered_only = yes

   title = "Colonies Released"
   desc = "asdgadhg"
   picture = "fire"

   immediate = {
      set_country_flag = released_colonies
      }


   option = {
      name = "hurf"
      ai_chance = { factor = 0 }
      ENG = { country_event = 11114 }
      FRA = { COUNTRY_EVENT = 11115 }
      HOL = { COUNTRY_EVENT = 11116 }
      duration = -1
      
   }
}


This will add the released_colonies flag keeping it from firing a second time.

MadBurgerMaker

#274
That's not working either for some reason.  I tried both the "immediate" thing outside of the option, and just a regular set flag thing when you click on "hurf." 

Right now, it looks like this:

###########################
#Release of Colonies TRIGGER
############################
country_event = {

id = 11113

trigger = {

NOT = { has_country_flag = released_colonies }
not = { ai = yes }
}

title = "Colonies Released"
desc = "asdgadhg"
picture = "fire"

option = {
name = "hurf"
set_country_flag = released_colonies
ENG = { country_event = 11114 }
FRA = { COUNTRY_EVENT = 11115 }
HOL = { COUNTRY_EVENT = 11116 }
}
}


11114 - 11116 are unchanged.

sbr

Does the released_colonies flag appear in the save game file or is it not being set at all?

Ideologue

Occasionally the Paradox boards have a great post:

Quote from: brucemoYou can make a map and stick countries on it, but if the game can't identify and perform roles assigned to it by geography and politics, it's just making lemonade out of lemons to say that the game isn't "constrained" by history. It's like saying that a car with no steering wheel or brakes is not "constrained" by the road.

:lmfao:
Kinemalogue
Current reviews: The 'Burbs (9/10); Gremlins 2: The New Batch (9/10); John Wick: Chapter 2 (9/10); A Cure For Wellness (4/10)

sbr

Quote from: MadBurgerMaker on August 23, 2009, 09:23:19 AM
That's not working either for some reason.  I tried both the "immediate" thing outside of the option, and just a regular set flag thing when you click on "hurf." 

Another thought; it doesn't seem you can set the flag as part of the option, it has to be outside of there, liek I showed before.  I am not that familiar with the events/decisions system but in playing around with some other events I can't figure out any other way to set a flag than that.



sbr

I have no idea what this is but it is funny.

QuoteSWEDISH SOFTWARE FIRM PACKS UP AND JOINS MONASTERY
Stockholm (AP) (UPI) (CNN)
Swedish PC game developer Paradox shut its doors today after its entire staff quit to join a monastery.
"We've had it with whiners, gripers, complainers and finally death threats - and those were from our fanboys!" Said Paradox Chief Johan to our reporter earlier today. "We did our best but you can never please some people and when we started to go crazy ourselves trying to answer the same questions on our forum over and over again, well, it was just too much!"
The Paradox team jointly conferred overnight and agreed to accept an invitation to join a Russian monastery. "We know its near the old Stalingrad battlefield...we're not too sure where it is, but we're sure we can get there" said Johan as he finished packing. According to other Paradox staffers, Johan had begun to hallucinate that he was actually Benito Mussolini, having gone for weeks with little sleep and few days off while trying to get the latest Paradox game, Hearts of Iron 3, out the door in time. "We'll take care of him, don't worry" the staffers told our reporter as they all got into a wheezing VW van for the trip to Russia.
According to industry insiders, the rights to the upcoming Paradox title, Victoria 2, have been sold to a production company composed of gay Wii programmers, who intend upon converting the title into an
costume themed exercise and yoga game for sexually ambiguous obese people. "It's a growing market" said developer Tootie Fruitiloopy; we intend to fill it, even if we have to bend over backwards to do it."

http://forum.paradoxplaza.com/forum/showthread.php?t=424943

MadBurgerMaker

#279
Quote from: sbr on August 23, 2009, 10:33:05 AM
Does the released_colonies flag appear in the save game file or is it not being set at all?

Hm.  It is showing up in the save game file:

GRE={
    human=yes
    flags={
        released_colonies=yes
    }


This is from activating the event with the "set flag" bit inside the option, like my "looks like right now" post.

When I first fire it from the console, it...you know...says on the left side "NOT AI," and "Not Flag blahblah," but then when it reactivates itself, those don't pop up over there.  So it seems to check for that flag the first time, but not subsequent times.

:unsure:  I don't know wtf.

Edit:  If I reload, it's not popping up on start, but it will activate, then get into it's usual loop type thing.  Even though that flag is in there, etc.  Maybe it's treating the AI part as an "or" kind of deal instead of an "and"??? 

ulmont

Quote from: Johan[1.2] Won't be ready this week, should be out next week, god willing.

The following is done since last update.

- Day/night indicator has been added to minimap + provinces.
- More information in unitviews on sizes of units.
- Where Sprites switches to counters can now be set by the player.
- Separate toggles for Production and Slider AI.

and also bugfixes, and AI tweaks.
http://forum.paradoxplaza.com/forum/showthread.php?t=425276

Drakken


Ideologue

#282
I can't figure out how to get it through Steam.  Isn't it just supposed to, like, auto-do it?

Note for Tamas: "acquiring" a copy of the patch won't work either, because it just told me it couldn't find HoI3 installed. :P

I miss the old zip archives that you manually configured.  So much less opaque about how they worked.
Kinemalogue
Current reviews: The 'Burbs (9/10); Gremlins 2: The New Batch (9/10); John Wick: Chapter 2 (9/10); A Cure For Wellness (4/10)

sbr

Quote from: Ideologue on September 04, 2009, 02:16:01 PM
I can't figure out how to get it through Steam.  Isn't it just supposed to, like, auto-do it?

Note for Tamas: "acquiring" a copy of the patch won't work either, because it just told me it couldn't find HoI3 installed. :P

I miss the old zip archives that you manually configured.  So much less opaque about how they worked.

Any of this helpful

http://forum.paradoxplaza.com/forum/showthread.php?t=427915

MadBurgerMaker

Sloooowwww download for me at the moment.   <_<