(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.
			Help With SCAR code for Meatgrinder Style Map
									12 May 2016, 12:24 PM
				
	#1					
								
					
				
		
Posts: 5
									12 May 2016, 22:52 PM
				
	#2					
								
					
				
		
 
    		            							
			    		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.
			
		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					
								
					
				
		
Posts: 5
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.
PAGES (1)
		
	1 user is browsing this thread: 
	1 guest	
	
		
	
Livestreams
|   |   |   | 77 | ||
|   |   |   | 44 | ||
|   |   |   | 16 | ||
|   |   |   | 11 | ||
|   |   |   | 5 | ||
|   |   |   | 3 | ||
|   |   |   | 3 | 
Ladders Top 10
- 
							#Steam AliasWL%Streak
- 1.46367.874+5
- 2.794136.854-1
- 3.14465.689-1
- 4.21154.796+4
- 5.400212.654+2
- 6.296127.700+2
- 7.353186.655+2
- 8.501325.607+4
- 9.327117.736+4
- 10.857232.787+4
Replay highlight
VS
					- 
									 cblanco ★ cblanco ★
- 
									 보드카 중대 보드카 중대
- 
									 VonManteuffel VonManteuffel
- 
									 Heartless Jäger Heartless Jäger
 
											
						Einhoven Country
						
							
								
									 
								
								 
								
								
				 
								
								Honor it
								15
							
						
						
												
							
								
									 
								
								Download
								2705
							
						
												
					Board Info
						908 users are online:
									908 guests
					
		
			1 post in the last 24h
1 post in the last week
23 posts in the last month
		
		1 post in the last week
23 posts in the last month
			
			
				Registered members: 61828
Welcome our newest member, Cecone32
Most online: 4501 users on 26 Oct 2025, 01:00 AM
	Welcome our newest member, Cecone32
Most online: 4501 users on 26 Oct 2025, 01:00 AM
 
	 
			 
			 
  
  
  
										 
									
 
 
 
						 
						 
						 
						 
						 
						 Relic Entertainment
						 Relic Entertainment