#β•™πŸ–‡mods-making-discussion

1 messages Β· Page 110 of 1

faint sable
#

Once I get home I can yea

misty mulch
#

nice, thanks

faint sable
abstract schooner
#

@rare sage Think of it as more anti broken progression and less anti a-life

misty mulch
#

(bout to nerf cleaning/repair kit sell prices into the ground, while I multiply its buy cost by like 1.5-1.8x)

drifting moat
#

Isn't the PDA exactly that?

rare sage
#

one sec

#

im drawing upo

#

an amazing concept

drifting moat
#

no doubt

rare sage
rare sage
#

oh god i thought the chimera looked good for a while

#

why did i draw the faces

humble otter
#

Hello, trying to pinpoint where in BHS the "Cough" when irradiated is triggered. The random effect that takes a chunk of damage rather than the normal slow drain. Digging around now but any insight would be appreciated by the more veteran stalkers πŸ™‚

rare sage
#

i believe thats base anomaly?

humble otter
#

Ooof, am I blaming the wrong thing? Whups.
Ill do some more digging/testing

random fulcrum
#

it's not from bhs nor vanilla anomaly

humble otter
#

I thought so, but its been a while since Ive fooled around with vanilla so I second guessed. Thanks for the pointer, ima start digging now πŸ˜„

noble temple
#

ye πŸ™‚

celest forge
#

I used your Beretta 87 Target model for a mod

#

With third person permission from a mutual friend of ours

noble temple
#

😎

#

that model's on gamebanana anyways yeah

celest forge
#

Naky has told me of y'alls time doing NV mods

noble temple
#

a lot of those NV guns were made primarily with STALKER in mind anyways actually haha

humble otter
#

Now, onto maniupulating BHS to remove the RAD bar 😎

verbal siren
humble otter
noble temple
#

https://youtu.be/C6KjNl8paCw recorded a quick test video for the makarov i'm working on in ogsr, really happy with how the lighting works ingame. just gotta finish polishing the texture up and make a suppressor for it

more progress on the textures, though not yet finished. OGSR engine for otherwise vanilla Shadow of Chernobyl. recorded at 8k30 for maximum bitrate/crispness. OGSR engine also has a fix for the model precision so it's at full quality rather than the quantized crunchiness in my previous Clear Sky example.

more pics on my bluesky: https://bsky.ap...

β–Ά Play video
rough lion
#

How do i change the keybinding for vehicles?

fair inlet
rough lion
#

Where is that, because i cant more forward in vehicles

drifting moat
fair inlet
rough lion
#

I can go backwards but not forward

subtle ingot
#

Added a few mods to gamma and getting a lua error anyone able to help?

subtle ingot
#

Thx

noble temple
drifting moat
#

The legendary bitch mode from WPO

#

Have no idea where it can be set

wintry flax
#

evening stalkers, ive been thinking... you know what would make the zone a bit more alive? idle animation!

#

*more idle animation

#

i have experience with blender and animation but i dont know how to code that in yet

#

where does one even start here?

#

what i want to do, specifically, is give NPCs more things to do. checking their pda, staring at a photo of a loved one, inspecting a weapon, looking through binocalurs, that sorta thing.

#

not just while sitting at campfires but when standing guard or while patroling.

random fulcrum
#

inspecting weapon is kinda there, looking through binoculars is there

#

checking pda can be faked with the look for artefact animation

#

i'm guessing gamma broke something that doesn't let these animations play

#

or you just haven't paid enough attention

#

but i'm betting on the former

wintry flax
#

im betting on the latter cause i do have a short attention span lol

#

regardless, i do feel like making the NPCs do more stuff or add variation to existing stuff.

#

we do have a manual or documention on how to add/create mods, right?

novel ruin
#

Dont expect a detailed documentation of stalker’s func KekSkew

onyx ice
#

Guys, do you only discuss mod development and the like here?

random fulcrum
#

yes that is indeed what the title and description of this channel implies yes

onyx ice
#

Is it possible to ask for some advice here, since there are people here who understand modding and know much more about existing mods for Anomaly and GAMMA in particular?

random fulcrum
#

depends on the person really

#

i'm just gonna tell you to go consult the modding book

#

which is in this channel's pins

onyx ice
#

Well, I'm not a modder myself, I'd rather find out if it's possible to do what I want by simply tweaking the config. Since I think that the mod I need doesn't exist at all.

random fulcrum
#

okay big man, first order of business is landing the plane

#

it's cool to have grand ideas, but they need to be realistic for what you can do

onyx ice
onyx ice
#

And what does that mean? That the idea is stupid or that it's so hard to do?πŸ€”

drifting moat
#

That is not so simple probably

#

I don't even know if those are exposed to Lua or not

onyx ice
# drifting moat That is not so simple probably

Well, I would find their configs and at least look at roughly what and how they are arranged. I understand very little about this, well, at least look, is everything so complicated with them.

drifting moat
#

It can be hard sometimes to find stuff. Especially if you have no idea where to look for them. Like I for example have no idea where to even find looking for a box's health config.

If it's not exposed to Lua as I said then you need to edit the engine code in C++ and recompile the engine for your change to apply.
It is probably in an LTX file though

random fulcrum
#

oh holy shit get this

#

it's inside configs\models\objects\

#

what the fuck is htat

onyx ice
random fulcrum
#

edit box_metall_01.ltx, box_paper.ltx, and box_wood_01.ltx

#

look at their [immunities] section

#

wound_immunity is the damage multiplier for melee

#

fire_wound_immunity is the damage multiplier for bullets

onyx ice
#

Thank you)😊

random fulcrum
#

but yeah this is a cringe idea and i'm angry

onyx ice
#

Why are you angry?πŸ₯Ί

random fulcrum
#

because the mod that changes boxes to be instantly breakable is packed into a db0 file

#

instead of being loose files

#

it's just inexplicable

#

because it's not an ANCIENT prehistoric mod to justify it

#

and there's no real reason to obfuscate the file like that

onyx ice
#

Yes, the fact that all Anomaly files are in db format is very unpleasant, I don't like this db, you can't unpack it in the usual way.
I'll try to find the same file, but in GAMMA, maybe it will work to fix the config.

lilac idol
sacred token
onyx ice
sacred token
#

Well, xray is a self developed engine and like all games, they pack their assets. And these tools exist, so no problem

quasi narwhal
#

db files are used to increase load times and reduce the space it's taking

rough lion
#

how's a .db file different from say, a .pak file?

quasi narwhal
#

you have an unpacker for them literally in your Anomaly folder

quasi narwhal
#

it's not "hard" or "too much work" lmfao

barren spruce
#

its not like we have an unpacker in the game files right

#

right

#

right

cunning wigeon
#

hey how do i cycle between songs in game on the radio, specifically the zone.fm station?

barren spruce
#

do you know what radio means

cunning wigeon
#

i was just using it for testing

barren spruce
cunning wigeon
#

to test the songs mainly i am trying to make a replacement for the songs on the radio

#

so i need to cycle trough the tracks to see if its working

cunning wigeon
#

sorry for sounding confusing

barren spruce
cunning wigeon
#

oh thank goodness

#

and also how do i increase the track limit on the radios, since its only 20 tracks

onyx ice
onyx ice
onyx ice
#

?

barren spruce
#

whats wrong with it

onyx ice
# random fulcrum it's inside configs\models\objects\

So I'm wondering if there's any point in unpacking the db files in the Anomaly folder, editing them, packing them back, replacing them, and then finding out that GAMMA has its own modified configs of these files and this whole process simply won't work.πŸ€”

onyx ice
cunning wigeon
#

I btw haven’t gotten an answer to my question yet

#

And right now it feels like brainfart than mod making discussion

main swallow
#

How to reduce the medkit usage time, I changed the animation but don't know how to change the usage time
?

cunning wigeon
#

Wtf

rare sage
#

dumbass feature

cunning wigeon
#

Anyways can anyone please tell me how I can cycle trough the tracks on the radio maybe via commands or something

onyx ice
drifting moat
# onyx ice Look, let's say I do all this in the Anomalies folder, but will these changes af...

In general when modding:

  • Try to identify what file(s) you need to change.
  • Check if it's overwritten or patched (Monkey patch, DXML, DLTX) by a mod in G.A.M.M.A (MO2 can help a ton. Check attached image).
  • If not then decide if you want to completely overwrite the db file or patch it.

Case 1
The file exists only as part of a db file (so it's not overwritten by any mod probably)

If you want to completely overwrite the file don't pack it back to db format.
Instead in your mod folder (assuming you created one for your mod) put the file into the appropriate folder (you might need to create one).
Let's take an example. Your file is in the unpacked files let's say it's this file ...\_unpacked\configs\models\objects\box_metall_01.ltx
You would need to in your mod's root folder that you're making (so ...\MyMod\gamedata) folder create the same exact folder structure as for the file you want to overwrite. So if the folders don't exist you have to create this structure ...\MyMod\gamedata\configs\models\objects\box_metall_01.ltx
This now overwrites the packed db file.

Case 2
The file is overwritten by a mod in G.A.M.M.A.

You have to do same thing as with Case 1 except you need to get the file from the mod's folder and edit that instead of editing the unpacked file (this is to ensure you're not rolling back changes another mod made). So scenario time:
box_metall_01.ltx is overwritten by a mod called BetterMetalBoxConfig. You would need to find that file (Check attached image) and then grab it chuck it in your mod's appropriate folder (as explained in Case 1), so ...\MyMod\gamedata\configs\models\objects\box_metall_01.ltx

In your case I suggest you just overwrite the file and not try to patch it.
If you do decide to patch it you will need to use DLTX as @misty mulch points out below. Guide is in the pins from him.

misty mulch
misty mulch
drifting moat
#

Ah yeah it's not monkey patching it's dltx with LTX files. I changed the example to use that after I wrote it because I remembered he wanted to edit those configs

misty mulch
#

If you want to make your own mods, even with direct overwrites - make an empty folder in your GAMMA folder/mods and put your edited files there

#

That way, all your edits will themselves show up as a "mod" in MO2, and it's far neater

drifting moat
#

Okay I edited the message so it isn't using a bad example

misty mulch
#

Modding Anomaly is hard enough but you've chosen to mod a modpack to start, which means navigating 500+ mods worth of conflicts and overwrites, AND you picked an exceptionally tricky goal to start with. I would suggest trying to do something simpler first, just to get used to the environment.

#

Also I'm just gonna say it: the stuff you've been trying to do with gamma is all extremely difficult and is ultimately fighting against what Anomaly is or is not, i.e. it was never an immersive tactical survival shooter. More power to you, but just know that you picked the maximum difficulty starting premise

drifting moat
#

How do I run commands like time_factor 2 from Lua code?

sacred token
#

I sometimes have the feeling that Modder roles are getting passed around here like participation trophies 😭

sacred token
misty mulch
#

it always has been ngl

sacred token
misty mulch
#

i think sixsloth got it just purely off the hype of helping me manually go through and do offsets for every single gamma gun when we got excited that Hideout Furnitures 2 finally worked on gamma

#

whereas i at least forced Rain to do a dltx knowledge quiz to get it lmao

sacred token
#

Just out of curiousity, what does it take to get the Alpha modder role?

misty mulch
#

i genuinely have no idea

#

in reality, i also have no idea for modder role

#

half the time it's "i personally see someone create one bajillion mods and go oh hey should i ask if they want it"

sacred token
misty mulch
#

speaking of @full vessel do you want modder role

misty mulch
sacred token
#

I don't even know what the invictus role is

misty mulch
#

oh kek1 maybe for the best

#

best i can do for alpha modder is "releases a lot of mods that fix longstanding gripes about Anomaly/GAMMA, many of which have been included in GAMMA/are going to be included in GAMMA". That second bit is a call that only Grok can make really

#

and modder is pretty much "you made a post in #1035807043933720576 and it seems legit and someone remembered to give it to you"

#

but as you can tell even for prolific modders they don't always get it. sometimes i assume this is for wild in-joke reasons that i am not privy to

#

but if i'm gonna hand them out like participation stickers i may as well cover a couple of the harder working ones atm ig shrug

misty mulch
#

if not i am pretty sure i can do it on my own as well

summer girder
#

Honestly, some people get modder for one tweak in a script

#

Strangerism could genuinely be alpha modder

short moat
#

What is C consciousness LUT?

onyx ice
# drifting moat In general when modding: - Try to identify what file(s) you need to change. - Ch...

So, in order:

  1. The point under the first dot - Which files need to be changed, @random fulcrum told me, so the point is passed. These are the files: box_metall_01.ltx, box_paper.ltx, and box_wood_01.ltx
  2. The point under the second dot - I have no idea what Monkey patch, DXML, DLTX are, but if by checking you mean searching for files from point 1 by name (as shown in the screenshot), then I did not find any of them.
    Only the file box_paper.ogf came across (see screenshot).
  3. The point under the third dot - By and large, it makes no difference to me whether to completely rewrite the db file or patch it, the main thing is what is safer and easier. I am much more concerned about where I should get the 3 files from point 1 from, if I did not find them by searching in MO2?

Case 1:

If, as you said, the file exists only as part of the db file, then I will have to find the necessary db, unpack it and extract the 3 files I need from there, right?
I understand about replacing via a folder, if the principle is the same as I think, I just need one visual example and that's it.

Case 2:

About the file from the mod folder, in case any mods change any or all files from point 1 - that's clear.
I didn't quite understand about the scenario. Is this your example-assumption or is it a fact that box_metall_01.ltx was overwritten by the BetterMetalBoxConfig mod? Since in point 2 I already said that I didn't find any of the three files by name in MO2.

Well, regarding the advice that it's better for me to just overwrite the files, and not patch them, I first need to find out where to get the files themselves.

sacred token
#

But whatever, don't care tbh, was just asking out of curiousity

misty mulch
# onyx ice So, in order: 1. The point under the first dot - Which files need to be changed...

Monkeypatch - a way of altering only sections of a script, without completely replacing/overwriting the original script file.
DXML - a way of altering only sections of an XML file, without completely replacing/overwriting the original XML file.
DLTX - a way of altering only sections of an LTX config file, without completely replacing/overwriting the original LTX file.

All three are explained in the Anomaly modding guide: https://igigog.github.io/anomaly-modding-book/ In particular, read the References -> File Formats section about .ltx files, since you will be editing those.

#

DLTX/DXML etc. are in the modding guide under Tutorials > Addons

#

For your purpose you only need to learn about DLTX

#

And, again, I wrote a DLTX guide, it's pinned here

misty mulch
#

this is separate to MO2 load order by the way, MO2 load order only affects direct file overwrites (i.e. "two files with the same name")

onyx ice
# misty mulch Also I'm just gonna say it: the stuff you've been trying to do with gamma is all...

I know what .ltx files are, when I was little, we liked to play with actor.ltx and user.ltx, increasing weight, making the main character immortal, changing the jump height, etc., sometimes changing the characteristics of artifacts and so on.
Judging by what @random fulcrum wrote above, regarding what I want to do - it sounds very simple, you just need to fix the immunities to different types of damage for boxes.
A much bigger problem is the process of searching for files and, as you said, navigating through GAMMA mods.
Well, Anomalies may not be exactly a tactical survival shooter, but GAMMA is quite a contender for it and I have a lot of arguments in my favor.

misty mulch
short moat
drifting moat
onyx ice
misty mulch
# onyx ice Okay, regarding the order of rewriting it seems clear, but where can I get unpac...

Anomaly/tools
edit to add:

  • Case 2: YOU have to check through all of GAMMA's files to see if anything is overwriting the config or section you're trying to edit (this is something you could ask this channel to help you find out)
  • Case 3 is a hypothetical and there is no such thing as a BetterMetalBoxConfig mod, which you could check for yourself by using the MO2 mod name search bar, which I am 100% certain I showed you how to do before?
misty mulch
drifting moat
#

We just got full iron cookware and I never had one before where you xant touch the handles and guess what I grabbed it

misty mulch
#

ouch

#

a mistake you make only once i hope

#

anyway, you learn a lot about GAMMA modpack through careful use of those two MO2 search bars (mod name search + file name search)

#

more advanced stuff requires the ability to search within files, which you can ask us to do for you, but it's worth learning how (requires specific softwares though)

onyx ice
misty mulch
# onyx ice Unpacker found it, thanks! Well, if I didn't find the files I was looking for in...

If a file doesn't turn up in MO2 search, that means it's not included in the GAMMA modpack, yes.

At that point, you move onto looking through the _unpacked folder that the unpacker.bat tool made for you. This contains all the configs + scripts that are normally compressed into the .db0 files that come with Anomaly.

And to save you time: yes, nothing in GAMMA overwrites box_metall_01.ltx, box_paper.ltx, or box_wood_01.ltx

#

let me annotate my results for you

onyx ice
sharp arrow
#

OI is there any file i can edit, for example a line or two on actor.ltx that would add/restore the slight health restoration like the OG stalker games

#

IIRC Anomaly has the natural restoration as well but I think GAMMA disables it?

misty mulch
#

and by "here" I mean "I put a copy of _unpacked into my Anomaly root folder"

#

i would recommend at this point, that you create a blank mod folder and from there, create three DLTX files (one per config) to overwrite just the immunities section of each, so that you are only changing what needs to be changed

misty mulch
sharp arrow
#

Yeah neither could I, but i know it's coming from SOMEWHERE that I think gamma is disabling so my fear is slapping a mod on to add such an effect might be a lil harsh on the compatibility side

#

Well live and learn I'll do my bes t

onyx ice
misty mulch
#

because that param doesn't even exist in base anomaly, therefore, they need to look elsewhere for the answer

onyx ice
#

Yes, that's probably true.

onyx ice
misty mulch
#

read the text in the image as for "why"

onyx ice
onyx ice
misty mulch
#

as momo said hours ago #β•™πŸ–‡mods-making-discussion message
you are ONLY editing the [immunities] section within each of those .ltx files. You should do this with DLTX. Finish reading my DLTX guide first, try to follow it to make your own DLTX files, show us what you've made so we can help you with that

#

but i for one do not want to make your mod for you.

onyx ice
misty mulch
# onyx ice No, not literally all files, but only these 4, related to the boxes, but so that...

It is still better to do DLTX, firstly, the core principle again is "only change what needs to be changed" (which DLTX enables). Copying the entire file to make a change to 3 characters is no good

Second, it's bad for compatibility, if in the future any other mod wants to alter some other aspect of that .ltx file, they would have to completely overwrite YOUR copy if they also went with "let me just copy the file". Using DLTX is meant to avoid these scenarios entirely

If you don't care at all about these things, and you're only making this mod for yourself with no intention of sharing your changes, sure, it'll work. But many things in GAMMA can only be altered through DLTX anyway (because as I previously mentioned, DLTX takes priority over loose config files) and so you may as well use this opportunity to learn how to use that system

onyx ice
faint sable
misty mulch
#

thanks much, this will help

faint sable
#

think I missed one of the flea market ones

#

I was double checking from gammas economy to make sure I got them all

#

but that should be basically all of them

misty mulch
#

feels insane when the only thing that's gonna be in all these mod_trade_whatever files is

; Reduce buy price for cleaning and repair kits
#include "presets\trade_presets_tgr.ltx"
``` for me but whatever
faint sable
#

think I also misnamed loris ltx

#

think it needs a stalker_

#

just be sure to confirm all the ltxs just in case, I probably missed some tbh

#

now that I am looking at them entirely

misty mulch
#

mostly i'm using what you did as a reference

faint sable
#

yea should be good then

misty mulch
#

i just copied over all the trade_whatever.ltx files from GAMMA Economy + batch renamed them with Powershell to be mod_(original file name)_tgr.ltx

#

then CTRL-A CTRL-V CTRL-S for 28 files keksad

undone spruce
#

cant you like, create 1 file, copy it 27 times and rename them to the originals?

then replace the originals

#

or a batch text editor

misty mulch
#

because the computer won't mess up the rename. if you asked me to hand-type 28 file names? I might.

undone spruce
#

pretty sure that can be automated, yet, id still prefer the batch text editor

misty mulch
#

(the real reason I manually blanked the files is that I also had to check if that specific trader .ltx file allowed them to buy repair/crafting kits)

misty mulch
#

that's what powershell enables on windows

#

if you meant me replacing the file contents - as i said, i actually did need to open each file and check to see if that specific trader config allowed them to buy repair/cleaning kits. because if that trader already doesn't buy kits, no need for me to make a DLTX for them

#

i'm just complaining because it's my god given right

undone spruce
#

ah ok

short moat
#

Does the mod nicer flashlights by shortnamealex actually work?

#

I mean, does it change smtn on the game by default

#

Can u change the flashlight

quartz hill
short moat
#

Alr

humble otter
#

Having trouble figuring out how to remove the RAD bar from BHS. Anyone have luck toying with it to know where I can start looking? Any insight is appreciated! 🫑

verbal siren
upper zenith
#

hello mod-nerds.
I am dumb, and struggling. Where are the values for ammo stored?

queen pineBOT
#

@upper zenith Use the mod name search bar to find mods in MO2, and use the mod files search bar to find which files are from which mods. ||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​|| _ _ _ _ _ _ https://cdn.discordapp.com/attachments/1098945649929617478/1165045267637211156/mo2-search.png

upper zenith
#

I had no idea the filter could search for files inside the mods, neat. Thank you.

#

this does not appear to be... everything. Is it also reading from anomaly as well?

humble otter
quartz hill
quartz hill
upper zenith
quartz hill
upper zenith
#

......I just fixated on the first one listed there, I am very smart

snow idol
#

Is there a way to put Arti's special ammo (for example Antigrav, incendiary, shock etc) in the mags dropped by dead stalkers? I ve only found basic ammo like fmj,ap or hp and i tried for hours to put them please help

turbid gyro
#

This looks sick!

onyx ice
#

Guys, when installing Notepad++, do I need to check any boxes?

drifting moat
#

You're good as is. Especially if you just want to edit LTX files

tawny grotto
#

Guys i cant change the Max_uses on toolkits or cleaning kits i tried every ltx file but the game makes them dissapear in-game when you change the value of it. can anyone help me with this thanks.

rare sage
#

ltx means you have to rewrite the entire file

tawny grotto
#

but not the gun stuff

#

should i do something else ?

rare sage
#

^^^^

tawny grotto
onyx ice
#

I'm slowly trying to figure it out, here. The question is: How do these immunities work on the boxes? The higher the value, the greater the resistance, is that true or am I wrong?πŸ€”

random fulcrum
#

no it's a straight damage multiplier

#

higher number, higher multiplier

#

wound is melee, fire_wound is bullet

onyx ice
#

Okay, I'll change it differently now and test it.

tawny grotto
# rare sage ^^^^

I didnt understand a single thing, I did my own DLTX mod the items disappear when i change the value to something else other than 3

#

i change it to 3 they show up lmao

#

something is not right,

#

toolkit_p is only mentioned with max_uses values in 2 files, well 3 if we include the GAMMA ECONOMY duplicate file

dull juniper
#

qq guys, did someone know how to fix 3dss with another mod "HeatVision" ? like it created in anomaly redux

tawny grotto
#

Gamma kits)uses file overrides the max_uses in the item_repair.ltx file which is included in the weapon parts overhaul

#

but when i change the values in the irems_repair.ltx the items dont show up either

drifting moat
tawny grotto
tawny grotto
drifting moat
#

Restock traders or something

tawny grotto
#

i tought items were deleting themselfs

random fulcrum
#

i mean it makes sense to be safe and clear the data if you're changing the max uses

drifting moat
tawny grotto
onyx ice
# onyx ice Okay, I'll change it differently now and test it.

Well, well, well... well, what can I say. At first, nothing worked at all, but only because I forgot to create the configs folder in the path to the file, well, a typical beginner's mistake, so to speak.
But then, it got even stranger:
Changing the immunities worked, but the principle of their operation is absolutely incomprehensible to me. Reminds me of one case when I tried to change the artifact configurations back in Stalker Shadow of Chernobyl and there was something similar, but I don't remember the reasons anymore.
The strangeness of the immunities is this:
When changing the standard values ​​to any others, the boxes become completely indestructible for both knives and firearms, and even when falling on them from a height, they do not break, and it does not matter whether I set the value to 100.5 or 0.0005, there is no difference. And even if I return all the values ​​in my DLTX file to those in the original file, the boxes will still remain indestructible, I'm already confused. I really hope I'm doing something wrong.
P.S. For the sake of purity of the experiment, I even started a new game for each test.☹️

misty mulch
alpine wraith
#

can anyone point me to the ltx for this version of the skorpion? its the 9x19 version with no upgrades. idk if its a base anomaly gun or added in a mod by gamma, i wanna make it one handed and able to be slotted in pistol slot

misty mulch
#

you might need to reference it against the updated Weapons Database to make sure it correctly edits the guns that are in GAMMA now, but the method is the same

alpine wraith
#

ive done it before for the pp2000 but the file ive found for the skorpion says vz61 and changing it but it had no effect

#

cant find the vz68 file

misty mulch
#

or in the future - start in debug mode, use the item spawner, hover over the weapon, it'll say the item ID as well

alpine wraith
#

awesome thanks for your help

misty mulch
#

lol and yeah despite the name being "Skorpion vz. 68", the item ID is wpn_vz61

alpine wraith
#

right ive found that ltx but when i changed it the way i did for the pp2000 it had no effect

#

ima try again

misty mulch
#

you can also check the mod i posted too

#

use that to doublecheck your method

rare sage
#

is there a list of what trade config is which trader?

alpine wraith
# misty mulch use that to doublecheck your method

so i got the vz61 ltx from the extracted anomaly files and edited that, thats the original and where i got it from in the first pic and file structure and edit i made in the second, tried it just now and the skorpion still wont cooperate smh

#

spawned in all the skorpion variants and it doesnt work on any of em either

drifting moat
drifting moat
alpine wraith
#

ive tried searching for it in the mods but i didnt find anything, do u know what weapon pack it might be in

rare sage
drifting moat
alpine wraith
#

nah but im sure i can find something real quick

drifting moat
#

I mean total commander not winrar xd

rare sage
#

it took me like a day just figure out which trade file effects which trader

#

and even then

#

i missed a ton

onyx ice
misty mulch
#

no matter what it's always safer to make a DLTX override instead of trying to do a config overwrite

#

you're in luck because my DLTX guide even uses the example of making the Kiparis one-handed to show off how to write a DLTX file

alpine wraith
#

awesome thanks dude im new to modding so didnt even know about the dltx stuff

upper zenith
alpine wraith
#

like if i wanna combine three in one

upper zenith
#

You can make multiple in one yes

drifting moat
#

But then your file name should win the load order for all 3 (if another dltx is present for the other guns)

upper zenith
#

Zzzzzzz_edit away

#

(refrain from doing this)

#

What's the proper way to comment in an (d)ltx also

drifting moat
upper zenith
#

Epico thank you

#

It all need to be one string, also?

drifting moat
snow idol
misty mulch
quartz hill
#

how bad of an idea is it to monkeypatch the alife_clone_weapon function to intercept the application of a weapon kit

quartz hill
# drifting moat That's a good idea probably

here is what i have

w_kit_override_list = {
    ["wpn_sr2_veresk_sr2_upkit"] = "wpn_sr2_m1",
}

alife_clone_weapon_original = nil
function kit_override_clone_weapon(se_obj, section, parent_id)
    if not w_kit_override_list[section] then
        return alife_clone_weapon_original(se_obj, section, parent_id)
    else
        return alife_clone_weapon_original(se_obj, w_kit_override_list[section], parent_id)
    end
end

function on_game_start()
    if not clone_weapon_original then
        alife_clone_weapon_original = _G.alife_clone_weapon
        _G.alife_clone_weapon = kit_override_clone_weapon
    end
end```
drifting moat
#

Phone DC jumpscare

#

And I just accidentally exposed me and my GF on that messenger window

#

@drifting moat face reveal

quartz hill
#

wait is that actually you lmao

#

actual gigachad irl

drifting moat
#

So if it's an overridden kit then you pass a different weapon for cloning?

quartz hill
#

yeah

drifting moat
#

I get what this does, but what's the purpose exactly?

quartz hill
#

well all i wanted to do was just make the sr2m upgrade kit for the wpn_sr2_veresk turn it into the wpn_sr2_m1 (with the rails + a laser) instead of the wpn_sr2_veresk_sr2_upkit (only the kp sr2 sight)

#

but attaching scopes is handled kinda weirdly where it just appends the attachment section name onto the weapon section name and looks for a valid section for that

#

also i don't know lua so i basically had to teach myself to make this skull4k

drifting moat
#

Ah okay I get that. But wouldn't a DLTX be simpler for this?

#

Like I imagine upgrade kits are configured like that

quartz hill
#

like changing the section name of the attachment?

drifting moat
#

I have no idea how it works I'm just guessing

#

You could do a search in LTX files for the upkit's section and try to find out

quartz hill
#

yeah i did that and as i said it just appends the attachment's section name to the weapon's section name, like wpn_sr2_veresk + sr2_upkit = wpn_sr2_veresk_sr2_upkit

#

and it checks for a section named exactly that to clone as a weapon

#

so there is no in-ltx way to change what the kit turns it into

#

i will ss the sections and functions involved rq

#

the one line that allows the veresk to take the kit is this

#

originally i tried to make an item_combination recipe through a mod_craft but it would make the gun full condition with all green parts

fair canopy
#

You need an new script to pass the conditions from the old gun to the new one

quartz hill
#

for the item combination?

#

would that be better than just monkeypatching the clone weapon?

alpine wraith
#

is there a command for rf receiver stash locations

#

wrong chat

drifting moat
quartz hill
#

should i post in mods posting?

drifting moat
quartz hill
#

modder role here i come hellonewstalker3

barren spruce
feral umbra
#

how can i edit the values of a gun, the handling for example

random fulcrum
#

you're not editing handling

feral umbra
#

how is that

upper zenith
#

why would you want to edit the handling anyway

feral umbra
#

cause i want to? what kinda of question is that

upper zenith
#

it's basically useless, mostly

feral umbra
#

yeah, thanks for nothing, pal.

upper zenith
#

it's a mostly useless stat I don't know what to tell you

random fulcrum
#

simply read the modding book

#

and veerserif's guide to dltx

feral umbra
#

you only needed to say that to begin with, see how easy it is. lmao

#

thanks

random fulcrum
#

you could've checked pins to begin with

#

see how easy it is

feral umbra
#

that's your job, not mine

random fulcrum
#

why tho lmfao you're the one that wants to make a mod

#

not me

feral umbra
#

relax

random fulcrum
#

better backpedals have happened

#

that was boring

feral umbra
#

Ok..

celest forge
#

Is he supposed to brush your teeth at night too

feral umbra
#

and a goonight kissy in the forehead

novel ruin
#

is this real (1%) or just another mp type thing (99%)

#

ok i think it straight up virus since the uploader is a bot

upper zenith
#

free virus no scam

summer girder
jade oxide
#

Why people want multi threaded engine just buy a 9950x3d and overclock it in liquid nitrogen

verbal siren
#

So much for moddb screening mods before they go live.

drifting moat
drifting moat
fair pollen
fair pollen
#

Exactly CluelessBlind

#

Like one wise man said to me:
we all remember the days of changing SetThreadAffinityMask in our xray forks... it should be decade old edit at this point

rare sage
#

Chapters:
Intro - 0:00
Miracle Machine Rework - 1:51
BR Armor Stat - 8:51
NPC Ammo Usage - 16:44
Design Philosophy - 22:46
Outro - 37:43

Mod mentioned in the "NPC Ammo Usage" section:
"AP for Only High-Ranking NPCs" - https://github.com/ilrathCXV/AP-Ammo-for-Only-High-Ranking-NPCs/tree/main
Discussion thread about said mod (in the GAMMA Discord...

β–Ά Play video
summer stream
drifting moat
#

Wtf is happening in the quick action wheel's script files

fair pollen
#

Haruka moment.

rare sage
#

cause i dont have any

rare sage
# barren spruce

grok is so insanely based that he has a speach bubble thats massive

barren spruce
#

was 10x this size

rare sage
barren spruce
#

like look at thsi post

#

for example

#

i gotta make smth of this too

rare sage
#

holy yap

drifting moat
#

I mean. That's an answer to a 40 minutes long video. Grok kept it brief.

rare sage
#

im gonna need to DJT this and wrap it up in a 30 second clip with graphs

barren spruce
blazing wagon
#

Are we have people here who making music mods ?

worthy mortar
novel ruin
onyx ice
misty mulch
#

you can also see if your tweaks would work on default Anomaly (make a new custom profile that has no mods enabled except your mod)

#

which "narrows it down" to "one of the 500+ mods in gamma is causing the problem"

onyx ice
#

Can you look at the file, path, etc., maybe I made a mistake?

misty mulch
onyx ice
misty mulch
#

no

#

i just want to check your filepath and folder structure.

misty mulch
#

if it was dltx it should have the name format mod_box_wood_01_mymodnamehere.ltx

#

the contents are correct

#

but because the filename is wrong, nothing will happen

onyx ice
misty mulch
#

you can substitute myboxedits with anything you want

onyx ice
sacred token
#

it won't

#

I am fairly sure of that

#

This ltx is directly included in the box_wood_01.ogf model. From my experience you won't be able to dltx that file

misty mulch
#

oh because you can't dltx an ogf lmao

#

why does that damn thing have the #include statement honestly

#

direct file overwrite time ig

misty mulch
onyx ice
#

0_ΠΎ
Oh wow!

misty mulch
#

in that case yes you just copy paste the file from _unpacked into your mod folder then make the edits there

onyx ice
#

Does anyone know what the second value is written opposite wound_immunity?

misty mulch
#

anything after that ; is not read by the game

#

also pls, Win + Shift + S to screenshot, then you can paste the image into Discord

onyx ice
misty mulch
#

ah

onyx ice
#

Yep

onyx ice
onyx ice
#

One question: When falling onto a box from a height and when struck with a knife - does it deal the same type of damage or different ones?πŸ€”

misty mulch
#

fall damage is impact, knife/melee damage is rupture

onyx ice
random fulcrum
#

yes

onyx ice
onyx ice
# barren spruce

I don't understand what the jokes have to do with it, but oh well.

onyx ice
#

Okay, I got it with the standard boxes. What are box_lab_02 and box_paper and where can I find them?
And is there a list of all the destructible objects somewhere?

blazing wagon
#

Good day. Many somebody knoes. How possible are to change music in game? It's boring listening same soundtracks in bases and radio.

barren spruce
#

so very possible

blazing wagon
barren spruce
blazing wagon
blazing wagon
#

Trust I tried. Turn on/off. Checked and nothing.

barren spruce
#

gib link

blazing wagon
barren spruce
#

but it should work

blazing wagon
#

I think same. Even I switched off previous radio mods. But unfortunately loading game and straight get crash. Anyway thanks for help

barren spruce
#

this mod is a patch for anomaly radio extended

blazing wagon
#

Looking maybe are aggressive to my mods

barren spruce
onyx ice
lament current
#

hey guys im making a mutant rework.
where there are larger groups of mutants. and
zombified stalkers only have a knife.
and they move alot faster.
while editing the (npc_loadouts_zombied.ltx)
i made all the weight values as such: [zombied_novice_primary]
wpn_fort:0:0:0
wpn_mp443:0:0:0
wpn_aps:0:0:0
wpn_oc33:0:0:0
wpn_pl15_tan:0:0:0
wpn_pb:0:0:0
wpn_pm_custom:0:0:0
wpn_tt33_modern:0:0:0
wpn_sr1m:0:0:0

wpn_bizon:0:0:0
wpn_vz61:r:0:0
wpn_kiparis:0:0:0
wpn_vityaz:0:0:0
wpn_pp2000:r:0:0

and then in gamma there is a secondary npc_loadouts_zombied.ltx in
C:\gamma\mods\86- G36Pack - Strogglet15\addons\NPC Files\gamedata\configs\items\settings\npc_loadouts

that had just gun names.
and ive changed em all too

[zombied_novice_primary]
wpn_knife

[zombied_experienced_primary]
wpn_knife

[zombied_veteran_primary]
wpn_knife

[zombied_master_primary]
wpn_knife

but they all just spawn with a fort pistol now.
what am i doing wrong??

#

ah wait!! is it because there arent any values put in for all the classes of zombies:

primary = zombied_novice_primary

primary = zombied_experienced_primary

primary = zombied_veteran_primary

primary = zombied_master_primary

;----------------------------------------------------
[zombied_novice_primary]
wpn_knife

[zombied_experienced_primary]
wpn_knife

[zombied_veteran_primary]
wpn_knife

[zombied_master_primary]
wpn_knife

#

are these missing under the line:

misty mulch
lament current
misty mulch
#

also the numbers after those are not the spawning weight

lament current
lament current
#

okay thanks

lament current
misty mulch
#

run db_unpacker.bat in your Anomaly/tools folder and explore the _unpacked folder that it creates.

lament current
misty mulch
#

stuff like [zombied]:stalker_novice means "if nothing else is listed, inheret the entirety of what's written in the [stalker_novice] section". Which obviously includes guns.

lament current
#

what if i put a wpn_knife:1:1:1 in the zombied ltx?

misty mulch
lament current
summer stream
#

ΠΎΠ³ΠΎ

fast dirge
#

Would it be possible to swap the Burer and Controller models to Mario and Luigi respectively? I know mesh swaps can be problematic.

#

I just think it would be goofy to see Mario or Luigi pop out when you're in a lab

summer stream
# fast dirge Would it be possible to swap the Burer and Controller models to Mario and Luigi ...

Blender. Put the models of Luigi and Mario almost in identical poses which Burer and Controller has. After that select the Burer/Controller model, selecting Mario/Luigi next so they would be lighten up with orange instead of red. After that you go into edit mode and change it to WEIGHT mode. Then you TRANSFER the weight, not by active layer, by name. After that you check if they look right, in case it's not, you fix it manually and then you assign the model to the skeleton AND don't forget the armature.

#

You would also need BUMP which is made via normal. Guide in pinned.

fast dirge
#

Hehehe, I was somewhat memeing but yeah. I'm surprised it hasn't already been done, I should prolly google it

lament current
lament current
quartz hill
#

is it possible to unregister a callback for a local function

#

ok nvm we can unlocalize functions right? is it even a good idea to do that just to run something before item_weapon's actor_on_item_use and on_item_drag_dropped?

misty mulch
lament current
drifting moat
#

Tougher Gun Repair has a lot of unlocalized stuff

quartz hill
#

ok i just wasn't sure if that might cause problems that i wouldn't be able to identify by myself

quartz hill
worthy mortar
quartz hill
worthy mortar
#

Cool

random fulcrum
#

imho the unlocalizer is as big of a deal as dltx

young fulcrum
#

I swear I thought I saw a mod on here that tried to let stalkers actually trade their loot... I can't find it though, did something happen to it? Or did I drink too much vodka? kekg Coming from a player who enjoys having NPC looting enabled

young fulcrum
#

Thank you... Now I just gotta read and see if it actually works or if it's gonna introduce a ton of problems lol

random fulcrum
dreamy spindle
#

Aloha, GAMMA brethren Chadge

βš›οΈ News from the Anomaly engine modding skunkworks βš›οΈ
I rewrote the STALKER script engine in Lua, to clean up its old C++ implementation and lay groundwork for future modder QoL improvements. Nestable directories, conformant Lua 5.1, scriptable scripts, new classes of mod - a more flexible implementation opens up all manner of possibilities.

However, since it's a fundamental system that touches all scripts, the core of it needs rigorous testing before it can go into modded exes.
As such, I thought I'd reach out to Anomaly's biggest active userbase in search of testers; I've done some local verification with GAMMA and other modlists, but need as much coverage as possible to avoid breaking anything before release.

If interested, further details and test builds can be found on its xray-monolith pull request page:
https://github.com/themrdemonized/xray-monolith/pull/249#issuecomment-2957692257

GitHub

These are the fundamental engine changes extracted from #240, minus the new features / extensions to existing ones / sweeping refactor of existing gamedata structure, and plus some additional refin...

onyx ice
onyx ice
#

I asked these questions on the main channel, but I think it would be more correct to ask those who make mods:

  1. Is it possible to disable all pop-up text on the screen and how difficult is it? (examples of text on screenshots)
    Because it seems like it’s not difficult, but this is from my layman’s point of view. As if it’s worth finding out which configs/scripts and lines in them are responsible for which text and fixing them, but I don’t even know how to find out.
    And suddenly any of this can be disabled in the settings or MSM.
    Of course, they sent me a link to this mod, but according to the description it’s for version 0.9.1, so I’m not sure about its compatibility + it only disables one type of pop-up text.
    https://www.moddb.com/mods/stalker-anomaly/addons/location-discovery-text-disabled-for-g-a-m-m-a2
  2. Is it possible to return the MC's passive health regeneration by default, but make it very, very weak, but at the same time reduce the regeneration speed near fires?
    Thank you all in advance for your answers!
drifting moat
#
  1. If you want to start moddig the game it's essential you learn how to find stuff on your own (+I'm on phone rn so can't help). I suggest you save my reply where I explained how to find overwriting files and refer to that in the future. Also keep the DLTX guide that @misty mulch made close by + use the Anomaly modding book that is in the pinned messages (or just look it up onlina) and save as bookmark.

When I need to find a feature and don't have an idea what mod/file it is in I do the following:

  • Look for any text that I know the mod/script in qurstion uses at some point.
  • Do a file content search (I use TotalCommander fir this) in .xml files for the text I have. That will lead you to the localization file of that text.
  • From the localization file grab the ID of the text you just found.
  • Do another file content search. This time in .script files and search for the ID that you got.

This will lead you to the script file where it is used, so you found the mod.
In your case those popup texts are probably some core feature, so if you want to disable all of them I would monkey patch that function to do nothing (literally make the function just return false).

  1. Try to find what mod adds the healing at campfires and replicate that without the check for a nearby campfire.
#

Maybe this could even get pinned? It is useful stuff idk if the book has something like this or if similar help is pinned.

onyx ice
sacred token
quasi narwhal
#

I have Tosox's unpacked gamedata repository always lock and loaded even on my cellphone

misty mulch
onyx ice
sacred token
#

I think some of them are called using actor_menu.set_msg() but idk tbh

onyx ice
onyx ice
sacred token
#

Yep, after looking into it, this function and actor_menu.set_fade_msg() are used a lot

quartz hill
#

sorry if this is a dumb question but what is the difference between ini_file and ini_file_ex?

crisp burrow
#

Is there an option to symmetrically transfer one leg to the other?

crisp burrow
#

Could you please tell me how to remove the shadow from the model in the first-person view?KekStressed

rough lion
crisp burrow
rough lion
crisp burrow
#

Π—Π° шо Ρ‚Π°ΠΊ Ρ‚Ρ€ΠΎΠ»Π»ΠΈΡ‚ΡŒ Ρ‚ΠΎdeathstare

celest forge
#

The actor shadow is only for the third person model that gets projected when you're in first person

#

But as you can see in the shadow that model has no arms, head and is missing half of the torso

#

Because it's the first person legs model

crisp burrow
#

If I turn on the player's shadow, there are just two of them appearing

spring mango
#

На это

#

И Ρ‚Π°ΠΊ Ρƒ всСх ΠΎΠ±ΡŠΠ΅ΠΊΡ‚ΠΎΠ²

random fulcrum
#

NO SE INGLES
QUE DICE AHI

crisp burrow
hollow helm
#

plz do casino slot modpepew

sudden inlet
undone spruce
#

is it possible to have a dryfire animation?

sacred token
sudden inlet
#

Finally, I managed to debug scriptsβ€”god damn it.
The people who work on modexes are absolute superhumans (what a dark and unfriendly place game engine is)

Here is the PR if someone is interested in trying it, there are only cosmetics changes left to make it not look like a thievery, lol - https://github.com/themrdemonized/xray-monolith/pull/251

sacred token
#

No more spamming printf statements? Hell yeah

novel ruin
#

LETS GO, WE GONNA HAVE POP UP ADS IN GAMMA NOW

random fulcrum
#

oh the imgui thing finally went live

#

that's fucking cool

#

imagine controlling variables during development before doing the mcm

#

or having to f7 num0 f5 after every variable change

#

(yes i'm aware of the script function executor)

lilac idol
misty mulch
misty mulch
#

Figured it out, should be a relatively simple DLTX (add new section and title param)

woven obsidian
#

OMG HE IS NAKED

#

btw is it possible to create a new faction?

simple scaffold
# woven obsidian btw is it possible to create a new faction?

yes but the system isn't very amenable to modding. any two mods that add a new faction or even change the relations between the existing ones will need a hand crafted compatibility patch. dltx can't manage multiple edits to the faction matrix without everything breaking.

woven obsidian
#

that does not sound fun

simple scaffold
#

there is also a half dozzen places where tasks, dialgoue and quests use hard codded lists of factins that would need to be updated. probably addons that take the same short cut.

woven obsidian
#

goddamn...

#

oops i did forget anomaly runs on a different engine than other modded versions like global war

simple scaffold
#

new factions are a "major fork" type of change. not something that can simply be added to anomaly via a modpack.

woven obsidian
#

thats a shame

simple scaffold
woven obsidian
#

welp there goes my hopes and dreams

simple scaffold
#

maybe someone will add a proper fraction registry system to the modded exes.

the realtion matrix issue is also the main thing limiting adding new mutants.

woven obsidian
#

πŸ™ πŸ˜”

#

apparently chat gpt told me to create a custom exes, welp, i will leave that to whoever is the poor stalker who wants to do this

celest forge
#

chatgpt
Bro didn't even start and already lost

rough lion
#

(at)Grok remove the yellow tint in Yantar factory

undone spruce
#

Its somewhat disorientating on revolvers and dao pistols

lilac idol
#

not like I've ever tried it but I feel like it's the way to do it

undone spruce
#

Hmm

Ill see about shot empty then

celest forge
#

It's handled by the engine I think

#

It's very subtle but you can see the gun moves ever so slightly on shooting empty

lilac idol
#

yeah but I think that is handled by an .anm anim

#

there's also a universal camera anim for changing the firemode

misty mulch
#

for obvious reasons i would like to avoid having to directly overwrite that file

#

Hah! Works now. I just had to add a separate DLTX file that creates that section, which loads first, before any of my other DLTXes

random fulcrum
#

wow a stacking?

misty mulch
#

i hate z stacking so much i invented its opposite i guess

#

but yeah - needed to make mod_craft_add_decor_section.ltx, with contents

@[9]
title = st_ui_hfx_decors

and then my other DLTX files mod_craft_furniture_whatever.ltx with contents

![9]
crafting recipes go here

work

slow bolt
#

I love it

nocturne night
#

is there a custom death screen mod?

#

I wanted something like this

barren spruce
nocturne night
#

that is faith

barren spruce
#

whatever

nocturne night
#

whatever indeed

bronze apex
#

i read veerserif's dltx guide but idk which file controls the ammo stats so i can edit it

random fulcrum
#

configs/items/weapons/weapon_ammo.ltx

bronze apex
#

thanks!

random fulcrum
#

w_ammo_bas.ltx for bas ammo (20g, 23mm, 9x21, .338 fed)

bronze apex
#

I'm editing 12.7 I'm pretty sure it base anomaly

random fulcrum
#

it is

misty mulch
#

root file is system

#

and you'll probably want to try and beat mod_system_gamma_ammo_balance.ltx in load order

random fulcrum
#

morgan freeman pointing upwards captioned "he's right you know"

misty mulch
#

although that file doesn't touch 12.7 ammo so you're safe regardless

bronze apex
misty mulch
#

you would say this to me, on the eve of the invention of a-stacking

bronze apex
#

at least 1 z is to annoy you specifically

misty mulch
#

in this case it doesn't matter what you name it since i don't think any other dltx in gamma affects 12.7 ammo stats

grand heath
#

how difficult would it be to add my own zone transition between two areas?

#

it would appear that it sounds like fucking hell

drifting moat
#

It is not

grand heath
#

okay neato. I was worried about that since I read somewhere that adding bases and custom shit was hellish

drifting moat
#

Look at how this mod does it: Garbage Transition Point in Rostok CLOSER

#

The vanilla transition points are added differently than how the mod does it, but neither seemed too hard.

random fulcrum
grand heath
#

oh its just a script

#

😌

grand heath
#

about modmaking shit

barren spruce
drifting moat
#

yep

grand heath
#

annotations...

#

😍

misty mulch
#

not a script, a config

#

which is good for you because you don't even have to learn Lua

wintry rampart
#

Hello people !!

How do I get an item to be 'craftable' ? I want to be able to 'CRAFT' a certain fridge, which I've created as part of a mod.

Now, this 'FRIDGE' is a new item and I can spawn it from the debug/tools section, or even find it at traders by adding the appropriate configs/items/mod_trade ltx files for traders.

BUT, I want this fridge to be ONLY craftable, and the recipie I want to set is --

1 'basic' fridge
1 'grav' artefact
5 capacitors
30 'scrap'

(Yeah I haven't thought too much about the balance bit for this :P)

misty mulch
#

recipes can have 2-4 input items so your proposed recipe would work

#

hideout furnitures is section [8]

drifting moat
#

The levitating fridge recipe

wintry rampart
slow bolt
drifting moat
slow bolt
#

idk

#

but imagine "skill issue" text with that meme baby laugh

drifting moat
#

It should't be too hard to do. Especially if it's not a texture. Like a 5 mimute work

rough lion
#

edit text and you got it

bronze apex
#

is there a way to edit scripts without modifying the original file like making a dltx?

#

and is there a guide

rough lion
#

I believe its called monkey patching for .script files?

quartz hill
#

there is a section in the modding book

#

explains it pretty well

simple scaffold
# bronze apex and is there a guide
quartz hill
#

damn raven is here

bronze apex
#

i was looking at the anomaly book and it said "Monkey patching is the practice of modifying code at run time." and "Editing Anomaly scripts directly or by monkey patching should only be done if there is no other way." which is why i'm asking

slow bolt
#

i thought it was vanilla lmfao

bronze apex
#

it's the exact same lmao

simple scaffold
simple scaffold
quartz hill
#

uhh i dont think it is, last time i checked was yesterday

simple scaffold
#

no they didn't. my google doc is still better

quartz hill
#

do you have more guides like this?

simple scaffold
#

they bopth work. i just incorporated some feedback in the update.

simple scaffold
simple scaffold
#

there are many places in gamma particuarly where moneky patches trip over eachotehr.

bronze apex
#

i want to edit grok_bo.script to add the vssk as a sniper and didn't want to modify the original script so in case it breaks something i can just untick the mod in mo2

simple scaffold
#

you can do that simply by having a copy of the script in your own mo2 mod that you edit. if it is lower in the load order it will replace the orginal script when the game runs. uncheck and it goes back to the original.

if you ever want to make it into a published mod you can look into changing your edits into a monkey patch.

bronze apex
#

not to publish but if it's a monkey patch it means if the original is updated, the mod doesn't revert the changes

#

also i want to learn because i have the time rn kek1

simple scaffold
#

fair enough. that's why i wrote a guide after all.

bronze apex
#

thanks!

undone spruce
lilac idol
#

there should be one for everything, it's weird that shot anims don't have it

undone spruce
#

let's try anm_shots_empty thebn

#

no

#

lets see anm_shots_l_empty

#

non o those empty worked

misty mulch
undone spruce
#

when you dryfire, theres a simgle animation, like a jerk to the weapon, dunno if its a camera anim or a weapon one

bronze apex
quartz hill
#
function on_game_start()
  grok_bo.snipers["wpn_vssk"] = true
end```
misty mulch
quartz hill
#

kinda weird tbh

simple scaffold
#

my knife in binocular slot mod is just a table edit like that. (and an xml patch because the missing condition bar on binoculars will cause a crash)

woven whale
quartz hill
undone spruce
#

why revolvers are making shell falling sounds

quartz hill
#

could anyone tell me what i am doing wrong to get an "attempt to index nil value" error?
i have this table

w_kit_override_list = {
    ["wpn_sr2_veresk"] = {["sr2_upkit"] = "wpn_sr2_m1",},
    ["wpn_p90_gs"] = {["sup"] = "wpn_p90gamma",},
}```
and i am trying to add values like this
```lua
ini_gun_craft:section_for_each(function(recipe_section)
    local count = ini_gun_craft:line_count(recipe_section) or 0
    for i = 0, count-1 do
        local result, recipe, override = ini_gun_craft:r_line(recipe_section, i, "", "")
        local recipe_table = str_explode(recipe, ":")
        w_kit_override_list[recipe_table[1]][recipe_table[2]] = override
    end
end)

from this ltx i am importing from, where the fields are structured like this
wpn_desert_eagle:sup = wpn_desert_eagle_nimble

fair inlet
undone spruce
#

lemme check again

fair inlet
#

yeah the gamma casing script requires a plugin to disable sounds
So only revolvers I use myself don't have sounds

undone spruce
#

thanks, ill have a look

fair inlet
undone spruce
#

guess ill finally have to revise gamma's script to work with

woven whale
#

Thanks dude! That’ll be a fun thing to learn and try to do when I get home from work

undone spruce
#

Hmm, i think apart from some details from mesh and textures ive properly finished the first set of weapons

novel ruin
quartz hill
#

this one, in the second block

novel ruin
#

Name of the gun?

quartz hill
#

str_explode of wpn_desert_eagle:sup

#

so recipe_table[1] is gun section

#

and recipe_table[2] is kit

novel ruin
quartz hill
novel ruin
quartz hill
#

lol

novel ruin
# quartz hill lol

it should be like this:

w_kit_override_list = {
    wpn_sr2_veresk = {sr2_upkit = "wpn_sr2_m1",},
    wpn_p90_gs = {sup = "wpn_p90gamma",},
}
#

you might mistaken with json formatting?

quartz hill
#

uhh i uhh do not know json whatsoever

novel ruin
quartz hill
#

hmmtakenote yeah i don't actually know lua i've just been reverse engineering other scripts

novel ruin
quartz hill
#

idk i have the table exactly like yours i think

w_kit_override_list = {
    wpn_sr2_veresk = {sr2_upkit = "wpn_sr2_m1",},
    wpn_p90_gs = {sup = "wpn_p90gamma",},
}```
novel ruin
quartz hill
#

yeah i did that actually

function debug_printing(key)
    if key ~= DIK_keys.DIK_K then return end
    ini_gun_craft = ini_file("items\\settings\\gun_craft_recipes.ltx")
    if ini_gun_craft then
        ini_gun_craft:section_for_each(function(recipe_section)
            local count = ini_gun_craft:line_count(recipe_section) or 0
            for i = 0, count-1 do
                local result, recipe, override = ini_gun_craft:r_line(recipe_section, i, "", "")
                printf((tostring(result) or "nil") .. " " .. (recipe or "nil") .. " " .. (override or "nil"))
                local recipe_table = str_explode(recipe, ":")
                printf(recipe_table[1] .. ", " .. recipe_table[2])
            end
        end)
    end
end
#

ill show the console give me a sec

novel ruin
# quartz hill

oh so its recipe_table[1] is not the key the of the table 100% of the time, so when you index it, it will return nil and then when you index a nil with recipe_table[2] it will crash

novel ruin
#
ini_gun_craft:section_for_each(function(recipe_section)
    local count = ini_gun_craft:line_count(recipe_section) or 0
    for i = 0, count-1 do
        local result, recipe, override = ini_gun_craft:r_line(recipe_section, i, "", "")
        local recipe_table = str_explode(recipe, ":")
        if w_kit_override_list[recipe_table[1]] then
            w_kit_override_list[recipe_table[1]][recipe_table[2]] = override
        end
    end
end
#

check if key exist in a table first then override it

quartz hill
#

wait i can't add a new weapon to the table like this? or am i dumb

novel ruin
#
ini_gun_craft:section_for_each(function(recipe_section)
    local count = ini_gun_craft:line_count(recipe_section) or 0
    for i = 0, count-1 do
        local result, recipe, override = ini_gun_craft:r_line(recipe_section, i, "", "")
        local recipe_table = str_explode(recipe, ":")
        if w_kit_override_list[recipe_table[1]] then
            w_kit_override_list[recipe_table[1]][recipe_table[2]] = override
        else
            w_kit_override_list[recipe_table[1]] = {}
            w_kit_override_list[recipe_table[1]][recipe_table[2]] = override
        end
    end
end
#

it will create an empty table then you can insert the value into it

quartz hill
#

i want to have one key for each base weapon, and then a nested table with keys that are the kits and values that are the overrides

#

so that would just make the last override of a base weapon the only override no?

novel ruin
quartz hill
#

ok i'll try yours then

#

nvm i have no idea what just happened lmao

novel ruin
quartz hill
novel ruin
quartz hill
#

wait how do i check if a section is a weapon again

novel ruin
quartz hill
#

oh yeah nvm i'm just stupid i used IsWeapon on a section instead of an object

novel ruin
quartz hill
#

lmaoo

#

wait it seems to work POGGIES1

#

i love you sm bro

novel ruin
quartz hill
#

yk what i'm just gonna do full script overwrites, who needs monkeypatching

drifting moat
#

Oh I see you already got that part

quartz hill
#

yeah lmao i was rewriting my script and used the section instead of the object and i didnt test

drifting moat
#

What mod are you making?

hazy hazel
#

Hello, I'm trying to make a super-simple mod for changing some item-related variables (things like allowing small SMGs/shotguns in the pistol slot, or adding some crafting recipes etc). These things do work in my GAMMA install if I edit the mod that features them last in the load order, but I'm trying to make a standalone mod that has all these edits so I don't have to re-do all of them manually each time GAMMA updates. I have no idea how to do this, though. Any help appreciated!

hazy hazel
# drifting moat Read this it can help you. https://discord.com/channels/912320241713958912/96769...

Thank you, but I already know what kind of change needs to be made - I'm not looking for the files to do so. For example, I have added the new crafting recipes to the game's "craft.ltx" file, and they work just fine. I have edited the weapon .ltx files to make "slot = 1" and "hand_dependence = 0". The changes work - I just want to consolidate them in one mod, rather than have them spread out over 100 mods in GAMMA. I tried making a new mod, with subfolders "gamedata/configs", and placing a new .ltx file in there, with simple test contents - in this case, "![wpn_vz61] \n slot = 2", just to see if the new mod works. But there is no effect. This is the part I'm struggling with. I assume that the filename of the .ltx file is somehow important, but I don't know where to look for the naming conventions, or if there's a master load file with all the "include" statements or whatever.

lethal garden
#

Kind classy gentlemen, I have come here with quite the inquiry.

#

So.

novel ruin
lethal garden
# lethal garden So.

Concerning hand animations for firearms. For example, the short Model 1887 Shotgun displayed here, it had a shoot animation that was this HORRIBLE terminator-like 'flip' simulating working the 'lever' to load another shell into the chamber. The long version of the Model 1887 Shotgun was the more practical, more acceptable , NORMAL way of using a lever-gun.

#

So I went into the weapons ltx, replaced the Short 1887 shoot anim with the shoot anim of the Long 1887 Shotgun.

#

This indeed, replaced the horrible terminator flip animation.

#

So, QUESTION IS: To what extent can I replace one firearms animations with another.

#

Example, I like the RWAP Rifles, but Im not a fan of the C-Clamp position that the hands are holding it. Can I replace this 'animation' or whatever it may be, with the one from the m4a1_siber? Would this change the way that Rifle is being held?

lethal garden
hazy hazel
drifting moat
drifting moat
#

But I would rather find a way to get the object instead of the section where you need it.

#

And then call IsWeapon(). I wouldn't use the string method myself for sure

novel ruin
#

I do know a way which is not very not optimized, basically i can get a list of all weapon section in the game and i can check if the section is in there or not. Not optimized because the list is about 500 items

#

Maybe im just being paranoid friendlyrope

drifting moat
#

What it is you're trying to achieve exactly? Like gimme more context

#

Worst case you spawn the item by section then pass that to IsWeapon

#

Then delete the item xdd

novel ruin
novel ruin
fair inlet
#

Also maybe you would be interested in making weapons unsellable hmmtodayiwill
updating blacklist is kinda tedious

fair inlet
drifting moat
#

Idk if that gets section or obj itself as a parameter.

#

If it's the object then you're set.

wispy mica
#

I am bad in programming btw

novel ruin
wispy mica
#

it worked last time i checked

novel ruin
novel ruin
novel ruin
celest forge
#

You could swap the firing animations of the 1887 because I pretty much animated just the shorter one and made a shooting variant for the terminator flip

#

But they're not two different sets of animations

#

You can't swap animations from one set with another's interchangeably because that will break the shooting in 99.9% of cases

misty mulch
#

it's how Frosty does it now

misty mulch
drifting moat
misty mulch
#

oh lmao good luck

#

then yes script solution required.

quartz hill
fair canopy
#

I just asked if it was possible I didn't expect you to take your time to do itlovepat salute

quartz hill
#

tbh i don't have anything better to do with my time omegakekw

#

definitely interesting to work on though

grim rapids
#

And where in GAMMA itself is the equipment distribution file, or more precisely weapons?

#

What pierced my heart with pain was the fact that the GSh-18 pistol was removed from the patch

#

H E L P

sudden inlet
#

\

grim rapids
sudden inlet
grim rapids
grim rapids
celest forge
#

I'd check the gun by spawning it with the debug menu first

#

More often than not guns that are debug only are broken in gamma or using old animations/models/not compatible with any attachments

formal plover
#

Is there any mod that marks with a cross where the corpses are?

sudden inlet
grim rapids
bronze apex
#

@grim rapids

grim rapids
#

Бпасибо

wispy mica
#

need help, how to get a relative file path (outside game folder) in script?

#

more specific: good_weapons.txt

wispy mica
misty mulch
misty mulch
wispy mica
#

me too

misty mulch
wispy mica
#

thanks for the link

misty mulch
#

but what you're proposing is inherently kind of ass since you're always beholden to what Grok's changes are. i wonder if you could just get the full list of weapons out of the npc loadouts scripts and then the only exceptions you'd need are the nimble guns + the ones you get via kits

wispy mica
#

sounds complicated

#

originally i wanted to add some visual mark on icon of weapons which only obtainable through debug

#

but idk how

rough lion
sudden inlet
sudden inlet
rough lion
sudden inlet
rough lion
rough lion
sudden inlet
rough lion
sudden inlet
sudden inlet
rough lion
sudden inlet
rough lion
#

a'ight

sudden inlet
# rough lion a'ight

Something like this.
Just to let you know, actor had also voicelines for pain_bad and also all those voicelines have muffled alternatives so there was really a huge variety of sounds for actor only.
While for each faction apparently there are only 10 lines

rough lion
#

I’ll check it out later

sudden inlet
#

I'm also curious where do all fight\hit\hit_ sound files are located, because they are definitely being played but there are non in the MO2

undone spruce
#

asked on anomaly server, but maybe someone have a cent for it

#

quick question from someone who knows dogshit about coding:

is there any possibility to implement a dryfire animation for revolvers, without modifying the exes?

when a dryfire occurs (firing with no ammo and no jam), the game runs a OnEmptyClick function (from WeaponMagazined.cpp), with a anm file as declared on empty_click from the gun's ltx, as such, my idea is having a script that would play a hud animation (such as a hammer and cylinder cycling from a revolver) instead of the anm animation, but would not do it when jammed
not just revolvers, but any DAO guns

sudden inlet
novel ruin
#

Imagine having to spend 10 mins changing the config instead of spending an hour writing a script for it

formal plover
#

How do I bring more members into my crew? I can't do a mission to bring a Stalker to a specific location since I currently have two in my crew.

sudden inlet
sacred token
#

Hey guys, wasn't there an addon which shows the reward money in the task description? I don't think it was on ModDB, it was posted on this server if I remember correctly

crisp burrow
#

Hello!
Please advise. How to create a config that will be read after all the others and change the characteristics of the suit, despite the data in β€œconfigs\items\outfits\o_”outfitβ€œ.ltx”?
For example, there is a mod that changes the number of artifact slots, but it does not change o_β€œoutfit”.ltx, but creates a new one.
I tried to do the same and even called the file zzzzzzzzzzzzzz.ltx, so that it was read last, but it does not work(
With .xml works, but with .ltx not(

drifting moat
sacred token
#

I am starting to question my sanity. I can't find it

random fulcrum
#

could've dreamt that up since quest reward is often quite variable

sacred token
#

haha

#

found it

misty mulch
novel ruin
runic nest
#

Hello everyone. Please tell me which mod shows the percentage state when extracting parts from a weapon?

unborn crest
unborn crest
# unborn crest

Π­Ρ‚ΠΈ ΠΏΠ°ΠΊΠΈ вСдь создал atmospherics Π²Π΅Ρ€Π½ΠΎ? ΠΈ для Ρ‡Π΅Π³ΠΎ ΠΎΠ½ΠΈ Π½ΡƒΠΆΠ½Ρ‹ ΠΈ ΠΊΠ°ΠΊ Π²Π»ΠΈΡΡŽΡ‚ Π½Π° Ρ‡Ρ‚ΠΎ-Ρ‚ΠΎ?

summer stream
#

LTX Ρ„Π°ΠΉΠ»Ρ‹ ATMOS ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΡŽΡ‚ΡΡ для Π³Ρ€Π°Ρ„ΠΈΠΊΠΈ.

#

Π£ Π½ΠΈΡ… Ρ€Π°Π·Π½Ρ‹ΠΉ Ρ†Π²Π΅Ρ‚ΠΎΠΊΠΎΡ€ ΠΈ Π΄Ρ€ΡƒΠ³ΠΈΠ΅ аспСкты, связанныС с Π³Ρ€Π°Ρ„ΠΈΠΊΠΎΠΉ.

unborn crest
#

занятно, Π° ΠΊΠ°ΠΊ ΠΏΠΎΠ½ΡΡ‚ΡŒ какая, ΠΊΠΎΠ½Ρ€Π΅Ρ‚Π½ΠΎ мСняСт всС?
А Ρ‚ΠΎ я Ρ‚ΡƒΡ‚ устанавливал Π½Π΅Π΄Π°Π²Π½ΠΎ ΠΌΠΎΠ΄ АВО5 Ρ‚Π°ΠΊ ΠΎΠ½ ΠΌΠ½Π΅ всС освСщСниС Π±ΡƒΠ΄Ρ‚ΠΎ сломал, Ρ‚Π΅ΠΌΠ΅Π½ΠΎΠ΅ всС странно стало, Π΄Π°ΠΆΠ΅ послС Π΅Π³ΠΎ ΠΎΡ‚Ρ€ΡƒΠ±Π° ΠΏΡ€ΠΎΠ±Π»Π΅ΠΌΠ° ΠΎΡΡ‚Π°Π»Π°ΡΡŒ(атмос с ΠΈΠΌΠ΅Π½Π΅ΠΌ АВО Ρ‚Π°ΠΌ Ρ‚ΠΎ Ρ‚ΠΎΠΆΠ΅ Π΅ΡΡ‚ΡŒ)

summer stream
#

Π¨Π΅ΠΉΠ΄Π΅Ρ€Ρ‹.

unborn crest
summer stream
#

Π§ΠΈΡΡ‚ΠΈΡ‚ΡŒ кэш.

runic nest
sudden inlet
runic nest
unborn crest
summer stream
#

Question..what the fuck do i do 'bout mag being transparent?
Shader applied is models\weapons, nothing is wrong in THM.

fair canopy
#

Check that the faces aren't backwards on the mesh and check to see if the transparency channels are correct in the texture itself

summer stream
#

The texture is RIGHT

#

Faces are NOT BACKWARDS(otherwise it would look different)

fair canopy
summer stream
#

look at it yourself

#

there is nothing wrong in these

sonic bolt
#

Is there anywhere that explains what "merc" and "stalk_seva" is supposed to mean for ecologists? Trying to figure out how to modify NPC loadouts

quartz hill
random fulcrum
#

check scripts

#

remember npc loadouts is handled at the script layer

quartz hill
#

stalk_seva doesn't seem to be mentioned in any scripts either

#

seems like merc is used for veteran ecologists

sonic bolt
#

I've only seen ecolog_merc in Juan's loadouts, so maybe it is the main one? shrudge

sonic bolt
quartz hill
#

npc_loadouts_ecolog.ltx

#

i think stalk_seva is used in base anomaly for expert ecologists but is not in gamma

lilac idol
summer stream
#

sir

lilac idol
#

and also it's pretty hard to make a texture "see-through" in anomaly given how much the alpha channel sucks here

summer stream
#

check it yo self

lilac idol
undone spruce
summer stream
#

but without using the bump it's the same

#

maybe problem on the color map?

#

mesh is fine

undone spruce
#

Im trynna find a software to check the dxt version on my pc and im lying flat, why texture viewers gotta be like that