Actors: multi0, multi1, multi2 etc.

Discussion about the game and its default mods.
zinc
Posts: 657
Joined: Sun Feb 09, 2014 3:46 pm

Post 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".

abcdefg30
Posts: 664
Joined: Mon Aug 18, 2014 6:00 pm

Post 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?

noobmapmaker
Posts: 1086
Joined: Wed Dec 10, 2014 11:59 am

Post 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...

zinc
Posts: 657
Joined: Sun Feb 09, 2014 3:46 pm

Post 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?

abcdefg30
Posts: 664
Joined: Mon Aug 18, 2014 6:00 pm

Post 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&#58;
		Name&#58; Multi0
		Playable&#58; True
		Race&#58; Random
		Enemies&#58; Creeps
		LockSpawn&#58; True
		Spawn&#58; 1
		LockTeam&#58; True
		Team&#58; 1

zinc
Posts: 657
Joined: Sun Feb 09, 2014 3:46 pm

Post by zinc »

abcdefg30 wrote:
You should be able to do that with "LockTeam: True" and "Team: <teamnumber>".
Yes that works. Thanks again.

noobmapmaker
Posts: 1086
Joined: Wed Dec 10, 2014 11:59 am

Post by noobmapmaker »

For all other NoobMapMakers, like I am, also read here: https://github.com/OpenRA/OpenRA/wiki/Mapping

zinc
Posts: 657
Joined: Sun Feb 09, 2014 3:46 pm

Post by zinc »

Is there a way to change the charge time on an iron curtain? So like set it to 45 seconds maybe?

abcdefg30
Posts: 664
Joined: Mon Aug 18, 2014 6:00 pm

Post by abcdefg30 »

Add this in the rules section:

Code: Select all

IRON&#58;
	GrantUpgradePower@IRONCURTAIN&#58;
		ChargeTime&#58; 45

noobmapmaker
Posts: 1086
Joined: Wed Dec 10, 2014 11:59 am

Post 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?

zinc
Posts: 657
Joined: Sun Feb 09, 2014 3:46 pm

Post by zinc »

abcdefg30 wrote: Add this in the rules section:

Code: Select all

IRON&#58;
	GrantUpgradePower@IRONCURTAIN&#58;
		ChargeTime&#58; 45
Thanks.

zinc
Posts: 657
Joined: Sun Feb 09, 2014 3:46 pm

Post 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".

Post Reply