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:

3 years ago

February 28, 2020, 10:22:38 am

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - dreadmullet

Pages: [1] 2
Releases / MOVED: Optimized Color Picker
« on: July 13, 2014, 06:12:32 pm »

Just Cause 2 / MOVED: игра
« on: June 03, 2014, 01:18:40 am »

Releases / Bind menu and control system
« on: May 27, 2014, 02:08:44 am »

Source and documentation:

I was frustrated at JC2-MP's basic input system; it's annoying to get perfect support for when an input is held down or released, among other things. So I made my own system.

I was also extremely annoyed when scripts had their controls hard-coded to weird keys that conflicted with my game controls. Tab is my map key, stop using it for other things! The easy to use bind menu is my solution to this.

Now no one has an excuse for lacking bindable controls or gamepad support.

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

  • 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

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

  • 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

  • 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

  • Fixed crash when a Lua event was broadcasted during unloadall

  • 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.

Releases / The default scripts are on Github
« on: December 16, 2013, 04:11:46 pm »

This is the repository for the default scripts that ship with 0.1. You can easily keep updated with all our changes. Or, if you find any improvements you could make, feel free to submit a pull request.

Scripting / Notepad++ language file
« on: December 16, 2013, 02:05:51 pm »

I made a Notepad++ language file that highlights every keyword in the API. Put this file in C:\Users\user\AppData\Roaming\Notepad++ or whatever path you use. If you already have a userDefineLang.xml, you will have to manually merge it.

This is made for a dark background, you may have to change it in this menu (be sure to check "Enable global background"):

Scripting / Vector or Vector3?
« on: December 14, 2013, 04:19:00 pm »
Naming is important.

JC2-MP / Screenshots, fails, and disasters from closed beta testing
« on: November 24, 2013, 05:53:51 am »
This forum seemed a little quiet, so I thought I would show off some of the stuff we get up to. The screenshots are mostly in order, starting from when I joined the team in September 2012. Man, I'm glad I took so many screenshots - ended sorting through gigabytes! You can really see how far the mod has come (and how buggy it's been). I didn't share some of the more recent ones, for certain reasons ;).

JC2-MP / I'm so glad I added WTF mode to racing
« on: July 22, 2013, 10:10:54 am »

Just Cause 2 / [Sale over] Just Cause 1 is $0.27 on Steam!
« on: July 21, 2013, 03:21:31 am »

I've never seen a better deal on Steam in my life. It may even be a mistake on Steam's part.

Though I have to say, I never hear good things about Just Cause 1. However, it would be interesting to see how far the series has come. At 27 cents, it's worth it.

Community Projects / The Ultimate Gamemode Idea Thread
« on: March 07, 2013, 12:31:57 am »
Have an idea for a gamemode but don't have the slightest clue how to program? Discuss it here!

Ideas here are public. Only put yours here if you wish for it to be made by someone. If you're planning to script it yourself, it may be best to keep your idea secret :).

JC2-MP / Unofficial command list and guide
« on: February 03, 2013, 12:36:10 am »
Just Cause 2 Multiplayer Commands

Thanks to dab88 for putting this together.

Random / MOVED: Panauan Taxi Service
« on: November 29, 2012, 02:33:37 am »

JC2-MP / JC2-MP 0.0.9 Changelog
« on: October 12, 2012, 06:40:28 pm »
(May not be complete.)

- Stunt jump sync! (only one player at a time in each stunt position (up to three for some cars))
- Weather sync
- Smoother time of day sync
- Car wheels are synced slightly better
- More Lua functionality
- Server optimizations and background tweaks
- Bugfix: getting stuck in driver's seat

Be sure to test stunt jumping as much as you can. As always, report any bugs you find, and submit all crash reports.

Bug reports / Stuck in entering plane animation
« on: September 14, 2012, 02:38:49 am »
I entered a plane just as someone else did, and I got stuck in the entering animation:

I know there is a common problem with getting stuck in the pilot's seat, but this seems like a unique bug.

Pages: [1] 2