____________________________________________________________________________________________________________

// Unreal Tournament 1999 tweak
// shockrifle tweak [ changes: shockball, shockbeam, shockcombo, shockexplosion ]
____________________________________________________________________________________________________________

tweak_v1



// *   ##########+    +#########        
// * #############################
// * [                           ]
// * [    Project Shock by b1o   ]
// * [      [ D3$CR!PT!0N ]      ]
// * [                           ]
// * #############################



____________________________________________________________________________________________________________

// Readme
____________________________________________________________________________________________________________

Changes are based only on ShockRifle:
_
_ You have 19 Versions of tweak for just only shockrifle weapon:

pshock_bio.b1o      | pshock_bio_v2.b1o   | pshock_bio_v2a.b1o   | pshock_bio_v2b.b1o  
pshock_bio_v2c.b1o  | pshock_bio_v3.b1o   | pshock_bio_v4.b1o    | pshock_bio_v5.b1o  
pshock_bio_v6.b1o   | pshock_bio_v7.b1o   | pshock_bio_v8.b1o    | pshock_bio_v8a.b1o
pshock_bio_v8b.b1o  | pshock_bio_v9.b1o   | pshock_bio_v11.b1o

+++ BONUS:

pshock_bio_v810.b1o | pshock_bio_vred.b1o | pshock_bio_vreda.b1o | pshock_bio_vredb.b1o
      
___________________________________
####################################
[                                  ]
[           INSTALATION            ]
[                                  ]
####################################

( IMPORTANT )  
Make backup of your UT folder I recommend that you to copy the entire folder
with the game or at least / System / in case something went wrong.
All changes made by tweak after quitting the game will return to their normal, basic settings. 


( IMPORTANT )  
For proper work on all changed effects in the game, in the video render (d3d9,opengl,d3d8 or another) you may need a change:
HighDetailActors=True 
If it is on False some effects may be invisible because animated textures are displayed in the settings HighDetailActors on True.
However, things can go fine with the option to false, you have to check in-game.

To change the version, you need to open the ctf-twk map every time and enter exec pshock_bio_version.b1o
on it (unless you are on this map all the time and you change the version of the tweak ).
Once you choose a pshock version or even mix of them into your own shock twk, to play on other maps on practice mode or online games,
just open other maps or go to the server (when you have already entered exec on ctf-twk map). 


### DOWNLOAD: 
Please download the files from here:

http://download.1shot1kill.pl/FD/srv73636/project_shock_by_b1o.rar

Extract and dump everything into the known folders, then open the game.
If you have these files: UTtech4.utx & U-Turn.utx  in your /Textures folder
do not replace them, leave these in your /Textures folder.

OPEN MAP (CTF-twk) IS NEEDED TO USE PROJECT SHOCK TWEAK (the map is not for games, servers, but you can shoot there and test the shock tweak)
TO ENABLE PROJECT SHOCK write in utconsole open ctf-twk BEFORE EXEC COMMAND, OTHERWISE TWEAK DON'T WORK AND GAME CRASH.
Then enter in the console exec pshock_bio.b1o or any other version.
Use these commands in utconsole to get shockrifle weapon on ctf-twk map:
loaded
allammo

Unfortunately in order for the tweak to work properly you need to turn it on first on this map.
You can change the 6th line from the top in UnrealTournament.ini that is the starting map in the game:
Default starting map is set to:
LocalMap=Entry.unr or LocalMap=UT-Logo-Map.unr if you change to  LocalMap=ctf-twk.unr
the map will turn on automatically at the start of the game and all you need to do is enter in utconsole exec pshock_bio_version.b1o 
or bind to a key: set input key exec pshock_bio_version.b1o now after pressing this key, the tweak will turn on.
You can execute one tweak after the other, but the game can crash ... then you have to open game again and exec from the last version that caused the error. 


### EDIT: HOW TO?
There are two commands to use:
- get to check the assigned value
- set to enter a new value (be careful what you type, if you type a nonexistent texture, your game will get a critical error) 

To take a closer look at how it works, open the version you like using the notepad.
Each class / part which consists of the entire ShockRifle below is assigned a number:
shock beam=(_1_); shock beam explode=(_2_); shock ball explode=(_3_); etc.
In each version it is assigned the same number as in the changes:
which makes it easy to copy / select only a given fragment of the shockrifle that you like from any other version.
Therefore you can mix and taste the different versions with only the selected items you want. 

Now just create a new text document or any other file type, name it as you like, paste only selected fragments from other versions
you want and make your own individual tweak config. 
Below describe changing values by commands, you can go ahead and try changes yourself by typing them into the console.
If you want to disable some change in a tweak that does not match, then before the command that introduces unnecessary changes
just enter the slash "/" before set:

set shockproj drawscale 0.5  <--- this change scale of shock ball
/set shockproj drawscale 0.5  <--- with "/" slash before set it doesn't do anything
So if you want to disable a change for some value don't delete the whole line, just use slash before /set to turn it off.


If you want to find out what value is set before making changes, use the command get:
get shockproj style   <--- this will show in the console what value is currently used 

_
#############################
[        Changes in:        ]
=============================

1.shock beam__________  ( 1 )
2.shock beam explode___  ( 2 )
3.shock ball explode____  ( 3 )
4.shock ball_____________  ( 4 )
5.combo_main______________  ( 5 )
6.combo_2_background_______  ( 6 )
7.ball inside the combo_____  ( 7 )

==============================
==== Changed values: =========
==============================

BPARTICLES                    <---// on true, makes smaller particles out of the mesh/texture
BMESHENVIROMAP                <---// on true, allows you to change the texture 
drawtype                      <---// choose DT_Mesh for meshes or DT_sprite for skin/texture
MESH                          <---// lets you choose the mesh for the actor/class
skin                          <---// allows you to change the skin/texture
TEXTURE                       <---// allows you to change the texture
STYLE                         <---// STY_none, STY_normal, STY_translucent, STY_Masked, STY_modulated - allows you to change the display style 
DRAWSCALE                     <---// allows you to change the size of the actor/class
LIFESPAN                      <---// allows you to change the display time/ how long actor/class exist
BUNLIT                        <---// on true, lights do not affect the actor/class
AmbientGlow                   <---// the amount of afterglow
ScaleGlow                     <---// scale  of afterglow 
FATNESS                       <---// making bold the actor/class
bHighDetail                   <---// on true, displays in high detail 
bHighlighted                  <---// on true, displays in high light
RotationRate                  <---// rotation speed by (Pitch=00000,Yaw=00000,Roll=00000)
BNOSMOOTH                     <---// on true, display in low detail/pixel mode
LIGHTHUE                      <---// 0-255
LIGHTSATURATION               <---// 0-255
LIGHTEFFECT                   <---// Light effects are animated shapes that affect surfaces within its radius,LE_NonIncidence, more light effect in class tree
lightradius                   <---// light range 


### known BUG'S:
- Not all shock balls work properly online, the reason is the settings of the loaded mesh,
  which has values assigned to move into a given position. 
- After launching the tweak one by one, the game may crash after a few execs



***./ If you have any ideas/ questions/ errors with pshock tweak feel free to contact me on DISCORD: b1o#8980 or find me in a wd40 dc channel: https://discord.gg/CJBMCTC  
**./ Thanks a lot to feralidragon for letting me to use his textures from NW3
*./ HF & GL
*/ -1337-


// * 22.11.2021 
// * MADE BY -b1o-
____________________________________________________________________________________________________________

tweak_v1
____________________________________________________________________________________________________________