Various code improvements + addition of "HopThru Mode*.
*In the event that I can replace "HopThru Mode" with something that will record a flight path thru a
map and then replay it later, there might be a V4.0 at some point in the future.
Code: Select all
9:39 PM 8/25/2016
SpecStart v3.0 - by Mr.Loathsome
Mutator to enable player start in Waiting/Exploring mode.
Player(s) will start the game in an enhanced "Waiting" state.
i.e. Invisible Flying mode.
AltFire will bypass/exit the SpecStart mutator instantly at any time.
This is compatible with Console Commands Ghost/Fly/Walk/Behindview etc.
If you find a console command that breaks it, don't use that console command....
Recommend setting Behindview 1 for a better view of your own Flag/Cow/Book
if you have those options enabled.
Updates from v2.0:
1. Misc. code optimizations. Seems to function with more gametypes now.
2. Now works with U1/227
3. Added HopThru Mode. (Beta)
Updates from v1.0:
1. Added full Team support with options for 2 different animated Team Beacons for the Spectator location.
2. Replaced the FlashLightBeam with an actual Flashlight Inventory item. (Adjustable...)
3. Fixed the bCowSpec mode so it now works when more than 1 player is on.
Install: Place SpecStart.ini, SpecStart.int and SpecStart.u in your UT/System folder.
Usage: Select SpecStart from the mutators list.
Servers add SpecStart.SpecStart to your servers startup line mutators section.
This does NOT need to be a ServerPackage or be on your re-direct.
NumFires=1 - Number of times to press primary fire before exiting Exploring mode and Joining game.
If set to 1, SpecStart will start in Spectating/Exploring mode.
If Set to 2, SpecStart will start in HopThru Mode.
In HopThru Mode, players location will cycle thru all Navigation points on the map at the rate specified
by the HopSpeed variable in the SpecStart.ini file.
Pressing fire once will drop them into the regular SpecStart Spectating mode. Pressing fire again joins the game.
bDropIn=False - If true, player will enter the map at whatever spot they are currently spectating from.
It is a "Pick your own PlayerStart" option.
bUseInv=False - If True, players will be able to use inventory items they have while in Exploring mode
bCowSpec=False - If True, players will be riding a real live NaliCow. The player will be invisible, but the
Cow will not.
bTFlag=False - If True an animated Flag with Team colors will be displayed as a beacon.
If the players Team is set to None (255), the flag will select a random texture each time the
player stops moving.
bTBook=False - If True a Book with animated Team colors will be displayed as a beacon.
bFlashLight=False - If True, player will have a flashlight inventory item available while Exploring.
MyLightRadius=5 - Size of the flashlight beam. Recommended range 3-10. Use higher numbers for huge Spotlight.
bLightOn=False - Set initial startup state of the flashlight. If true, light is on when player starts.
If bUseInv is also true, player will be able to use flashlight and other inventory normally, if bUseInv
is false and bFlashLight=True and bLightOn=True, players will not be able to turn the light off.
bCoopStart=False - Set this True for gametypes that do not utilize the default ElapsedTime or RemainingTime variables.
i.e. CoopGames/SP Games etc. Can also be used with practice matches or Tournament Games that require pressing fire
to start the match. If true it should replace the default Waiting state with the SpecStart enhanced waiting state.
If False in practice or Tournament Mode games, you will have the default waiting state until fire is pressed once and
then the enhanced SpecStart mode should begin.
Access config options in file SpecStart.ini or via Advanced Options/Mutators if you have Advanced Options enabled.
Enjoy ! (Or not....)