This is an online mod for server admins to use Lightning_Hunter's retexturing project. By adding it to your server you can let all your players enjoy the very high quality visuals. Please take a moment though and really read the warning section. 

To use:
Add to ServerPackages and configure the mod "HDSkinsProject.HDSkinsProject" to load using whatever your preferred method. Be sure to familiarize yourself with the ini file as you will likely want to make edits as you use this on your server. Be sure to use a fast redirect since the texture file will be quite large for your clients the first time they join.

How this works:
There are several ways to do a mod like this but I chose to use a timer setup because it is the simplest and least likely to conflict with other things. The mod will activate right after the map loads and do a quick pass through the actors, replacing the textures on everything it can find. This "first pass" is very thorough and likely you'll see a small bit of lag when you load into the map if you join as it initializes. Once the first pass is done it begins a timer (default is every five seconds) and it looks for any newly spawned actors that might need a texture change. The timer checks are much faster because many actors are only in the first pass and are just not needed to be checked again. For example the trees are retextured in the first pass but are not checked again after that since they never change. Further I included control in the things that are checked so you can exclude actors you don't need to be worked on. More on that in a second.
Oh, also if you are a person who reads code you'll see 'bCorona' all over the place. What I did was use that setting to flag an actor once it's been checked to keep from having to check it again. Whether or not the actor's texture was changed if it gets looked at then that setting is flipped so it won't be considered in subsequent passes. This greatly speeds things up once you get past that first pass mass check.

****Warning****
This mod can be server intensive if you run it with full options enabled. Because of the issues with static actors and online play I had to hack some settings to get the textures to be seen by online players on things that are not normally replicated (like rocks and trees). You'll probably want to load the mod with max settings then test it online in your server with a large, aggressive map with many actors to see if it runs without issues. If it does then great but if not then below I'll outline where you can scale it back to ease the burden without losing very much of the texture work. 

Ini explained:
ReplaceMonsters=True
// Reskins all the scripted pawns
ReplaceFlockPawns=True
// Reskins the flock pawns (birds, rabbits, fish)
ReplaceDecorations=True
// Retextures the various decorations (Trees, boxes, books, etc)
ReplaceWeapons=True
// Reskins the weapon pickups (does *not* reskin the held weapons, only the ones lying in the map) 
ReplaceAmmo=True
// Reskins the ammo pickups
ReplacePickups=True
// Retextures the various pickups (non-weapon pickups like health, armor, flares, etc)
ReplaceProjectile=True
// Replaces the projectiles spawned in the map
ReplaceFemaleCarcass=True
// Small mesh fix
ReplaceFragments=True
// Replaces fragment classes (like when you smash a box)
ReplaceRTNP=True
// Mass retexturing of the various RTNP items and actors
ReplaceGibs=True
// Retextures the gibs when actors are blown apart
ForceRelevance=True
Forces all decorations with bStatic to replicate so players can see the texture changes correctly
CheckSpeed=5
Number of seconds between checks

**So I'm running this and the lag is not acceptable, where do I adjust it?...
The settings that can be put to false with little impact are projectiles, fragments, gibs. Try one or more of those and see if it drops back to acceptable levels. You could also lower the CheckSpeed to 10. 

**So I'm running this and the lag is not an issue, where do I adjust it to do more?...
You can adjust the CheckSpeed down all the way to 1 if you want. I'd do it incrementally but I've tested it at one and it ran fine on my server. Once you get over the initial loading of the map the timer checks just don't have a huge impact on the players.

Credits:
Thanks for considering this mod. Be sure to keep an eye on Lightning_Hunter in case he creates more texture work. It's well worth the download. Also thanks to the crew at OldUnreal for discussing bStatic theory and explaining how it works behind the scenes in the native code. MasterKent, Casey, Leo...you guys are awesome!
Source code is included. As always it's yours to do with as you want. This does not extend to the textures themselves, those are the work of Lightning_Hunter. My permissions extend to the actual code used. Enjoy!

-Kelly
'gopostal'

