possible traits of sequences yaml files

is there a list of possible Traits of sequences yaml files?

Information and discussion for custom maps and mods.
Post Reply
User avatar
Zeruel87
Posts: 56
Joined: Mon Oct 15, 2018 8:18 pm
Location: Austria
Contact:

possible traits of sequences yaml files

Post by Zeruel87 »

there is the wiki site dedicated to traits in regard of pretty much anything:
https://github.com/OpenRA/OpenRA/wiki/Traits

is there also a wiki site that displays all possible traits found in sequence.yaml files such as "Start:" "Length:" "Offset:" "Facings:" and so on?


the problem i encounter is, when i make units, and in the rules.yaml file i define "Rendersprites: Scale: 0.5" to make them smaler, but the Death animation is still normally big and not affected by the 0.5 scale down.
Is there a Way to tackle that?
Maybe scale down the Death animation in the sequence.yaml, because thats the idea i got.

i know a workaround would be to seperate the death animation and scale them down before hand... but that sucks.
Check out my CnC mod at:
https://www.moddb.com/mods/cameo

User avatar
Graion Dilach
Posts: 277
Joined: Fri May 15, 2015 5:57 pm

Re: possible traits of sequences yaml files

Post by Graion Dilach »

RenderSprites->Scale is a fucking hack which should have been removed ages ago to prevent lazy people relying on it. Providing properly resized 2D artwork is not a workaround but an actual thing people should do in the first place.

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

Re: possible traits of sequences yaml files

Post by abcdefg30 »

Yes, afaik you can't scale the death animation down without editing the artwork like you and graion mentioned.

User avatar
Materianer
Posts: 199
Joined: Mon Jul 04, 2016 8:27 am

Re: possible traits of sequences yaml files

Post by Materianer »

Thats the reason why the dinos leave a husk dino.dead in my map.

https://resource.openra.net/maps/31622/

User avatar
Graion Dilach
Posts: 277
Joined: Fri May 15, 2015 5:57 pm

Re: possible traits of sequences yaml files

Post by Graion Dilach »

Image

User avatar
Zeruel87
Posts: 56
Joined: Mon Oct 15, 2018 8:18 pm
Location: Austria
Contact:

Re: possible traits of sequences yaml files

Post by Zeruel87 »

okay, scaling down the sprites itself it is then, thanks :)
Check out my CnC mod at:
https://www.moddb.com/mods/cameo

Matt
Posts: 1144
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Re: possible traits of sequences yaml files

Post by Matt »


Post Reply