Combat behaving strangely

This forum is for reporting any bugs or issues you may encounter with the House Party Story Creator. Please refrain from posting any suggestions or discussions about the Creator itself and keep this forum populated with only bugs or issues.
Forum rules
Forum rules
No racism, sexism, anti-semitism, brigading, doxxing, or ANY form of abusive behavior. No discussion of hacking or piracy or the buying, trading, or selling of ANY type of product or service (digital or otherwise). No advertising of any product or service (digital or otherwise, and this includes streams or any service involving 'subscribers'). No discussion of religion or politics. Do not link to other adult sites, with the exception being discussion of other adult games in Offtopic/allowed subforums; i.e. no pornography.

Do not spam, do not try to circumvent any automated tools that are part of these forums or any linking to these forums. Do not judge others based on their preferences for custom stories, their opinions, sexuality, etc., and most certainly do not bring it to the moderators.

Respect the moderators and each other and all will be well. Report any violations of the above rules. Do not violate local or international laws (including, but not limited to the laws of your country and/or the laws of the United States) while making use of these forums. The IP address of all posts are recorded to aid in enforcing these conditions.

We will use username, e-mail, AND IP bans without reservation, and mods hold the final word in such decisions.
Post Reply
mada7
Posts: 76
Joined: Tue Feb 13, 2018 7:43 pm

Combat behaving strangely

Post by mada7 » Sat Feb 24, 2018 3:28 pm

Character getting knocked out event triggers don't trigger if the combat was initiated by anything other than console commands. If you do initiate combat with console commands then all other times the character gets knocked out they getting knocked out event triggers will occur correctly from there on out.

If you don't initiate the first combat with a console command then nothing can ever revive the knocked out character

erasmus
Posts: 426
Joined: Tue Feb 13, 2018 4:29 pm

Re: Combat behaving strangely

Post by erasmus » Sat Feb 24, 2018 7:24 pm

Hm that's odd, if anything the console should break more things than it fixes because of its nature...and bc I'm not as good a coder as Bobby :P Technically for the combat command in the console I am forcing several values on for characters, including "get knocked out instead of dying", so that the character doesn't permanently get incapacitated. Without looking at it, I believe this results in a different flag than just getting knocked out, as you cannot 'combat CHAR wakeup' a character that has suffered the combat -> died status as opposed to knocked out/passed out.
Erasmus
Quality Control and User Experience Manager

mada7
Posts: 76
Joined: Tue Feb 13, 2018 7:43 pm

Re: Combat behaving strangely

Post by mada7 » Sat Feb 24, 2018 10:28 pm

I'm a pretty good coder myself so I don't mind poking around in the guts and fixing this myself, I actually find that fun, but I'd need to know where to look. As it is now when I try to edit the NPC script I get blocked because it's part of the character engine dll. It's probably for my own good but if there is a way I could make this work on my own I don't mind saving you guys the work and sharing how I fixed it with the community.

From the looks of it the way combat appears to be working is that there is some sort of boolean or array that is either knockout or die when losing a fight that is either defaulted or stuck to die. The console command as you describe it seems to force it to knockout instead of die. Without seeing the code I can't suggest more than that but that's what appears to be going on based on your description

Post Reply