Changes in 1.0: Difference between revisions
(Added images) |
(Added link to category "Changes in 1.0", linked the resources) |
||
Line 50: | Line 50: | ||
Many of the default resources have been changed or updated, and new ones have also been added. | Many of the default resources have been changed or updated, and new ones have also been added. | ||
* Resource | * Resource [http://community.mtasa.com/index.html?p=resources&s=details&id=57 realdriveby] has been added. This will facilitate the driveby mode in vehicles | ||
* Resource | * Resource [http://community.mtasa.com/index.html?p=resources&s=details&id=43 freeroam] has been added. (This resource is also needed when you want to run the test mode in the map editor) | ||
* Resource | * Resource [http://code.google.com/p/multitheftauto-resources/source/browse/#svn/trunk/required/parachute parachute] has been added, which facilitates parachutes from single player. | ||
* Resource | * Resource [http://multitheftauto-resources.googlecode.com/svn/trunk/optional/race/ race] has undergone many changes and is now much more stable and functional. | ||
==Scripting== | ==Scripting== | ||
Much of the scripting interface has changed in 1.0. Almost all resources will need updating in order to function, although the extent of this varies between scripts. | Much of the scripting interface has changed in 1.0. Almost all resources will need updating in order to function, although the extent of this varies between scripts. | ||
All the affected scripting changes can be viewed on [[:Category:Changes_in_1.0|Changes in 1.0]] page. | |||
===Camera functions=== | ===Camera functions=== |
Revision as of 20:09, 15 June 2009
This page outlines the major and fundamental changes when upgrading from dp2.x to 1.0.
Client
General
- The settings menu is now much more advanced and allows for more in depth changes, such as the addition of a Video tab which allows you to set the resolution
Console commands
The console commands now use CVARS. This essentially means that the standard commands that are built into MTA now exhibit a different syntax.
Whereas in dp2 you may have done:
chat_font 2
In 1.0 you would perform a command that mimics C:
chat_font = 2
This applies to all inbuilt commands, except for those that may interface with a server (e.g. nick or me).
Chatbox
The chatbox has had minor changes in 1.0. In particular, the text now displays an animation when a new line appears, and the Page Up and Page Down keys can be used to scroll the chat.
Host Game
This useful addition allows you to quickly start a game without having to run the MTA Server executable. It is fully functional and based upon the local.conf.
Joypad support
From 1.0, users can use their joypad/controller ingame. The keys for your joypad can be configured in the Binds tab, and advanced configuration such as analog keys can be configured in the Controls tab.
Map Editor
The Map Editor is now functional as of 1.0. This is assuming you have the map editor installed. Please see the Editor manual for details.
Server
The interface of the server is largely the same as dp2.x, there have, however been various tweaks
Server config
If upgrading from dp2, you should also add any missing variables to your config:
- fpslimit: This sets the FPS limit on your server.
- donotbroadcastlan: This sets whether the server can broadcast to Local Area Network servers
Commands
The commands of the server console are mostly the same, with the exception of:
- refresh - Previously the refresh command would refresh all resources. Now it only detects new resources that are in your resources directory
- refreshall - This new command mimics the previous functioning of refresh, and refreshes all resources - even those which are loaded already.
- loadmodule - Modules can now be loaded using this command without them being set in the server config.
Resources
Many of the default resources have been changed or updated, and new ones have also been added.
- Resource realdriveby has been added. This will facilitate the driveby mode in vehicles
- Resource freeroam has been added. (This resource is also needed when you want to run the test mode in the map editor)
- Resource parachute has been added, which facilitates parachutes from single player.
- Resource race has undergone many changes and is now much more stable and functional.
Scripting
Much of the scripting interface has changed in 1.0. Almost all resources will need updating in order to function, although the extent of this varies between scripts. All the affected scripting changes can be viewed on Changes in 1.0 page.
Camera functions
The Camera Functions have been completely overhauled.
Player functions
Some Player functions have been renamed to Ped functions.