Difference between revisions of "GtaTournament"

From GTAMods Wiki
Jump to navigation Jump to search
m
m (Added some more content)
Line 1: Line 1:
{{stub}}
 
 
[[Category:Multiplayer]] [[Category:GTA SA]]
 
[[Category:Multiplayer]] [[Category:GTA SA]]
=What is this?=
+
gtaTournament (GTAT) was the first multiplayer modification for GTA Vice City / San Andreas.
gtaTournament (gtaT) was the first multiplayer modification for GTA Vice City / San Andreas.
+
=Grand thefts online=
 +
{{quote|DracoBlue|gtaTournament is no Deathmatch GTA. Our aim is to get grand thefts online, like the single player just with more then one guy.}}
  
Its functionallity can be extended by using the [http://spieleschuppen.de/VCS VCScripting] language.
 
  
 +
To make every server unique instead of hardcoding the server, there is a scriptlanguage called VCS.
  
Get your latest news on [http://gtat.org gtat.org]
+
There are hundreds of script commands which make Race-Server, Deathmatchserver, RPG-Server, CTF-Server and many many more possible.
  
=History=
+
=Script language=
*16 Jan 2006 21:01
+
In VCS there are two types of "commands". Events and real commands.
::0.3c released ([http://downloads.gtat.org Download])
 
*06 Jan 2006 20:42
 
::0.3b released ([http://downloads.gtat.org Download])
 
*23 Dez 2005 20:29
 
::0.3a released ([http://downloads.gtat.org Download])
 
*04 Nov 2005 20:19
 
::0.2 released ([http://downloads.gtat.org Download])
 
*28 Sep 2005 14:48
 
::0.1c released ([http://downloads.gtat.org Download])
 
*14 Jul 2005 18:56
 
::0.1b released ([http://downloads.gtat.org Download])
 
*02 Jul 2005 12:52
 
::0.1a released ([http://downloads.gtat.org Download])
 
  
=Community=
+
=== Commands ===
Forums are at [http://forum.gtat.org forum.gtat.org]
+
Commands are normal functions like you know them from other programming languages. They need at least one param and return a value.
 +
// @title  Message all players in an circle
 +
// @author DracoBlue  | @date 24.09.2005 | @update 24.09.2005
 +
// Needs $x,$y,$z with coords, and $pl,$tmp as temp vars.
 +
$radius:="100";
 +
$text:="Hello!";
 +
$pl:=PLAYERS_IN_CIRCLE($x,$y,$z,$radius);
 +
$tmp:="0";
 +
while (BIGGER(LCOUNT($pl),$tmp))
 +
  begin
 +
    $tmp:=ADD($tmp,"1");
 +
    messageto(
 +
      PLAYERSNAMEBYID(LGET($pl,$tmp)),
 +
      $text)
 +
    );
 +
  end;
 +
For a complete list of all commands, please have a look at the [http://spieleschuppen.de/index.php/VCS_%28English%29 official documentation]
 +
== Events ==
 +
Events are raised if something special happens. For example a player joins or leaves, or even if someone chats a chatmessage.
 +
// Adds a line to VCS-Console, when someone enters the game.
 +
procedure ON_PLAYER_JOIN;
 +
    var $text;
 +
  begin
 +
    $nickname:=PlayersNameByID($nickname);
 +
    $text:=concat("Gejoint ist :",$nickname);
 +
    echo($text);
 +
  end;
 +
For more information about Events please see the [http://spieleschuppen.de/index.php/VCS_%28English%29#Events official documentation].
  
IRC-Channel at [irc://irc.gtanet.com/#gtat irc.gtanet.com/#gtat]
+
=Release History=
 +
16 Jan 2006 21:01 - 0.3c released ([http://downloads.gtat.org Download])
 +
06 Jan 2006 20:42 - 0.3b released ([http://downloads.gtat.org Download])
 +
23 Dez 2005 20:29 - 0.3a released ([http://downloads.gtat.org Download])
 +
04 Nov 2005 20:19 - 0.2  released ([http://downloads.gtat.org Download])
 +
28 Sep 2005 14:48 - 0.1c released ([http://downloads.gtat.org Download])
 +
14 Jul 2005 18:56 - 0.1b released ([http://downloads.gtat.org Download])
 +
02 Jul 2005 12:52 - 0.1a released ([http://downloads.gtat.org Download])
 +
''The GTA VC and GTA III Releaseses are not shown here yet''
 +
 
 +
=Links=
 +
*[http://forum.gtat.org Board] at forum.gtat.org
 +
*[irc://irc.gtanet.com/#gtat IRC-Channel]  at irc.gtanet.com/#gtat
 +
*[http://gtat.org News] at gtat.org
 +
__NOTOC__

Revision as of 17:17, 19 January 2006

gtaTournament (GTAT) was the first multiplayer modification for GTA Vice City / San Andreas.

Grand thefts online

"gtaTournament is no Deathmatch GTA. Our aim is to get grand thefts online, like the single player just with more then one guy."
–DracoBlue


To make every server unique instead of hardcoding the server, there is a scriptlanguage called VCS.

There are hundreds of script commands which make Race-Server, Deathmatchserver, RPG-Server, CTF-Server and many many more possible.

Script language

In VCS there are two types of "commands". Events and real commands.

Commands

Commands are normal functions like you know them from other programming languages. They need at least one param and return a value.

// @title  Message all players in an circle
// @author DracoBlue  | @date 24.09.2005 | @update 24.09.2005
// Needs $x,$y,$z with coords, and $pl,$tmp as temp vars.
$radius:="100";
$text:="Hello!";
$pl:=PLAYERS_IN_CIRCLE($x,$y,$z,$radius);
$tmp:="0";
while (BIGGER(LCOUNT($pl),$tmp))
  begin
    $tmp:=ADD($tmp,"1");
    messageto(
      PLAYERSNAMEBYID(LGET($pl,$tmp)),
      $text)
    );
  end;

For a complete list of all commands, please have a look at the official documentation

Events

Events are raised if something special happens. For example a player joins or leaves, or even if someone chats a chatmessage.

// Adds a line to VCS-Console, when someone enters the game.
procedure ON_PLAYER_JOIN;
    var $text;
  begin
    $nickname:=PlayersNameByID($nickname);
    $text:=concat("Gejoint ist :",$nickname);
    echo($text);
  end;

For more information about Events please see the official documentation.

Release History

16 Jan 2006 21:01 - 0.3c released (Download)
06 Jan 2006 20:42 - 0.3b released (Download)
23 Dez 2005 20:29 - 0.3a released (Download)
04 Nov 2005 20:19 - 0.2  released (Download)
28 Sep 2005 14:48 - 0.1c released (Download)
14 Jul 2005 18:56 - 0.1b released (Download)
02 Jul 2005 12:52 - 0.1a released (Download)

The GTA VC and GTA III Releaseses are not shown here yet

Links