You must be logged in to post messages.
Please login or register

AI & RM Scripting
Moderated by Leif Ericson

Hop to:    
Welcome! You are not logged in. Please Login or Register.4 replies
Age of Kings Heaven » Forums » AI & RM Scripting » Creating triangles and other shapes in RM scripts?
Bottom
Topic Subject:Creating triangles and other shapes in RM scripts?
local boi
Squire
(id: dragon14)
posted 05-18-18 00:24 AM CT (US)         
Has anyone been able to create these? I'm trying to make a star

USA
katsup or mustard
AuthorReplies:
Chrazini
Squire
posted 05-18-18 02:36 AM CT (US)     1 / 4       
You can use direct_placement to create something like this fairly easily:

Triangle:

# #



#
Star:

# #
#
# #
#
#

Okay the star clearly doesn't work. What you're probably looking for is ZipRmsFiles.

Quoting the ZipRmsFiles.txt in the UP:
;--------------------------------------
; Custom Real World Map Notes
;--------------------------------------
To create a real world map zip-rms, please note the following:
- the rms file should not have unless direct_placement is used
- the direct_placement system is provided by default for all custom real world maps
- if direct_placement is used, please see below for details
- the scx file should have 1 town-center per player to set starting positions
- you can only generate the rms part of ZR@ maps in the scenario editor
- for King of the Hill, you can place a gaia monument on the scx map
- trees and other gaia objects like gold can be placed on the scx map
- other than town-centers, no player objects should be placed on the scx map
- players are placed randomly if the Team Together option is unchecked
- players are placed sequentially (first is random) with Team Together checked
- you must use Team Together if less than 8 starting positions are defined

To have proper team placement for 1v1, 2v2, 3v3, or 4v4 games:
- enable Team Together to place players sequentially (first location is random)
- alternate team numbers on the setup screen: 1, 2, 1, 2, 1, 2, 1, 2
- to support all team setups, place players in the scx like this:
    3
5 7
1 2
8 6
4
Zetnus
Squire
posted 05-18-18 06:12 AM CT (US)     2 / 4       
Clarification: are you trying to place players in that shape, or lands in that shape or terrains or oceans?

........//\
......./ / / \ Check out my Blacksmith submissions as well as my stuff in the Steam Workshop.
....../ / /\\ \
...../ /_/_\\ \ Proud guardian of the Updated New RMS Guide <<<version 2.0 is out<<< and the Random Map Scripting Links and FAQ thread.
..../_____\\\ \
....\\\\\\\\\\\\\/ (unknowingly) the submitter of the 12000th item to the Blacksmith.
local boi
Squire
(id: dragon14)
posted 05-18-18 05:57 PM CT (US)     3 / 4       
Trying to make lands in that shape.

USA
katsup or mustard
Zetnus
Squire
posted 05-21-18 04:08 PM CT (US)     4 / 4       
A (roughly) star shaped land should be easy. Just assign all players to the same zone and restrict the land % for player lands. Then each player will a protrusion from the center, sort of like the points of a star.

........//\
......./ / / \ Check out my Blacksmith submissions as well as my stuff in the Steam Workshop.
....../ / /\\ \
...../ /_/_\\ \ Proud guardian of the Updated New RMS Guide <<<version 2.0 is out<<< and the Random Map Scripting Links and FAQ thread.
..../_____\\\ \
....\\\\\\\\\\\\\/ (unknowingly) the submitter of the 12000th item to the Blacksmith.

[This message has been edited by Zetnus (edited 05-21-2018 @ 04:09 PM).]

You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames