Full Version : 2.0 and ML settings
xmlspawner >>Scripting Support >>2.0 and ML settings
<< Prev | Next >>
Gembone- 09-28-2006
ok this may sound stupid but I can not seem to get a straight answer on RunUO and Arte, you and the comunity here have always helped so I will ask it here.
OK, how do I disable SE in 2.0 and will it affect ML if I do.
ArteGordon- 09-28-2006
change the value of the Expansion static variable in Misc/CurrentExpansion.cs

CODE
private static readonly Expansion Expansion = Expansion.ML;

to None, AOS, SE, or ML.
So to disable SE you would set the level to AOS. And yes, this will also affect ML.
If you want ML without certain SE features you are probably better off setting the level to ML and then going into the scripts and manually disabling the specific SE features that you dont want.
Gembone- 09-28-2006
OK so in essence if I turn off SE then it also turns off ML because the way its set up now is when it goes in exspansions order (for lack of a better term)
turn one off and all exspansions behind it are turned off aswell.
Just trying to make sure I am understanding you correctly.
I truely dont like the SE clothing and equipments. I find they are out of place and seriouslt throw the balance of things all out of whack. So I guess I will start with vendors and crafting systems and start notating the SE out.
also is there a reason they did it this way for 2.0?
ArteGordon- 09-28-2006

QUOTE (Gembone @ September 28, 2006 09:46 am)
OK so in essence if I turn off SE then it also turns off ML because the way its set up now is when it goes in exspansions order (for lack of a better term) turn one off and all exspansions behind it are turned off aswell. Just trying to make sure I am understanding you correctly.

yes, that is basically correct. Some features test for a specific expansion level, like ToT which, by default will only work if you set the expansion to SE and wont be enabled by any other setting either higher or lower.
You can change that with simple mods like this in TreasuresOfTokuno.cs

CODE
public class TreasuresOfTokuno { // ARTEGORDONMOD // enable ToT for ML as well as SE private static bool m_Enabled = (Core.Expansion >= Expansion.SE);
public static bool Enabled { get { return m_Enabled; } }

Other places in scripts where it tests for things like Core.SE, or Core.AOS, will work for that expansion level or higher.
Gembone- 09-28-2006
are there any other systems like ToT that I should be aware of.
got alot of work ahead of me to remove all SE stuff from scripts.
ok I know I have to change all craft files, vendor and sb files, and lootpack. cna you think of anything else or would that about do it?
ArteGordon- 09-28-2006

QUOTE (Gembone @ September 28, 2006 10:07 am)
are there any other systems like ToT that I should be aware of. got alot of work ahead of me to remove all SE stuff from scripts. ok I know I have to change all craft files, vendor and sb files, and lootpack. cna you think of anything else or would that about do it?

use AgentRansack to do a string search for "Core.SE" and "Expansion.SE" and you will find all of the SE stuff.