goChristmasLights
Posted: Sun Jan 28, 2018 5:03 pm
Spoiler
This is a simple Christmas mod to help set the festive mood for your server. It spawns colorful lights across the map, replaces the pickups with themed items, and adds a couple of new themed monsters.
Use:
ServerPackages=goChristmasLights
Mapvote/Server startup/Mutators: goChristmasLights.ChristmasLights
This mod should run OK even if other replacement mods are currently being used. It will only replace the stock items and not anything else. The titans were coded so they won't break maps if they are needed to trigger things by dying. Only stock titans will replace too, though titans with drawscale changes should be properly replaced with new titans of the same size.
Here's the ini rundown:
UseLights=true <--Use the colorful lights (they will not interfere with or react to the players or anything else)
SpawnAtInventoryOnly=false <--Set to true to make lights on pickups only (this will skip pathnodes and create far fewer lights)
lightSize=0.800000 <-- .2 is small, 1.5 is huge
LightHeight=50 <--height above the item that the light will spawn, zero will be right on the item
UseItemReplacements=true <--set to true to replace the items in the map
UseChristmasTitan=false <---only set ONE of the next three lines to true if you want to use this
UseSnowTitan=false
UseBothTitans=true <--50% chance of either one being used to replace (random)
Source code is included in the mod. You are free to use it however you like.
-Kelly
"gopostal"
Questions? My email is agutgopostal@hotmail.com
Complaints? Don't care.
Credits:
-Dots for showing me how to properly replace pawns
-Casey and Han for advice on proper replacement methodology to preserve map integrity
-Bob for various things all over the code
-The original Xmas lights mod is someone else's work(?). I copied much of it and tweaked it to be more useful
-Some of the pickup models were done by Dane
-Christmas titan skin was done by GoldenGirl. Yeah, it's a bit garish but I love his work and he's a great guy
-Rocky, for good advice and suggestions
Use:
ServerPackages=goChristmasLights
Mapvote/Server startup/Mutators: goChristmasLights.ChristmasLights
This mod should run OK even if other replacement mods are currently being used. It will only replace the stock items and not anything else. The titans were coded so they won't break maps if they are needed to trigger things by dying. Only stock titans will replace too, though titans with drawscale changes should be properly replaced with new titans of the same size.
Here's the ini rundown:
UseLights=true <--Use the colorful lights (they will not interfere with or react to the players or anything else)
SpawnAtInventoryOnly=false <--Set to true to make lights on pickups only (this will skip pathnodes and create far fewer lights)
lightSize=0.800000 <-- .2 is small, 1.5 is huge
LightHeight=50 <--height above the item that the light will spawn, zero will be right on the item
UseItemReplacements=true <--set to true to replace the items in the map
UseChristmasTitan=false <---only set ONE of the next three lines to true if you want to use this
UseSnowTitan=false
UseBothTitans=true <--50% chance of either one being used to replace (random)
Source code is included in the mod. You are free to use it however you like.
-Kelly
"gopostal"
Questions? My email is agutgopostal@hotmail.com
Complaints? Don't care.
Credits:
-Dots for showing me how to properly replace pawns
-Casey and Han for advice on proper replacement methodology to preserve map integrity
-Bob for various things all over the code
-The original Xmas lights mod is someone else's work(?). I copied much of it and tweaked it to be more useful
-Some of the pickup models were done by Dane
-Christmas titan skin was done by GoldenGirl. Yeah, it's a bit garish but I love his work and he's a great guy
-Rocky, for good advice and suggestions