Page 1 of 1

Turn off nukes for a particular map?

Posted: Fri Apr 17, 2015 8:02 am
by zinc
Can you turn off things like nukes, make them impossible to build, for particular maps?

Posted: Fri Apr 17, 2015 11:47 am
by BaronOfStuff
Yep, you can insert mini-mod YAML flies into the .oramap zip. For the life of me I can't remember the specifics (I haven't done so since I added neutral TD units to a map some three or so years ago), but it's pretty simple stuff to get to grips with.

Posted: Sat Apr 18, 2015 11:25 am
by abcdefg30

Code: Select all

Rules:
	MSLO:
		Buildable:
			Prerequisites: ~disabled
in map.yaml should deny building nuke silos,
at least in the ra mod.

Posted: Mon Apr 20, 2015 1:37 pm
by zinc
Thanks.

Is there a particular place in the file where you enter the code?

Tried it but no luck so far.

Posted: Mon Apr 20, 2015 2:30 pm
by abcdefg30
In map.yaml should already be a rules part.
You can see where it's located here:
(Note: I deleted the unimportant parts and only kept the main entries as overview)

Code: Select all

MapFormat: 7

RequiresMod:

Title:

Description:

Author:

Tileset:

MapSize:

Bounds:

Visibility:

Type:

Videos:

Options:

Players:

Actors:

Smudges:

Rules:
	MSLO:
		Buildable: 
			Prerequisites: ~disabled 

Sequences:

VoxelSequences:

Weapons:

Voices:

Notifications:

Translations:

Posted: Tue Apr 21, 2015 1:16 pm
by zinc
abcdefg30 wrote: In map.yaml should already be a rules part.
You can see where it's located here:
OK thanks.

Posted: Tue Apr 21, 2015 1:17 pm
by zinc
What would turn off the building of both iron curtain and chrono?

Posted: Tue Apr 21, 2015 3:03 pm
by abcdefg30
IRON is for Iron Curtain, PDOX for Chronosphere.
(Just do the same as above, but replace MSLO with one of those names.)