Currently the developers are putting their own money into JC2-MP to keep the servers online.

Please take a few seconds of your time and disable your AdBlock plugin for our website.

Ad revenue is not going to developers, it is used purely for covering our hosting costs.

 

You are also free to donate, which removes all ads from our website!

Patch 0.3 was just released! Full changelog here: https://t.co/4A50m6IKen

3 months ago

August 23, 2017, 11:22:03 pm

Author Topic: 0.1.4 Announcement  (Read 31912 times)

dreadmullet

  • Developer
  • Hero Member
  • *****
  • Posts: 643
    • View Profile
0.1.4 Announcement
« on: March 08, 2014, 11:37:33 am »
0.1.4 Release
Available now on Steam


Shown in the video:
  • Earthquakes
  • Real-time vehicle colour changing
  • Smoke on teleport
  • Gibs on death
  • Back to the Future car teleportation
  • Hats!
  • Heat-seeking missiles
  • Amphibious cars

All this, and more, is possible with 0.1.4. Some of these scripts will be released in the Releases forum for everyone to look around and play with; keep a look-out!

Key Information

For scripters
There is a breaking change with Player:GetBones. Prior to 0.1.4, it returned a table of Vector3s, like such:

Code: Lua
  1. {
  2.     ragdoll_Head = Vector3(),
  3.     ...
  4. }

However, 0.1.4 now returns a table containing tables with 'position' and 'angle':

Code: Lua
  1. {
  2.     ragdoll_Head =
  3.     {
  4.         angle = Angle(),
  5.         position = Vector3()
  6.     },
  7.     ...
  8. }

0.1.4 Changelog

Client-side Object Spawning

To complement server-side static objects, we've added client-side static objects. In previous releases, you couldn't properly create hats or attach something to a car. Now it's easy.



Want to try out hats? Go check out Jman100's hat demo script!

Effects and Sounds

Any effect or sound from the original game is available. There are plenty of explosions, smoke effects, and more! Sounds play in 3D, and yes, you can play the Mile High Club music.




Try out Jman100's effect browser, which was used in these screenshots.

Full Changelog

New Features

Shared
  • Added the ability to set custom values on players, which are synchronized across modules and (optionally) server/client
  • Added vehicle invulnerability
  • Vastly improved Lua error messages and made them much more usable
  • Added a global Lua include directory, under lua/autorun/, that can be used to inject code into other modules under IKnowWhatImDoing
  • SteamId can now be passed in Events:Fire and Network:Send/Broadcast
  • Timer can now be passed in Events:Fire
  • Added an optional second argument to 'class' that lets you specify a parent table

Server
  • Added events EntitySpawn, EntityDespawn, and EntityRemove
  • Added Server functions GetLoadedModules and GetAvailableModules

Client
  • Added ClientEffect
  • Added ClientSound
  • Added ClientStaticObject
  • Added Player:GetBoneAngle
  • Player:GetBones now returns a table of {position, angle} tables
  • Added an 'entity' field to Physics:Raycast
  • Added Vehicle functions GetBoundingBox and GetCenterOfMass
  • Added events EntitySpawn and EntityDespawn
  • Added Game functions GetHeat, SetHeat, and ResetHeat
  • Added Game:ShowPopup
  • Added BaseWindow functions SetSizeAutoRel, SetWidthAutoRel, and SetHeightAutoRel, which make controls automatically resize based on their parent
  • Added BaseWindow functions SetWidthRel, SetHeightRel, GetWidthRel, and GetHeightRel
  • Added Button functions SetTextNormalColor, SetTextPressedColor, SetTextHoveredColor, and SetTextDisabledColor
  • Split StaticObject into BaseStaticObject and StaticObject
  • Added TreeNode:GetLabel
  • Added TreeNode functions for getting/setting various text colors
  • SAM sites no longer spawn in the game

Bug Fixes

Shared
  • The hard limit of 65536 entities was increased to ~4 billion
  • Improved player color generation algorithm; the saturation range is now between 0.5 and 0.75
  • Removed Vector3 compression when using Network:Send due to horrible precision loss

Server
  • Fixed crash when a Lua event was broadcasted during unloadall

Client
  • Fixed crash when calling GetPosition/GetAngle on a partially-spawned StaticObject
  • Fixed StaticObject crash when updating position of a non-existent model
  • Fixed occasional crash when removing GWEN controls, such as removing a control and its parent at the same time
  • Fixed TabControl related crashes when removing a TabButton or its page, as well as pages sometimes staying around
  • Vehicle:SetColors will now update the vehicle's colors immediately
  • Added client-side protection against the edge case of spawning invalid weapon models
  • Fixed 'reconnect' not working if server is passworded
  • Aliased 'force_connect' to 'connect'
  • Fixed some GWEN events not working
  • Edited the GWEN skin to give a dark theme to Trees and PropertyTrees
  • Improved TextBox cursor behaviour
  • Fixed mouse cursor not being updated immediately after Mouse:SetVisible
  • Moved AssetLocation to shared
  • GroupBox:SetPadding no longer affects the title text
  • ListBox and SortedList are now affected by SetBackgroundVisible.
  • Fixed SortedList:Sort crash with bad column

Note: a running changelog for each new version is maintained on the wiki, see here.
« Last Edit: April 03, 2014, 04:19:30 pm by dreadmullet »

FictionSource

  • Donator
  • Jr. Member
  • *****
  • Posts: 77
    • View Profile
Re: 0.1.4 Announcement
« Reply #1 on: March 08, 2014, 01:47:56 pm »
Hats? Hats! Haaaats!!!

So valve is now co-developing the mod  ;D

Now it's obvious, they indeed can't count to three

Unmoon

  • Donator
  • Full Member
  • *****
  • Posts: 246
    • View Profile
Re: 0.1.4 Announcement
« Reply #2 on: March 08, 2014, 01:54:16 pm »
Amazing, now Jman100 can give hats for his donators! ::)

AccursedPrince

  • Donator
  • Hero Member
  • *****
  • Posts: 562
    • View Profile
Re: 0.1.4 Announcement
« Reply #3 on: March 08, 2014, 02:00:23 pm »
Hats invaded JC2Mp too
MOAR HATS

wintersrigor

  • Sr. Member
  • ****
  • Posts: 461
    • View Profile
Re: 0.1.4 Announcement
« Reply #4 on: March 08, 2014, 02:03:35 pm »
  • Earthquakes
  • Real-time vehicle colour changing
  • Smoke on teleport
  • Gibs on death
  • Back to the Future car teleportation
  • Hats!
  • Heat-seeking missiles
  • Amphibious cars

Now this i might have to see  ;D

FonZeD

  • Donator
  • Full Member
  • *****
  • Posts: 104
    • View Profile
Re: 0.1.4 Announcement
« Reply #5 on: March 08, 2014, 02:07:31 pm »

Philpax

  • Developer
  • Hero Member
  • *****
  • Posts: 563
    • View Profile
Re: 0.1.4 Announcement
« Reply #6 on: March 08, 2014, 02:09:43 pm »

FonZeD

  • Donator
  • Full Member
  • *****
  • Posts: 104
    • View Profile
Re: 0.1.4 Announcement
« Reply #7 on: March 08, 2014, 02:13:01 pm »
Quote
The promised day has come. Are you proud?

Very much, thank you. My mission here is now complete.

AccursedPrince

  • Donator
  • Hero Member
  • *****
  • Posts: 562
    • View Profile
Re: 0.1.4 Announcement
« Reply #8 on: March 08, 2014, 02:25:48 pm »
Quote
The promised day has come. Are you proud?

Very much, thank you. My mission here is now complete.
Will you return to your planet now that your mission is over ;D

FabioGNR

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: 0.1.4 Announcement
« Reply #9 on: March 08, 2014, 02:26:57 pm »
awesome

TL_GTASA

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: 0.1.4 Announcement
« Reply #10 on: March 08, 2014, 02:29:08 pm »
is it will be release on 12th March 2014 08:00 UTC?

SubZer0

  • Sr. Member
  • ****
  • Posts: 389
    • View Profile
Re: 0.1.4 Announcement
« Reply #11 on: March 08, 2014, 03:06:33 pm »
don't wanna be pessimistic, but this update looks rather useless to me, since there is more important issues like overall syncing rather than adding client side functions.
This update is nice to have, but not really useful.

Philpax

  • Developer
  • Hero Member
  • *****
  • Posts: 563
    • View Profile
Re: 0.1.4 Announcement
« Reply #12 on: March 08, 2014, 03:34:24 pm »
don't wanna be pessimistic, but this update looks rather useless to me, since there is more important issues like overall syncing rather than adding client side functions.
This update is nice to have, but not really useful.

We agree; this update is for scripters to implement their own features, such as heat-seeking missiles, SAM sites, and more.

We plan on improving sync considerably and adding other important features such as Unicode support in 0.1.5. More information on that soon.

SubZer0

  • Sr. Member
  • ****
  • Posts: 389
    • View Profile
Re: 0.1.4 Announcement
« Reply #13 on: March 08, 2014, 04:08:09 pm »
don't wanna be pessimistic, but this update looks rather useless to me, since there is more important issues like overall syncing rather than adding client side functions.
This update is nice to have, but not really useful.

We agree; this update is for scripters to implement their own features, such as heat-seeking missiles, SAM sites, and more.

We plan on improving sync considerably and adding other important features such as Unicode support in 0.1.5. More information on that soon.

thanks for the heads-up

Yosecret

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: 0.1.4 Announcement
« Reply #14 on: March 08, 2014, 07:15:53 pm »
Aaaawesome!