GtaTournament

From GTAMods Wiki
Revision as of 17:17, 19 January 2006 by DracoBlue (talk | contribs) (Added some more content)
Jump to navigation Jump to search

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