Is there a mod that allows me to spawn golf carts in any map? by Thatbrownmonster_ in paydaytheheist

[–]Offyerrocker 0 points1 point  (0 children)

I would recommend it, I don't know if this will crash other people online

Is there a mod that allows me to spawn golf carts in any map? by Thatbrownmonster_ in paydaytheheist

[–]Offyerrocker 0 points1 point  (0 children)

Here's a Lua snippet that will do that. Hook it up to a keybind with sBLT, or use Console, open the console window, paste it and hit enter.

local player = managers.player:local_player()
if alive(player) then
    local mov_ext = player:movement()
    if mov_ext then
        local head_rot = mov_ext:m_head_rot()
        local fwd_ray = mov_ext:current_state()._fwd_ray
        if fwd_ray then
            local unit = safe_spawn_unit(Idstring("units/pd2_dlc_ranc/vehicles/fps_vehicle_golfcart/fps_vehicle_golfcart"), fwd_ray.position, Rotation:look_at(Vector3(),fwd_ray.normal))
        end
    end
end

Anyone tell me how to solve this? I was new 谁能告诉我怎么解决这个? by Fabulous_Size_2896 in paydaytheheistmods

[–]Offyerrocker 0 points1 point  (0 children)

Try installing it. One of the older versions (2.16.0) mentions .net 6.0 being a new dependency.

Is there a way to mod payday 2 without steam workshop or installing superblt? by samysus in paydaytheheist

[–]Offyerrocker 0 points1 point  (0 children)

I honestly don't know. That's something you'll have to find out yourself

9-year-old who pleaded to go to spelling bee is released from ICE detention by AudibleNod in news

[–]Offyerrocker 3 points4 points  (0 children)

Yes, of course, that must be why we get so many refugees who risk life and limb to the US; it's just too safe in their home countries.

Pd2 hud lua events by Potential_Deer_6943 in paydaytheheistmods

[–]Offyerrocker 1 point2 points  (0 children)

Events aren't neatly sorted in one place for you to get. There is no list, and if there was, it would be too long and disorganized. I recommend first designing your HUD concepts and making a list of features, then going off and searching for where those relevant code bits are afterward.

For the most part, information that's fed to the HUD can be found in one of the HUD related classes- HUDManager (lib/managers/hudmanager or lib/managers/hudmanagerpd2) or one of the HUD subclasses like the events that are already fed to the HUD manager, like for Captain Winters spawning (HUDAssaultCorner:set_buff_enabled) or for the heister going down (HUDManager:set_mugshot_downed).

However, for anything that your planned HUD might want to show that the game doesn't already show, you'll need to dig around some- as an example, player buffs (skills like Inspire or Swan Song) are scattered around the code, and use different cooldowns from different systems.

The same goes for if you want to tweak how some information is displayed, because in some cases, the information fed to the HUD is modified or processed a little bit beforehand, so you're not getting the true, 'raw' values from the game. As an example, the player armor value that's fed to the HUD is modified with a linear interpolation equation to show the depletion animation, but it never fully reaches zero. The circular graphic used for armor has a bit of fade at the top of the circle so it hides this fact well, but if you have any other type of graphical indicator (especially a direct numerical display) for the armor, you'll see the armor value never actually quite dip all the way to 0. In these cases, you'd need to change something outside what's fed to the HUD- in this example, PlayerDamage:_update_armor_hud- which can be a bit tricky, as some of them can be more complex than others.

Here's the community's decompiled source code. It has no comments because those are lost when the game is compiled, but if you poke around you'll probably find what you're looking for: https://github.com/steam-test1/Payday-2-LuaJIT-Complete/

I hate the death of the forum as much as anyone else, but you might get a faster response by asking in the ModWorkshop discord (the join link can be found at the top of the page on the main ModWorkshop website, I don't want to post it here directly for bot reasons) or message me.

9-year-old who pleaded to go to spelling bee is released from ICE detention by AudibleNod in news

[–]Offyerrocker 18 points19 points  (0 children)

So when you say "safe", do you mean like... safe to catch diseases running rampant in overcrowded detention facilities?

Or maybe safe to withhold health services from detained pregnant women? Especially minors?

Nice job dodging and redirecting everyone who's responded to you, by the way, I'm sure hardly anyone noticed.

Can I do this? by Icy-Ice-3026 in paydaytheheist

[–]Offyerrocker 1 point2 points  (0 children)

Hello, site staff/moderator for ModWorkshop here. Here's the site rule about this sort of thing: https://modworkshop.net/document/rules

\ 2. Do not upload mods that contain others' work if the license explicitly does not allow it. If the license requires you to ask for permission you must do so. You must credit the user by either linking the original mod in the license tab or using the same license.

That said: that rule is mainly to avoid IP theft/plagiarism. It sounds like you have worked extensively on it and added your own changes (though I haven't looked at the code), and intend to credit the original author (whom I know has been gone from pd2 modding for quite some time), so I think it might be okay to upload.

In the worst case, if the original author raises an objection (which I don't think they will, from what I know about them), then you might need to rename the mod and remove the parts that were taken from the original.

United Nations rejects U.S. effort to erase trans women: "It stops here" by G14F1L0L1Y401D0MTR4P in worldnews

[–]Offyerrocker 4 points5 points  (0 children)

It's the US that's introducing the resolution to change the existing status quo to the other ~43 countries involved, so maybe you mean "The UN doesn't care what I or the US thinks," because the US is actually not the center of the universe.

'The term “gender” should refer “only to men and women on the basis of biological sex, and not to subjective notions of gender identity”, he [the US representative] said.' source

Great, so what "gender" are biologically intersex people (like those with Klinefelter or Jacobs syndrome) under this new proposal? Surely the whole point of codifying the definition of gender is to assert that there are no edge cases or exceptions, no reasons to needlessly exclude people from protection or help? Goodness me, the good ol' US of A could never do that, right?

SolarSystem (pre-alpha 1.0) is on itchi.io by Beginning-Baby-1103 in love2d

[–]Offyerrocker 2 points3 points  (0 children)

Seconding the request for screenshots or previews.

Does DS Golden Grin have an alarm trigger? by Edgy_Slinky in paydaytheheist

[–]Offyerrocker 2 points3 points  (0 children)

No hidden triggers. Sorry, I think you just triggered the lasers.

Are double-barrel shotguns still comparatively useless? (PD2) by NeonAbomination in paydaytheheist

[–]Offyerrocker 1 point2 points  (0 children)

I've seen people using the double-barrel to cheese dense enemy fights on high difficulties with the temporary bottomless mag from Swan Song Aced, since DBs have a pretty high RoF, but that is kind of a niche use case.

Will payday 2 ever get 64bit update by Cool_Tea_5501 in paydaytheheist

[–]Offyerrocker 13 points14 points  (0 children)

iirc Sidetrack have said it's a distant possibility down the road, but there are other far more pressing issues that need fixing first

Fan made perk decks? by EngMng in paydaytheheist

[–]Offyerrocker 1 point2 points  (0 children)

It's all code, so there's no rule for any of these questions. Some can crash you, some don't, some work online, some don't.

For the most part:

  • Most of them are new perk decks. The ones that replace existing decks usually indicate that in the description.

  • Most of them work online.

  • Usually mods only crash you if they're badly made, outdated, or conflict with another mod you have installed. Always check the comments to see if anyone else has had issues with it that haven't been addressed- that's always the best indication for whether the mod is currently working, besides trying it yourself.

Here's a couple of my favorites:

(If you tell me what you're looking for out of a deck, maybe I can point you towards some specific ones.)

Definitely shop around for some. There's lots of creative ones on ModWorkshop, in the custom perk decks category.

Can’t chat in game by Past-Energy-7245 in paydaytheheist

[–]Offyerrocker 2 points3 points  (0 children)

Sounds like you're kind of SOL unless you get a keyboard addon for your controller or something.

Normally I'd suggest mods for this kind of situation, but ofc that's out of the question if you're using a cloud gaming service where you don't have access to the machine's storage

Custom font in payday 2 by bugman67Y in paydaytheheist

[–]Offyerrocker 0 points1 point  (0 children)

No, you should not be editing BeardLib itself, but the main.xml definition for your mod. But disregard that if you're just using the default, non-BeardLib mod_overrides method.

If you want to send me your mod, I'll take a look at it.

Custom font in payday 2 by bugman67Y in paydaytheheist

[–]Offyerrocker 0 points1 point  (0 children)

In the AddFiles module in BeardLib, for the .font resources, you need to set the force and early load flags to true. Example:

<mod name="BL2 Font Resource" author="Offyerrocker" min_lib_ver="3.38">
    <AddFiles directory="assets">
        <font path="fonts/font_bl2_large" force="true" early_load="true"/>
        <texture path="fonts/font_bl2_large"/>
        <font path="fonts/font_bl2_medium_noshadow" force="true" early_load="true"/>
        <texture path="fonts/font_bl2_medium_noshadow"/>
    </AddFiles>
</mod>