Page 2 of 2
Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Tue Dec 11, 2012 3:08 pm
by archibalduk
Wow, I think Nino will be very interested in this!
You can't just tease us with screenshots and not tell us how you did it!!

How did you do it?
Lazion wrote:archibalduk wrote:Midas wrote:There are some hardcore "defunct" nations in game (like the Soviet Union) that I should try adjusting the game values on, to see if I can revive them in game

(as I have long desired to do!).
Heh I'm way ahead of you!

I tried setting the Soviet Union to Importance of 1 but it didn't make them appear in game (presumably more hardcoded things going on here).
Luckily it wasn't that hardcoded.

Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Tue Dec 11, 2012 4:06 pm
by Lazion
There's just missing some major info in nation.dat file.
I filled these U.S.S.R. values with Russian values:
First line:
CONTINENTS_PTR NationContinent;
CITIES_PTR NationCapitalCity;
ARENAS_PTR NationNationalStadium;
Second line:
CHAR NationRegion;
CHAR NationActualRegion;
CHAR NationFirstLanguage;
CHAR NationSecondLanguage;
CHAR NationThirdLanguage;
CHAR NationStateOfDevelopment;
CHAR NationGroupMembership;
CHAR NationGameImportance;
CHAR NationLeagueStandard;
Soviet Union stays unplayable.. that's hardcoded by nation.
Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Tue Dec 11, 2012 5:21 pm
by archibalduk
Lazion wrote:First line:
CONTINENTS_PTR NationContinent;
CITIES_PTR NationCapitalCity;
ARENAS_PTR NationNationalStadium;
Second line:
CHAR NationRegion;
CHAR NationActualRegion;
CHAR NationFirstLanguage;
CHAR NationSecondLanguage;
CHAR NationThirdLanguage;
CHAR NationStateOfDevelopment;
CHAR NationGroupMembership;
CHAR NationGameImportance;
CHAR NationLeagueStandard;
Soviet Union stays unplayable.. that's hardcoded by nation.
That's very interesting! I wonder which one of those affects whether the nation appears. Maybe it is a combination of them...
I had thought that whether or not a nation is playable depends on whether there are enough players of that nation in the game. Is my understanding incorrect?
Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Tue Dec 11, 2012 6:23 pm
by Alessandro
By playable you mean "manageable"? To manage a nation you must have at least 255 players in the DB
Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Tue Dec 11, 2012 11:55 pm
by nino33
Wow!...very cool!
Those that hexedit amaze me!

Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Sat Jan 05, 2013 9:22 am
by Lazion
Alessandro wrote:By playable you mean "manageable"? To manage a nation you must have at least 255 players in the DB
Is this strict rule? I have nations with only around 100 players manageable. (Australia, Iceland, Turkey, Estonia etc.) But then again Spain isn't even tho there's around 200 players.
Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Tue Apr 23, 2013 9:06 pm
by NingDynasty
Pretty cool stuff, in a dream world as players retire we could run a utility that could adjust regens countries ca/pa's to reflect the IIHF ranking score... making player generation dynamic, therefore allowing you to build up a nation and it's hockey relevancy. Perhaps even making the national league of the country more important in the process.
Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Wed Apr 24, 2013 2:31 pm
by Tasku
NingDynasty wrote:Pretty cool stuff, in a dream world as players retire we could run a utility that could adjust regens countries ca/pa's to reflect the IIHF ranking score... making player generation dynamic, therefore allowing you to build up a nation and it's hockey relevancy. Perhaps even making the national league of the country more important in the process.
The only problem with that would be that the IIHF rankings are based on national team success in IIHF tournaments, like the World Championships and Olympic Tournaments. This would be unfair to countries that have a lot of players in the NHL, like USA and Canada, and other countries as well, who have players in teams that are still competing for the Stanley Cup when the WC annual tournament begins in early May.
Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Wed Apr 24, 2013 3:11 pm
by NingDynasty
I don't think it'd be a problem at all as we could easily add some points to the two North American giants to make sure that is accounted for.
Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Wed Apr 24, 2013 3:13 pm
by Tasku
True. Good point.
Re: EHM 2007 Updater (A Pre-Game & Saved Game Editor)
Posted: Thu Aug 29, 2013 2:18 pm
by rob_lee
Hello!
As some of you might have found out already I am a lot into national teams in these manager games and EHM is awesome for that except for one thing. It seems as it's impossible to edit national teams in both pre-game editor and saved game editor.
I wonder if there is anyway to add a national tournament like the summit series? If not, maybe add so 8 games occur during summer every 8th year between Canada and Russia?
Anyone got any ideas of how I could add this sort of tournament to the game?
Looking forward to hear if there is a way!

Re: EHM 2007 Updater (A Pre-Game & Saved Game Editor)
Posted: Thu Aug 29, 2013 3:32 pm
by archibalduk
I'm afraid it's not possible to add/edit/remove international tournaments.
The best I can suggest is that you can make additional national teams playable using this tool:
http://www.ehmtheblueline.com/forums/vi ... =88&t=9171 (there is more info about this tool
here).
Re: EHM 2007 Updater (A Pre-Game & Saved Game Editor)
Posted: Thu Aug 29, 2013 4:16 pm
by rob_lee
Okay, why is everything that's got with national teams to do so darn restricted >.<
Anyway, what can I accomplish by adding more playable national teams? Is there a possibility to schedule any friendly games that way or is it just it if I unlock Turkey as a playable team for examle?
Re: EHM 2007 Updater (A Pre-Game & Saved Game Editor)
Posted: Thu Aug 29, 2013 6:28 pm
by zbguy
Will boosting the IIHF ratings and league importance of minor countries (like Albania, for example) eventually cause more Albanian players to appear in the world?
Re: EHM 2007 Updater (A Pre-Game & Saved Game Editor)
Posted: Thu Aug 29, 2013 7:16 pm
by Manimal
rob_lee wrote:Hello!
As some of you might have found out already I am a lot into national teams in these manager games and EHM is awesome for that except for one thing. It seems as it's impossible to edit national teams in both pre-game editor and saved game editor.
I wonder if there is anyway to add a national tournament like the summit series? If not, maybe add so 8 games occur during summer every 8th year between Canada and Russia?
Anyone got any ideas of how I could add this sort of tournament to the game?
Looking forward to hear if there is a way!

I deleted your other thread with the same question.
Please, ask only in one thread
Re: EHM 2007 Updater (A Pre-Game & Saved Game Editor)
Posted: Thu Aug 29, 2013 9:36 pm
by archibalduk
rob_lee wrote:Okay, why is everything that's got with national teams to do so darn restricted >.<
Anyway, what can I accomplish by adding more playable national teams? Is there a possibility to schedule any friendly games that way or is it just it if I unlock Turkey as a playable team for examle?
If you make them playable then I think it opens up the possibility for them to qualify for the World Championships and potentially some of the other tournaments. I can't say I've done enough testing, but assuming teams outside of the World Champs can accrue an IIHF score then it should allow them to qualify for the World Champs. You can edit the IIHF score using the editor I linked to, but the teams which play in the first season of World Champs (and all other international tournaments) are harcoded and so this lessens the effect of the updated IIHF scores (because the IIHF scoring system gives a greater weight to the most recent season of scores). However if you boost a team's IIHF score enough you can get them to qualify for the World Champs for season 2 (I managed this with the UAE).
If you want to make a team appear in the IIHF rankings then the nation's Importance must be set to at least 3. Setting the Importance to 4 makes them disappear from the IIHF rankings.
I recommend reading through this thread because it has a lot of useful pointers:
http://www.ehmtheblueline.com/forums/vi ... 110&t=9049
zbguy wrote:Will boosting the IIHF ratings and league importance of minor countries (like Albania, for example) eventually cause more Albanian players to appear in the world?
No, unfortunately not. As you may know, all newly created players are known as regens. Each regen replaces a player who has retired and they inherit certain characteristics of the retired player (IIRC such as nationality). So this means that the number of nationals in a game doesn't change. The only way to get more Albanian players in the game is to add such players using the Pre-Game Editor.
If you're looking to add more nationals to the game, you may want to try using the Nationality filter on the Advanced Player Search screen on EuroHockey (unfortunately it doesn't have Albania though):
http://www.eurohockey.com/players.html? ... r_search=1
Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Thu Aug 29, 2013 11:09 pm
by zbguy
I didn't realize regens also incorporated nationality. But adding players to the DB won't break anything? I don't have to replace an already-existing player?
Re: [nation.dat] Nation Extractor / IIHF Team Rankings
Posted: Fri Aug 30, 2013 1:54 am
by nino33
zbguy wrote:I didn't realize regens also incorporated nationality.
If you're interested, here's the thread on regens
http://www.ehmtheblueline.com/forums/vi ... lit=regens
zbguy wrote:But adding players to the DB won't break anything? I don't have to replace an already-existing player?
You can definitely add new players to a database, using either the PreGame Editor
http://www.ehmtheblueline.com/forums/vi ... =88&t=6745 or the EHM Updater
http://www.ehmtheblueline.com/forums/vi ... it=updater