Page 2 of 2

Posted: Sat May 16, 2015 2:06 pm
by zinc
noobmapmaker wrote:
Also is there a general guide on WHERE you can find the code of a map, and with WHAT program you can alter it and how to save and test it? #noob #daretoask
You treat it as a zip file.

So you unpack the "oramap" file. There are two files in there. You edit the "map.yaml" file. Then you turn the two files back into a zip file but rename it to an "oramap".

Posted: Sat May 16, 2015 4:12 pm
by abcdefg30
zinc wrote: I still can't turn off the building of iron and chrono etc. yet.

Got a "this map is not compatible with this version of OpenRA" message.

Is there any change to what you need to do?
Could you post your map.yaml?

Posted: Sat May 16, 2015 9:03 pm
by noobmapmaker
zinc wrote:
noobmapmaker wrote:
Also is there a general guide on WHERE you can find the code of a map, and with WHAT program you can alter it and how to save and test it? #noob #daretoask
You treat it as a zip file.

So you unpack the "oramap" file. There are two files in there. You edit the "map.yaml" file. Then you turn the two files back into a zip file but rename it to an "oramap".
Thanks!! So simple.. yet if you don't know...

Posted: Sun May 17, 2015 9:05 am
by zinc
abcdefg30 wrote:
zinc wrote: I still can't turn off the building of iron and chrono etc. yet.

Got a "this map is not compatible with this version of OpenRA" message.

Is there any change to what you need to do?
Could you post your map.yaml?

My mistake. I seem to have got it working now.

Is it possible to lock in a particular team? So team 1, or team 2 etc. is automatically selected?

Posted: Sun May 17, 2015 6:03 pm
by abcdefg30
zinc wrote: Is it possible to lock in a particular team? So team 1, or team 2 etc. is automatically selected?
You should be able to do that with "LockTeam: True" and "Team: <teamnumber>".
Example:

Code: Select all

	PlayerReference@Multi0:
		Name: Multi0
		Playable: True
		Race: Random
		Enemies: Creeps
		LockSpawn: True
		Spawn: 1
		LockTeam: True
		Team: 1

Posted: Mon May 18, 2015 8:59 am
by zinc
abcdefg30 wrote:
You should be able to do that with "LockTeam: True" and "Team: <teamnumber>".
Yes that works. Thanks again.

Posted: Mon May 25, 2015 3:21 pm
by noobmapmaker
For all other NoobMapMakers, like I am, also read here: https://github.com/OpenRA/OpenRA/wiki/Mapping

Posted: Tue May 26, 2015 1:45 pm
by zinc
Is there a way to change the charge time on an iron curtain? So like set it to 45 seconds maybe?

Posted: Tue May 26, 2015 4:15 pm
by abcdefg30
Add this in the rules section:

Code: Select all

IRON:
	GrantUpgradePower@IRONCURTAIN:
		ChargeTime: 45

Posted: Tue May 26, 2015 6:36 pm
by noobmapmaker
Im trying to learn how to script by reading the yaml file of other scripted games, but its quite difficult. Also the Github post on map scripting is very usefull, but a more generic, explanatory guide would be very helpfull.

Im still trying to understand what MUST be in the yaml and what not. What does the Type: Conquest do? What Rules can be defined? How do I add a creep-opponent (who attacks all) or a neutral opponent?

How are units generally defined? And buildings? What are some (simple) ways to alter the stats of a building or unit? How do I alter the map objective?

How do I force options on the map? (e.g. force FFA, or force teams)

Or is there perhaps already some sort of guide explaining such concepts?

Posted: Wed May 27, 2015 8:28 am
by zinc
abcdefg30 wrote: Add this in the rules section:

Code: Select all

IRON:
	GrantUpgradePower@IRONCURTAIN:
		ChargeTime: 45
Thanks.

Posted: Thu May 28, 2015 9:57 am
by zinc
noobmapmaker wrote: I How do I add a creep-opponent (who attacks all)
You know you can do that to some degree just with the map editor?
How do I force options on the map? (e.g. force FFA, or force teams)
That was explained just above. It you wanted to force FFA you could force everyone to a different team, or maybe there is a command for "no team".