Log in

View Full Version : How to turn a merc into a normal unit?



supadodo
30/05/07, 08:21
Okay, I'm noob at modding. I wanna make Landskneckt Pikeman buildable by HRE, not recruting as mercenary. All I get is a black screen on load.

Take a look at my battle_model file code and see whats wrong


20 landschneckt_pikemen 2 3
64 unit_models/_Units/RN_Light_Lmail/landschneckt_pikemen_lod0.mesh 121
64 unit_models/_Units/RN_Light_Lmail/landschneckt_pikemen_lod1.mesh 900
64 unit_models/_Units/RN_Light_Lmail/landschneckt_pikemen_lod2.mesh 2500 64 unit_models/_Units/RN_Light_Lmail/landschneckt_pikemen_lod3.mesh 6400
2 4 merc
71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_merc.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
49 unit_sprites/merc_Landschneckt_Pikemen_sprite.spr 2 3 hre
65 unit_models/AttachmentSets/Final European Light_merc_diff.texture
65 unit_models/AttachmentSets/Final European Light_merc_norm.texture
0 1 3 None 9 MTW2_Pike 15 MTW2_Non_Shield 1 17 MTW2_Pike_primary 1 18 MTW2_Sword_Primary 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002


I admit, I have absolutely no idea how to mod and I've read alot of threads and tutorials but none seem to help. Ok thx. Also, I may not have copied the textures of the pikeman into the hre folder. Is it the folder inside data/ui/units?
Thx again

Oh yeah, you can rule out the double spaces thing.

FactionHeir
30/05/07, 17:41
Umm so if you just want HRE to be able to build them, I'm not quite sure why you are working with textures.

Anyway, go the EDU and add HRE to the list of factions to which it is available if its not currently listed.

Then in the EDB, copy/paste a line for French Pikemen (Pikemen) into the building where you want to be able to hire the unit of your choice. Then rename the reference name Pikemen into the name of your unit. Now it is hirable at this building in your campaign.

dietre
13/06/07, 23:18
i think what he was trying to do was make the landscheckts also have the yellow/black atire. they already have this in the texutre, so if you find the proper folder and change it in the model they will look like a hre unit. dont forgot to edit the EDU, EDB thou like stated above.

alpaca
14/06/07, 20:13
The unit is called Landsknecht, there that wasn't so hard, was it (although I know 99.74% of English native speakers can't pronounce it properly anyways)?

Kobal2fr
14/06/07, 20:43
Bleh ! The proper word is "Lansquenet", actually. It's obviously proper cause it's French, see ? :clown:

Herkus
14/06/07, 20:45
The unit is called Landsknecht, there that wasn't so hard, was it (although I know 99.74% of English native speakers can't pronounce it properly anyways)?
Well not as hard as "Landsknecht Doppelsöldner". :dizzy2:

dietre
14/06/07, 22:54
actualy i speak full german and so so english, im just lazy to spell it proper- that and I dont care- to spell it proper. The point of the post was still there, unlike now in that the whole point for this thread is lost. :inquisitive:

uanime5
18/06/07, 11:39
20 landschneckt_pikemen
1 4
64 unit_models/_Units/RN_Light_Lmail/landschneckt_pikemen_lod0.mesh 121
64 unit_models/_Units/RN_Light_Lmail/landschneckt_pikemen_lod1.mesh 900
64 unit_models/_Units/RN_Light_Lmail/landschneckt_pikemen_lod2.mesh 2500
64 unit_models/_Units/RN_Light_Lmail/landschneckt_pikemen_lod3.mesh 6400
2
3 hre
71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_merc.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
49 unit_sprites/merc_Landschneckt_Pikemen_sprite.spr
4 merc
71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_merc.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
49 unit_sprites/merc_Landschneckt_Pikemen_sprite.spr
2
3 hre
65 unit_models/AttachmentSets/Final European Light_merc_diff.texture
65 unit_models/AttachmentSets/Final European Light_merc_norm.texture 0
4 merc
65 unit_models/AttachmentSets/Final European Light_merc_diff.texture
65 unit_models/AttachmentSets/Final European Light_merc_norm.texture 0
1
4 None
9 MTW2_Pike
15 MTW2_Non_Shield 1
17 MTW2_Pike_primary 1
18 MTW2_Sword_Primary
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

If you want to add a different texture change the bold lines.