(English)
(German, Deutsch)


              GTA Soccer Team Play for San Andreas (STP)

       A gta fan project by GoodIdea (c), Version 1.0, May 2014

	          http://www.youtube.com/watch?v=WZVi-6RAFcs

### ENGLISH ##############################################################

Soccer Team Play is a free extension for GTA San Andreas single player. It 
allows you to play team against team like in commercial soccer games. Three
to five player are possible for each team. This mod adds realism to the 
game and extends gameplay. The soccer field is in the baseball stadium in 
Las Venturas. You can access the stadion from the parking area via a red 
marker. Use the left mouse button to shoot the ball to another player or 
at the goal. To move your entire team forward, pass the ball to the player 
in the back and move that player forward. Then pass the ball to the front 
again, but be careful to not violate the offside rule. The game was programmed 
in C++ and CLEO 4. To support this mod upload a video of you playing and add 
a link to my video.

Author: GoodIdea

----- Installation (Quick) ------------------------------------------------------
1. Install CLEO 4
2. Install ModLoader
3. Copy the "modloader" folder of this mod into your San Andreas folder.
4. Add in data\object.dat the following line below the line starting with "beachball":
soccerball,		0.5,		0.00005		0.013,		0.25,		50.0,		0.0,  	2.0,    0, 	2,	1, 	0,	0,	0.0, 0.0, 0.0,		none

X. Test the game and adjust "ballSlowDown" in cleo\SoccerTP.ini so that the players catch the ball.
Y. If you the get an error that msvcr100.dll, msvcp100.dll, or similar "is missing", then download and install it from Microsoft.
Z. If you have other problems, then try the detailed installation below:

----- Installation (Detailed and with Troubleshooting) --------------------------

0. Backup files

1. Install Models (*.dff), Textures (*.txd), and Collision (*.col) files
   1.1 Add in data\object.dat the following line below the line starting with "beachball":
       soccerball,		0.5,		0.00005		0.013,		0.25,		50.0,		0.0,  	2.0,    0, 	2,	1, 	0,	0,	0.0, 0.0, 0.0,		none
   
   Either do 1.2A or 1.2B, but not both!
   
   1.2A
       1.2A.1 Install ModLoader (ML) (http://www.gtagarage.com/mods/show.php?id=25377) and read the readme there.
              In your GTASA folder (your San Andreas folder with gta_sa.exe) you will see the folder "modloader".
       1.2A.2 Copy ONLY the "data" and "models" folders of this mod into GTASA\modloader\SoccerTeamPlay so you get
	           GTASA\modloader\SoccerTeamPlay\data\maps\generic\multiobj.ide
			   GTASA\modloader\SoccerTeamPlay\models\soccer* .dff .col . txd
				
   1.2B	If 1.2A does not work then delete GTASA\modloader\SoccerTeamPlay\models and try installation using IMGManager
       1.2B.1 Install IMGManager (http://www.gtagarage.com/mods/show.php?id=4052)
	   1.2B.2 Using IMGManager import ("edit\bulk replace") the files from THISMOD\SoccerTeamPlay\models into GTASA\models\gta3.img and delete them from modloader.
	   
   1.3 Test if you can start and play GTA normaly. If the game crashes, then possible reasons are:
       - Possible problem 1: The object IDs of the soccerball, soccerfield, and/or soccergoal are already used. 
         Use the following tool to determine free IDs: "Free ID List Generator" http://www.gtagarage.com/mods/show.php?id=16944	 
         Then change the IDs in data\maps\generic\multiobj.ide of ballID, goalID, and fieldlines (=soccerfiled).
         Change the IDs accordingly in cleo\SoccerTP.ini
       - Possible problem 2: File limit for collision files is already exceeded. GTA allows only a limited number of collision files.
         If this is the problem, then delete GTASA\modloader\SoccerTeamPlay\models\SoccerTeamPlay.col (or from gta3.img if you followed 1.2B)
         Use IMGManager (http://www.gtagarage.com/mods/show.php?id=4052) to extract multiobj.col from models\gta3.img.
         Use CollEditor2 (http://www.gtagarage.com/mods/show.php?id=1154) to add SoccerTeamPlay.col into multiobj.col
         Use IMGManager again to insert multiobj.col back into models\gta3.img (use "edit\bulk replace").

2. Install the program files
   1.1 Install CLEO 4 (see: http://cleo.li/ or http://sannybuilder.com/)
       You should then see a CLEO folder in your GTA San Andreas folder (GTASA).
       (I have succesfully tested the game with CLEO version 4.3.16.)

   Either do 1.2A or 1.2B, but not both!
   
   1.2A (Using ModLoader) Copy the "cleo" folder into GTASA\modloader\SoccerTeamPlay 
        so you will have GTASA\modloader\SoccerTeamPlay\cleo\Soccer* .cs, .cm, .dll, .ini .....
   1.2B If 1.2A does not work then copy the "cleo" folder into GTASA so you get GTASA\cleo\Soccer* .cs, .cm, .dll, .ini ...... 

3.
   X. Test the game and adjust "ballSlowDown" in cleo\SoccerTP.ini so that the players catch the ball.
   Y. If you the get an error like msvcr100.dll, msvcp100.dll, etc "is missing", then download and install it from Microsoft.

----- Try also my other mods ---------------------------------------------

Link: http://www.youtube.com/user/GoodIdea82/videos
- SA Golf
- SA Volleyball
- SA Tennis
- Camping Car Mobile Save House

----- Hints, Issues, Troubleshooting ------------------------------------

- I had no crashes when testing this mod on the original version (Hoodlum) and
  on a version with several other mods, but there can be problems under some 
  configurations.

- If the soccer field lines are dark, then you need a different TimeCyc. (see "Better Graphics" below)
  
- There can be a crash when playing with 5 players (see SoccerTP.ini). This is a bug of GTA.

- Sometimes a player can get stuck at the goal or at the cabin. In this case you
  have to wait, or try to walk in his way, or try to punch him. I had no time to fix this.

- SoccerTeamPlay.log is written into your GTASA folder, that helps you analyse in case of problems.

- In case of problems install SADebug.asi to see debug information on the screen.

----- Better Graphics  -----------------------------------------------------

Additionally I have several graphics mods installed. If you don't know how to 
improve your graphics, here are some basic graphics hints:
- In the folder "Optional" I have added my timecyc.dat, enbpalette, 
  and enb settings for enb 0.076. Delete "effect.txt" if your computer is slow.
- I use textures from SRT 3 Mipmap edition and from ROSA Project, but there 
  are several other great mods such as HRT 1.4.
- Plants from BSOR (Behind Space Of Realities). 
- Project 2dfx
- HD Grass from Vegation Pack, but you will have grass in the 
  desert. I fixed this problem but it's not ready for publication yet. 
- I have several other graphics mods installed and modified almost
  all of them but the above is the basic setup I think.


---- Copy Right ------------------------------------------------

Feel free to copy and distribute this mod but you must include this description.
Do not steel this mod (i.e. do not change author)! Do not change this mod without
my permission! You may only change the configurations to make it run.
Do not include this mod in a mod-pack unless I give permission!


---- Disclaimer -----------------------------------------------

This is a fan project intended to extend and improve GTA San Andreas.
GTA is a trademark of Rockstar Games. Support the company by buying 
their games. Use this software on your own risk. This software is 
provided as it is without any guarantees or obligations.

---- Link ---------------------------------------------

http://www.youtube.com/user/GoodIdea82/videos


### GERMAN, DEUTSCH ##########################################################################
Soccer Team Play ist eine freie Erweiterung fr GTA San Andreas Singleplayer.
Damit kann man Manschaft gegen Manschaft spielen, wie in kommerziellen Fuball
Spielen. Man kann mit drei bis fnf Spielern pro Manschaft spielen. Das 
Fuballfeld befindet sich im Baseballstadium in Las Venturas. Man kann ins Innere 
des Stadions ber einen roten Marker vom Parkplatz aus gelangen. Verwendet die 
linke Maustaste um den Ball zu einem Spieler oder aufs Tor zu schieen. Um das 
ganze Team nach vorne zu bewegen spiele den Ball zunchst nach hinten und bewegen 
den hinteren Spieler nach vorne. Passe den Ball dann wieder nach vorne, aber pass 
auf, dass du kein Abseits bekommst. Das Spiel wurde in C++ und CLEO 4 programmiert.
Um diese Mod zu untersttzen lade ein Video hoch wie du spielst, und fge einen
Link zu meinem Video hinzu.

Autor: GoodIdea

----- Installation (Quick) ------------------------------------------------------
1. Installiere CLEO 4
2. Installiere ModLoader
3. Kopiere den "modloader" Ordner dieser Modifikation in deinen San Andreas ordner.
4. Fge in data\object.dat die folgende Zeile hinzu, nach der Zeile, die mit "beachball" anfngt:
soccerball,		0.5,		0.00005		0.013,		0.25,		50.0,		0.0,  	2.0,    0, 	2,	1, 	0,	0,	0.0, 0.0, 0.0,		none

X. Teste das Spiel und passe den Wert von "ballSlowDown" in cleo\SoccerTP.ini so an, dass die Spieler den Ball gut annehmen.
Y. Falls du einen Fehler der bekommst wie, z.B. msvcr100.dll, msvcp100.dll, usw "is missing", dann lade die Dateien von Microsoft runter und installiere sie.
Z. Falls du andere Probleme hast, dann versuche die ausfhrliche Installation unten:

----- Installation (Detailiert und mit Problembehandlung) --------------------------

0. Erstelle eine Sicherheitskopie

1. Installiere Modelle (*.dff), Texturen (*.txd), and Collisions (*.col) Dateien
   1.1 Fge in data\object.dat die folgende Zeile hinzu, nach der Zeile, die mit "beachball" anfngt:
       soccerball,		0.5,		0.00005		0.013,		0.25,		50.0,		0.0,  	2.0,    0, 	2,	1, 	0,	0,	0.0, 0.0, 0.0,		none

   
   Entweder 1.2A oder 1.2B, aber nicht beide!
   
   1.2A
       1.2A.1 Installiere ModLoader (ML) (http://www.gtagarage.com/mods/show.php?id=25377) und lese dessen Readme.
              In deinem GTASA Ordner (der San Andreas Ordner mit gta_sa.exe) wirst du den Ordner "modloader" sehen.
       1.2A.2 Kopiere nur die Ordner "data" und "models" dieser Mod nach GTASA\modloader\SoccerTeamPlay sodass du folgende Verzeichnisstruktur erhlst.
	           GTASA\modloader\SoccerTeamPlay\data\maps\generic\multiobj.ide
			   GTASA\modloader\SoccerTeamPlay\models\soccer* .dff .col . txd
				
   1.2B	Falls 1.2A nicht funktioniert dann lsche modloader\SoccerTeamPlay\models und versuche eine Installation mit IMGManager
       1.2B.1 Installiere IMGManager (http://www.gtagarage.com/mods/show.php?id=4052)
	   1.2B.2 Importiere mit IMGManager(mit "edit\bulk replace") die Dateien asu SoccerTeamPlay\models nach GTASA\models\gta3.img
	   
   1.3 Teste ob du GTA normal starten und spielen kannst. Wenn es einen Fehler gibt, dann sind folgende Probleme die Ursache:
       - Mglicher Fehler 1: Die Objekt IDs von soccerball, soccerfield, and soccergoal werden bereits genutzt. 
         Verwende das folgende Werkzeug um eine Liste mit freien IDs zu bekommen: "Free ID List Generator" http://www.gtagarage.com/mods/show.php?id=16944	 
         Whle freie IDs in data\maps\generic\multiobj.ide fr soccerball, soccerfield, and soccergoal.
         Passe die IDs in cleo\SoccerTP.ini entsprechend an: ballID, goalID, und fieldlines (=soccerfiled)..
       - Mglicher Fehler 2: Die maximale Anzahl von Collisionsdateien wurde erreicht/berschritten.
         Lsche SoccerTeamPlay.col in modloader\SoccerTeamPlay\ (oder in gta3.img falls du 1.2B gefolgt hast.)
         Verwendet IMGManager (http://www.gtagarage.com/mods/show.php?id=4052) um multiobj.col aus models\gta3.img zu exportieren.
         Verwende CollEditor2 (http://www.gtagarage.com/mods/show.php?id=1154) um SoccerTeamPlay.col in multiobj.col hinzuzufgen.
         Verwende IMGManager nochmal um multiobj.col zurck in models\gta3.img hinzuzufgen (klicke auf "edit\bulk replace").

2. Installation von Program Dateien
   1.1 Installiere CLEO 4 (see: http://cleo.li/ or  http://sannybuilder.com/)
       Do solltest dann einen CLEO Ordner in deinem GTA San Andreas Ordner (GTASA) sehen.
       (Ich habe das Spiel mit CLEO version 4.3.16. getestet)

   Entweder 1.2A oder 1.2B, aber nicht beide!
   
   1.2A (Mit ModLoader) Kopiere den Ordner "cleo" nach GTASA\modloader\SoccerTeamPlay 
        sodass du folgende Verzeichnisstruktur erhllst GTASA\modloader\SoccerTeamPlay\cleo\Soccer* .cs, .cm, .dll, .ini .....
   1.2B Falls 1.2A nicht funktioniert hat dann kopiere den "cleo" Ordner nach GTASA sodass du folgende Verzeichnisstruktur erhllst: GTASA\cleo\Soccer* .cs, .cm, .dll, .ini ...... 

3.
   X. Teste das Spiel und passe den Wert von "ballSlowDown" in cleo\SoccerTP.ini so an, dass die Spieler den Ball gut annehmen.
   Y. Falls du einen Fehler der bekommst wie, z.B. msvcr100.dll, msvcp100.dll, usw "is missing", dann lade die Dateien von Microsoft runter und installiere sie.

----- Probiere auch meine anderen Mods ---------------------------------------------

Link: https://www.youtube.com/user/GoodIdea82/videos
- SA Golf
- SA Volleyball
- SA Tennis
- Camping Car Mobile Save House

----- Tips, Probleme, und Lsungen -------------------------------------------------

- Ich habe das Spiel ohne Probleme mit der originalen Version von GTA SA und mit einer
  gemoddeten Version getestet. Bei manchen Konfigurationen knnen totzdem Probleme
  auftachen.

- Falls die Fuballfeldlinien dunkel sind, dann brauchst du eine andere TimeCyc. (Siehe "Grafik Tipps" unten)
  
- Das Spiel kann in seltenen Fllen abstrzen wenn es 5 Spieler pro Team gibt (siehe SoccerTP.ini). Das ist ein Fehler von GTA.

- Manchmal kann ein Spieler im Tor oder in der Nher der Umkleidekabine stecken bleiben. In
  dem Fall mut du warten, oder dem Spieler in den Weg laufen, oder ihn schlagen. Ich hatte
  keine Zeit mehr dieses Problem zu beheben.

- SoccerTeamPlay.log wird in deinen GTASA Ordner erzeugt und kann helfen Probleme zu analysieren.

- Falls es noch Probleme gibt, dann installiere SADebug.asi um Debuginformation auf dem Bildschirm anzuzeigen.

----- Grafik Tipps -----------------------------------------------------

Falls du dich nicht mit Grafik mods auskennst, sind hier ein paar elementare Tipps.
- Im Verzeichniss "Optional" habe ich meine timecyc.dat, enbpalette, 
  und enb Einstellungen fr enb 0.076 mit geliefert. Lsche "effect.txt" aus enb
  falls dein Computer langsam ist.
- Ich verwende Texturen aus SRT 3 Mipmap edition und ROSA Project, aber es gibt
  auch viele andere tolle textur mods z.B. HRT 1.4.
- Pflanzen aus BSOR (Behind Space Of Realities). 
- Project 2dfx
- HD Grass aus Vegation Pack, aber du wirst leider Grass in der Wste sehen.
  Ich habe das Problem bei mir behoben, aber es ist nicht fertig zum Verffentlichen.
- Ich habe noch mehrere andere Grafikmods installiert und fast alle modifiziert
  aber die oberen bilden eine gute Ausgansbasis.


----- Kopierrecht ------------------------------------------

Diese Mod darf kopiert und verteilt werden, aber diese Beschreibung muss
immer dabei sein. Diese Mod darf nicht gestohlen werden (d.h. der Name des
Autors darf nicht verndert werden)! Diese Mod darf ohne meine Erlaubnis
nicht verndert werden. Die Mod darf nur soweit verndert werden, 
um sie zum Laufen zu bringen. Dieser Mod darf ohne meine Erlaubnis nicht
in einem Mod-packet verwendet werden.

-----  Haftungsausschluss ------------------------------------

Das ist ein Fanprojekt, welches versucht GTA San Andreas zu erweitern und zu 
verbessern. GTA is eine Marke von Rockstar Games. Untersttzt Rockstar indem
ihr deren Spiele kauft. Der Entwickler dieser Software haftet fr keine Schden, 
bernimmt keine Verantwortung, und hat keine Verpflichtungen.

---- Link ---------------------------------------------
https://www.youtube.com/user/GoodIdea82/videos





