Everything posted by HughJanus
-
Ped Damage Overhaul
@Cuddlecreeper8 Yes, that is the plan :) @iiZoark We looked into that, back when it was first suggested but couldnt find the natives to pull that off, unfortunately. @Carlos69Santana We have heard that from our nexus-uploader. We fixed it in v1.42 which will be released this weekend.
- 1,268 comments
- 5 reviews
- [SOLVED] How to write exceptions and errors into a logfile?
-
[SOLVED] How to write exceptions and errors into a logfile?
I am currently trying some new stuff and have added a bunch of code. Sometimes the scripthook crashes and only says that my asi has crashed. Is there a way to write the error into a file (with some information like the line in which it occurred or the method)? In java you can print the stack trace into a file, but I am not savvy enough in C++ to do so. I have tried a try/catch on the main method and using cout or ofstream to write the exception (exception.what()) into an existing file, but it didnt work. Any help would be much appreciated.
-
Ped Damage Overhaul
@Cuddlecreeper8 Thanks for reporting. Have played with this a little but havent come up with a solution, unfortunately. I wrote it down and maybe I can find something when going through the whole mod again (when OpenIV releases a new version).
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
@steeljacket488 I dont think the script influences the getting up behavior. I am pretty sure thats vanilla behavior. As for the random fights, I wouldnt know how to do that since I didnt find a native functions which makes an NPC push another or attack another. If we had that, we could implement a very low chance for every NPC to randomly attack another NPC. So if you happen to find a native which allows us to do that, we could add that option to the ini.
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
Attached you can find the current testing version. We quickly applied the suggested solution and made a build. It was not tested yet, keep that in mind. Also the ini is not a releaseable ini, since its the one we use for testing (invincibility enabled, for example). Would be cool if you could check if your fist fighting problem has been solved by the new code 🙂 PedDamageOverhaul.asi PedDamageOverhaul.ini
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
Currently the mod does not check how an NPC has got under a dying threshold. So if you punch them until they are weak enough, they will stay down indefinitely. If you kill them, thats the same of course :P You could try modifying the melee damage in the ini - maybe you can get a value where you just knock them out and not kill them. Other than that, we could implement a check which only lets NPCs go into dying state if they have been hit by certain weapons (like with the bleeding) - this would fix knocked out NPCs going into dying state.
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
It may be that their health is under one of the dying thresholds, so they wont get back up. Do they move on the ground or moan?
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
Currently not, since those things need animations. There are limping animations, but we dont know their names yet. We have to wait for OpenIV to "unhash" all the animation names, so we can start working with them.
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
OpenIV currently supports viewing some of the files (a lot of files are still hashed, so you cant read the animation names, for example). You would need to edit the game files that cause the bleeding and set them so the bleeding occurs everytime - or at least know how the bleeding is triggered to make use of it in a script. Maybe someone can do it with the current version of OpenIV - I unfortunately cant^^
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
we released the new features as a pre-version (v1.41 instead of 1.5), so people dont have to wait for what is tested and finished. Hope you have fun 🙂
- 1,268 comments
- 5 reviews
-
Ped Damage Overhaul
Unfortunately no. Not at the moment at least. We will need to access the game files for that and OpenIV (a program which can enable us to do that) currently does not support editing game files. @steeljacket488@mache82: see attached files. You have to alter the ini value CoreDepletionAfterDeath = 0 to CoreDepletionAfterDeath = 1 PedDamageOverhaul.ini PedDamageOverhaul.asi
- 1,268 comments
- 5 reviews
-
-
- 1
-
-
Ped Damage Overhaul
You have to go into the ini and search for "CoreDepletion = 0" and make it "CoreDepletion = 1". The current settings make you lose 5% of your cores every 5 minutes, but you can change that in the ini.
- 1,268 comments
- 5 reviews
-
-
- 1
-
-
(Mod Request) Legend Of the East Outfit
If you could post a link to the save editor you used and maybe a list of codes to add the pelts (or however you add the pelts), your post would be even more helpful to OP 🙂
-
Ped Damage Overhaul
Oh, you want them to visually bleed - thats not possible at the moment (at least not with this mod). We have that on our agenda. It should be possible already with the natives we found in the database. Edit: I have attached our current testing build. You can enable and configure the depletion of the cores in the ini. Be aware that some ini settings are turned on or off for testing (e.g. invincibility is turned on). PedDamageOverhaul.ini PedDamageOverhaul.asi
- 1,268 comments
- 5 reviews
-
-
- 1
-
-
Ped Damage Overhaul
How did you test it? The code works like this: if the NPCs health is under the knockbackthreshold and above the dyingthreshold, there is the chance of BleedingChanceShot that BleedingValue is deducted from that NPCs health. So to properly test it you should set the BleedingValue extremely high, so bleeding will instantly kill an NPC. It should work, though. We tested the feature.
- 1,268 comments
- 5 reviews
-
(Mod Request) Legend Of the East Outfit
Can you save the legend of the east outfit after you gave it to yourself with the mod? (so you dont need the mod next time you start the game)
-
Ped Damage Overhaul
Enable the ini value BleedWhenShot by setting it to 1. You can edit the chance of bleeding with the value below. The number of deducted health points is taken from the BleedingValue parameter.
- 1,268 comments
- 5 reviews
-
Anyone know the name of this NPC in the files ? The shoulder holster NPC
Hm, it seems like he does have a name then 🤔
-
(Mod Request) Legend Of the East Outfit
There is the outfit changer mod, have you tried this one?
-
Anyone know the name of this NPC in the files ? The shoulder holster NPC
Dont know the name, but check this link: https://www.mod-rdr.com/wiki/ped-search/?s=bronte& Its probably one of them (not CS_bronte, of course).
-
(Mod Request) New Austin's weather and lighting in New Hanover
I guess we would need the timecycle file(s) which can currently not be edited via OpenIV, unfortunately.