Search found 475 matches

by abcdefg30
Sun Jun 27, 2021 9:08 pm
Forum: Mapping and Modding
Topic: Cannot add turret to cnc
Replies: 4
Views: 350

Re: Cannot add turret to cnc

Something seems to be wrong with your indentation if it complains about junk values. Did you use the correct amount of tabs? (Don't use spaces)
by abcdefg30
Wed Jun 23, 2021 7:00 pm
Forum: Mapping and Modding
Topic: Cannot add turret to cnc
Replies: 4
Views: 350

Re: Cannot add turret to cnc

What was the exception you got when you used "gunmake"? (I'd assume it was looking for "gunb.shp"?)
If you don't want to change the graphics I would delete the gunb sequences again and add the following to the gunb rules:

Code: Select all

RenderSprites:
	Image: GUN # if that doesn't work try lower case "gun"
by abcdefg30
Thu Jun 10, 2021 8:59 pm
Forum: Mapping and Modding
Topic: Create a one time airstrike?
Replies: 1
Views: 256

Re: Create a one time airstrike?

You can define "OneShot: true" on the AirstrikePower, then it will only be usable once. (See the parabomb crates in RA as an example: https://github.com/OpenRA/OpenRA/blob/f ... .yaml#L350 )
by abcdefg30
Mon Jun 07, 2021 5:56 pm
Forum: Mapping and Modding
Topic: Use lua script to change prerequisites trait?
Replies: 3
Views: 286

Re: Use lua script to change prerequisites trait?

In your rules.yaml: SYRD: Buildable: Prerequisites: ~easy, anypower EASY: AlwaysVisible: Interactable: ProvidesPrerequisite: In Lua: -- assuming you have a variable "difficulty" if difficulty == "easy" then -- creates the actor for player with variable name "player1", which grants the prerequisite A...
by abcdefg30
Mon Jun 07, 2021 11:28 am
Forum: Mapping and Modding
Topic: Use lua script to change prerequisites trait?
Replies: 3
Views: 286

Re: Use lua script to change prerequisites trait?

You can use Lua to grant a preqrequisite, so you could change it to something like

Code: Select all

SYRD:
	Buildable:
		Prerequisites: ~easy, anypower
and grant the "easy" prerequisite from Lua.
by abcdefg30
Sun Jun 06, 2021 12:37 pm
Forum: Mapping and Modding
Topic: Tanya's Cloaked Tale
Replies: 2
Views: 242

Re: Tanya's Cloaked Tale

Nice, I'll give it a try later.

Btw, it looks to me like you can delete the "PauseOnCondition: cloak-force-disabled" line to fix the lint check.
by abcdefg30
Wed Jun 02, 2021 7:25 am
Forum: General Discussion
Topic: Game crashed: Multiplayer server creation
Replies: 1
Views: 283

Re: Game crashed: Multiplayer server creation

The "port" you have specified seems to be invalid. Did you try using the default value?
by abcdefg30
Mon May 31, 2021 10:09 am
Forum: Mapping and Modding
Topic: Having trouble with cloak
Replies: 1
Views: 179

Re: Having trouble with cloak

As it says the palette is missing. :P If you're using the palettes.yaml from RA try adding "IsPlayerPalette: true" to the "Cloak" trait.
by abcdefg30
Fri May 28, 2021 11:57 am
Forum: Mapping and Modding
Topic: ammo crate
Replies: 2
Views: 209

Re: ammo crate

I'd try granting a temporary condition which enables a ReloadAmmoPool trait on the actor to self-reload.
by abcdefg30
Thu May 27, 2021 3:27 pm
Forum: Mapping and Modding
Topic: mod Supply Truck to transport infantry?
Replies: 6
Views: 422

Re: mod Supply Truck to transport infantry?

Hm, the only other thing that could be is if you use spaces for indentation. (You have to use tabs.) So double check that. Otherwise I'm out of ideas. :(
by abcdefg30
Wed May 26, 2021 10:56 am
Forum: Mapping and Modding
Topic: mod Supply Truck to transport infantry?
Replies: 6
Views: 422

Re: mod Supply Truck to transport infantry?

Does your infantry have the Passenger trait with the correct CargoType?

Code: Select all

Passenger:
	CargoType: Infantry
by abcdefg30
Tue May 25, 2021 11:30 pm
Forum: General Discussion
Topic: How to configure more than one player in Skirmish mode
Replies: 3
Views: 356

Re: How to configure more than one player in Skirmish mode

In Skirmish you can only play against bots. You can host a local server though and connect with a second client to it. Go to "Multiplayer" and then to "Create" with the first client. Once you created the LAN game you can open the second client and join via the server list.
by abcdefg30
Tue May 25, 2021 11:28 pm
Forum: Mapping and Modding
Topic: mod Supply Truck to transport infantry?
Replies: 6
Views: 422

Re: mod Supply Truck to transport infantry?

I'd just remove the lines

Code: Select all

DeliversCash:
Payload: 0
PlayerExperience: 0
What does the crash log say?
by abcdefg30
Fri May 14, 2021 9:47 am
Forum: Mapping and Modding
Topic: ionsfx.shp - please help
Replies: 3
Views: 444

Re: ionsfx.shp - please help

I'd try using a CreateEffectWarhead that triggers the sequence you defined and add a "Delay" to the warhead doing the damage and the warhead doing the explosions. The nuke explosion is an example for a weapon which has delayed effects and damage warheads: https://github.com/OpenRA/OpenRA/blob/fe1299...