PDA

View Full Version : More modding questions from Spartan198!



Spartan198
06-05-2008, 17:03
I converted XGM's armored phalangites back to vanilla style armored hoplites (no offense to DimeBagHo, but phalangites being as heavily armored as hoplites doesn't make sense to me), complete with overhand spears and corinthian helms, but I've got two questions.

1. How do I change the unit's voice recognition from "phalanx pikemen" back to the vanilla original "armored hoplites / hoplite elite" (ie, when you click on the unit, its name will be spoken out loud by the officer of the unit)?

2. How do I change the avatar image in the panel at the bottom of the screen to reflect the change back to the vanilla skin?

Thor the Bassist
06-05-2008, 17:22
Both are in scriptorium under The Complete EDU Guide (https://forums.totalwar.org/vb/showthread.php?t=88859).

1.
voice_type voice
Just change voice to whatever set you want.

2. Find the dictionary entry in EDU for what your unit is. Look in export_units.txt and under your unit you should find among other things a UI entry. Change that to the UI card you want.

anelious phyros
06-05-2008, 17:34
Yea, you can change the voice in the Edu
but it depends on what faction owns it about how the accent is. It's quit anoying.

Spartan198
06-05-2008, 17:36
All I see in the EDU regarding voices is highlighted in bold:


type greek hoplite elite
dictionary greek_hoplite_elite ; Armoured Phalangites
category infantry
class heavy
voice_type Heavy_1
soldier greek_phalangite_armoured, 60, 0, 1.3
attributes sea_faring, hide_forest, can_sap, hardy
formation 1.33, 1, 2.66, 2, 8, square, shield_wall
stat_health 1, 0
stat_pri 12, 4, no, 0, 0, melee, blade, piercing, spear, 25 ,0.5
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, melee, simple, piercing, sword, 25 ,0.9
stat_sec_attr no
stat_pri_armour 9, 6, 4, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground -4, 0, -6, 0
stat_mental 16, disciplined, highly_trained
stat_charge_dist 2
stat_fire_delay 85000
stat_food 60, 300
stat_cost 1, 900, 0, 65, 130, 900
ownership greek_cities, romans_brutii
I checked that line in the vanilla RTW EDU and it's the same. In RTW, they're referred to as armored hoplites and hoplite elites, but in XGM they're called phalanx pikemen.

Thor the Bassist
06-05-2008, 17:38
Try searching your data directory for a file with "Heavy_1" in it. Maybe a desr_voice will pop up (I dont have RTW files to hand).

anelious phyros
06-05-2008, 17:38
It's what I said the accent is differnt on who owns them and what they are.
Other thant that i'm not sure.

Spartan198
06-05-2008, 17:40
I'm not changing any faction ownership. All the changes are within the Greek City-States faction, so I don't think accents will be that much of a problem.

anelious phyros
06-05-2008, 17:40
And so then you want to change it from Pike sound to Hoplite sound (voice wise)?

Spartan198
06-05-2008, 17:41
Right.

anelious phyros
06-05-2008, 17:43
hmm.....not sure. you Thor?

maybe it has something to do with the Soldier line?

Thor the Bassist
06-05-2008, 17:43
Try searching your data directory for a file with "Heavy_1" in it. Maybe a desr_voice will pop up (I dont have RTW files to hand).

This thread is going fast!

anelious phyros
06-05-2008, 17:48
I tried it myself and got nothing.
but that's me, let's hope Spartan gets something.

Thor the Bassist
06-05-2008, 17:59
Ok the file you want is export_descr_sounds_units_voice.txt.

Open it up and find out what file it sources for the greeks Heavy_1. The vanilla is:

folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_Heavy_1_Groups_Created_1.wav

for the first entry and similar ones follow. If its different you need to change all the entries to the vanilla ones.

anelious phyros
06-05-2008, 18:01
How are you suppost to open Voice?
i&#244;&#163;Y,ˆ‘&#162;&#179; &#169;(…L&#243;&#194;”ˆ&#193;,ˆˆ&#225;&#166; ˜&#163;’}Š&#162; [™&#196;ˆ8,#&#162;0?&#184;&#180;‚ &#196;&#243;0+L&#176;‘<&#243;&#180;+&#168;“€h&#177; &#225;’ €(?Š‘&#179;K&#183;€&#196;8*&#203;a+&#169;&#167; ‰&#162;!‹$<,K ,•š&#195;ˆ&#162;;+&#242;.&#177;‚ š&#164;&#229;P‘K&#169;&#165;(*&#192;ƒ *8‚&#178;’&#226;X™)1&#168;9&#177;3?&#225;‚&#185;„&#210;i&#170;&#194;&#164; &#192;”y™™&#186;*™X‰’‚&#193;&#171;&#168;&#177;{™’-&#243;!&#200;!˜A=&#208;‰0&#218;&#163;k&#169; &#162;AL&#184;&#163;&#182;#&#179;y‰( &#241;&#195;&#176;(&#233;"›€ˆ ˆ&#167;&#208;Š„#H.!™&#195;&#248;ˆ&#209;ƒK‹“@&#161;X‰9&#211;&#161;&#216;) &#208;@:,&#161;&#225;1 &#178;9&#251;&#163;0Iœ—)š!+
&#250; ›
€&#240;( &#181;˜ ›A&#162; a&#218;+ 0QŠ&#216;8&#177;… &#187;&#180;Š"I*k&#211; &#208;•, 0&#185;ƒŸ™#H&#198;#j”1™™&#188;“ˆY&#184;•&#203;R‰&#216;€˜#0;&#178;&#223;hˆ ˜™"H&#184;<&#168;@&#219;!\‘&#200;&#225;„#)&#217;#)&#162;’.*ƒ1; &#178;Z„9‰&#170;(&#175;0&#219;&#161;8C&#193;&#177;Ÿ(1›1&#201;’I’&#167;8‰ &#187;&#171;
”(&#220;‘&#176;2r™‘&#179;šu&#164;8&#184;Z!˜šC0‚&#233;›&#185;43‘–&#233;€“k&#184;Q™I&#168;#&#195;(&#186;&#176;
9&#202;(&#203;&#177;2&#177;&#175; &#174;(&#177;™™Ÿ™… &#188;&#250;:ƒ)&#186;&#163;-# &#194;&#170;&#194;&#187;&#225;J&#192;’C&#172; 1&#168;;&#241;&#176; x&#162;&#161;ˆŽ!&#194;&#209;Œ 1€D&#168;p
˜)‰‡™&#185;&#186;)Bd&#168;šš&#161;(šC&#176;œ?R &#162;q˜‚:&#225;0&#240;˜ A‘˜&#189; &#186;&#187;s–› -&#177;#&#191;&#174;’)`&#161;‰‘‹&#192;&#251;8"&#176;&#201;p’&#171;›&#188;&#208;+&#185;2‘&#252;&#171;›C˜&#170;96&#178;y &#234;&#171;!)s‚&#170;—+€&#168;#{&#161;™0&#178;<473‘C&#209;1I'#‰! &#227;&#185;11G&#162;&#201;9š"1&#180;A&#177;&#251;™ˆ˜#0D&#224;š#”+&#204;&#171;&#184;38&#195;&#203;‰&#190;A
&#172;&#219;2&#178;Ÿ&#169;&#161; &#161;&#233;&#170;›š#3D#&#170;&#219;)&#251;‰
‚3†š&#170;J
8™&#218;ˆ33D&#176;‘Ž#!&#187;&#178;
S‘"™3&#161;+&#161;1#I # &#177;“:&#203;"&#185;P C+‘š3 "&#177;&#194;1&#201; ‘!š&#185;™< ’ "&#169;&#163;‘&#185;&#176;9’ ’0‘‘)š&#185;)‘ š&#185;
&#187;&#169;‘1š#&#169;&#185;𐙐#™&#176;&#170;›&#170;&#169; ™™1!™
&#171;&#170;‘9 ’&#185; &#187;™ ™ š0&#163;#™™+ š&#185;&#167;X&#171;&#183; &#210;(›‘+“™’1‘  ‘!™ ™
‘ !“ ™&#169;™™ ‘ 
’™‘ ‘™   ‘ ‘  ‘™  ‘    ™ ‘

Thor the Bassist
06-05-2008, 18:03
Not sure I follow there?

anelious phyros
06-05-2008, 18:05
what's with all the coding?

Thor the Bassist
06-05-2008, 18:09
Oh dont open the .dat file. You shouldn't need to fiddle with that. If you want to change voices get the .idx extractor (http://www.twcenter.net/forums/downloads.php?do=file&id=32)and extract all the wav files. They are all packed up for vanilla.

anelious phyros
06-05-2008, 18:16
oh, thanks.

Spartan198
06-05-2008, 18:16
Ok the file you want is export_descr_sounds_units_voice.txt.

Open it up and find out what file it sources for the greeks Heavy_1. The vanilla is:

folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_Heavy_1_Groups_Created_1.wav

for the first entry and similar ones follow. If its different you need to change all the entries to the vanilla ones.
Okay, found the file (the vanilla RTW version). But it has three different entries for hoplite elites like the one below:

unit greek hoplite elite
event
folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_General_1_name_greek_hoplite_elite_1.wav
folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_General_1_name_greek_hoplite_elite_2.wav
folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_General_1_name_greek_hoplite_elite_3.wav
group
end
All look to be exactly the same. What next?

Thor the Bassist
06-05-2008, 18:21
I recon get ur hands on the vanilla idx and dat files named voice1 voice2 and voice3 that are in the sounds folder unless you have some other voices you really dont want to lose in which case unpack the voices with edx extractor change the wav files to vanilla and then re-pack.

Spartan198
06-05-2008, 18:37
I think I found something.

This from vanilla Rome:

unit greek hoplite elite
event
folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_Heavy_1_name_greek_hoplite_elite_1.wav
folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_Heavy_1_name_greek_hoplite_elite_2.wav
folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_Heavy_1_name_greek_hoplite_elite_3.wav
group
end
And this one from XGM:

unit greek pikemen,greek hoplite,merc greek phalangites,greek hoplite elite,egyptian nile infantry
event
folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_Heavy_1_name_greek_pikemen_1.wav
folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_Heavy_1_name_greek_pikemen_2.wav
folder data/sounds/Voice/Human/Localized/Battle_Map
Greek_Heavy_1_name_greek_pikemen_3.wav
group
end
Would I remove greek hoplite elite from the unit list at the top of the XGM quote, and then paste the vanilla RTW entry into the XGM file?

Thor the Bassist
06-05-2008, 18:56
I believe so

Backup and try

Spartan198
06-05-2008, 18:58
Okay. Do I need to put the vanilla entry in a specific place, or not (within the sound file, I mean)?

Aradan
06-05-2008, 18:58
That's right, as long as you take care to keep them in the appopriate culture/voice-type section of the file (they should be there already anyway) You'll need to provide the sound file though.

Spartan198
06-05-2008, 19:00
So as long as it's bunched in with the Greek_Heavy voices, I can put it anywhere in the file?

Aradan
06-05-2008, 19:04
The greek heavy voices have a specific section in the file, so yes, anywhere in that specific section.

Spartan198
06-05-2008, 19:05
All right. Backing up and attempting. Be back online shortly to confirm success or failure.

Spartan198
06-05-2008, 19:31
Success! Armored hoplites again roam the battlfields of Hellas!

Appreciate the help, guys.

Spartan198
06-05-2008, 19:46
Okay, this is regarding the UI card. From what I can gather I simply replace this from XGM:

{greek_hoplite_elite} Armoured Phalangites

{greek_hoplite_elite_descr}
Armoured phalangites are an elite among Greek soldiery, carefully selected and given the best training to make them superior spearmen. equipped with heavy armour, shields, pikes, and swords, they fight as phalangites in the Macedonian style, and are some of the best troops to use as an 'anchor' for a battle line. Like most phalangites they are highly effective against both infantry and cavalry in frontal assaults, but they are at risk if flanked or attacked from the rear. That said, their heavy armour and excellent training will stand them in good stead even when the fighting comes down to swords. \n\nThese elite troops can only be recruited in provinces that have a substantial Greek population in which the 'hoplite ethos' is taught from the earliest age.

{greek_hoplite_elite_descr_short}
Armoured phalangites are an elite among Greek soldiery, carefully selected and given the best training to make them superior pikemen.
With this from RTW vanilla:

{greek_hoplite_elite} Armoured Hoplites

{greek_hoplite_elite_descr}
Superior\nHardy\nCan Form Phalanx\nSapping Ability\n\nArmoured hoplites are an elite among Greek soldiery, carefully selected and given the best training to make them superior spearmen. Each of them is equipped with good body armour, greaves and a helmet and carries a large round shield, the hoplon that gives this kind of soldier the name of hoplite. Each man is also armed with a formidable thrusting spear called the xyston and a sword. They are usually employed as solid, close-packed groups of men, presenting a wall of spear points to the enemy. In phalanx formation, they use weight of numbers to batter into enemy formations.\n\nThey are vulnerable to flank and rear attacks, and ideally need some sort of light supporting troops to screen them as they approach the enemy.

{greek_hoplite_elite_descr_short}
Armoured hoplites are an elite among Greek soldiery, carefully selected and given the best training to make them superior spearmen.
Correct or no?

Thor the Bassist
06-05-2008, 20:17
That will make all the info about the unit correct and may do the pic aswell (I know little about units just buildings mainly).

Aradan
06-05-2008, 22:21
If you want to assign the proper UI card, then simply replace the existing one with the vanilla card. UI cards take the unit's dictionary tag as name. So, for 'Armoured Hoplites', whose dictionary tag (in EDU) is greek_hoplite_elite, the card file will be greek_hoplite_elite.tga. For the small card, you need #greek_hoplite_elite.tga. export_units.txt only contains the textual info, though it depends on the dictionary tag as well.

Spartan198
06-06-2008, 07:17
I found the XGM greek_hoplite_elite.tga file in the UI folder, but vanilla RTW doesn't seem to have a UI folder.

Aradan
06-06-2008, 10:47
Vanilla UI folder is packed away in a .pak file, look into your data/packs folder. Use Verc's .pak extractor to get the files out and then do whatever you want to them. Link for the tool can be found in the tools thread of the Scriptorium iirc.