Lord_Greywolf
Lord
Greywolf's Simple Paintball System 2.0 (maybe 1.0)
here is my very simple paintball system!!!!!
it is very easy to use - do not need to mod any distro files
and youu only have to make a few changes in 1 file for it to work on your shard correctly (basicaly setting up where you will be playing at lol)
the Simple steps to follow:
1) set up your areana - or decide which of the current ones to use
2) Strongly suggest you use regions in a box and set up a region for it
else edit the regions.xml file and add your region in (i prefere in a box method)
if you do not do this - no big deal - just have to comment out a couple of lines is all
3) download and place the scripts in your custom directory
4) restart server
5) have fun
Should work on 1.0 and 2.0 but not tested on 1.0
now for the good stuff
Basicaly this is set up like true paintball - except you get 5 hits before you are out - can be modified to any number - but 5 works good
when you are hit - your robe changes color (sometimes not fast enough to see lol)
and when 5 hits - it resets and moves you to the elimination point
also on the 5th hit - the one that hit you - their weapon gets a "/" added to the name (kill mark) - so those can be totaled afterwards for a grand winner if you want
and if it is a "bot" (see below) it freezes the bot
also the gun chechs to see if you have a robe on (victum) - if not - says you are cheating and removes you from round
also checks to make sure you have a proper robe on - if not says so and removes you
both spots have seperate set ups (or can use same spot)
the paintball guns are set to look like a crossbow (i have a custom graphic for mine - with looks like a gun - but UO does not have it standard - so in here it is a crossbow - again easy to modify)
these also use base range - so can not fire while running
i also modified the special attacks to BS ones - so they do not work - done on purpose
there are 5 type (besides the base)
standard - 25 speed and no mods - range 10
offensive - 25 speed and +25 attack chance - 25 defend chance range 10
defensive - 25 speed and -25 attack chance and +25 defend chance range 10
(these simulate if they want to "duck and run more" or "stand and blast away")
semi auto - speed 45 range 6 - good at close range only
sniper - speed 5 range 15 - slow but can shoot from far away
and then there is the paintball robe - nothing big
also included are 3 levels of "paintball bots" slow, med & fast
just add them in when you think the players are having to much fun )
and last but not least
bag of paintball equipment - robe - 5 guns and 1000 paint pellets
and a storage chest that has like 20 full bags in it to just make 1 and hand them out
also if using a region - they will not work outside of the region
how to modify for your shard
open PaintBallGunBase.cs
change this part if you do not want it to be a crossbow:
public PaintBallGunBase() : base( 3920 )
change the region to match yours:
if (defender.Player && defender.Region.Name == "The Paintball Areana" )
& here:
else if ( defender.Region.Name == "The Paintball Areana" )
or if no region used:
if (defender.Player )
& here
else if ( defender.Region.Name == "The Paintball Areana" )
to
else
to chane where they go if they were caught cheating and no robe on:
to chenge where they go when eliminated normaly via a gun:
and where they are sent if an improper robe:
to change the number of hits needed - just add or remove stages of changing colors for the robes in this section:
finaly - if you want - the amount of time a bot is frozen for:
defender.Freeze( TimeSpan.FromSeconds( 10.0 ) );
see - nice and simple - easy to modify and set up
if you want an endless action to the game
just set a teleporter back into the areana from the elimination spot - and it works like UT or SOF then and they are "reborn" and can keep on killing
Nice and simple - no distro edits, no big memory consumption for keeping score with, etc etc
as always enjoy
*added it is rar form since some where having troubles unzipping it
here is my very simple paintball system!!!!!
it is very easy to use - do not need to mod any distro files
and youu only have to make a few changes in 1 file for it to work on your shard correctly (basicaly setting up where you will be playing at lol)
the Simple steps to follow:
1) set up your areana - or decide which of the current ones to use
2) Strongly suggest you use regions in a box and set up a region for it
else edit the regions.xml file and add your region in (i prefere in a box method)
if you do not do this - no big deal - just have to comment out a couple of lines is all
3) download and place the scripts in your custom directory
4) restart server
5) have fun
Should work on 1.0 and 2.0 but not tested on 1.0
now for the good stuff
Basicaly this is set up like true paintball - except you get 5 hits before you are out - can be modified to any number - but 5 works good
when you are hit - your robe changes color (sometimes not fast enough to see lol)
and when 5 hits - it resets and moves you to the elimination point
also on the 5th hit - the one that hit you - their weapon gets a "/" added to the name (kill mark) - so those can be totaled afterwards for a grand winner if you want
and if it is a "bot" (see below) it freezes the bot
also the gun chechs to see if you have a robe on (victum) - if not - says you are cheating and removes you from round
also checks to make sure you have a proper robe on - if not says so and removes you
both spots have seperate set ups (or can use same spot)
the paintball guns are set to look like a crossbow (i have a custom graphic for mine - with looks like a gun - but UO does not have it standard - so in here it is a crossbow - again easy to modify)
these also use base range - so can not fire while running
i also modified the special attacks to BS ones - so they do not work - done on purpose
there are 5 type (besides the base)
standard - 25 speed and no mods - range 10
offensive - 25 speed and +25 attack chance - 25 defend chance range 10
defensive - 25 speed and -25 attack chance and +25 defend chance range 10
(these simulate if they want to "duck and run more" or "stand and blast away")
semi auto - speed 45 range 6 - good at close range only
sniper - speed 5 range 15 - slow but can shoot from far away
and then there is the paintball robe - nothing big
also included are 3 levels of "paintball bots" slow, med & fast
just add them in when you think the players are having to much fun )
and last but not least
bag of paintball equipment - robe - 5 guns and 1000 paint pellets
and a storage chest that has like 20 full bags in it to just make 1 and hand them out
also if using a region - they will not work outside of the region
how to modify for your shard
open PaintBallGunBase.cs
change this part if you do not want it to be a crossbow:
public PaintBallGunBase() : base( 3920 )
change the region to match yours:
if (defender.Player && defender.Region.Name == "The Paintball Areana" )
& here:
else if ( defender.Region.Name == "The Paintball Areana" )
or if no region used:
if (defender.Player )
& here
else if ( defender.Region.Name == "The Paintball Areana" )
to
else
to chane where they go if they were caught cheating and no robe on:
Code:
if ( paintrobe == null)
{
defender.SendMessage( "You have NO Robe ON!!!!!!" );
defender.SendMessage( "You are Eliminated" );
[COLOR="red"]defender.X = 2429;
defender.Y = 1922;
defender.Z = -94;
defender.Map = Map.Malas;[/COLOR]
}
to chenge where they go when eliminated normaly via a gun:
Code:
else if ( paintrobe.Hue == 38)
{
paintrobe.Hue = 6;[COLOR="red"]
defender.X = 2429;
defender.Y = 1922;
defender.Z = -94;
defender.Map = Map.Malas;[/COLOR]
defender.SendMessage( "You were Eliminated" );
this.Name = this.Name + "/";
}
and where they are sent if an improper robe:
Code:
else
{
paintrobe.Hue = 6;[COLOR="red"]
defender.X = 2429;
defender.Y = 1922;
defender.Z = -94;
defender.Map = Map.Malas;[/COLOR]
defender.SendMessage( "You were Eliminated for an improper robe" );
}
to change the number of hits needed - just add or remove stages of changing colors for the robes in this section:
Code:
else if ( paintrobe.Hue == 6) paintrobe.Hue = 11;
else if ( paintrobe.Hue == 11) paintrobe.Hue = 21;
else if ( paintrobe.Hue == 21) paintrobe.Hue = 31;
else if ( paintrobe.Hue == 31) paintrobe.Hue = 38;
else if ( paintrobe.Hue == 38)
{
paintrobe.Hue = 6;
defender.X = 2429;
defender.Y = 1922;
defender.Z = -94;
defender.Map = Map.Malas;
defender.SendMessage( "You were Eliminated" );
this.Name = this.Name + "/";
}
finaly - if you want - the amount of time a bot is frozen for:
defender.Freeze( TimeSpan.FromSeconds( 10.0 ) );
see - nice and simple - easy to modify and set up
if you want an endless action to the game
just set a teleporter back into the areana from the elimination spot - and it works like UT or SOF then and they are "reborn" and can keep on killing
Nice and simple - no distro edits, no big memory consumption for keeping score with, etc etc
as always enjoy
*added it is rar form since some where having troubles unzipping it