Jump to content

Gijs-Jan

Development Team
  • Content count

    297
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Gijs-Jan

  1. Glad to hear you're having good fun :-) There will be some more improvements soon!
  2. Thanks for the excellent write up! :-) So, I found the bug, and it was located in the accuracy calculation. For some reason we were checking the throwing range of a weapon for any and all shots. The main reason why it didn't show up in the UI was because it discarded this check. This also explains why increasing the strength would allow shots to be made; it increased the throwing range.
  3. Could you post this save, or send it to me? The AI itself depends on the accuracy calculations given by the system, and I suspect something is going wrong there. In general the AI tests a shot for all different weapons it has in its inventory and gives the shot a potential score (taking into account the cost to swap). The weapon with the best score is then switched out and used. The AI tries to use the core gamelogic whenever possible, so as not to break when people start modding. One of the main problems we've had is that because the AI uses this gamelogic, and searches for the best option (instead of scripting), it exposes some before unseen bugs. Anyway, send me the save and I'll try to see what's going on
  4. Chris and me both took a look at that, and it didn't seem to affect things on my end. Strength should only alter accuracy on heavy weaponry. I found the bug for the penalty being applied to aliens by accident while going through all the accuracy calculations to see if strength affected it. The only thing that also might have affected combat quite a bit was the range change on the heavy plasma.
  5. Gijs-Jan

    Stinky's sandpit (Fighting against passive AI.)

    No, not fully; it's a part of a lot of things that will be changed. But it will solve some of the more obvious problems. Also we're obviously going to have to take a look at some of the balancing implications.
  6. Gijs-Jan

    V20 Stable Candidate 5 Released!

    For those dealing with the AI passivity (not shooting), go into assets/aiprops.xml and search for: MinimumAccuracy, change it from "0.35" to "0.01". Happy Holidays
  7. Gijs-Jan

    Stinky's sandpit (Fighting against passive AI.)

    So, I explored the altered files and the primary change that "activates" the AI is the reduction in the accuracy treshold. Nothing really surprising there, as the AI wasn't shooting when it was supposed to. However, upon further inspection of some test setups; I found that the AI was being fed far too low accuracy values. Something we noticed before, but thought could be attributed to the new accuracy implementation some time back. Long story short: It seems the aliens were being given the Using-Alien-Tech penalty, which reduced their accuracy by 50%. Combined with the threshold, this resulted in a whole lot of not firing. This, along with several other things, will be fixed in the next patch.
  8. Passive AI Bug So I became a bit frustrated with the poor AI behavior of the last patch, which I thought was mainly due to an unbalanced aiprops.xml. This file holds all kinds of variables which can be modded which the AI uses in its decision making process. I saw Ol' Stinky's post with the modded aiprops.xml; but this didn't fix everything so I decided to explore a bit. Cause Well, there's several things going wrong in the latest patch, and I think that most of the behavior you guys are seeing can indeed be contributed to an unbalanced aiprops.xml. However, as I'm currently adding a lot of stuff, I can't just give you my local version. There was one thing though that struck me as odd; the non-firing behavior. So, the AI only decides a shot isn't worth it when the accuracy is below a certain threshold, which currently is set at 35%. And in a lot of the cases you guys found and sent me saves for, the accuracy should've been higher. Long story short, I discovered that the penalty for using Alien equipment was being applied to aliens as well. (50% drop of accuracy). So yeah... There will probably be some balancing changes in the new build :-P Temp Fix In AIProps.xml, search for: MinimumAccuracy, and change its value from "0.35" to a low value, e.g.: " 0.01". See Ol' Stinky's post for a file that fixes this, but tweaks several other things as well. This will make the AI a bit more active until the official patch, which will address a lot of things and introduce whole hosts of new behavior. Happy Christmas
  9. Hey guys! I see you've managed to find one of the major new features of the AI, in terms of modding. Thanks for taking the time to take a look at the aiprops.xml. As I mentioned in the another thread, most of the current AI issues are probably due to it not being balanced yet. During the holidays, I'll be balancing it and introducing some other new features. The sound feature's been disabled for now. It was something I am working on that will attract aliens to shots fired, etc. However as I don't want to provide the AI with info that the player doesn't have (e.g.: footsteps), I disabled it for now until I decided on what it would get. Once I get my head out of the code, I'll write up a post on how the aiprops.xml works in terms of the behavior values. Other insights: - AI should be using the exact same code as the player accuracy calculation (it calls that routine) - The AI is setup such that if it can shoot, it will. (Min. engagement range + LOS + Min. accuracy threshold + AP == Shoot; essentially) - If the AI doesn't shoot, and it does when changing this grenade value; there's a bug. Thank you for finding it. If you see any strange AI behavior; the very best you can do is give me a save which will allow me to reproduce the behavior. I will forever be grateful if you can provide a save game, as it cuts down the time to fix it tremendously. You can even just PM them to me. Also; I do read the forums, and whenever I can, I tend to integrate the ideas you guys have.
  10. The Cowardly AI is probably just a mis tweaking of the preferences in aiprops.xml. I will take a look at it.
  11. These people... Make the AI more advanced they say; make it better at killing soldiers they said.. I do my job and you respond by nerfing the weaponry.. :'(
  12. Just so we don't come across too harshly, I am looking into it; it's just low priority at the moment :-)
  13. For those really interested in going this route: You can probably replace Playgrounds Filmstrip Tool by either: - LibGDX's Texture Packer, analyze the .xmls used in the files and write your own output format. (Easy task for those with knowledge of Java) - CodeAndWeb's TexturePacker; and use it's option to create a custom exporter.
  14. It's calculated on the fly, each tile evaluated according to several aspects (which are calculated; so the AI will work with any maps contributed through mods without needing annotations). I will make a post detailing all the aspects; for now there's an explanation of all the different weights in aiprops.xml (in the assets folder )
  15. The AI can handle them; there just wasn't any incentive. The next release will have a weight for this preference in aiprops.xml Hint: The latest build brought a host of tweakable properties for the AI; per race and per rank. You can find it in aiprops.
  16. Gijs-Jan

    V20 Experimental Build 7 Available!

    Well, I guess I have to dumb it down a bit then . The point is that the AI also uses quite some statistics to determine where you *might* be. Seeing as how an AI is sometimes spread across the entire map (especially with alien base, terror missions and the like), it has quite some information on where your squad *isn't*; and thus, also *is*. Yeah.. the AI doesn't really care that much if it kills itself, if the benefits are high enough. (Roughly 2~3 to 1 ratios; depending also on how more valued your unit is (9 rookies ~= 1 Colonel) This should be fixed soon; TUs should be spent when teleporting, and the AI shouldn't do the Veni-Vidi-Vici tactic with teleports anymore.
  17. Yeah, it was a decision that Defensive aliens stay inside the ship at all times. Which we'll probably revert now then
  18. The Reapers AI is disabled in this build because of a bug in the zombification process whenever more than 2 victims were hit in a single turn. We needed some time to work it out as fixing it wasn't trivial. They should be in the next build. As for grenades; it's strange that the grenade got thrown a distance of 15 tiles. Do you maybe have a save of that game? Aliens running out of ammo should also be fixed in the next release.
  19. Gijs-Jan

    Huh?

    It's already fixed (obviously) Chris was paying attention. You can probably blame it on the bad weather that's been terrorizing western europe.
  20. Gijs-Jan

    Buddhist Civilians

    No problem, I thought I fixed the behavior some time ago; so no worries if he's working with an earlier version :-)
×