Log in

View Full Version : Agent reports



Qilue
09-11-2003, 01:47
The following relates to MTW 1.1

The situation - I added two agents, a Wisewoman and a Shamen and set their type as 'MULLAH' and 'ULAMA' as the game wouldn't accept 'WISEWOMAN' or 'SHAMEN'.

The problem is that while info_pics, the review panel and tootips give the right messages, when they complete a mission, I get this message -
"Message from your alim in xyz" for the Wisewoman
"Message from your imam in xyz" for the Shamen
(the problem is in bold)

I've added these lines in 'Events.txt'
["Wisewoman_Reports_xzy"]
{"Wisewoman Reports"}
["Shamen_Reports_xzy"]
{"Shamen Reports"}
Just under where similiar text appears and these lines under the next section -
["wisewoman_reports_xzy"]
{"Message from your wisewoman in %s"} // Don't translate %s. String will look like "Message from your Emissary in Scotland"
["shamen_reports_xzy"]
{Message from your shamen in %s."} // Don't translate %s. String will look like "Message from your Emissary in Scotland"

I tested bt setting their type to 'BISHOP' and 'CARDINAL' respectively, and received this
"Message from your bishop in xyz" for the Wisewoman
"Message from your cardinal in xyz" for the Shamen

Do these messages use the "Name/Identifier" column or the "Unit type" column for selecting the correct message?
Is the data in the "Unit type" column hard-coded?

Lord Of Storms
09-11-2003, 19:09
Did you add the unit name in names text along with the other agent names
["Wisewomen"] {"Wisewomen"}
["Shamen"] {"Shamen"}
The reason the names are not translating is that they are not entered in names txt,try adding them there and be sure to follow as the other agents are in the file singular and plural entries are needed, you must also have the appropriate entries in the unit prod 11 file,if you have not already done so . LOS

Qilue
09-12-2003, 00:53
I had done that, although not quite the way you stated, do those lines need to be in names.txt too as well as these?

["Wisewoman_Singular"] {"Wisewoman"}
["Shamen_Singular"] {"Shamen"}
["Wisewoman_Plural"] {"Wisewomen"}
["Shamen_Plural"] {"Shamen"}

Razor1952
09-12-2003, 15:11
I added some extra agents a while ago, I followed the thread about adding units by Kekvit and someone else.

It worked fine , certainly you needed to add those plural/singular things , Of course the battle bits arn't needed but the you also need the bifs for the campmap( I just copied and renamed the appropriate ones.

The only agent mods I could think of were

-duplicating agents for different faction/religions so you could add more provinces with valour bonuses.
-adding agents for faction/religions which didn't have them
-for example a Muslim "inquisitor" I was going to call "Sharia Enforcer" or similar with appropriate changes to descriptions etc

I couldn't think of a way to basically change the operation of agents other than to increase their valour/make them less likely to be caught/succesful. In other words not any new qualities just enhanced capabilities.

I note that Robin Hood and Joand'arc are sitting around in the folders waiting to be used if I can think of a use for them.

Qilue
09-13-2003, 13:37
I did all that and they are fully functional.

I'm just trying to fix the following (repahrased).

The problem is that while info_pics, the review panel and tootips give the right descriptions and/or pictures, I get this message when recieving the results of an alliance proposal to the Danes -

"Message from your alim in Denmark" for the Wisewoman when proposing an alliance.
"Message from your imam in Denmark" for the Shamen when proposing an alliance.
(the problem is in bold)

I tested setting their types to 'BISHOP' and 'CARDINAL' respectively. I got this message when receiving the results of an alliance proposal to the Danes -
"Message from your bishop in Denmark" for the Wisewoman when proposing an alliance.
"Message from your cardinal in Denmark" for the Shamen when proposing an alliance.
(the problem is in bold)

Qilue
09-13-2003, 13:50
The list of changes. Not final yet since I still have to do balancing.

------------------------
Directories and files

Added/copied where appropiate

\campmap\pieces\units\pagan
renamed "army_leader_waiting.Buf" to "army_leader_awaiting.Buf"

------------------------
crusader_build_prod13.txt

COLLEGE_OF_SURGEONS column 4 ,UNIQUE column 7 ,{CASTLE13,STONEHENGE} column 15 ,PAGAN
MILITARY_ACADEMY column 4 ,UNIQUE column 7 ,{CASTLE13,STONEHENGE} column 15 ,PAGAN
CHANCELLERY column 15 ,PAGAN
CONSTABLES_PALACE column 15 ,PAGAN
MARSHALS_PALACE column 15 ,PAGAN
ADMIRALTY column 15 ,PAGAN

STONECIRCLE (temporary until more appropiate found)
STONEHENGE (temporary until more appropiate found)

------------------------
crusaders_unit_prod11.txt

MortarCrew, Added column 54 ,PAGAN
DemicannonCrew, Added column 54 ,PAGAN
SiegecannonCrew, Added column 54 ,PAGAN
Peasants, Removed column 50 ,GOLDEN_HORDE
MuslimPeasants, Added column 50 ,GOLDEN_HORDE column 54 ,PAGAN
Spy, Added column 54 ,PAGAN
Assassin, Added column 54 ,PAGAN
Emissary, Added column 54 ,PAGAN

GoldenHordeHorseArchers, Size 60, available ALL_PERIODS, column 11 ,PAG_LOYALISTS(-10)
GoldenHordeHeavyCavalry, Size 60, available ALL_PERIODS, Dismount to GoldenHordeHeavyInfantry, no longer royal unit, column 11 ,PAG_LOYALISTS(-10)
GoldenHordeWarriors, Removed building reqs, available ALL_PERIODS, changed missle to LONG, Def 1, Honour 4, column 11 ,PAG_LOYALISTS(-10)
Wisewoman, added, lvl 1 priest, type MULLAH, modified copy of Alim
Shamen, added, lvl 2 priest, type ULAMA, modified copy of Imam
GoldenHordeHeavyInfantry, added, copy of JanissaryHeavyInfantry, cost 525, maint 8, removed building reqs, available ALL_PERIODS, changed to standard infantry speed, reduced honour to 6, preferred rows (3), PAGAN culture, column 11 ,PAG_LOYALISTS(-10)
KeshikCavalry, added, copy of SipahiofthePorte, available ALL_PERIODS, maintenance 18, changed to royal unit, same building reqs, dismount to GoldenHordeHeavyInfantry, cannot dismount, PAGAN culture, column 11 ,PAG_LOYALISTS(-10)

------------------------
Early.txt

//Active Factions
SetActiveFaction:: FN_GOLDEN_HORDE FT_MINOR

//Starting Treasury
SetTreasury:: FN_GOLDEN_HORDE 10000 8000 6000 4000

//Region Owners
SetRegionOwner:: ID_KHAZAR FN_GOLDEN_HORDE
SetRegionOwner:: ID_VOLGA_BULGARIA FN_GOLDEN_HORDE

//Faction Offices
AddOffice:: FN_GOLDEN_HORDE royal_palace "Guardian of the Khan's Gold"
AddOffice:: FN_GOLDEN_HORDE constables_palace "Commander of the Keshik"
AddOffice:: FN_GOLDEN_HORDE marshals_palace "Khan of the Western Tumans"
AddOffice:: FN_GOLDEN_HORDE chancellery "Gatherer of the Tributes"
AddOffice:: FN_GOLDEN_HORDE admiralty "Khan of the Great Waters"
AddOffice:: FN_GOLDEN_HORDE cathedral "Archbishop of Khazar"

//Place Faction Leaders
SetStartLeader:: FN_GOLDEN_HORDE 0 1 0 0 0 0 0 0 0

PlaceLeader:: ID_KHAZAR FN_GOLDEN_HORDE

AddHeir:: FN_GOLDEN_HORDE 1 12
AddHeir:: FN_GOLDEN_HORDE 1 11
AddHeir:: FN_GOLDEN_HORDE 1 8

//Buildings
MakeBuilding:: ID_KHAZAR Town_watch
MakeBuilding:: ID_KHAZAR Bowyer
MakeBuilding:: ID_KHAZAR Spearmaker

//Create Unit
changed to 6 of
MakeUnit:: ID_KHAZAR GoldenHordeHorseArchers 60
changed to 6 of
MakeUnit:: ID_VOLGA_BULGARIA GoldenHordeHorseArchers 60

//agents
MakeUnit:: ID_KHAZAR Emissary 1074

------------------------
Descriptions.txt

["Wisewoman_desc"]
{"A wisewoman tends to the needs of pagan followers and does much to improve the faith of pagan worshipers in her current province. "}
["Shamen_desc"]
{"A shamen is a leader of the pagan religion. He has both a mythical and political element to himself. Not only does he lead pagan rituals in the provence, but he can decide apropriate punishment for criminals. His presence in a province greatly increases the Pagan religion. "}

["GoldenHordeHeavyInfantry_desc"]
{"Golden Horde Heavy Infantry are the capable, disciplined elite of Mongol armies with a fearsome reputation. These heavy shock troops are supposed to batter a way through enemy armies so that others can pour through the gap. They are heavily armoured and armed with polearms that give them an advantage in close combat."}
["KeshikCavalry_desc"]
{"The Keshik Cavalry is the elite Mongol royal bodyguard. Their combination of mail, armoured horses, sword and bow make them powerful foes, but their vigorous training makes them truly impressive The Great Khan and royal Princes all command small Keshik units. Raising extra Keshik Cavalry is expensive."}

["Stonecircle_desc"]
{"A physical and spirital center for pagans everywhere. It's a simple structure made by placing magical stones in a circular shape. Mystical and supernatural events should happen in this circle, particularilly one performed by shamen. It allows pagans to congregate just as Catholics, Orthodoxes, and Muslims can."}
["Stonehenge_desc"]
{"An impressive structure made of huge moniliths that are required to have been dragged at least 500 miles before being erected in a huge circle. The pagan following is greatly increased with construction. It will stand as a testimonial to your greatness, and will be visited by Japanese tourists for years to come."}

["Stonecircle_Completed"] {"Stonecircle Completed."}
["Stonehenge_Completed"] {"Stonehenge Completed."}

["Stonecircle_Destroyed"] {"Stonecircle Destroyed."}
["Stonehenge_Destroyed"] {"Stonehenge Destroyed."}

------------------------
Events.txt

["Wisewoman_Reports_xzy"]
{"Wisewoman Reports"}
["Shamen_Reports_xzy"]
{"Shamen Reports"}

["wisewoman_reports_xzy"]
{"Message from your wisewoman in %s"} // Don't translate %s. String will look like "Message from your Emissary in Scotland"
["shamen_reports_xzy"]
{"News from your shamen in %s."} // Don't translate %s. String will look like "Message from your Emissary in Scotland"

@{"This wisewoman has already been assigned an alliance mission"}
@{"This shamen has already been assigned an alliance mission"}

["ass_mission_target_blurb_Wisewoman_Singular"] {"Killing a wisewoman will slow the spread of the Pagan religion, but the death of this holy woman may have dire consequences."}
["ass_mission_target_blurb_Shamen_Singular"] {"Assassinating a shamen will bring his work in spreading the pagan religion to a sudden and effective halt."}

["ass_mission_target_blurb_own_Wisewoman_Singular"] {"To remove so public a figure as a wisewoman is dangerous, especially if the faithful discover the true cause of her death. "}
["ass_mission_target_blurb_own_Shamen_Singular"] {"Removing such a one will silence a powerful advocate of the pagan religion, but there may be consequences if the truth of his death ever becomes public knowledge. "}

"Wisewoman_Singular_Friendly_Idle_Mission"] {"Preaching"}
"Shamen_Singular_Friendly_Idle_Mission"] {"Preaching"}

"Wisewoman_Singular_Rival_Idle_Mission"] {"Preaching"}
"Shamen_Singular_Rival_Idle_Mission"] {"Preaching"}

------------------------
names.txt

["Wisewoman_Singular"] {"Wisewoman"}
["Shamen_Singular"] {"Shamen"}

["Wisewoman_Plural"] {"Wisewomen"}
["Shamen_Plural"] {"Shamen"}

["GoldenHordeHeavyInfantry_Singular"] {"Mongol Heavy Infantryman"}
["KeshikCavalry_Singular"] {"Keshik Cavalryman"}

["GoldenHordeHeavyInfantry_Plural"] {"Mongol Heavy Infantry"}
["KeshikCavalry_Plural"] {"Keshik Cavalry"}

["Guardian of the Khan's Gold"] {"Guardian of the Khan's Gold"}
["Commander of the Keshik"] {"Commander of the Keshik"}
["Khan of the Western Tumans"] {"Khan of the Western Tumans"}
["Gatherer of the Tributes"] {"Gatherer of the Tributes"}
["Khan of the Great Waters"] {"Khan of the Great Waters"}

["Stonecircle"] {"Stonecircle"}
["Stonehenge"] {"Stonehenge"}

------------------------
ToolTip.txt

// WISEWOMAN tooltips..
Copy of // ALIM tooltips.. and edited text where appropiate

// SHAMEN tooltips..
Copy of // IMAM tooltips.. and edited text where appropiate

------------------------
Variables.txt


------------------------

Qilue
09-13-2003, 13:51
Oops, double post. http://www.totalwar.org/forum/non-cgi/emoticons/eek.gif