DefaultStartingUnits:

Discussion about the game and its default mods.
Post Reply
emperor1ee
Posts: 5
Joined: Thu Oct 17, 2013 7:58 pm

DefaultStartingUnits:

Post by emperor1ee »

DefaultStartingUnits: = False

This is suppose to turn the mcv at start of game off

this is not working for any of my games, The player keeps getting a cv at the start of the game . What am i doing wrong, can i assign each layers mcv to a specified locaiton instead

Code: Select all

Players:
	PlayerReference@USSR:
		Name: USSR
		Playable: True
		LockRace: True
		DefaultStartingUnits: false
		Race: soviet
		LockColor: True
		ColorRamp: 3,255,127
		LockTeam: True
		Allies: Ukraine
	PlayerReference@Greece:
		Name: Greece
		Playable: True
		DefaultStartingUnits: false
		LockRace: True
		Race: allies
		LockColor: True
		ColorRamp: 161,134,200
		LockTeam: True
		Allies: GoodGuy,England
		Enemies: Spain,USSR,Ukraine
	PlayerReference@Ukraine:
		Name: Ukraine
		NonCombatant: True
		Playable: True
		LockRace: True
		Race: soviet
		LockColor: True
		ColorRamp: 32,255,202
		LockTeam: True
		Allies: USSR
	PlayerReference@GoodGuy:
		Name: GoodGuy
		Race: allies
		ColorRamp: 161,134,236
		Allies: Greece
		Enemies: USSR,Ukraine
	PlayerReference@England:
		Name: England
		NonCombatant: True
		Playable: True
		LockRace: True
		Race: allies
		LockColor: True
		ColorRamp: 76,196,190
		LockTeam: True
		Allies: Greece,GoodGuy
	PlayerReference@Neutral:
		Name: Neutral
		OwnsWorld: True
		NonCombatant: True
		Race: allies
	PlayerReference@Creeps:
		Name: Creeps
		NonCombatant: True
		Race: allies

Scott_NZ
Posts: 94
Joined: Thu Sep 13, 2012 9:09 am

Post by Scott_NZ »

SpawnMPUnits on the World actor does the MCV spawning. There are examples of how this is disabled in the mission map yamls. Just prepend the trait name with a minus.
The DefaultStartingUnits field does not exist in recent versions of the game.

emperor1ee
Posts: 5
Joined: Thu Oct 17, 2013 7:58 pm

Post by emperor1ee »

The default starting units didnt work but, this done the trick

Code: Select all

Rules:
	World:
		-CrateDrop:
		-SpawnMPUnits:
		-MPStartLocations:
Have a few maps made up now, Writing script files for in the mean time is probably beyond me

http://content.open-ra.org/index.php?ac ... rofile=124

Post Reply