RSS Feed
Go to the official OpenRA Website
Protector
Advanced
This map is advanced:
  • defines Rules
  • includes SHP files
Click to see custom Rules.
Lua map
This map includes Lua scripting logic.

Display Defend.lua or download file.

Checkout documentation

e9f0a654d74b8400fd046cbc1fe31470953c3a5d
Description:

Defenders Minigame

New Defenders map
Many things changed

Previous revision Revision Next revision
Nothing found

1

minimap
Comments for revision 3:
Materia commented on Dec. 2, 2017, 12:08 a.m.

Hey k1,
Would be nice to have such unit cap option yes.
There is a map that has buildlimits but thats made with yaml
https://resource.openra.net/maps/13968/
The limit rules
^Soldier:
Buildable:
BuildLimit: 25
E7:
Buildable:
BuildLimit: 1
^Plane:
Buildable:
BuildLimit: 15
^Helicopter:
Buildable:
BuildLimit: 15
^Tank:
Buildable:
BuildLimit: 20
^Vehicle:
Buildable:
BuildLimit: 20
^Defense:
Buildable:
BuildLimit: 10
But with yaml you cant have diffrent rules
With lua you can set diffrent difficultys wich you could use for varius unitlimits.
But 1st you need a good working code that count units and prevents the player from producing more units if the limit is reached.
With
GetGroundAttackers()
You should be able to count the players units.
The much harder part here is to stop producings then
But discussing this in the comments here might be the wrong way hehe
I made a thread for such things here
http://www.sleipnirstuff.com/forum/viewtopic.php?f=83&t=20361
Feel free to post there ideas and question stuff hehe
cu

zypres commented on Dec. 2, 2017, 12:53 a.m.

amazing!!!

Comments for revision 2:
mapmakerk1 commented on Nov. 30, 2017, 3:26 p.m.

hey materia, I have a request... do you think you can design a unit cap lua script that can be implemented inside maps with the following features:

- Have option in game lobby that shows
"Max Unit Count (per player): 300" (can have ranges from 100 - 2000)

You can feature a counter that displays the unit count for each player in game above the sidebar or below it, and they can know how much space they have left to build units with. Only units, not buildings.

By units, I mean any kind of units, infantry, tanks, air, sea, (all units combined, no distinction (also: once mcv is deployed, it's no longer counted as a unit)) (that way, the player also has to prioritize and strategize on what and how much to build in order to win his game)

Example:

Let's say I have a 5v5 map, and I want it to be a smooth game, so I'd set the unit count to let's say 200 per player, meaning, 10 players * 200 units = there will only be 2000 units on the map at any one point during the entire game and won't go above that count. Making sure it's a smooth game that way.

That way we can all enjoy a smooth game that runs normal and fun! :)

So with our example, each player will have 200 units to build of any kind, 20 mammoths, 50 flamethrowers, 30 helis, 50 riflemen, 30 artys, etc. you get the idea

Mod:
RA
File Size:
10.5 MB
Categories:
Minigame
Uploader:
Players:
4
Tileset:
INTERIOR
Size:
55x55
MapFormat:
11
Published:
Nov. 30 - 2017
Downloading:

Parsed by: release-20171014
Lint check status:
release-20171014
release-20170421
release-20161019
release-20160508

Rating:
0.0
Viewed:
52
Downloaded:
51
Played:
3