News A server update was released on July 20. Server patch notes and downloads are here. Additionally, a client update was released on the same day. Client patch notes are here.
Client Updates
 Client Update for 0.4 Released (August 5)

Posted by Stormeus, on August 6th, 2016, 01:51 AM   (544 views)

A client update has been released for 04rel004.
  • Added a cursor for players who use game_windowed 0.

This update will take effect upon reloading the browser.

3 replies
 Client Update for 0.4 Released (July 20)

Posted by Stormeus, on July 20th, 2016, 06:32 AM   (1,235 views) « 1 2 »

A client update has been released for 04rel004.

  • Added GUI skins. GUI skins consist of a spritesheet with 256x256 resolution to define the appearance of GUI elements. Server owners can use a new file, ui/skin.png, to set a GUI skin specific to their server. This skin is reset to the default (skinless) appearance upon disconnecting.

    An example skin spritesheet can be found here. A visual comparison of skinned and unskinned windows can be found here.


  • Implemented customized handling rules for MVL vehicles. Handling rules previously only applied to default game vehicles.
  • Fixed a regression in the last patch that broke damage for drivebys
  • Fixed players being able to inflict damage on teammates by running them over
  • Fixed the time parameter for setting object alphas not doing anything
  • Horns and secondary sirens are now synced separately and fully. This is complemented by a server update.
  • Fixed a regression that broke the ability to set player alpha
  • Alphas can now be set for the Tommy skin (ID 0)
  • Fixed the automatic scrollbar for listboxes not appearing until being forced to re-render by interacting with it or its parent window
  • Fixed the automatic scrollbar for listboxes not disappearing after clearing the listbox
  • Fixed a regression that caused bikes to reverse too quickly
  • Fixed the client not being able to set vehicle instance handling rules if the vehicle had ID 0

This update will take effect upon reloading the browser.

19 replies
 Major Update for 0.4 Released (April 25)

Posted by maxorator, on April 25th, 2016, 08:47 PM   (1,163 views) « 1 2 »

A major update has been released for VC:MP. This version brings new features that require both the server and client to be updated for it to work, so the version is bumped to 04rel004.

Server Owners: Server and plugin updates can be found in this thread.



Client Update 04rel004
  • Added client-side GUIs and scripting. The client now has a Squirrel core for running GUI management scripts, and has a few basic client-side events, detailed below.
  • Added support for custom radar map. The minimap sections go to store/maps/radar/section<00-63>.png and the menu map sections go to store/maps/radar/region<00-08>.png
  • Added option to disable backface culling. This makes maps designed for GTA 3 look better since they weren't made considering backface culling used by VC.
  • Added option to disable helicopter blade damage.

All information about new scripting features, both server and client side, can be found in the topic about server update.

Credits to Juppi for the GUI library and Stormeus for integrating it with VC:MP. And me for implementing client side scripts!

16 replies
 Client Update Released (July 17)

Posted by Stormeus, on July 17th, 2016, 08:57 AM   (417 views) « 1 2 »

A client update has been released for 04rel004.

  • Fixed the firetruck horn playing continuously when using the siren
  • Fixed friendly fire restrictions not applying to drivebys
  • The black hint box used for game message (Announce) type 0 has been moved to the bottom right of the screen
  • Fixed issues with the HOME and END shortcuts jumping to random locations when the console backlog is large
  • Fixed /infmodelsearch listing all objects
  • Fixed an input issue that allowed the player to jump off the spawn screen when first loading into multiplayer

This update will take effect upon reloading the browser.

EDIT: The original changelog was accidentally overwritten. The latest edit is a recreation and should be as accurate.

19 replies
 Client Update Released (July 10)

Posted by Stormeus, on July 10th, 2016, 09:28 AM   (413 views) « 1 2 »

A client update has been released for 04rel004.

  • Attempt to fix a crash that would automatically occur when loading the client-side script system on Windows XP.
  • Operating system version is now reported to http://crashes.vc-mp.org

This update will take effect upon reloading the browser.

20 replies
 Client Update Released (17 January)

Posted by Stormeus, on January 17th, 2016, 08:59 AM   (940 views) « 1 2 »

The first client update of 2016 has been released for 04rel003.
  • Custom sound files can now be played using PlaySound.

    Server owners: to use this feature, add .wav files to store/sounds/. Each sound added will have an ID starting with 50000 which can be played through PlaySound as usual. Filenames should be in the format of sID_NAME.wav where ID starts with 50000.

    No server update is necessary for this feature.

  • Fixed players being able to gain immunity to gunfire by rapidly switching in and out of first-person view.
  • Fixed players occasionally not seeing shots from behind them until they saw the player shooting them.
  • Fixed players taking critical damage and losing all armour when being shot in the arms and legs.
  • Attempted a more aggressive fix for slide glitching.
    • Fixed players sliding aggressively when transitioning from crouched to standing up.
    • Attempted to reduce slide duration when a player is moving while standing.
    • Shotgun timing for remote players should improve as well due to this patch.
  • Shots fired by people in first-person should now appear to shoot from the muzzle, and not from behind the player's head.
  • Added config option scr_shortmsg. When set to 1, VC:MP will shorten the "screenshot saved" message by only printing the filename, and not the full path.
  • Added console shortcuts for jumping to the first and last lines in the scrollback buffer. (HOME and END by default, respectively. Only effective when the console is open.)
  • Added config options con_scrollupkey, con_scrolldownkey, con_jumptopkey and con_jumpbottomkey to reconfigure the keys used for scrolling through the console.
  • Fixed smoke and shadows being transparent or appearing lighter in screenshots. FRAPS overlays will also appear properly if captured in screenshots.
  • Reduced the delay in switching classes on a spawn screen from 1000ms (1sec) to 250ms (0.25sec).

This update will take effect upon reloading the browser.

17 replies
 Client Update for 0.4 Released (June 17)

Posted by Stormeus, on June 17th, 2016, 01:46 AM   (360 views)

A client update has been released for 04rel004.

  • Added support for custom radar discs. The radar disc should be placed in store/maps/radar/radardisc.png and has the same resolution and transparency as regular radar disc mods.
  • Updated UIDv2. UIDv2 uses a new method for generating UIDs that should be unique per machine again and more reliable than UIDv1. Any previous UIDv2 values are now invalid, but due to issues with their uniqueness before, this shouldn't be a problem.
  • Fixed escalators not being hidden when hiding the default map.
  • Fixed a crash that could be caused by GUI elements being deleted with their parents.
  • Fixed a crash that could be caused by resizing the game window while the renderer is still active.
  • Fixed OnGameResize sending junk values.


9 replies
 Client Update Released (May 3)

Posted by maxorator, on May 3rd, 2016, 11:26 AM   (901 views) « 1 2 3 »

Some updates for 04rel004 have been incrementally coming in the last week, but I haven't yet documented them:

  • Files ending with _mem.nut or _mem.xml not saved to disk
  • Added Script.CompileString() and include() (dofile only once)
  • Ability to remove the whole default map by having store/maps/hidevicecity.txt file
  • If present store/maps/waterpro.dat is used instead of the default one
  • Support for object.dat definitions for custom objects
  • Support for custom carcols (store/vehicles/carcols.xml), starting at 100
  • Increased the limit of particle generators (nearly exhausted by default) from 70 to 250
  • Custom tree (1), traffic light (2) or fire hydrant (4) models (<special value="#num"/>)
  • LOD does not have to immediately follow the main object in XML anymore
  • Player render distance increased (only Tommy was seen from far away previously)
  • Fixed GUI 3D properties not usable because they start with a number (3DSize -> Size3D etc)
  • Fixed custom chainsaw sound
  • Fixed a crash related to custom object collisions
  • Fixed a crash when custom vehicle parts were lying around on disconnect
  • Fixed empty files in store crashing the client
  • Checkpoint entry/exit works using vehicle/player collisions now instead of distance check
  • Support for custom timecyc.dat (goes to store/maps/timecyc.dat)

Sample fire hydrant XML:
(click to show/hide)
Code: [Select]
    <object id="214">
        <flags value="0"/>
        <texture path="dynhydrent.txd"/>
        <collision path="generic.col" name="fire_hydrant"/>
        <model path="fire_hydrant.dff" distance="40.000000"/>
        <special value="4"/>
        <physics>
            <mass>150.000000</mass>
            <turnmass>50.000000</turnmass>
            <airresistance>0.990000</airresistance>
            <elasticity>0.030000</elasticity>
            <percentsubmerged>50.000000</percentsubmerged>
            <uprootlimit>100.000000</uprootlimit>
            <damagemultiplier>1.000000</damagemultiplier>
            <collisioneffect>1</collisioneffect>
            <collisionresponse>0</collisionresponse>
            <cameraavoids>false</cameraavoids>
        </physics>
    </object>

Sample carcols XML:
(click to show/hide)
Code: [Select]
<?xml version="1.0" encoding="ASCII"?>
<carcols>
    <colour id="0" r="30" g="30" b="30"/>
    <colour id="1" r="250" g="140" b="140"/>
</carcols>


38 replies