--------------------------
TOSTWeapons ( 1.6.0.0)
--------------------------
Original made by [IpL]H.Lotti

Converted to AoT350 / TOST43 by [T.O.P.F.]MadMax

anybugs, suggestions, interested in more items?, ...

    >>> madmax@ese-protect.de and we will see what we can do


What is this?
-------------
allows a complete weapon- and inventory-configuration.


NEW 1.6.0.0 features:
---------------------
- weaponinfo-bug (clips/ammo) fixed
- nadecode from 3.50
- MSG price fixed
- some more fixes I don't even remember...
- NEW weapon : a CrossBow with zoomscope (known from ChaosUT)
  - real flying projectiles (no instant-hitters...)
  - primary ammo: normal arrows, you can re-pickup if you hit the wall or floor
  - secondary ammo: arrows with explosive,
    explode when contacting enemies or walls, 2s timer when landing on the floor
- IMPORTANT: because of the new features the settings of v.150x are no longer valid!
  v.1600 will delete them and write ONE default-entry (TO350 default).
  You can also delete the whole section and let the server create a new one.

Thanks to "Nikolai" for fixing some bugs of the crossbow.


1.5.0.1 features:
---------------------
- workarround for AoT350 and TOST43
- Teargas also hurting Scripted Pawns (->Monsterserver)
- PoisonEffect with TearGas


###########################################################################
This is a server-only package, there's no need for client-installation !!!

It only works together with TOST in online-gaming
no go for local installations and offline-gaming / practice sessions
###########################################################################

How to install on your server ?
-------------------------------
Copy the .u files to the FIRST System-folder of your TacticalOps installation.

Search for the files TOST4TexSolid.utx & TOST4TexTrans.utx in your Textures-folders
If your files are smaller than the ones included in this package replace them with the new files.


Open your Server.ini (or however it's called)
Goto Section [Engine.GameEngine]
Search for the LAST entry starting with "Serverpackages="
Add these lines AFTER this last entry:

ServerPackages=TOSTWeapons43
ServerPackages=TOSTWeaponsClient43

if you want the additional weapons add the packages you want to use on your server, too
(if you don't, some weapons will be unavailable on your server)

ServerPackages=C4Pack43
ServerPackages=FamasPack43
ServerPackages=SteyrAugPack43
ServerPackages=TearGasPack43
ServerPackages=CrossBowPack43      <<<<<<<<<< NEW

###########################################################################
!! these 5 lines are optional, but you MUST have the files on your server.
###########################################################################

If you dont intend to allow an extra weapon like c4, famas,... you may remove the line
(--> player wont have to download the package when connecting to the server :-)


Goto Section [TOST43.TOSTServerMutator]
add the TOSTWeaponsServer43-piece to your TOSTPiece section AFTER all TOST-pieces:

Pieces[x]=TOSTWeaponsServer43.TOSTWeaponsServer


----------------
Ingame commands:
----------------
gasmask --> if you bought a gasmask you are not automatically equiped with it.
To use it type that command in your console (or make a keybinding in your user.ini) in order to equip or remove it.

showweapontab --> open the tab to show/modify the current settings (also good as keybinding)

SetModeMap <setting n> <mapname> (the setting must exist. if "-1" then default mode will be applied)
example:
SetModeMap 1 TO-Blister.unr

SetDefaultMode <setting n> (the chosen setting will be the default one for all maps.)
--> the defaultmode is recorded within tostsettings !!! :-) (this means you can change default mode by loading another TOSTSetting in gametab)
example:
SetDefaultMode 1
IMPORTANT: If you created your own settings and saved them in slot x, you MUST use this command (setdefaultmode x)
to keep your settings after mapchange.


---------------------
policies for SA-level:
---------------------
552: modify a weapon/item/special features
554: load a setting
555: save a setting
556: SetModeMap
557: SetDefaultMode


-----------
Some hints:
-----------
There are only the default weapons in the buymenu:
-> disable CW-mode in your admintab
-> use 'SetDefaultMode n' to activate a saved setting (otherwise a TO-default-setting is loaded)

Players connecting to your Server are kicked by TOSTProtect saying:
TOST Protect: * - Type : system hack : package mismatch
TOST Protect: * - Debugmsg : Package : TOST4TexSolid (......)
-> Did you replace the 2 texture-files mentioned above?

You cannot activate the C4Laser or C4Timer in the WeaponsTab for buying?
-> If the current map is a C4-map you have to switch to the next page in the WeaponsTab and DISABLE the option "In map C4"

--------------
Configuration:
--------------
ingame open the console, login as admin and enter "showweapontab" (without quotes)
configure the weapons
save your settings in one of the 10 slots (0...9)
close weapontab
reopen the console
enter "setdefaultmode n" (without quotes, n=the slotnumber you saved your settings in, the setting MUST exist)
enter "endround" or make a mapchange to activate the new setting

-----------
Last Notes:
-----------
There are still a few "minor bugs":
- PoisonEffect still active when new round starts


Maybe not all improvements to the weapons known from 3.50 are ported in this version.

For the moment take it as-is and

have fun...

MadMax

some useful links to configure your server:

http://forums.tactical-ops.to/showthread.php?t=73069 - TOST install
http://forums.tactical-ops.to/showthread.php?t=72238 - optimizing server
http://forums.tactical-ops.to/showthread.php?t=70449 - client/server inis

###################################################################################
Old stuff:

NEW 1.1.0.0 features:
---------------------
+ MuzzleFlash should be ok now.
+ DefaultMode support.
+ TOSTSettings support. (Load/Save current default mode)
+ LazerC4. (go through the laser and...... BOOOOOM).
+ "BuyMenu Bug" with non TOSTWeapons server SHOULD be fixed.
+ CWMode should be supported.(TOSTWeapons inactivated)
+ C4s can be armed anywhere. To plant, you must be close enough to any kind of surfaces.
+ C4 Timer can be set to 10-15-20 seconds with AltFire Button.
+ C4s are naddable. (I mean if a nade blows near to a C4, this one will blows too)
+ C4s are shootable if alowed in showweapontab.
+ C4s have new textures thanks to Stitch

NEW 1.2.0.0 features:
---------------------
+ CWMode IS supported.
+ Some Textures are imrpoved
+ option to allow nade timer switch (3-5-7)
+ no more endround/adminreset bug
+ LOTS OF BUGS REMOVED (it becomes real hard to find one)
+ some small improvements added like set default oicw owner, remove tostc4 in maps like blister,....

NEW 1.2.1.0 features:
---------------------
+ Water heals gassed eyes
+ gasmask prevent beeing flashed
+ gasmask layout remade
+ spectator bug fixed
+ to nade bug blowing where you dont see it is now fixed
+ s_kammoOto X allow to keybind to weapons + extra weapons like steyr etc...
(Steyr = 127, Famas = 126, OICW = 128, GasNade = 129, C4Timer = 131, C4Lazer = 130)

NEW 1.3.0.0 features:
---------------------
+ compatible TOST42
+ fixed some issues with load_settings

NEW 1.4.0.0 features:
---------------------
- modified buymenu in order to contains more guns.
- some internal TO bugs where fixed
- new nade replication system when someone is hit
- nade throw and friendly hit removed when ffnade off
- no recoil when fast picking/switching removed (I hope)
- desert/m16 red dot memory
- better scoped weapon accuracy
- possibility to c the guy who killed you for 2 secs when u die.
( --> this cant be set off/on throught weaponstab but directly from ini (default = on))
- ... other nice things that make this piece a must have one.

