Search found 37 matches

by bodomalo
Thu Feb 22, 2018 8:13 pm
Forum: Mapping and Modding
Topic: adding experience temporarly - on a crate? How?
Replies: 2
Views: 2081

adding experience temporarly - on a crate? How?

Hi Any idea how I could add Experience (rank) to units temporarly? There is no "duration" setting on LevelUpCrateAction My idea was to try this on a workaround via GrantExternalConditionCrateAction@levelup: as this can have a "Duration" But I do not know how to add an ExternalCondition that gives Ex...
by bodomalo
Thu Feb 22, 2018 8:03 pm
Forum: Mapping and Modding
Topic: making Technical Center Buildable
Replies: 4
Views: 2973

Hm, actually you should be fine by just redefining "Prerequisites:" on "Buildable:"... Not sure why that doesn't work for you. Anyway, you shouldn't need to copy the definition around, you just need to edit it in "tech.yaml". For the crash after renaming: You need to redefine "Image:" on "RenderSpr...
by bodomalo
Thu Feb 22, 2018 11:28 am
Forum: Mapping and Modding
Topic: making Technical Center Buildable
Replies: 4
Views: 2973

making Technical Center Buildable

Hi I am a beginner.. I tried to make the Technical Center (MISS) buildable. If I just put it into rules/structures.yaml, naming it MISS - it does not appear in the buildings options If I copy the same MISS and name it XTEC(for example), I am able to build this new building, but as soon as I want to ...
by bodomalo
Wed Feb 21, 2018 5:04 pm
Forum: Mapping and Modding
Topic: GiveunitcrateAction?
Replies: 6
Views: 4285

MustaphaTR wrote: There is a Visceroid crate in TD mod, which has `Owner: Creeps`. `@Harv` should indeed solve your issue, as it would make it create a new instance of trait, rather than overriding Visceroid crate.
Thanks
Now I understood what to do...
by bodomalo
Wed Feb 21, 2018 4:12 pm
Forum: Mapping and Modding
Topic: GiveunitcrateAction?
Replies: 6
Views: 4285

More confusion


This WORKS

GiveMcvCrateAction:
SelectionShares: 100
Units: stnk
(gives me a stealth tank)

This does NOT work:

GiveUnitCrateAction:
Units: stnk
SelectionShares: 80
(stealth tank appears, belongs to nobody)

mod is cnc
by bodomalo
Wed Feb 21, 2018 3:50 pm
Forum: Mapping and Modding
Topic: GiveunitcrateAction?
Replies: 6
Views: 4285

Hm, really weird. I just added GiveUnitCrateAction@harv: SelectionShares: 699 Units: harv and it worked on my end. :-( Whenever I did it all the units I find are "white" and are enemies. Do I have to add the @harv ? ValidFractions did not help or change anything (I tried GDI,NOD as it is cnc) I tes...
by bodomalo
Tue Feb 20, 2018 7:52 pm
Forum: Mapping and Modding
Topic: GiveunitcrateAction?
Replies: 6
Views: 4285

GiveunitcrateAction?

Hi

I tried to change the crate actions in misc.yaml

GiveUnitCrateAction:
Units: harv
SelectionShares: 8

Whatever unit I choose, it is not given to the player who found the crate, it is just a white unit that does not belong to anyone.

What am I doing wrong?