Dying Light

Dying Light

View Stats:
This topic has been locked
[Modding] Changes in some scripts do not work (difficulty parameters, prison parameters). SOLVED.
Hi. I am making a mod using Data3.pak method. Changes in most files work, but for some files changes do not work at all.

First file I have problems with is "data\scripts\difficultyparams.scr". I have changed multiple parameters for Nightmare difficulty, such as:
CanShowPatrolCones(false); -> true
InfiniteStaminaAllowed(false); -> true
DeathPenaltyLegendXPFactor(1.0); -> 0.0
BannedItems() -> removed all items from the list

However, patrol cones are not shown, infinite stamina is not used, death penalty is still 1.0 and developer crafts cannot be equipped. None of the chanhes work. I thought maybe game refuses to use this particular file from the modded Data3.pak for some reason, and I changed the original file in Data0.pak. That didn't change anything as well.

Another file with similar problems is "data\scripts\prison_mode.scr". I changed different parameters:
PrisonCamouflageMult(0.2); -> 1.0
StartWeather(1.0); -> 0.5
RewardRoomTimes(60, 60, 60, 60) -> (300, 300, 300, 300)
None of the changes work.

I need help with it. If anyone has info why changes in these files do not work and how to make them work - please share it.
Last edited by Dark Nero *=_VF_=*; Feb 7, 2019 @ 11:06pm
Originally posted by blake:
Why do you all care if people mod their game? Hes not affecting anyone but himself. Stop trying to be white knights and trying to act all high and mighty. You're just making yourselves look retar ded.

Anyways, OP, try turning off the PLS Master Switch in restclient.scr.
Data0. pak/data/restclient.scr
< >
Showing 1-15 of 20 comments
Drillbo Baggins Feb 6, 2019 @ 12:42pm 
What you are trying to do is basically cheating. Only difference is you are trying to find loopholes around the fact by calling it a "mod". That is probably why it isn't working in the first place. The developers made the different difficulty levels for a reason. The things you are trying to enable look like things that are disabled in nightmare mode and are present in normal and hard difficulties. If you are successful in making this mod work for the game you and any others who use it will most likely get banned. If not then congratulations for getting around VAC.
THE EX-PRESIDENT Feb 6, 2019 @ 12:53pm 
Dont forget to name this mod "How to get VAC ban"
You have problems with understanding of basic game terminology. A mod (short for "modification") is an alteration by players or fans of a video game that changes one or more aspects of a video game, such as how it looks or behaves.

Also you have another problem. You do not understand how VAC works. At all. I will be so kind and waste a bit more of my time to explain it for you.
1) VAC only protects online play. There is no single game on Steam that can get you a VAC ban while playing a solo offline game.
2) VAC does not care about modifying game resources. VAC keeps an eye on modifying game executable and runtime libraries, and intrusion into a game memory section. Modifying game resources, such as changing elecronic music played from a radio to some porn sounds, cannot trigger a VAC ban.

I hope you understood your problem, which is making posts about things without basic understanding how those things work.

That was the main thing you should know. Another thing I can add to my reply, is that when I make my own modification to a game, I might do whatever I want - increase difficulty, decrease difficulty, change in-game models, in-game sounds, add new weapons or modify existing ones, make new skills, modify existing skills, etc. And you have no influence on my decisions what do I want to do with my game in my mod. Like, not even a bit. Disappointing, huh?
Last edited by Dark Nero *=_VF_=*; Feb 6, 2019 @ 1:00pm
Drillbo Baggins Feb 6, 2019 @ 1:24pm 
Originally posted by Dark Nero *=_VF_=*:
You have problems with understanding of basic game terminology. A mod (short for "modification") is an alteration by players or fans of a video game that changes one or more aspects of a video game, such as how it looks or behaves.

Also you have another problem. You do not understand how VAC works. At all. I will be so kind and waste a bit more of my time to explain it for you.
1) VAC only protects online play. There is no single game on Steam that can get you a VAC ban while playing a solo offline game.
2) VAC does not care about modifying game resources. VAC keeps an eye on modifying game executable and runtime libraries, and intrusion into a game memory section. Modifying game resources, such as changing elecronic music played from a radio to some porn sounds, cannot trigger a VAC ban.

I hope you understood your problem, which is making posts about things without basic understanding how those things work.

That was the main thing you should know. Another thing I can add to my reply, is that when I make my own modification to a game, I might do whatever I want - increase difficulty, decrease difficulty, change in-game models, in-game sounds, add new weapons or modify existing ones, make new skills, modify existing skills, etc. And you have no influence on my decisions what do I want to do with my game in my mod. Like, not even a bit. Disappointing, huh?
It's not disappointing it's just the fact you are trying to cheat in the game by calling it a mod. It's your mod though so have fun making the game easier for yourself :)
Elucidus Feb 6, 2019 @ 2:20pm 
Originally posted by Beef Jerkel:
Originally posted by Dark Nero *=_VF_=*:
You have problems with understanding of basic game terminology. A mod (short for "modification") is an alteration by players or fans of a video game that changes one or more aspects of a video game, such as how it looks or behaves.

Also you have another problem. You do not understand how VAC works. At all. I will be so kind and waste a bit more of my time to explain it for you.
1) VAC only protects online play. There is no single game on Steam that can get you a VAC ban while playing a solo offline game.
2) VAC does not care about modifying game resources. VAC keeps an eye on modifying game executable and runtime libraries, and intrusion into a game memory section. Modifying game resources, such as changing elecronic music played from a radio to some porn sounds, cannot trigger a VAC ban.

I hope you understood your problem, which is making posts about things without basic understanding how those things work.

That was the main thing you should know. Another thing I can add to my reply, is that when I make my own modification to a game, I might do whatever I want - increase difficulty, decrease difficulty, change in-game models, in-game sounds, add new weapons or modify existing ones, make new skills, modify existing skills, etc. And you have no influence on my decisions what do I want to do with my game in my mod. Like, not even a bit. Disappointing, huh?
It's not disappointing it's just the fact you are trying to cheat in the game by calling it a mod. It's your mod though so have fun making the game easier for yourself :)
What Dark Nero is doing is modding, regardless of what else you want to label it, it is modding. Also your definition of what cheating is, is completely irrelevant to anyone that is modding for their own pleasure.
I know that stupidity and stubborness is something that cannot be defeated by constructive dialog and providing facts. I just keep trying and not losing hope in humanity ;)

Even in such hopeless situation as yours, I will make one more attempt to show you that your vision is narrowminded and you just don't neither understant not accept all the facts provided.

I will try another approach - ANY changes to the listed files do not work. Neither making things easy not making them harder.
PrisonCamouflageMult(0.2); -> 0.01
RewardRoomTimes(60, 60, 60, 60) -> (5, 5, 5, 5)

Such changes would have made things harder / worse for the player. How would you call it? Anti-cheating? Or cheating-vice-versa? Or not-cheating-at-all but-making-it-harder? Anyway, doesn't matter how would you call such changes, but those changes do not work as well. Does it help you to understand that it does NOT depend on the nature of changes to this file, and ANY settings in this file don't work?

And that is the point of my question - it's purely technical question adressed to those who understand how modding Dying Light works and have experience in it. It's not the topic made for whining about mods you don't like, mods that noone forces you to use. If you like whining about mods that noone forces you to use - you can open NexusMods site, there are dozens of mods that change gameplay, balance and total overhauls. You can write whining and complaining comment under each of those mods - maybe that will make you feel better. And don't even think about how to express your gratefulness for this advice - it's completely free and not obligatory to use. Just like all the mods on the Internet.
Last edited by Dark Nero *=_VF_=*; Feb 6, 2019 @ 3:48pm
The author of this thread has indicated that this post answers the original topic.
blake Feb 6, 2019 @ 2:42pm 
Why do you all care if people mod their game? Hes not affecting anyone but himself. Stop trying to be white knights and trying to act all high and mighty. You're just making yourselves look retar ded.

Anyways, OP, try turning off the PLS Master Switch in restclient.scr.
Data0. pak/data/restclient.scr
Last edited by blake; Feb 6, 2019 @ 2:53pm
Originally posted by Habiba+ King Lixo:
Anyways, OP, try turning off the PLS Master Switch in restclient.scr.
Data0. pak/data/restclient.scr

Man, you're a lifesaver! Didn't try to modify prison_mode.scr yet, but difficultyparams.scr now works like a charm. Both me and my girlfriend are very grateful! ^_^
blake Feb 6, 2019 @ 3:56pm 
Originally posted by Dark Nero *=_VF_=*:
Originally posted by Habiba+ King Lixo:
Anyways, OP, try turning off the PLS Master Switch in restclient.scr.
Data0. pak/data/restclient.scr

Man, you're a lifesaver! Didn't try to modify prison_mode.scr yet, but difficultyparams.scr now works like a charm. Both me and my girlfriend are very grateful! ^_^
No problem, if youre trying to modify any files likes default_levels, zombie_levels, prison/mode files, or inventory files, you need restclient to be toggled off.
What does this master switch do? Does it make the game download these files from Techland server and use them over the ones in the game folder?
blake Feb 6, 2019 @ 4:33pm 
Yes
blake Feb 7, 2019 @ 12:32am 
Originally posted by Beef Jerkel:
What you are trying to do is basically cheating. Only difference is you are trying to find loopholes around the fact by calling it a "mod". That is probably why it isn't working in the first place. The developers made the different difficulty levels for a reason. The things you are trying to enable look like things that are disabled in nightmare mode and are present in normal and hard difficulties. If you are successful in making this mod work for the game you and any others who use it will most likely get banned. If not then congratulations for getting around VAC.

Like I stated in the other thread, you're doing the same thing here. Just another thread asking simple questions. You're totally not here to push your agenda onto others when they're just asking a question, right? (: Cause I see no contribution to the solution.
Drillbo Baggins Feb 7, 2019 @ 7:30am 
Originally posted by Habiba+ King Lixo:
Originally posted by Beef Jerkel:
What you are trying to do is basically cheating. Only difference is you are trying to find loopholes around the fact by calling it a "mod". That is probably why it isn't working in the first place. The developers made the different difficulty levels for a reason. The things you are trying to enable look like things that are disabled in nightmare mode and are present in normal and hard difficulties. If you are successful in making this mod work for the game you and any others who use it will most likely get banned. If not then congratulations for getting around VAC.

Like I stated in the other thread, you're doing the same thing here. Just another thread asking simple questions. You're totally not here to push your agenda onto others when they're just asking a question, right? (: Cause I see no contribution to the solution.
If that's how you want to justify cheating in a game then sure. It's a shame that a fine game like this has turned into a, cheat to get what I want, game. That person has a right to make and use mods that make the game easier, I'm not denying that. But trying to change DeathPenaltyLegendXPFactor(1.0); -> 0.0
BannedItems() -> removed all items from the list
Is clearly cheating.
MLGTASTIC Feb 7, 2019 @ 12:09pm 
banneditems are just devtools / devitems / or joke items put in the game , as long as he doesn't use it in mutilplayer its completly fine !
blake Feb 7, 2019 @ 12:15pm 
Originally posted by MLGTASTIC:
banneditems are just devtools / devitems / or joke items put in the game , as long as he doesn't use it in mutilplayer its completly fine !
Nah hes a frickin' scummy cheater for making fun items unbanned. Hes getting a major edge over the 0 other random players playing with him!!! Disgraceful.
< >
Showing 1-15 of 20 comments
Per page: 1530 50

Date Posted: Feb 6, 2019 @ 12:23pm
Posts: 20