Turn off nukes for a particular map?

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

Turn off nukes for a particular map?

Post by zinc »

Can you turn off things like nukes, make them impossible to build, for particular maps?

User avatar
BaronOfStuff
Posts: 438
Joined: Sun May 22, 2011 7:25 pm

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

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

Post by abcdefg30 »

Code: Select all

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

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

Post by zinc »

Thanks.

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

Tried it but no luck so far.

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

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

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

Post by zinc »

abcdefg30 wrote: In map.yaml should already be a rules part.
You can see where it's located here:
OK thanks.

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

Post by zinc »

What would turn off the building of both iron curtain and chrono?

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

Post by abcdefg30 »

IRON is for Iron Curtain, PDOX for Chronosphere.
(Just do the same as above, but replace MSLO with one of those names.)

Post Reply