Search found 11 matches

by xy
Tue Mar 28, 2017 10:59 am
Forum: Mapping and Modding
Topic: [RA] Start without MCV? (only prebuilt barracks)
Replies: 13
Views: 9599

abcdefg30 wrote: You should give them own objectives and mark them as failed (look at the missions on how to do that, or ask [me] again for a more detailed explanation).
Thanks! I made it work with MarkFailedObjective for the failing team and MarkCompletedObjective for the winnig team.
by xy
Tue Mar 28, 2017 10:56 am
Forum: Mapping and Modding
Topic: Can someone teach me how to mod?
Replies: 3
Views: 3513

There's a guide on github on adding a new faction:
https://github.com/OpenRA/OpenRA/wiki/A ... ew-Faction

Good luck!
by xy
Sun Mar 26, 2017 5:40 pm
Forum: Mapping and Modding
Topic: [RA] Start without MCV? (only prebuilt barracks)
Replies: 13
Views: 9599

Sorry for spamming but need help again :) How do I kill/destroy all players in a team? I tried this: function kill_team(team_id) -- Get all players in the team. for key, player in pairs(players) do if not player.IsNonCombatant and player.Team == team_id then -- Kill all actors owned ...
by xy
Sun Mar 26, 2017 4:56 pm
Forum: Mapping and Modding
Topic: [RA] Start without MCV? (only prebuilt barracks)
Replies: 13
Views: 9599

Okay I figured it out:

Code: Select all

players = Player.GetPlayers(nil)
for key, player in pairs(players) do
	if not player.IsNonCombatant then
		Media.DisplayMessage("Found a player! " .. player.Name)
	end
end
by xy
Sun Mar 26, 2017 11:58 am
Forum: Mapping and Modding
Topic: [RA] Start without MCV? (only prebuilt barracks)
Replies: 13
Views: 9599

I need some help with Lua scripting I want to know which team ID's are in the game, like Team 1 and Team 2 - or team 4 and team 3. I have tried with this: players = Player.GetPlayers(nil) for key, player in pairs(players) do Media.DisplayMessage("Found a player! " .. player.Name&...
by xy
Sat Mar 25, 2017 6:33 pm
Forum: Mapping and Modding
Topic: [RA] Start without MCV? (only prebuilt barracks)
Replies: 13
Views: 9599

Blackened: Thanks!
This worked:

Code: Select all

Player:
	PlayerResources:
		SelectableCash: 500
		DefaultCash: 500
by xy
Sat Mar 25, 2017 4:21 pm
Forum: Mapping and Modding
Topic: [RA] Start without MCV? (only prebuilt barracks)
Replies: 13
Views: 9599

Now: Is it possible to set the start cash to $500 ? I searched the game's yaml files but couldn't find it anywhere.
by xy
Sat Mar 25, 2017 3:56 pm
Forum: Mapping and Modding
Topic: [RA] Start without MCV? (only prebuilt barracks)
Replies: 13
Views: 9599

@KOYK_GR


EDIT: Nevermind! it works :) I fucked up the indentation..
Thanks!!!
by xy
Sat Mar 25, 2017 10:46 am
Forum: Mapping and Modding
Topic: [RA] Start without MCV? (only prebuilt barracks)
Replies: 13
Views: 9599

[RA] Start without MCV? (only prebuilt barracks)

Hey I'm working on a map with only infantry, and since it's a small map I don't want a clumsy MCV since there's no need for it anyway. Is it possible to make a map with no MCV? and only access to the prebuilt barracks. And then give some power so the players don't have low power, but without the pow...
by xy
Wed Mar 02, 2016 6:30 pm
Forum: Competitions and Events
Topic: Partner finding thread for Tag Team Tournament
Replies: 38
Views: 34447

Han: sent you a message
by xy
Wed Mar 02, 2016 4:08 pm
Forum: Competitions and Events
Topic: Partner finding thread for Tag Team Tournament
Replies: 38
Views: 34447

Is it too late?
I want to team up with someone.. Han? nonfingo? or anybody else :)