The image file in ui/ancillaries, must it be .tga format and 33x41 pixels? What will happen if I use a larger image?
The image file in ui/ancillaries, must it be .tga format and 33x41 pixels? What will happen if I use a larger image?
Larger images also work... some time ago I use mistakenly wrong sizes, but the game still use the image and show it with the bigger sizes.
But I don´t know how large you can really make the images, you must test it.
In my view 33x41 is actually a good size.
Greetings!
a quick and maybe stupid question:
ancillaries use the same effects as traits? for example is it possible to add a "+1 command when fighting against XYZ" with the same 'Combat_V_Faction_X' line?
yes
Under the Patronage of the Dreadful cedric37!
Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod
![]()
Greetings!
First, thank you for the answer!
and here's another... i want to add a new trait, but the game keeps crashing at startup...
here's the trait:
Spoiler Alert, click show to read:
the trigger:
Spoiler Alert, click show to read:
and here's what the log says:
Spoiler Alert, click show to read:
I don't know what's wrong... I don't see something? Can anyone tell me what's the mistake?
thanks in advance!![]()
See your other thread where you asked the same question as I already answered it.
Under the patronage of Roman_Man#3, Patron of Ishan
Click for my tools and tutorials
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein
can we use "or" in the ancillaries and traits files??
e.g. a random example
is it possible??Code:Trigger merchantinit10 WhenToTest AgentCreated Condition not AtSea and AgentType = merchant and SettlementBuildingExists >= cathedral and PopulationOwnReligion > 80 and CharFactionType england or france or ... Affects ReligiousMerchant 1 Chance 50 or sth like that: Trigger merchantinit10 WhenToTest AgentCreated Condition not AtSea and AgentType = merchant and SettlementBuildingExists >= cathedral and PopulationOwnReligion > 80 and CharFactionType england or CharFactionType france Affects ReligiousMerchant 1 Chance 50
better to exclude all faction you don't want to have the trait
Under the Patronage of the Dreadful cedric37!
Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod
![]()
ok, most probably i will do that... but i want to know if the "or" works in these cases....(or e.g. in a building requirement...)
and if yes, when what's the correct sequence of {and, not, or }???? and can be changed through parentheses or sth (like in mathematics)???
thanks!!!
i have found this in an ancillary: "Effect Level 4"... what is its purpose???
sth else: can this happen?? Condition CharacterSurname = Smith (or sth like that???)
and, how can i give to everybody (all character [including captains] of one faction, after an event..) more movement points and line of sight?? should i make a hidden trait with "caracters all" ???
Effect level = applies to the strat models being used, see priests and faction leaders\heirs
Surname = the only conditions I know of would be I_CharacterExists or I_CharacterSelected, but that won't work here, only in a script together with give_trait.
Movement points for all = increase it in descr_characters
Line of sight for all = I guess that simply omitting the agent definition should be sufficient as long as the 'WhenToTest' event is agent related, see example:
Trigger witch_hunter_vnv_trigger
WhenToTest AgentCreated
ConditionAgentType = priestFactionLeaderTrait ReligiousActivity > 1
and
AcquireAncillary witch_hunter chance 10
how can i add an event when a faction leader gets an ancillary??? is there any way to script it??
i mean sth like this:
monitor_event CharacterTurnStart IsFactionLeader
and AncillaryGained??? tutor
set_event_counter abc 1 - #10
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionIsLocal - does the FactionTurnStart happens before the CharacterTurnStart???
and I_EventCounter abc = 1
historic_event tutors factions { england, } - #20
set_event_counter abc 0
terminate_monitor
end_monitor
(can i omit the lines of the second group, and simply place line #20 in the first group, instead of the line line #10???)
You really have to get the Docudemons and use it to search for this kind of stuff (I searched the 'conditions' section for 'ancillary'):
If you use the counter in the same round and nowhere else it is rather pointless to create it in the first place. Put your #20 as you suggested and remove the second monitor.Identifier: HasAncType
Trigger requirements: character_record
Parameters: ancillary type
Sample use: HasAncType relic
Description: Test to see if character currently has ancillary with specified type
...Here's a comment about the temperamentality of the export_descr_ancillaries.txt...
...I recently added plenty of entries for witches...everything worked fine...
...I then added 4 new ancillaries for princesses ALL IN ONE GO...suddenly the game won't start...
...I went through everything with a fine toothcomb (they were all very simple cut/paste entries like the tutorial)...thought it might by "types"..."Excluded cultures" "spelling" the fact I had "Aztec" princesses ticked....nope...
...redone every single entry (from my saved text in Word; so exact copy), one at a time...save...reopen...next...save...etc...
...worked like a charm!...Learn from my wasted Hour![]()
Last edited by Voice of Treason; July 29, 2011 at 07:23 PM. Reason: spelling
You probably saved the file in an incorrect format, either that you actually did make a change. By the way you should never, ever, ever, ever, ever use word for modding in any way shape or form as it adds hidden formatting characters all over the place which will get copied into your files and screw them up. Also you should be using my ATVTW validator, see my sig, to make sure you've made no errors in editing the file or related files.
Under the patronage of Roman_Man#3, Patron of Ishan
Click for my tools and tutorials
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein
...@ Squid..I don't doubt the validity of the Validator...but this tutorial was all about simple cut n' pasting...so thats why I was doing it that way...
...Going forward I'll have to avoid the "Word" and remember "notepad"...and investigate the validator...
Not all your modding will be cut and paste.
Under the patronage of Roman_Man#3, Patron of Ishan
Click for my tools and tutorials
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein