Editing league rules and structures in EHM 1

Discuss all aspects of editing the data and databases in EHM here. Have a question about the EHM Editor, EHM Assistant, editing the .cfg files, hex editing the .dat or .db files? Want to tweak the EHM exe file to change league rules/structure, start date etc? This is the place!
Forum rules
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.

Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.

Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.

Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
Post Reply
User avatar
riz_si
SI Games
Posts: 412
Joined: Mon Mar 14, 2005 10:58 am
Location: Helsinki, Finland (the Eastside, duh)

Re: Editing league rules and structures in EHM 1

Post by riz_si »

The additional WJC divisions won't work in 1.3 because the code is not setup to expect additional custom international comps in the World Championships system. And by that I mean the promotion/relegation won't work as it doesn't know which nation Jnr finish positions from last year it needs to look at for these additional levels. I'll try and add some code for 1.4 to support these.

Also, the additional WJC division levels won't be able to do promotion/relegation if you try and set the U20 national teams to the right level using by setting their divisions manually. You'll need to use the last Jnr position in the nation record to define what level they should play in the World Champs system. With that field you can already change who plays in the default playable WJC levels but for any additional ones you'll need the 1.4 update as it needs some code changes to be able to pick those levels up from the nation data.
EArk
Junior League
Posts: 46
Joined: Mon Nov 10, 2014 11:29 am

Re: Editing league rules and structures in EHM 1

Post by EArk »

riz_si wrote:The additional WJC divisions won't work in 1.3 because the code is not setup to expect additional custom international comps in the World Championships system. And by that I mean the promotion/relegation won't work as it doesn't know which nation Jnr finish positions from last year it needs to look at for these additional levels. I'll try and add some code for 1.4 to support these.

Also, the additional WJC division levels won't be able to do promotion/relegation if you try and set the U20 national teams to the right level using by setting their divisions manually. You'll need to use the last Jnr position in the nation record to define what level they should play in the World Champs system. With that field you can already change who plays in the default playable WJC levels but for any additional ones you'll need the 1.4 update as it needs some code changes to be able to pick those levels up from the nation data.
Okey thanks for the answer. "And Named" thanks for your help.
User avatar
Filip Croatia
Fringe Player
Posts: 335
Joined: Thu Jul 08, 2010 5:55 pm
Location: Zagreb, Croatia

Re: Editing league rules and structures in EHM 1

Post by Filip Croatia »

Can I create new league with this editor ? :)
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing league rules and structures in EHM 1

Post by archibalduk »

Yes.
friggan
Junior League
Posts: 44
Joined: Mon Apr 06, 2009 6:49 pm

Re: Editing league rules and structures in EHM 1

Post by friggan »

It is possible to solve so that an NHL team can loan players to European teams?
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

friggan wrote:It is possible to solve so that an NHL team can loan players to European teams?
No, that I think it's not really doable with editor...
User avatar
Named
TBL Rosters Researcher
Posts: 698
Joined: Tue Apr 07, 2015 8:34 pm
Custom Rank: League structures guru
Favourite Team: Chicago Blackhawks
Location: PL

Re: EHM 1 Database & Saved Game Editor

Post by Named »

I think I found another issues. We can't delete and block newly created competitions from Rules & Structures. Editor seems having problems with divisions ID? I tried to activate Czech Second League where are 3 divisions on two ways - copying AHL model and creating from begining and in both ways I'm getting errors from screens. Problem might be connected to options in Stage Rules "From Basic Rules By Division". I can only load database to game screen when change this option to "From Basic Rule List". If I have 3 divisions in 2 conferences initial stages should be set as 3, right? List of teams I set up correctly in Clubs screen but still getting these errors :-k. Even they are added to Structure screen there are errors. I hope that this info will be helpfully for You archi. Maybe database will be better help for You? I also uploaded database.

http://www36.zippyshare.com/v/BfEmEGno/file.html

Image
Image
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Named wrote:If I have 3 divisions in 2 conferences initial stages should be set as 3, right?
No, I think it should be 2 initial stages, shouldn't it?
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: EHM 1 Database & Saved Game Editor

Post by Alessandro »

archibalduk wrote:
Named wrote:If I have 3 divisions in 2 conferences initial stages should be set as 3, right?
No, I think it should be 2 initial stages, shouldn't it?
Yes, I think it should be the number of conferences
User avatar
Named
TBL Rosters Researcher
Posts: 698
Joined: Tue Apr 07, 2015 8:34 pm
Custom Rank: League structures guru
Favourite Team: Chicago Blackhawks
Location: PL

Re: Editing league rules and structures in EHM 1

Post by Named »

So why AHL has 4 initial stages? If I set up 2, 3, 4 initial stages there are still the same errors. I can't load game screen if "From Basic Rule List By Division" is enabled in Stage Rules. On AHL I think is some kind of trick which won't work if we copy/create similar model of league and get these errors.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

Maybe there's a bit of hardcoding, we can't know everything for sure if Riz won't reply.
Did you try removing "use extra teams etc" in flags?
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

Alessandro wrote:Maybe there's a bit of hardcoding, we can't know everything for sure if Riz won't reply.
Did you try removing "use extra teams etc" in flags?
You know I'm picky about words :-D
IMO the word "won't" is to strong a word choice...he's only got so much time for EHM (as we all know); the recent replies I've gotten on the Player Role/Attributes testing I did took months to get
andda715
Junior League
Posts: 44
Joined: Fri Apr 10, 2015 10:07 pm
Favourite Team: Tingsryd AIF

Re: Editing league rules and structures in EHM 1

Post by andda715 »

Named wrote:So why AHL has 4 initial stages? If I set up 2, 3, 4 initial stages there are still the same errors. I can't load game screen if "From Basic Rule List By Division" is enabled in Stage Rules. On AHL I think is some kind of trick which won't work if we copy/create similar model of league and get these errors.
Hrm I got both from conference and from division to work IIRC. The main issue I had with both is that there must be a schedule template. Compare with hockey ettan stuff I posted earlier?

I. E. one concurrent stage per division and a schedule template that covers all of the concurrent stages. Or something like that.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

nino33 wrote:
Alessandro wrote:Maybe there's a bit of hardcoding, we can't know everything for sure if Riz won't reply.
Did you try removing "use extra teams etc" in flags?
You know I'm picky about words :-D
IMO the word "won't" is to strong a word choice...he's only got so much time for EHM (as we all know); the recent replies I've gotten on the Player Role/Attributes testing I did took months to get
Well, I meant that "If Riz will not explain us, we can't understand", what's wrong with it? :dunno:
User avatar
Filip Croatia
Fringe Player
Posts: 335
Joined: Thu Jul 08, 2010 5:55 pm
Location: Zagreb, Croatia

Re: Editing league rules and structures in EHM 1

Post by Filip Croatia »

Parent competition, that is junior league or ?
User avatar
Filip Croatia
Fringe Player
Posts: 335
Joined: Thu Jul 08, 2010 5:55 pm
Location: Zagreb, Croatia

Re: Editing league rules and structures in EHM 1

Post by Filip Croatia »

I am creating croatian league, what rulling body should I put ? International or Europe ?
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing league rules and structures in EHM 1

Post by archibalduk »

You need to create a Croatian ruling body.
User avatar
Filip Croatia
Fringe Player
Posts: 335
Joined: Thu Jul 08, 2010 5:55 pm
Location: Zagreb, Croatia

Re: Editing league rules and structures in EHM 1

Post by Filip Croatia »

archibalduk wrote:You need to create a Croatian ruling body.

Thanks !

And is there option to make league playable ? Because I am creating new one....that is not playable in original version.
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing league rules and structures in EHM 1

Post by archibalduk »

You just need to add the Rules & Structures entry for the chosen league along with appropriate Finance Rules, Ruling Body and Transfer Rules entries. This will make the league playable in game.
User avatar
Filip Croatia
Fringe Player
Posts: 335
Joined: Thu Jul 08, 2010 5:55 pm
Location: Zagreb, Croatia

Re: Editing league rules and structures in EHM 1

Post by Filip Croatia »

archibalduk wrote:You just need to add the Rules & Structures entry for the chosen league along with appropriate Finance Rules, Ruling Body and Transfer Rules entries. This will make the league playable in game.

Thanks ! And I need 8.2 rosters, right ?
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing league rules and structures in EHM 1

Post by archibalduk »

You can use whatever rosters you want.
qa2wer
Junior League
Posts: 5
Joined: Tue Apr 14, 2015 7:31 am
Favourite Team: SaiPa Lappeenranta

Re: Editing league rules and structures in EHM 1

Post by qa2wer »

Is it possible to adjust scoring and fighting tendencies with this editor at some point?
User avatar
Named
TBL Rosters Researcher
Posts: 698
Joined: Tue Apr 07, 2015 8:34 pm
Custom Rank: League structures guru
Favourite Team: Chicago Blackhawks
Location: PL

Re: Editing league rules and structures in EHM 1

Post by Named »

qa2wer wrote:Is it possible to adjust scoring and fighting tendencies with this editor at some point?
I don't think so.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

Alessandro wrote:
nino33 wrote:
Alessandro wrote:Maybe there's a bit of hardcoding, we can't know everything for sure if Riz won't reply.
Did you try removing "use extra teams etc" in flags?
You know I'm picky about words :-D
IMO the word "won't" is to strong a word choice...he's only got so much time for EHM (as we all know); the recent replies I've gotten on the Player Role/Attributes testing I did took months to get
Well, I meant that "If Riz will not explain us, we can't understand", what's wrong with it? :dunno:
In English the use of the word won't means Riz is actively choosing to not tell; it does not mean he's restricted from saying (that would be the word can't), nor does it mean that he might be busy/hasn't had a chance to respond yet (and we know he's got a young family/limited time to work on EHM)

The point I made was "give him some time" (I waited months, you waited hours) & I don't think Riz is actively choosing to hide information/not explain things
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

nino33 wrote:In English the use of the word won't means Riz is actively choosing to not tell; it does not mean he's restricted from saying (that would be the word can't), nor does it mean that he might be busy/hasn't had a chance to respond yet (and we know he's got a young family/limited time to work on EHM)

The point I made was "give him some time" (I waited months, you waited hours) & I don't think Riz is actively choosing to hide information/not explain things
Ok, sorry. I meant that yeah, we need him to step in once he's free, absolutely I didn't mean that he doesn't want to help us.
Post Reply