Masterfile & modding question...

Discuss and post your mods and scenarios here for others to download.

Moderator: Vic

Post Reply
User avatar
leastonh1
Posts: 879
Joined: Sat Feb 12, 2005 1:18 pm
Location: West Yorkshire, England

Masterfile & modding question...

Post by leastonh1 »

Hi,

After reading some of the threads here and playing with the editor, can I just check that my understanding of something is correct please?

Let's say I want to create a new gfx pack for a scenario. Rather than force the player to mess around, am I right in thinking that I can simply copy the existing masterfile (thereby creating a new one) and use that as the template for a new mod?

Cheers,
Jim
2nd Lt. George Rice: Looks like you guys are going to be surrounded.
Richard Winters: We're paratroopers, Lieutenant, we're supposed to be surrounded.
User avatar
Vic
Posts: 9766
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Masterfile & modding question...

Post by Vic »

yes you can do that.
 
you can also load the masterfile (by load scenario and browsing .masterfile file types) and save it under a different name.
 
kind regards,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
leastonh1
Posts: 879
Joined: Sat Feb 12, 2005 1:18 pm
Location: West Yorkshire, England

RE: Masterfile & modding question...

Post by leastonh1 »

Great. Thank you Vic [:)]
2nd Lt. George Rice: Looks like you guys are going to be surrounded.
Richard Winters: We're paratroopers, Lieutenant, we're supposed to be surrounded.
PDiFolco
Posts: 1195
Joined: Mon Oct 11, 2004 8:14 am

RE: Masterfile & modding question...

Post by PDiFolco »

Ah thanks, I didn't had understood yet  how masterfiles were created/edited... They work as scenarios and are editable in the same way :!!
Brillant design ...

Does this means that if I want to "mod" the datafile, because I want less lethal arty, uber german tanks, [:D], or whatever, I can automatically change the values in all the scens (thos using the ptmaster file w/o overwrites) by just editing it ?

That would be just greaaat ! [8D]
PDF
tweber
Posts: 1411
Joined: Wed Jun 27, 2007 1:32 pm

RE: Masterfile & modding question...

Post by tweber »

A scenario file calls a masterfile to get all the unit and terrain data.  So, changing the masterfile changes all scenarios that use the masterfile.  However, you should be careful when playing around with a masterfile.  If you delete a location or unit or terrain type that is on the map, the scenario will not run properly.  I would definitely save your masterfile in a safe place before messing around with it.
 
Also, with events, there are lots of ways to tailor scenarios without changing the masterfile.  I would recommend looking at that first.
PDiFolco
Posts: 1195
Joined: Mon Oct 11, 2004 8:14 am

RE: Masterfile & modding question...

Post by PDiFolco »

Tweber,
I agree with you - my idea was to make some sort of "updated/tweaked" master file for more historicity (at least IMO historicity) and be able to use it for multiple scenarios.
 
I'm still not clear about one thing : how is a scen linked to a given masterfile ? [&:]
PDF
User avatar
Vic
Posts: 9766
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Masterfile & modding question...

Post by Vic »

ORIGINAL: PDiFolco

Ah thanks, I didn't had understood yet  how masterfiles were created/edited... They work as scenarios and are editable in the same way :!!
Brillant design ...

Does this means that if I want to "mod" the datafile, because I want less lethal arty, uber german tanks, [:D], or whatever, I can automatically change the values in all the scens (thos using the ptmaster file w/o overwrites) by just editing it ?

That would be just greaaat ! [8D]

yes.. but be wary with what your change. for example dont just delete light forest landscapetype because that would screw up all scenarios that use that masterfile. You can change the name of light forest to for example: woodlands. Or change the sprite or the stats.

kind regards,
vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
GJK
Posts: 542
Joined: Sat Jul 17, 2004 3:37 am
Contact:

RE: Masterfile & modding question...

Post by GJK »

Just to be sure: I assume that the file named "masterlog.mlc" is the "masterfile" that is referenced here? I want to make a copy and tuck it away in a safe place in case I get carried away in the editor.
"Fat, drunk, and stupid is no way to go through life, son."

-Dean Vernon Wormer
PDiFolco
Posts: 1195
Joined: Mon Oct 11, 2004 8:14 am

RE: Masterfile & modding question...

Post by PDiFolco »

Huuh no, it's the file called generic.ptmaster in Scenario folder. It's editable with the editor, just open it as a "scenario" (which it is, it even has a map - sort of ! [:D])

PDF
User avatar
GJK
Posts: 542
Joined: Sat Jul 17, 2004 3:37 am
Contact:

RE: Masterfile & modding question...

Post by GJK »

Probably asked and answered elsewhere but I'll be lazy and ask again - what happens if I mod/alter my masterfile and I play a pbem game with someone who has not changed their masterfile in the same way (or isn't sharing a copy of my masterfile)?
"Fat, drunk, and stupid is no way to go through life, son."

-Dean Vernon Wormer
User avatar
Vic
Posts: 9766
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Masterfile & modding question...

Post by Vic »

the masterfile is only read upon loading of the scenario. it is not loaded anymore after start of play, in subsequent loading of saved games.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
kram
Posts: 36
Joined: Fri Feb 06, 2004 4:07 pm

RE: Masterfile & modding question...

Post by kram »

Please Vic can you explain in detail how it's possible to make a new masterfile, maybe with some screenshot, as in your tutorial about making a new simple scenario?
Thanks and bests regards.
PDiFolco
Posts: 1195
Joined: Mon Oct 11, 2004 8:14 am

RE: Masterfile & modding question...

Post by PDiFolco »

kram
It looks pretty simple : for a starter, just copy the generic.ptmaster file (in /Scen folder) to "whatever".ptmaster.
Launch game, load "scenario", change the file ext in the file selection dilaog to .ptmaster , then select "whatever".
 
Click edit, you're editing a masterfile !
Change whatever you want - say hp of Infantry from 100 to 200 just as an example, then save.
 
Now load any WW2 scenario (they use the standard masterfile), edit it, go to "settings", there's a line called "master file" : there you can change the masterfile used and set it to your "whatever" masterfile.
If you save (not sure you should !), now you've a scenario using your modded masterfile . [:)]
 
Pretty cool for modding imho [8D] !
 
PDF
kram
Posts: 36
Joined: Fri Feb 06, 2004 4:07 pm

RE: Masterfile & modding question...

Post by kram »

Thanks PDiFolco.
User avatar
Vic
Posts: 9766
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Masterfile & modding question...

Post by Vic »

you can also load the masterfile in the editor and save it under a differentname.ptmaster
 
you can also make a new scenario and save it as a masterfile.
 
kind regards,
vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Max 86
Posts: 698
Joined: Tue Nov 06, 2007 6:54 pm

RE: Masterfile & modding question...

Post by Max 86 »

ORIGINAL: Vic

you can also load the masterfile in the editor and save it under a differentname.ptmaster

you can also make a new scenario and save it as a masterfile.

kind regards,
vic

This is a very important distinction.

If you want to just create a scenario, click on create a scenario but realize that if you want to make "global" changes to all scenarios based on the masterfile, load scenario generic.ptmaster and edit away.

The masterfile is basically a template with "default" data entered. When you click on Create Scenario you are opening a version of the masterfile and doing a "Save As" function with another file name such as Stalingrad.pt2

Is that a fair description?.


No problem Chief!
User avatar
Vic
Posts: 9766
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Masterfile & modding question...

Post by Vic »

Warning: Just do not change you default.ptmaster like that because it will affect all scenarios comming with the game since they all use this masterfile.
 
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Mods and Scenarios”