[ian-reeds-games] Re: defence of an ant hill

  • From: "Allan Thompson" <allan1.thompson@xxxxxxx>
  • To: <ian-reeds-games@xxxxxxxxxxxxx>
  • Date: Fri, 31 Mar 2017 21:40:56 -0400

Yes, that sounds about right. 

Actually, those new things you mentioned sounds pretty cool. Down with
humans, ants rule! Lol.

 

 

I will send a link along with what I did to fix the issue when I was playing
with it.

 

al  

 

From: ian-reeds-games-bounce@xxxxxxxxxxxxx
[mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Luke Andrews
Sent: Friday, March 31, 2017 6:32 PM
To: ian-reeds-games@xxxxxxxxxxxxx
Subject: [ian-reeds-games] Re: defence of an ant hill 

 

An example would be great, the program keeps chrashing when I play it even
though I added a team=2 flag to the attack aircraft. I'm going to check the
structures now. Is the resource problem you are talking about crashing the
program or is their another problem? 

I think what you mean is that I should add a no_self_cast flag to the skills
load resources and transfer resources, then I should change the points going
to the transfer vehicles so that they have a different point, then I should
make the transferring skills cost actions so that they can't be used too many
times in a single round. Is that right? 

 

I had plans to make the units customisable like having different upgrades on
them, I'm thinking of making a unit start out with a certain number of points
which can be used to get upgrades like missiles, grenades and melee upgrades
for the marines. Cruise missiles, power armour and stuff like that for the
attack aircraft. I was thinking that the giant ant faction would have a
experience point of some kind that would increase every time it made an
attack so that when it reached a certain number it would be possible to
upgrade them. Maybe using a structure for the ant upgrades would be a good
idea, I'll add in a skill to the humans that will remove the upgrades once
they have been set up so they won't get in the way. How does all of this
sound to you guys?

From: ian-reeds-games-bounce@xxxxxxxxxxxxx
[mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Allan Thompson
Sent: Friday, 31 March 2017 5:19 AM
To: ian-reeds-games@xxxxxxxxxxxxx
Subject: [ian-reeds-games] Re: defence of an ant hill 

 

Hi Luke,

Here is what I found so far.

The   attack aircraft needs a team=2 flag. That  will shut the program down
quick. I know from experience, lol.

 

There is another problem though. There is  resources that get transferred,
but the problem  is that these start to run this infinite loop thing. 

I think what is happening, is that the structures and units that have the
same resource points are transferring back and forth. So it becomes this
constant   back and forth. 

So I think what I would recommend is to  put a no_self_cast flag on the
skills that transfer the points, and then     I would use some kind of
limiting point, like actions or transfer that only allows a few transfers in
one round.

 

If the resources are always 250 resources,you don't  need to have the
receiving unit literally get the points. Instead, the unit can  receive the
resource, and just use the skill that drops off the resource use a different
point, like full load, or supply or useable goods. Something that  indicates
the unit has the goods and can  transfer it. 

 

This then  can use the skill with the ai_heal flag, and that can then turn
the  points back into resources to the receiver of the  resources. 

 

That sounds right in my head, but I am not sure I explained it right.  

 

If it is alright, I will try to make an example in the defense map and see if
that will help. I have  had the same things happen  t me in warlords so it
was all trial and error on my part till I finally got it in my thick head.

 

It does look interesting though.  I keep thinking of  that antman movie. He
had all these different ants do crazy stuff that would be perfect I think for
your map pack.

 

al

From: ian-reeds-games-bounce@xxxxxxxxxxxxx
[mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Luke Andrews
Sent: Thursday, March 30, 2017 1:15 PM
To: ian-reeds-games@xxxxxxxxxxxxx
Subject: [ian-reeds-games] defence of an ant hill 

 

I might as well give you guys the link of what I have so far, It seems to
work fine except that it crashes after the first turn. 

https://www.dropbox.com/s/c2vf1b4raozha35/defence%20of%20an%20ant%20hill.zip?
dl=0

 

Other related posts: