Home   Help Search Login Register  

Author Topic: Computer earns credits for spawning troops  (Read 996 times)

0 Members and 2 Guests are viewing this topic.

Offline DrStrangelove

  • Members
  • *
  • Mr.Creative
Computer earns credits for spawning troops
« on: 30 Jun 2003, 19:27:01 »
Yes, in fact - a computer that collects the ratings of his living troops to spawn new ones. Or setup an artillery post. Or how about a chopper & landing field ?

I'm working on a script that manages semi intelligent base scripts. A base collects the ratings of its groups and will spawn reinforcements. If players suck and loose a chopper with 12 soldiers on board, the enemy AI will get a very high rating, thus a strong force will be spawned in the near future.

I already managed to integrate a flag system that gives addional credits to all computer bases with a pool system: all bases get money from all flags combined. Therefore a base will also seek out neutral or enemy flags to be conquered. I also had the idea of bases assisting a partner base nearby with credits (these credits will be 'transported' with urals or uaz - if players destroy these vehicles, the credits will be lost for the computer).

I'm far from finished by now, but that's the basic idea.

Homefry31464

  • Guest
Re:Computer earns credits for spawning troops
« Reply #1 on: 02 Jul 2003, 21:15:59 »
Sounds really cool.  What type of missions will you use it with?

Offline DrStrangelove

  • Members
  • *
  • Mr.Creative
Re:Computer earns credits for spawning troops
« Reply #2 on: 03 Jul 2003, 17:57:16 »
I plan to use it in a sort of "Capture the Island" scenario, first for SP, a later version for MP COOP (players against computer). There are flags in important places on the island that can be conquered which produce points for the owner side. Along with the personal ratings of the players equipment & vehicles can be bought near a flag.

Computer does the same of course. The side that owns all flags or has the highest rating after a certain time wins.

Offline DrStrangelove

  • Members
  • *
  • Mr.Creative
Re:Computer earns credits for spawning troops
« Reply #3 on: 13 Jul 2003, 15:05:45 »
Here is my prototype:
LINK: AI_ruins_battle.Intro.zip 7 KB

There are 2 AI SpawnSystems fighting each other. Each side gains resource-points by collecting the scores of their troops. These resources are used to spawn more troops to join the fight for victory.

The match is over when a side has no active groups left and resources < 600 (not enough to spawn more). The player can assist his side by shooting enemies (no shit) and therefore gain points.
The start conditions will most likely lead to an enemy victory so it's up to you to turn the tide.
Terrain features a randomly spawned ruin village in the desert (a little lag at mission start).
Daylight will last for 1 hour, night for 10 minutes.

Hints:
- vehicles will blow up when shot, remember that
- use AmmoCrates to get more mags (no shit!)

This is a SP map, no respawn (yet), sorry.

If anyone knows how to optimize the scripts involved, i'd appreciate a little discussion about it. Have fun !  :)