Earliest Scenario Start Date? (Full Version)

All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Scenario Design and Modding


Lasarian -> Earliest Scenario Start Date? (6/12/2015 6:47:51 PM)

Quick question for the more seasoned modders here, what is the earliest possible campaign start date and for that matter latest end date that a scenario can have? And indeed the maximum turns (days?) as a result. I ask because I was under the impression that 7 dec 1941 was hardcoded in as was 1634 days (turns?), taking it to 28th May 1946. Yet I just modded a 'grand campaign' mod scenario start date and then started a game that kicks off months earlier and it doesnt seem to be a problem (other than most ships / units not being present due to their deployment dates in the editor still being december). So what gives? Has something changed or will the game just roll straight to dec 8th next turn? Thanks for clearing up the confusion. Cheers.

Alfred -> RE: Earliest Scenario Start Date? (6/12/2015 7:31:58 PM)

Nothing changed.  You just haven't given enough thought to all the problems which result.

You can type in any date into the editor as the start date.  Want to type in 1571, go ahead the editor won't stop you.  Try running the game though and you will come up against the hard coded issues.  The code interacts with the database.  So whilst you can alter the database values, if they are not "suitable" for the code, you hit a dead end.

Read this thread to get an idea of what you are up against.


Other threads provide additional details on the problems you will encounter.  Just do a search on "start date".

Bottom line if you want to make a playable mod which is based on what happened in the Pacific between 1941 and 1945, is the earliest start date is 7 December 1941.


Lasarian -> RE: Earliest Scenario Start Date? (6/12/2015 8:24:32 PM)

Thanks, Alfred, understood. Wish I could get my hands on the source code and really 'mod' the game! Perhaps someday we'll get a more advanced codebase that's suitable for modding. Amazing how much has been accomplished regardless.

wdolson -> RE: Earliest Scenario Start Date? (6/12/2015 11:05:50 PM)

This game already lends itself to more modding than most games. The only game of this genre I can think of that might have more user mods is Steel Panthers.

As one of the people with the code base, it would take a fairly experienced programmer to grok what's there now. I have over 25 years and some things with the code still stump me. It's pretty complex.


Lasarian -> RE: Earliest Scenario Start Date? (6/13/2015 3:03:27 AM)

Controlling complexity is the essence of programming, as Kernighan would say. Sounds like it could have done with more design to achieve simplicity. C++ presumably? Not my fave.

wdolson -> RE: Earliest Scenario Start Date? (6/13/2015 3:30:47 AM)

Almost all serious game programming is done in C and C++. Most other languages are way too slow.

The deep history of this game dates back almost 15 years. 2X3 started this game with Beyond Valor, and it evolved through War Plan Orange, the original War in the Pacific and then finally the Admirals Edition. The code has been through a lot of evolution.


Page: [1]

Valid CSS!

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI