RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Color Wars

Lagg Master

Sorceror
Color Wars [RunUO 2.0]

to find out how everything works go to this linkhttp://www.freewebs.com/ageoflegends-uo/index.htm

to install just switch my playermobile.cs with the normal one, and the Notoriety.cs
then drop the color wars folder into you custom folder and ur ready for the reboot



*edit*
well Grom has informed me that instead of dropping tokens the stones drop 1 gold, fixed it so now it drops 10 tokens and i removed SBNecromancer and Necromancer files out of the color wars files
*edit*
*Edit*
kk the now file has everything set up like the runuo 2.0 scripts are, figured it would make it easyer finding the files u got to replace
and u dont go into stat loss in color wars anymore with the new faction file
made editing the scripts easy added //colorwars// at every point and stopping point of the script i added
*Edit*
 

Attachments

  • Scripts.zip
    89.7 KB · Views: 263

Corbo6969

Wanderer
Doesn't remind me of factions at all. I think he did very well on this script. Thanks for sharing it with us Lagg Master.
 
Lagg Master

ohh and if you want to static the arena i think you have to rebuild it, u cant use the script for it
First of all nice job with this script. I have been building a massive color wars script myself since Archeronne went down. But you can take an addon and make them static items again easily with a command somewhere here in the forums called "AddToStatic". Once that is done it can be frozen.
 

Johabius

Knight
Khephren said:
i have a modified playermobile... hehe what part of the file do i have to add to make this work?
You can use a nifty little program called winmerge (don't know the URL, but you can google for it), and compare the two playermobiles and merge them into your existing one. It works great;)
 

Lagg Master

Sorceror
Code:
	[Flags]
	public enum PlayerFlag // First 16 bits are reserved for default-distro use, start custom flags at 0x00010000
	{
		None				= 0x00000000,
		Glassblowing		= 0x00000001,
		Masonry				= 0x00000002,
		SandMining			= 0x00000004,
		StoneMining			= 0x00000008,
		ToggleMiningStone	= 0x00000010,
		KarmaLocked			= 0x00000020,
		AutoRenewInsurance	= 0x00000040,
		UseOwnFilter		= 0x00000080,
		PublicMyRunUO		= 0x00000100,
		PagingSquelched		= 0x00000200,

//    COLOR WARS PART ADDED     //
	    	ColorWarRed              = 0x00020000,
		ColorWarBlue              = 0x00040000,
		ColorWarWhite             = 0x00080000,
		ColorWarBlack            = 0x00100000,
		FreeForAll              = 0x00200000,
//   ENDS HERE     //

		Young				= 0x00000400
	}

	public enum NpcGuild
	{
		None,
		MagesGuild,
		WarriorsGuild,
		ThievesGuild,
		RangersGuild,
		HealersGuild,
		MinersGuild,
		MerchantsGuild,
		TinkersGuild,
		TailorsGuild,
		FishermensGuild,
		BardsGuild,
		BlacksmithsGuild
	}

	public enum SolenFriendship
	{
		None,
		Red,
		Black
	}

	public class PlayerMobile : Mobile
	{
		private class CountAndTimeStamp
		{
			private int m_Count;
			private DateTime m_Stamp;

			public CountAndTimeStamp()
			{
			}

			public DateTime TimeStamp { get{ return m_Stamp; } }
			public int Count 
			{ 
				get { return m_Count; } 
				set	{ m_Count = value; m_Stamp = DateTime.Now; } 
			}
		}

		private DesignContext m_DesignContext;

		private NpcGuild m_NpcGuild;
		private DateTime m_NpcGuildJoinTime;
		private TimeSpan m_NpcGuildGameTime;
		private PlayerFlag m_Flags;
		private int m_StepsTaken;
		private int m_Profession;

//         COLOR WAR PART ADDED       //

		[CommandProperty( AccessLevel.GameMaster )]
		public bool ColorWarRed
		{
			get{ return GetFlag( PlayerFlag.ColorWarRed ); }
			set{ SetFlag( PlayerFlag.ColorWarRed, value ); }
		}
		
		[CommandProperty( AccessLevel.GameMaster )]
		public bool ColorWarBlue
		{
			get{ return GetFlag( PlayerFlag.ColorWarBlue ); }
			set{ SetFlag( PlayerFlag.ColorWarBlue, value ); }
		}
		
		[CommandProperty( AccessLevel.GameMaster )]
		public bool ColorWarWhite
		{
			get{ return GetFlag( PlayerFlag.ColorWarWhite ); }
			set{ SetFlag( PlayerFlag.ColorWarWhite, value ); }
		}
		
		[CommandProperty( AccessLevel.GameMaster )]
		public bool ColorWarBlack
		{
			get{ return GetFlag( PlayerFlag.ColorWarBlack ); }
			set{ SetFlag( PlayerFlag.ColorWarBlack, value ); }
		}
		
		[CommandProperty( AccessLevel.GameMaster )]
		public bool FreeForAll
		{
			get{ return GetFlag( PlayerFlag.FreeForAll ); }
			set{ SetFlag( PlayerFlag.FreeForAll, value ); }
		}
// END OF COLOR WAR PART //
thats all thats added
 

Khephren

Knight
ya i think i fixed it thanx.... i was using winmerge but it seems that it dont always do the job, thats why ive been getting a few errors when i tried to mix a few systems :) but now everything works :) thanx :)
 

Lagg Master

Sorceror
lol just noticed that i got a sb necro and necromancer file inside the color war script, u dont need those files to run color wars
 
G

Grom09

Guest
color wars play..

hi, i didn't think i could make a account, but i had to dl the thing..
so help listen
i put all the stones, and stuff,
but you cant click on the "join stone"
*edit* and also , where do i put the "teleport pad"
please help to make this thing work,
and also, what is the middle pad?-- to what shall i target?
 
This is the EXACT same script from the old Archeronne shard. I absolutely LOVED this event, and have been looking for the same script for ages!
THANKS!
 

Jeff

Lord
Grom09 said:
please help
read up ^
wtf dude, you just posted that help today, stop bumping shit like this, they will help you when they can, they do have lives and do this for free, either learn to help yourself or wait for others to help you, stop bumping this thread.
 
Top