Skip to content

Commit

Permalink
Updated Readme with instructions, minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpup committed Mar 31, 2016
1 parent a27cc74 commit 1f61507
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ Many others who helped test, feel free to get in touch and I'll update :)

**Rara** - Very helpful with testing.

#How to install
1. You will need [Bundle Modder](http://downloads.lastbullet.net/197) and [BLT](http://paydaymods.com/download/) to run this mod.
2. Install the .pdmod provided using the Bundle Modder, instructions on how to use the Bundle Modder can be found [here](http://steamcommunity.com/sharedfiles/filedetails/?id=231568439).
3. Install BLT by copying it's contents into your Payday 2 directory.
4. Then copy the "biglobby" folder into the "mods" folder, found inside your Payday 2 directory.

#Technical Details
My previous version from December 2015(see commits) was much heavier in code with a hacky JSON approach to re-route network messages from the `Network` class. This mostly worked, with one blocker being the unit network handler class where I couldn't re-route the functions there due to not being able to serialize the unit param into JSON.
Expand Down
2 changes: 1 addition & 1 deletion lua/lib/managers/menu/_menuscenemanager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function MenuSceneManager:_select_lobby_character_pose(peer_id, unit, weapon_inf
-- End Original Code --

-- Only modification is to use modulus to make sure our lobby peer is given a pose
local pose = lobby_poses[peer_id % 4 + 1][math.random(#lobby_poses[peer_id % 4 + 1])]
local pose = lobby_poses[peer_id % #lobby_poses + 1][math.random(#lobby_poses[peer_id % #lobby_poses + 1])]

-- Original Code --
unit:anim_state_machine():set_parameter(state, pose, 1)
Expand Down

0 comments on commit 1f61507

Please sign in to comment.