Login

russian armor

Help With SCAR code for Meatgrinder Style Map

12 May 2016, 12:24 PM
#1
avatar of Pliacy

Posts: 5

(Re-post from Mapping section)

Greetings all!

It's my second time posting here so apologies if this is in the wrong section.

I have been working on a map in worldbuilder with the objective of creating an 'ultimate' holdout/meatgrinder map against the AI (Please don't judge me :3). Issue is the AI just doesn't spawn enough stuff, it just seems to run out of steam about half way through a game and is virtually no threat after the opening 2-3mins. Even when running 4v2 on MeStation's Nightmare AI mod.

Giving the AI more resources and production buildings doesn't seem the help much either, so my conclusion is I need to "give" the AI units in order to raise it's threat level.

I presume the best way to do this is with SCAR code but I don't seem to be able find any existing guides on spawning in units or even a basic list of functions that can be added to a SCAR file (or in the Worldbuilder itself for that matter).

My ideal outcome would be this:

Spawning in a range of units from infantry to heavy tanks, each unit type at it's own unique, recurring time interval and assigning those units to one of the enemy AIs. In addition I would like to delay the spawning of Heavy Tanks for a certain amount of time, say for a few minutes.

For instance

A infantry squad every 30 seconds.
A light vehicle every 60 seconds.
A medium tank every 90 seconds.
A heavy tank every 180 seconds. But only after 5 minutes have passed.

For every enemy AI player.

Can anyone shed some light on how I might do this?

Thanks in advance.
12 May 2016, 22:52 PM
#2
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Here is a list of functions:

http://fortresseuropemod.com/scardoc/frameset.htm

Other than those functions, SCAR is just an extension of Lua, so any Lua tutorial should help.
16 May 2016, 09:14 AM
#3
avatar of Pliacy

Posts: 5

jump backJump back to quoted post12 May 2016, 22:52 PMeliw00d
Here is a list of functions:

http://fortresseuropemod.com/scardoc/frameset.htm

Other than those functions, SCAR is just an extension of Lua, so any Lua tutorial should help.


Cheers! I will have a closer look at this sometime this week.
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

1110 users are online: 1110 guests
1 post in the last 24h
11 posts in the last week
27 posts in the last month
Registered members: 50002
Welcome our newest member, rwintoday1
Most online: 2043 users on 29 Oct 2023, 01:04 AM