DarkstarProject/darkstar — pull request #64 by TeoTwawki (2014-03-10 03:09:42+00:00)
Title: 2004-ish settings. This time without the ACP stuff and extra GM commands etc.

Options to adjust game content between current retail and old 2004 style:

(settings.lua) OldSchoolG2
If false current retail behavior will be used. Set true to require the NMs for "Atop the Highest Mountains" be dead with a short window to grab the frigicite like before SE changed it.

(settings.lua) FrigiciteDuration
Sets how long the '???' is there after killing the NMs if OldSchoolG2 is set true.

(settings.lua) LandKingSystem_NQ and LandKingSystem_HQ
Modifies the spawn systems for Behemoth, Fafnir, Adamantoise, King Behemoth, Nidhogg, Aspidochelone. Use 0 for timed spawns, 1 for force pop only, 2 for both (default because that's how they were already behaving before this).

(map config) CoP_Battle_cap
Setting to zero will cause the SQL entries for level cap to be ignored. Default obeys the SQL.

Also included, but not oldschool related:

Updated some TextIDs.lua required by some of these changes.

(settings.lua) DIMENSIONAL_PORTAL_UNLOCK
Set to true if you want to use the dimensional portals for sea/limbus access without meeting the normal requirements.

(map config) Battle_cap_tweak
simply adjust the level cap applied to every battle in the entire table. Negative values should work too.

Some checks I put inside instance.cpp probably weren't needed, but I didn't want to find out the hard way what would happen if a cap wound up being out of the 0-99 lv range.

They way I did G2 doesn't require a variable, just checks the NMs action instead.

Hides the npc target like retail used to by using a function to temp show the target then re-hide it. I only knew a few other ways to do that and was told this was preferable to those. Willing to change it if needed, just show me if there's a better way and I'll make it so.