How to make a certain ability for a certain unit and for only that civilization?

gelodgreat

Prince
Joined
Oct 23, 2015
Messages
465
Location
Manila, Philippines
How to make a certain ability for a certain unit and for only that civilization?

Example:
I want to make all melee units have the ability of conquistador.
 
SQLite Manager addon for Firefox lets you browse the whole Database. Also let you export a Row/Rows, Table/Tables or if you so choose the entire Database into SQL.
 

Attachments

I would do this:

Code:
INSERT INTO TraitModifiers (TraitType, ModifierId)
VALUES ('TRAIT_MYTRAIT', 'MYTRAIT_CONQUISTADOR_ALL_MELEE');

INSERT INTO Modifiers (ModifierId, ModifierType)
VALUES ('MYTRAIT_CONQUISTADOR_ALL_MELEE', 'MODIFIER_PLAYER_UNITS_GRANT_ABILITY');

INSERT INTO ModifierArguments (ModifierId, Name, Value)
VALUES ('MYTRAIT_CONQUISTADOR_ALL_MELEE', 'AbilityType', 'ABILITY_CONQUISTADOR');

INSERT INTO TypeTags (Type, Tag)
VALUES ('ABILITY_CONQUISTADOR', 'CLASS_MELEE');
 
I would do this:

Code:
INSERT INTO TraitModifiers (TraitType, ModifierId)
VALUES ('TRAIT_MYTRAIT', 'MYTRAIT_CONQUISTADOR_ALL_MELEE');

INSERT INTO Modifiers (ModifierId, ModifierType)
VALUES ('MYTRAIT_CONQUISTADOR_ALL_MELEE', 'MODIFIER_PLAYER_UNITS_GRANT_ABILITY');

INSERT INTO ModifierArguments (ModifierId, Name, Value)
VALUES ('MYTRAIT_CONQUISTADOR_ALL_MELEE', 'AbilityType', 'ABILITY_CONQUISTADOR');

INSERT INTO TypeTags (Type, Tag)
VALUES ('ABILITY_CONQUISTADOR', 'CLASS_MELEE');

Thanks i would try this :D
 
Back
Top Bottom