Difference between revisions of "GtaTournament"

From GTAMods Wiki
Jump to navigation Jump to search
m (Added some more content)
(Corrected headers, code as well as very many spelling, punctuation, grammar and capitalisation errors. Changed the tone from an advert to a factual reference and removed some link spamming.)
Line 1: Line 1:
 
[[Category:Multiplayer]] [[Category:GTA SA]]
 
[[Category:Multiplayer]] [[Category:GTA SA]]
gtaTournament (GTAT) was the first multiplayer modification for GTA Vice City / San Andreas.
+
The gtaTournament (GTAT) project was the first multiplayer modification for [[:Category:GTA VC|Grand Theft Auto Vice City (GTAVC)]] and [[:Category:GTA SA|Grand Theft Auto San Andreas (GTASA)]].
=Grand thefts online=
+
 
 +
==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.}}
 
{{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.}}
  
 +
To make every server unique instead of hardcoding the server, a scripting language is used called VCS.  There are hundreds of script commands which make servers capabable of game modes based on racing, Deathmatch, Role Playing Games (RPG), Capture the Flag (CTF) and many others.
  
To make every server unique instead of hardcoding the server, there is a scriptlanguage called VCS.
+
==Script Language==
 +
Like some other script langauges, in VCS there are two types of processes: Events and Commands.  These are explained in the following sections.
  
There are hundreds of script commands which make Race-Server, Deathmatchserver, RPG-Server, CTF-Server and many many more possible.
+
=== Commands ===
 +
Commands are structured like function calls in a similar way to other programming languages.  They require at least one parameter and they return a value.
  
=Script language=
+
'''Code Sample'''
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
 
  // @title  Message all players in an circle
 
  // @author DracoBlue  | @date 24.09.2005 | @update 24.09.2005
 
  // @author DracoBlue  | @date 24.09.2005 | @update 24.09.2005
Line 29: Line 29:
 
     );
 
     );
 
   end;
 
   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 ==
+
A complete list of all commands is available in the [http://spieleschuppen.de/index.php/VCS_%28English%29 official documentation].
Events are raised if something special happens. For example a player joins or leaves, or even if someone chats a chatmessage.
+
 
 +
=== Events ===
 +
Events are "raised" if something special happens. For example, a player joining or sending a message using the in-game chat system.  When an event is raised, a section of commands associated with that event are automatically processed.
 +
 
 +
'''Code Sample'''
 
  // Adds a line to VCS-Console, when someone enters the game.
 
  // Adds a line to VCS-Console, when someone enters the game.
 
  procedure ON_PLAYER_JOIN;
 
  procedure ON_PLAYER_JOIN;
Line 40: Line 44:
 
     echo($text);
 
     echo($text);
 
   end;
 
   end;
For more information about Events please see the [http://spieleschuppen.de/index.php/VCS_%28English%29#Events official documentation].
 
  
=Release History=
+
More information about events is available in the [http://spieleschuppen.de/index.php/VCS_%28English%29#Events official documentation].
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])
+
==Version Release History==
23 Dez 2005 20:29 - 0.3a released ([http://downloads.gtat.org Download])
+
* 2006-01-16, 21:01: '''0.3c'''
04 Nov 2005 20:19 - 0.2 released ([http://downloads.gtat.org Download])
+
* 2006-01-06, 20:42: '''0.3b'''
28 Sep 2005 14:48 - 0.1c released ([http://downloads.gtat.org Download])
+
* 2006-01-23, 20:29: '''0.3a'''
14 Jul 2005 18:56 - 0.1b released ([http://downloads.gtat.org Download])
+
* 2005-11-04, 20:19: '''0.2'''
02 Jul 2005 12:52 - 0.1a released ([http://downloads.gtat.org Download])
+
* 2005-09-28, 14:48: '''0.1c'''
''The GTA VC and GTA III Releaseses are not shown here yet''
+
* 2005-07-14, 18:56: '''0.1b'''
 +
* 2005-07-02, 12:52: '''0.1a'''
 +
 
 +
''The GTAVC and GTA3 releases are not shown here yet.''
  
=Links=
+
==Links==
*[http://forum.gtat.org Board] at forum.gtat.org
+
* [http://gtat.org Official Homepage] - including a [http://downloads.gtat.org Downloads section].
*[irc://irc.gtanet.com/#gtat IRC-Channel] at irc.gtanet.com/#gtat
+
* [http://forum.gtat.org Official Forum]
*[http://gtat.org News] at gtat.org
+
* [irc://irc.gtanet.com/#gtat GTAT's IRC Channel]
__NOTOC__
 

Revision as of 17:45, 19 January 2006

The gtaTournament (GTAT) project was the first multiplayer modification for Grand Theft Auto Vice City (GTAVC) and Grand Theft Auto San Andreas (GTASA).

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, a scripting language is used called VCS. There are hundreds of script commands which make servers capabable of game modes based on racing, Deathmatch, Role Playing Games (RPG), Capture the Flag (CTF) and many others.

Script Language

Like some other script langauges, in VCS there are two types of processes: Events and Commands. These are explained in the following sections.

Commands

Commands are structured like function calls in a similar way to other programming languages. They require at least one parameter and they return a value.

Code Sample

// @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;

A complete list of all commands is available in the official documentation.

Events

Events are "raised" if something special happens. For example, a player joining or sending a message using the in-game chat system. When an event is raised, a section of commands associated with that event are automatically processed.

Code Sample

// 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;

More information about events is available in the official documentation.

Version Release History

  • 2006-01-16, 21:01: 0.3c
  • 2006-01-06, 20:42: 0.3b
  • 2006-01-23, 20:29: 0.3a
  • 2005-11-04, 20:19: 0.2
  • 2005-09-28, 14:48: 0.1c
  • 2005-07-14, 18:56: 0.1b
  • 2005-07-02, 12:52: 0.1a

The GTAVC and GTA3 releases are not shown here yet.

Links