Staredit Network > Forums > Modding Assistance > Topic: Are Duke Tank / Duke Siege units worthless if used by AI?
Are Duke Tank / Duke Siege units worthless if used by AI?
Jun 20 2020, 5:41 pm
By: IlyaSnopchenko  

Jun 20 2020, 5:41 pm IlyaSnopchenko Post #1

The Curious

Hello folks,

I've got another question here (last time the issue was solved quickly, thanks; I realized that I was posting in a slightly wrong forum area). I was thinking about converting the Duke tanks into a custom unit - a war machine of a different kind - but was under the impression that the AI will never siege / unsiege them unless explicitly ordered through issue_order. Is that true, and if so, are there ways around that?

Now, I can make a unit that is only intended for human player's use but I'd prefer it to be available to the (mostly allied) AI too. If it's a non-starter I'll just find another way to implement a unit similar to my idea, without the mode change, so it's not a deal-breaker.

Post has been edited 1 time(s), last time on Jun 20 2020, 7:52 pm by IlyaSnopchenko.



Who am I, and why should I care?

Jun 21 2020, 5:12 pm Neiv Post #2



AI siege handling is hardcoded to just the normal tank unit ids, and I don't think anyone has ever looked at which place(s) of code that logic is located.



None.

Jun 21 2020, 6:35 pm IlyaSnopchenko Post #3

The Curious

Guess I'll just leave it there, then, because I can't imagine what kind of idle_orders might need to be written to handle this at least semi-harmoniously. :) Thanks.



Who am I, and why should I care?

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:59 am]
NudeRaider -- IlyaSnopchenko
IlyaSnopchenko shouted: NudeRaider is that why there's rather little activity here?
Maybe a little, but it was pretty barren before as well. At least now the site doesn't break down non-stop.
[10:56 pm]
RdeRenato -- x2
[10:41 pm]
lil-Inferno -- ya
[09:33 pm]
IlyaSnopchenko -- NudeRaider
NudeRaider shouted: yeah who needs minerals? Everone is on discord anyway
is that why there's rather little activity here?
[08:01 pm]
NudeRaider -- yeah who needs minerals? Everone is on discord anyway
[02:52 pm]
Vrael -- who needs minerals I got minerals I got minerals for the low low price of only 2 minerals per mineral who needs minerals
[02:49 pm]
Voyager7456 -- I'm down like 2000 minerals lmao
[02:42 pm]
Suicidal Insanity -- It feels like the boxes just barelz break even in the long term
[01:31 pm]
MTiger156 -- I got a 0 again. Back to being a #BrokeBoi
[2020-8-04. : 9:57 am]
UndeadStar -- I just opened my 1st box, 40 minerals :wob:
Please log in to shout.


Members Online: Roy, Arkanis, jun3hong