Ghiaman1334
Chieftain
- Joined
- Feb 13, 2017
- Messages
- 15
I know this probably isn't the point of the forums, but...
I just made this. I didn't do what I said I would at all, but I did use the assets to help with wording, and I was wondering if people could point out any potential flaws.
I'm not able to test my mod because I know things aren't complete yet and I'm gonna need time to fill in any gaps, so I'm relying on your speculation and knowledge to see if it should have the desired effect.
It's meant to reduce military strength of opposing military units by 5, as an ability over all my military units. I'm worried the minus in the value will mean -- = + and add 5, also I'm worried it doesn't specify the units affected so all units will take the hit, or my units will and opposing units won't.
Help me.
Sorry.
I just made this. I didn't do what I said I would at all, but I did use the assets to help with wording, and I was wondering if people could point out any potential flaws.
I'm not able to test my mod because I know things aren't complete yet and I'm gonna need time to fill in any gaps, so I'm relying on your speculation and knowledge to see if it should have the desired effect.
Code:
--==========================================================================================================================
-- CIVILIZATIONS: TRAITS
--==========================================================================================================================
-- Types
--------------------------------------------------------------------------------------------------------------------------
INSERT INTO Types
(Type, Kind)
VALUES ('TRAIT_CIVILIZATION_RRA_CIV_TRAIT', 'KIND_TRAIT'),
--------------------------------------------------------------------------------------------------------------------------
-- Traits
--------------------------------------------------------------------------------------------------------------------------
INSERT INTO Traits
(TraitType, Name, Description)
VALUES ('TRAIT_CIVILIZATION_RRA_CIV_TRAIT', 'LOC_TRAIT_CIVILIZATION_RRA_CIV_TRAIT_NAME', 'LOC_TRAIT_CIVILIZATION_RRA_CIV_TRAIT_DESCRIPTION'),
--------------------------------------------------------------------------------------------------------------------------
-- TraitModifiers
--------------------------------------------------------------------------------------------------------------------------
INSERT INTO TraitModifiers
(TraitType, ModifierId)
VALUES ('TRAIT_CIVILIZATION_RRA_CIV_TRAIT', 'RRA_TRAIT_NEGATIVE_COMBAT_MODIFIER');
--------------------------------------------------------------------------------------------------------------------------
-- Modifiers
--------------------------------------------------------------------------------------------------------------------------
INSERT INTO Modifiers
(ModifierId, ModifierType)
VALUES ('RRA_TRAIT_NEGATIVE_COMBAT_MODIFIER', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH');
--------------------------------------------------------------------------------------------------------------------------
-- ModifierArguments
--------------------------------------------------------------------------------------------------------------------------
INSERT INTO ModifierArguments
(ModifierId, Name, Value)
VALUES ('RRA_TRAIT_NEGATIVE_COMBAT_MODIFIER', 'Amount', '-5');
Help me.
Sorry.