Home » MODDING HQ 1.13 » v1.13 Coding Talk » Experimental Project 7
Re: Experimental Project 7[message #355999 is a reply to message #355998] Tue, 27 November 2018 03:10 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
Pistols are good for close range, especially with gunslinger and ambidextrous traits.
For example, if you can shoot with rifle with CTH = 40% and with a pistol with CTH = 20%, and if pistol is twice as fast as rifle and you have two of them and ambidextrous trait that Fox has, you will be roughly twice more effective at pistol range than if you used rifle.
Maybe I need to increase penalties when shooting beyond weapon range, but in general pistols allow much more shots, and you can move with them more like run closer to enemy, shoot, run back to cover.
You can also check merc statistics in the laptop and see who has better chance of hitting.



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356000 is a reply to message #355999] Tue, 27 November 2018 05:25 Go to previous messageGo to next message
Hawkeye is currently offline Hawkeye

 
Messages:2412
Registered:October 2005
Location: Australia
Personally I'd vouch for keeping the pistol modifiers as is. I still found at early stages of the game I could barely hit anything with a pistol, even at close ranges, even two or three tiles away, but have yet to try with a gunslinger. Enemies on the other hand seemed better at shooting, but perhaps Vengeance has slightly different values? Admittedly pistols have produced better results as the game has progressed and my mercs have had better training and improved their skills.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356001 is a reply to message #356000] Tue, 27 November 2018 05:46 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
The game can assign gunslinger trait if soldier has pistol, so they can be more accurate because of added bonus, you can check enemy traits with debug tooltip level.


Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356003 is a reply to message #356001] Tue, 27 November 2018 13:58 Go to previous messageGo to next message
LatZee is currently offline LatZee

 
Messages:185
Registered:December 2015
Well, realistic solution to that would be to make shooting 2 weapons available only in "from hip" mode, because even if you are truly ambidextrous and therefore equally good with both hands, that doesn't mean that you have eyes on stalks like a snail and can therefore aim down 2 different sights cheeky although I don't think that pistols are all that good and therefore need any balancing

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356009 is a reply to message #356003] Wed, 28 November 2018 04:04 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
I think one reason pistols feel too strong to me is because they are also more effective at suppression than shotguns or SMGs. Because of the AP cost you can fire 4-5 shots where the heavier weapons can only fire one, or with SMGS, one wildly inaccurate burst. I get that shotguns, especially the pump-action ones should be much slower firing than pistols but I would expect the buckshot (and maybe slugs) to do more suppression damage than a 9mm bullet. At the moment it appears that they don't.

Having said this. I've yet to really come up against an enemy wielding anything other than pistols (playing on slow progression), so this is mostly speculative and could be more of to do with the marksmanship of enemies having been improved generally.


[Updated on: Wed, 28 November 2018 04:04]

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356010 is a reply to message #356009] Wed, 28 November 2018 04:21 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
Shotguns in stock 1.13 are not very good balanced, I can recommend setting
DAMAGE_SHOTGUN_MODIFIER	= 1.2
SP4T_SHOTGUN_MODIFIER = 1.2
BURST_AP_SHOTGUN_MODIFIER = 1.2
AF_SP5AP_SHOTGUN_MODIFIER = 1.2

in Item_Settings.ini, it will make shotguns more useful as powerful weapon for close range.

In SDO mod, shotguns are much more effective in the early game as they have much higher damage, so it's not unusual to kill enemy with one shot in early battles.

I don't think that pistols are better than SMGs, in my tests of your save game I was able to shoot 2 aimed bursts/turn with a good CTH of about 50% at medium range, if enemy was standing and not moving, so they were quite effective.



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356013 is a reply to message #356010] Wed, 28 November 2018 09:45 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
Cool, will test that out.

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356023 is a reply to message #332214] Wed, 28 November 2018 21:40 Go to previous messageGo to next message
CareBear is currently offline CareBear

 
Messages:145
Registered:April 2016
Hi Sevenfm. Have you thought about implementing different accuracy faloff curves for different weapon classes ie. pistols have different curve than rifles. Because right now the settings that are good for pistols wont suit rifles and vice versa. Also would it be realistically possible to code a caliber/ammo based damage system ie. weapons dont have inherent damage value attributed to them, but it is determined by ammo type, ie 7.62x51 will have higher damage than 5.56x45. This would resolve problem with subsonic[cold] ammo having same damage as normal loaded ammo, or 12 gauge slugs having incredible damage, while you balance the buckshot.

[Updated on: Wed, 28 November 2018 21:56]

Report message to a moderator

Sergeant
Re: Experimental Project 7[message #356025 is a reply to message #356023] Wed, 28 November 2018 23:18 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
CareBear wrote on Thu, 29 November 2018 00:40
Hi Sevenfm. Have you thought about implementing different accuracy faloff curves for different weapon classes ie. pistols have different curve than rifles. Because right now the settings that are good for pistols wont suit rifles and vice versa.

Are you talking about OCTH or NCTH?
In both systems chance to hit quickly drops when shooting beyond weapon range which is the biggest difference between weapons. Pistols have a short range so you can hit with them at distance no more than 15-20 tiles.

Quote:
Also would it be realistically possible to code a caliber/ammo based damage system ie. weapons dont have inherent damage value attributed to them, but it is determined by ammo type, ie 7.62x51 will have higher damage than 5.56x45. This would resolve problem with subsonic[cold] ammo having same damage as normal loaded ammo, or 12 gauge slugs having incredible damage, while you balance the buckshot.

I don't plan any changes that will break compatibility with stock 1.13 7609 and mods. We already have main trunk for that kind of changes.
If you want to change damage for a certain type of ammo, why not just use tags like <armourImpactReductionMultiplier>, <armourImpactReductionDivisor>, <afterArmourDamageMultiplier>, <afterArmourDamageDivisor>, <beforeArmourDamageMultiplier> and <beforeArmourDamageDivisor>?



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356027 is a reply to message #356025] Thu, 29 November 2018 00:05 Go to previous messageGo to next message
CareBear is currently offline CareBear

 
Messages:145
Registered:April 2016
Quote:
Are you talking about OCTH or NCTH?
In both systems chance to hit quickly drops when shooting beyond weapon range which is the biggest difference between weapons. Pistols have a short range so you can hit with them at distance no more than 15-20 tiles.


NCTH. Fallof for pistols should be larger than for rifles. Currently no way to do that.

Quote:
I don't plan any changes that will break compatibility with stock 1.13 7609 and mods. We already have main trunk for that kind of changes.
If you want to change damage for a certain type of ammo, why not just use tags like <armourImpactReductionMultiplier>, <armourImpactReductionDivisor>, <afterArmourDamageMultiplier>, <afterArmourDamageDivisor>, <beforeArmourDamageMultiplier> and <beforeArmourDamageDivisor>?


Ive already tinkered with that before making post, but the results are only somewhat satisfactory.

Report message to a moderator

Sergeant
Re: Experimental Project 7[message #356028 is a reply to message #356027] Thu, 29 November 2018 00:19 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
@CareBear
I think it's the design of NCTH system - aperture increases linearly over distance (which means quadratic CTH drop when using uniform shot distribution), with gun's accuracy adding small penalty which is also probably linear, I didn't look deep into the code.
I plan to review some parts of NCTH code some day, specifically max aperture dependency from visual sight/gun range (which shouldn't be linear) and scope effect (which shouldn't just divide aperture size by a magnification value).



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356083 is a reply to message #355991] Sun, 02 December 2018 15:16 Go to previous messageGo to next message
crackwise is currently offline crackwise

 
Messages:113
Registered:April 2013
crackwise wrote on Sun, 25 November 2018 20:58
Thanks a lot sevenfm! I have also noticed a couple of times (while playing r876) that the walking UI showed available movement (i.e. the footstep signs were yellow for running for one additional step) whereas my merc actually did not have enough APs to run anymore. This was out in the open, without any obstacles and such.


Hi sevenfm, here is a screenshot regarding the bug that pathfinding UI does show more "footsteps" than it is actually available:
https://imgur.com/a/Qo8Na3O

And here you can find the savegame file: (AR+SDO with +AI r883)
https://ufile.io/dmokz

[Updated on: Sun, 02 December 2018 15:21]

Report message to a moderator

Sergeant
Re: Experimental Project 7[message #356104 is a reply to message #356083] Thu, 06 December 2018 03:40 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
Ja2+AI r900

- HandleSuppressionFire: fixed critical bug
- marbles work only for walking/running soldiers (swatting soldier will not fall)
- fixed flashbang effect in buildings, blindness effect (previously flashbang code could only recognize buildings with flat roof)
- fixed finding wrong flagged soldier (seems to be the bug that caused enemy instantly finding mercs when there is enemy tank in sector and causing realtime slowdowns)
- fixes: r7819, r7931, r8643
- better random number generator (it seems that stock 1.13 random is not providing uniform distribution, allowing strange sequences of extremely lucky/unlucky shots)
- fix jumping with backpack cost
- don't allow fence jumping from prone stance using [j] key
- breaking AI deadlock: show AI action name, allow breaking AI less often when fast forwarding enabled
- always allow dropping item at the same tile (allow going into negative APs to prevent situation when merc is stuck with item in cursor and without APs to drop it)

AI:
- allow grenade/mortar attacks more often if sector curfew = 2
- sector leader determines extra flanking or restricts flanking when attacking sector (for the first 10 turns after raising alert only)
- stationary/snipers don't advance if have no cover, try to avoid roof edge
- Black AI: better crouching/turning code when nothing to do
- allow shooting through walls when returning fire or if enemy is in a room and high percent of teammates killed
- AI speed optimization
- minor fixes for AI soldiers changing stance/turning to prevent AI deadlocks

OCTH:
- AllowedAimingLevels: reduce max aim levels by 1 when firing with two pistols
- CalcChanceToHitGun: additional penalty 2%/tile when shooting beyond weapon range, bonus up to 10% if weapon range is greater than distance to target
- always allow 1% when shooting at visible target, for invisible targets only when aiming at torso

NCTH:
- disable increasing deviation when shooting beyond effective range (now deviation formula is the same as in stock 1.13)
- use original stock 1.13 shot distribution code (uniform distribution inside aperture)

[Updated on: Thu, 06 December 2018 03:45]




Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356105 is a reply to message #356104] Thu, 06 December 2018 08:48 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
Thanks for the update!

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356107 is a reply to message #356104] Thu, 06 December 2018 16:37 Go to previous messageGo to next message
zwwooooo is currently offline zwwooooo

 
Messages:73
Registered:February 2009
Hi,

I get the error when compiling AI r900. Missing 2 files?

error C1083 "XML_Keys.cpp": No such file or directory
error C1083 "XML_Locks.cpp": No such file or directory
error LNK1181: "Tactical.lib"

Report message to a moderator

Corporal
Re: Experimental Project 7[message #356108 is a reply to message #356107] Thu, 06 December 2018 16:40 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
zwwooooo wrote on Thu, 06 December 2018 19:37
Hi,

I get the error when compiling AI r900. Missing 2 files?

error C1083 "XML_Keys.cpp": No such file or directory
error C1083 "XML_Locks.cpp": No such file or directory
error LNK1181: "Tactical.lib"

They are there, you just need to include them in Tactical project if you don't use the same vs2013.sln project that I use for compiling.

UPD: uploaded missing files in r901

[Updated on: Thu, 06 December 2018 17:10]




Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356138 is a reply to message #356108] Mon, 10 December 2018 03:44 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
Hi sevenfm,
I have some more feedback for you after playing your modpack (wf607 mod) a bit longer.

Regarding grenades;

I noticed that stun grenades are ineffective after trying to use them multiple times. They enemy is knocked down after the detonation but are immediately able to stand up in their turn and act as though they have a full AP (move/5-6 shots with a pistol). I realise this may be default behavior for this version 1.13, but i thought i should let you know in case you want to try to fix it.

The same applies to mini-grenades, they seem to do almost no breath dmg to enemies.

The m79 launcher; Though the one i picked up wasn't at 100% quality, I was appalled by how inaccurate short range it was. Used by both Grunty (heavy weapons) and Wolf, both of them were far more reliable and could hit longer ranges with a thrown grenade than with a 40mm from the m79. Have a try and see if the same goes for you.

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356139 is a reply to message #356138] Mon, 10 December 2018 03:58 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
Returning to the interruption system - I understand you usually test with the new interrupt system disabled - and that you have modified the chance-to-interrupt bonus for pistols to be slightly higher within the weapons range. Is that correct?

What I cant get used to is enemies with pistols often being uninterruptible/being able to beat my mercs 'to the draw' even when they come into view with an un-aimed pistol against my merc with an aimed gun (shotgun/smg/other cqc weapon). One hack for this is for my merc to pull out his side-arm and aim it but this feels kind of silly since it's usually more effective (unless down to -20ap) to simply put the pistol away and fire with my main weapon once I win the interrupt.

A possible solution would be to allow the AI to sidestep into view in an aimed stance like the merc is able to do (I don't know if that is possible within the limits of the game-engine, but if so, it certainly must be possible for your coding skills, judging by what else you have been able to achieve already).

Would it also be more realistic and also gameplay-friendly to make the pistol interrupt bonus only apply to um-aimed weapons? I can't see why an aimed pistol would be faster to fire than an aimed p90/mp5 which are specifically designed for close-quarters/room-to-room combat.

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356140 is a reply to message #356138] Mon, 10 December 2018 04:42 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
buuface wrote on Mon, 10 December 2018 06:44
Hi sevenfm,
I have some more feedback for you after playing your modpack (wf607 mod) a bit longer.

Hi buuface, thank you for feedback!

Quote:
Regarding grenades;

I noticed that stun grenades are ineffective after trying to use them multiple times. They enemy is knocked down after the detonation but are immediately able to stand up in their turn and act as though they have a full AP (move/5-6 shots with a pistol). I realise this may be default behavior for this version 1.13, but i thought i should let you know in case you want to try to fix it.

I cannot reproduce it, in my tests with SDO+Wildfire, 2 stun grenades (item 131) are usually enough for the enemy to not stand up on the next turn.

Quote:
The same applies to mini-grenades, they seem to do almost no breath dmg to enemies.

Mini grenades have low damage and breath damage, they should not work as stun grenades.

Quote:
The m79 launcher; Though the one i picked up wasn't at 100% quality, I was appalled by how inaccurate short range it was. Used by both Grunty (heavy weapons) and Wolf, both of them were far more reliable and could hit longer ranges with a thrown grenade than with a 40mm from the m79. Have a try and see if the same goes for you.

Cannot reproduce. In my tests with SDO+Wildfire, I had the following results:
Igor (no traits):
mini grenade: 17 tiles, 35% cth
mk2 grenade: 14 tiles, 42% cth
M79: 16 tiles, 42% cth or at max range 35 tiles, 28% cth
Grunty (heavy weapons):
mini grenade: 16 tiles, 39% cth
mk2 grenade: 13 tiles, 47% cth
M79: 16 tiles, 58% cth or at max range 35 tiles, 44% cth
Barry (demolitions):
mini grenade: 19 tiles, 62% cth
mk2 grenade: 15 tiles, 72% cth
M79: 16 tiles, 45% cth or at max range 35 tiles, 31% cth

As you can see, M79 has better cth at grenade range, unless your merc has demolitions skill, and m79 has much higher range than any grenade.
Also, merc trait is not the only thing that matters, you also need regular skills for good cth:
basic CTH for throwing (grenades, throwing knives): (dexterity + marksmanship) / 2
basic CTH for launched (mortars, grenade launchers): (dexterity + marksmanship + wisdom + 10 * level) / 4
Effective skills are used (so for example, suppression shock can lower effective marksmanship and dexterity).
Later, other modifiers are applied like morale/fatigue etc.

I can look at particular situation if you provide a save, but currently I don't see any problem in thrown weapons balance.
I will slightly lower range penalty for calculating CTH with grenade launchers, but that's all I can do at the moment.

Quote:
Returning to the interruption system - I understand you usually test with the new interrupt system disabled - and that you have modified the chance-to-interrupt bonus for pistols to be slightly higher within the weapons range. Is that correct?

Raised weapon in raised direction adds +1 interrupt level, if target is within weapon range.
If soldier has pistol in hand, and target is within pistol range, add +1 interrupt level.

So max possible difference between your merc and enemy soldier with pistol will be 1 level if you aim in his direction.
If your merc has interrupt level 5 and enemy has interrupt level 6, that means that 54% of the time he will win interrupt, and 46% of the time you will win. I don't see any problem here.

Quote:
What I cant get used to is enemies with pistols often being uninterruptible/being able to beat my mercs 'to the draw' even when they come into view with an un-aimed pistol against my merc with an aimed gun (shotgun/smg/other cqc weapon). One hack for this is for my merc to pull out his side-arm and aim it but this feels kind of silly since it's usually more effective (unless down to -20ap) to simply put the pistol away and fire with my main weapon once I win the interrupt.

There are no uninterruptible enemies in the game, you always have a chance for interrupt, unless:
- enemy can see you but you cannot see enemy
- your merc was under attack this turn (he was suppressed and changed stance, just a stray bullet that caused no reaction doesn't count)
- your merc was hit this turn (with bullet, fragment, grenade etc)

Quote:
A possible solution would be to allow the AI to sidestep into view in an aimed stance like the merc is able to do (I don't know if that is possible within the limits of the game-engine, but if so, it certainly must be possible for your coding skills, judging by what else you have been able to achieve already).

AI cannot use alternative movement mode (moving backwards, sidestepping, rolling), and I'm not sure if it's possible technically to teach them.

Quote:
Would it also be more realistic and also gameplay-friendly to make the pistol interrupt bonus only apply to um-aimed weapons? I can't see why an aimed pistol would be faster to fire than an aimed p90/mp5 which are specifically designed for close-quarters/room-to-room combat.

Yes, I will change that so the game will first check for raised weapon and check for pistol bonus only if weapon is not raised.

[Updated on: Mon, 10 December 2018 04:46]




Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356161 is a reply to message #332214] Thu, 13 December 2018 08:28 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
Thanks for the reply.

A couple of questions:

I noticed to the Vengence:Reloaded link in your sig; does this mean the current version of V:R has your AI modifications integrated already?

Do you have any plans to update your mod in line with some of the newer development versions of 1.13 in order to take advantage of some of the new features. It seems like a lot has been added to the trunk since 7609 from flugente's workshop and other places.

In fact it would make a lot more sense for them to incorporate your AI mod into the 'official' version of 1.13. Has this been talked about?

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356162 is a reply to message #356161] Thu, 13 December 2018 08:42 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
buuface wrote on Thu, 13 December 2018 11:28
I noticed to the Vengence:Reloaded link in your sig; does this mean the current version of V:R has your AI modifications integrated already?

No but I applied a few fixes to the Vengeance code. The AI in VR is the same as in stock 1.13, as it is based on stable 7609 code with some improvements.

Quote:
Do you have any plans to update your mod in line with some of the newer development versions of 1.13 in order to take advantage of some of the new features. It seems like a lot has been added to the trunk since 7609 from flugente's workshop and other places.

No, the idea is using stable code base to improve AI and implement some experimental features that I find interesting.

Quote:
In fact it would make a lot more sense for them to incorporate your AI mod into the 'official' version of 1.13. Has this been talked about?

Not possible for many reasons, the code is too different. It would be easier to make new AI from scratch than to merge Ja2+AI into the trunk.



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356165 is a reply to message #356162] Thu, 13 December 2018 10:45 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
sevenfm wrote on Thu, 13 December 2018 08:42
buuface wrote on Thu, 13 December 2018 11:28
I noticed to the Vengence:Reloaded link in your sig; does this mean the current version of V:R has your AI modifications integrated already?

No but I applied a few fixes to the Vengeance code. The AI in VR is the same as in stock 1.13, as it is based on stable 7609 code with some improvements.

Quote:
Do you have any plans to update your mod in line with some of the newer development versions of 1.13 in order to take advantage of some of the new features. It seems like a lot has been added to the trunk since 7609 from flugente's workshop and other places.

No, the idea is using stable code base to improve AI and implement some experimental features that I find interesting.

Quote:
In fact it would make a lot more sense for them to incorporate your AI mod into the 'official' version of 1.13. Has this been talked about?

Not possible for many reasons, the code is too different. It would be easier to make new AI from scratch than to merge Ja2+AI into the trunk.



Ah that's a real shame. What you have achieved with your AI re-work is pretty monumental in the scope of 1.13's overall development. It's pity that from the sounds of it, it will remain trapped in this earlier stable build whilst the rest of the mod will eventually move on.

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356181 is a reply to message #356165] Fri, 14 December 2018 22:38 Go to previous messageGo to next message
Taleman is currently offline Taleman

 
Messages:68
Registered:October 2010
Location: Finland
Crash report:

$ ja2.sh
PANIC: unprotected error in call to Lua API (not enough memory)
0009:err:ntdll:RtlpWaitForCriticalSection section 0x1510b1d8 "?" wait timed out in thread 0009, blocked by 0030, retrying (60 sec)
0009:err:ntdll:RtlpWaitForCriticalSection section 0x1510b1d8 "?" wait timed out in thread 0009, blocked by 0030, retrying (60 sec)
/home/taleman/bin/ja2.sh: rivi 7: 1766 Päätetty wine ja2_7609en+AI_r883.exe

Playing on Debian GNU/Linux 9.6 under wine 3.0.3-2~bpo9+1. Can not reproduce when playing again from end of turn save.

Had been playing more than an hour. Long battle in Alma factory sector. I forgot I should save every 15 minutes and restart game.



Tapio Lehtonen
Pori, Finland

Report message to a moderator

Corporal
Re: Experimental Project 7[message #356184 is a reply to message #356181] Sat, 15 December 2018 13:04 Go to previous messageGo to next message
Taleman is currently offline Taleman

 
Messages:68
Registered:October 2010
Location: Finland
Save done with ja2_7609en+AI_r883.exe can not load with ja2_7609en+AI_r937.exe. Game says it does automatic update of save, but then fails to load it.

I went back to r883, the save could be loaded.



Tapio Lehtonen
Pori, Finland

Report message to a moderator

Corporal
Re: Experimental Project 7[message #356185 is a reply to message #356184] Sat, 15 December 2018 13:11 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
@Taleman you need to hold SHIFT while loading older saves in new builds and then save them as usual.


Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356187 is a reply to message #356185] Sun, 16 December 2018 14:53 Go to previous messageGo to next message
Taleman is currently offline Taleman

 
Messages:68
Registered:October 2010
Location: Finland
That I did not know, thanks.

It does work, excellent. Seems it is necessary to keep SHIFT down, and release it only after game has loaded.

Now playing with wine ja2_7609en+AI_r937.exe.

- combining magazines no longer works. Tried a few kinds, adding from a similar magazine to a not full magazine does not work. I would say this worked in r883. I can add bullets to magazine in rifle, and combine half full magazines that way.



Tapio Lehtonen
Pori, Finland

Report message to a moderator

Corporal
Re: Experimental Project 7[message #356189 is a reply to message #356187] Tue, 18 December 2018 04:50 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
Taleman wrote on Sun, 16 December 2018 17:53
- combining magazines no longer works. Tried a few kinds, adding from a similar magazine to a not full magazine does not work. I would say this worked in r883. I can add bullets to magazine in rifle, and combine half full magazines that way.

Should be fixed in r943. Also you can always use Ctrl+click to merge items.



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356195 is a reply to message #356189] Wed, 19 December 2018 02:29 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
Ja2+AI r946

Fixes:
- fix: the game sometimes didn't charge APs for changing stance after cowering
- r8427: The total weight of the equipment carried by a merc is now displayed in a tooltip. (by Flugente)
- autoresolve fixes from r8554 (by Flugente)
- r8524 Fix: on low resolutions, the message log blocks parts of the inventory,so deactivate the log in that case (by Flugente)
- updated r8524 fix to work in 1024x600
- GetClosestFlaggedSoldierID: find closest soldier
- initialize last suppression values (fixes incorrect suppression values shown above the soldier when he is suppressed for the first time in the battle)
- fix cowering animation
- create soldier: possibly initialize broken militia/army class (the game works incorrectly if soldier is in enemy team but has no correct enemy class assigned in editor)
- campaign stats: if soldier has no defined class, use CAMPAIGNHISTORY_SD_ENEMY_ARMY or CAMPAIGNHISTORY_SD_MILITIA_GREEN group, changed default group to CAMPAIGNHISTORY_SD_CIV

Misc:
- Build 18.12.18
- better rounding for diagonal movement (for better balance between straight and diagonal movement costs)
- lower range penalty for grenade launchers
- tanks, vehicles, robots cannot be gassed
- smoke and signal smoke don't have gas effect on soldiers
- play grenade pin sound
- added support for custom grenade pin sound (<sSound> tag in Weapons.xml)
- added weapon raising sounds support
- NCTH: increase deviation when shooting beyond effective range, limit additional deviation multiplier to 2.0
- start bullet drop at weapon range/2 for fragments, at weapon range in OCTH, use gravity constant 4 for OCTH, 2 for fragments
- set usClockTicksPerUpdate = 30 for fragments, always use speed specified in weapons.xml

Save version and compatibility:
- revert gameversion to SNITCH_TRAIT_EXTENDED
- set max number of keys to 64 to restore save compatibility with older Ja2+AI releases or stock 1.13 7609
- hold SHIFT to load earlier saves with 255 keys

Interrupts:
- bonus to interrupt level for pistol only if weapon is not raised (first check bonos for any weapon raised in enemy direction, second check for pistol in hand which can be not raised, then check for melee weapon in hand which also can give small bonus at close range)
- tank can interrupt even if it was hit this turn
- interrupt level penalty for soldier if he was hit this turn
- bonus from raised weapon/pistol in hand/knife in hand applies only for merc bodytypes
- interrupts: apply cowering/hit/suppressed restrictions only to merc bodytypes

AI:
- AI: use throw attacks more often when attacking town sector
- lower chance to use smoke depending on range, bonus if enemy recently have seen many opponents, penalty if friends see this enemy, don't use smoke against enemies with short range weapons
- lower value for flare attack if friends see this enemy
- AI code speed optimization
- Green, Yellow AI: raise alert if found drugged soldier (raise alert if player used combat drugs against enemy soldiers)
- check that fast forward was used when breaking AI (should fix breaking AI because of fast forward timer used)
- for soldiers without profile, avoid locations near doors if alert was not raised yet (so random AI movement will not block doors too often)
- CalcCoverValue: retreat/take cover when under fire, allow better taking cover after shot

Covert:
- SeemsLegit: uncover if seen near collapsed soldier
- applying items to enemies: penalize attacker value if someone is watching, penalize defender value if he cannot see attacker, penalize defender value if he never seen attacker, increase suspicion of attacker if still covert (in general, it's much harder now to apply items to opponent if someone is watching or if alert is raised)

Suppression:
- allow AP loss for prone soldier (previously there was no AP loss for prone soldiers, they could only lose all APs when cowering)
- move adrenaline effect on suppression to suppression tolerance (adrenaline increases suppression tolerance)
- correctly show APs lost from suppression
- show suppression face icon at 25%
- moved alcohol bonus/penalty to FearResistancePercent (alcohol helps to lower suppression shock)

Game Options:
- removed SHOW_SUPPRESSION_COUNT_ALT option
- SHOW_SUPPRESSION_COUNT, SHOW_SHOCK_COUNT, SHOW_AP_COUNT, SHOW_MORALE_COUNT - disable value = 2 (always show suppression in regular way, after damage counter)
- removed options: SHOW_SUPPRESSION_USE_ASTERISK, SHOW_SUPPRESSION_SCALE_ASTERISK
- options ENEMY_HIT_COUNT = 1, PLAYER_HIT_COUNT = 1 show red '*' instead of white '?'
- removed XML_LOCKS option (the game simply checks for xml files and use them if they exist, no need for option as all locks binary files in mods are identical to vanilla ja2)

Merges:
- added new tags to Merges.xml: PointsUsed, PointsAdded, ExtraItem, ExtraItemPointsUsed, SkillCheck, SkillDifficulty



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356207 is a reply to message #356195] Thu, 20 December 2018 01:16 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
New feature: grenade activation sound.



New grenade activation sounds are available for testing in 7609 unofficial modpack.

[Updated on: Thu, 20 December 2018 01:46]




Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356209 is a reply to message #356207] Thu, 20 December 2018 02:14 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
Thanks for the update!

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356252 is a reply to message #356209] Wed, 26 December 2018 16:37 Go to previous messageGo to next message
Taleman is currently offline Taleman

 
Messages:68
Registered:October 2010
Location: Finland
Bug report:
$ ja2.sh
PANIC: unprotected error in call to Lua API (not enough memory)
0009:err:ntdll:RtlpWaitForCriticalSection section 0x15172da0 "?" wait timed out in thread 0009, blocked by 002e, retrying (60 sec)
^[^[		0009:err:ntdll:RtlpWaitForCriticalSection section 0x15172da0 "?" wait timed out in thread 0009, blocked by 002e, retrying (60 sec)

Playing wine ja2_7609en+AI_r946.exe on Debian GNU/Linux 9.6. No mods.



Tapio Lehtonen
Pori, Finland

Report message to a moderator

Corporal
Re: Experimental Project 7[message #356253 is a reply to message #356252] Wed, 26 December 2018 16:44 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
@Taleman
Cannot do anything without a reproducible save. Sorry but I see no point in posting here some random bugs that cannot be reproduced on windows from the save.
That information you posted also doesn't tell me anything useful.



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356254 is a reply to message #356253] Wed, 26 December 2018 20:24 Go to previous messageGo to next message
Taleman is currently offline Taleman

 
Messages:68
Registered:October 2010
Location: Finland
These errors never occur again when loading end of turn save and trying to play exact same way again. Without source code I can not run under debugger.


Tapio Lehtonen
Pori, Finland

Report message to a moderator

Corporal
Re: Experimental Project 7[message #356260 is a reply to message #356254] Thu, 27 December 2018 07:29 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
Taleman wrote on Wed, 26 December 2018 23:24
Without source code I can not run under debugger.

Are you a professional c/c++ coder? I can send you a link to the game source but you would need a decent knowledge of c/c++, without it the source code or Ja2_debug.exe will be useless.



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356265 is a reply to message #332214] Fri, 28 December 2018 03:40 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
Possible bugs; (wf607 mod with latest exe)

1. I applied royal jelly to a spectra helmet and it turned into a rag.
2. When 2 of my mercs contracts expired I asked them drop their stuff in B13 (Drassen airport) before leaving. But when i entered the sector none of their equipment was dropped there (i'm not sure where in the sector it is supposed to be).

Will try to attach a save later today. (Right now im at work)



Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356266 is a reply to message #356265] Fri, 28 December 2018 07:09 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
buuface wrote on Fri, 28 December 2018 06:40
1. I applied royal jelly to a spectra helmet and it turned into a rag.

Applying jelly on treated armour destroys it.



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356269 is a reply to message #356266] Fri, 28 December 2018 09:29 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
Ok that must be it.

BTW what version of Alruco Vacations mod is included in your moddpack?

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356270 is a reply to message #356269] Fri, 28 December 2018 09:34 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
buuface wrote on Fri, 28 December 2018 12:29
Ok that must be it.

BTW what version of Alruco Vacations mod is included in your moddpack?

Should be actual version available on Ed's site.



Left this community.

Report message to a moderator

Lieutenant

Re: Experimental Project 7[message #356310 is a reply to message #356270] Tue, 01 January 2019 04:11 Go to previous messageGo to next message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
Dear seven. I notice that a new item type in your moddpack(playing wf607) are tripwire grenades, which can be de-attached from the tripwire to transform them into regular grenades.

But when i tried to do the reverse (add tripwire to a grenade in order to make a kind of mine for sector defense) it doesn't allow the attachment. Am i doing something wrong?

edit: Nvm. I realised this is an old feature and i just had to click the transform button on the tripwire item to make it attachable

[Updated on: Tue, 01 January 2019 04:17]

Report message to a moderator

Staff Sergeant
Re: Experimental Project 7[message #356327 is a reply to message #356310] Thu, 03 January 2019 02:43 Go to previous messageGo to previous message
buuface is currently offline buuface

 
Messages:165
Registered:October 2011
Hi again Seven.

Is there somewhere I can find a summary of changes you have made to the covert-ops/spy system in your mod?

Also, i'm playing wf607 with your modpack and havn't found any radios either in the world or in the loadout of any of the radio-operator mercs so far. I've taken 4 cities, have I just been unlucky not to have found one yet?

A question about loyalty. I noticed that whenever I defend one of the cities against the queen's forces, even if I am victorious, the loyalty of that city takes a dive of at least a few percent, and raising it again seems to take forever or simply doesn't happen at all (Cambria has been stuck at 15% for about 8 days and I can't find a way to raise it enough to train militia or staff the facilities). Grumm is now quickly heading the same way due to the frequency of attacks. I need some advice on how to raise/maintain loyalty in the cities.

[Updated on: Thu, 03 January 2019 02:46]

Report message to a moderator

Staff Sergeant
Previous Topic: Trunk AI and improvements
Next Topic: New Attachment System Beta
Goto Forum:
  


Current Time: Fri Mar 29 06:46:44 GMT+2 2024

Total time taken to generate the page: 0.05149 seconds