Results 361 to 375 of 375

Thread: New Patrons, you can post your questions here

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #37
    Needs more flowers Moderator drone's Avatar
    Join Date
    Dec 2004
    Location
    Moral High Grounds
    Posts
    9,286

    Default Re: MTW Campaign Map Modding

    You will want to edit the unit prod file for your campaign (CRUSADERS_UNIT_PROD11.TXT or VIKINGS_UNIT_PROD.TXT).

    • First, make a backup of the file before editing!
    • Find the row of the unit you wish to modify.
    • Find the column in that row titled: Region ID troop advantage (column #12)
    • Add the province ID to that column. You can find the IDs in the startpos file (campmap/startpos/EARLY.txt, look for DeclareLandRegion lines)



    As an example, here is the row for Highlanders. Note column #12 has "ID_SCOTLAND"
    Code:
    HighlandClansman	INFANTRY	100	3	1	0	16	60	1	DISCOURAGED	"CATH_REBELS(-15), CATH_LOYALISTS(-15), CATH_PEASANTS(-15), CATH_BANDITS(-15), CATH_ZEALOTS(10), ORTH_REBELS(-15), ORTH_LOYALISTS(-15), ORTH_PEASANTS(-15), ORTH_BANDITS(-15), ORTH_ZEALOTS(10), CATH_HERETICS(-15), ORTH_HERETICS(-15)"		ID_SCOTLAND		"POVERTY_STRICKEN(232.5), DESPERATE_DEFENCE(9.3), CATHOLIC_EXPANSIONIST(111.6), CATHOLIC_NAVAL_EXPANSIONIST(111.6), CATHOLIC_TRADER(93), CATHOLIC_CRUSADER_TRADER(93), CATHOLIC_EXPANSIONIST_CRUSADER(111.6), CATHOLIC_DEFENSIVE_CRUSADER(74.4), POPE(46.5), CATHOLIC_DEFENSIVE(74.4), CATHOLIC_ISOLATIONIST(46.5), ORTHODOX_DEFENSIVE(74.4), ORTHODOX_EXPANSIONIST(111.6), ORTHODOX_STAGNANT(93), MUSLIM_PEACEFUL(93), MUSLIM_EXPANSIONIST(111.6), MUSLIM_DEVOUT(111.6), BARBARIAN_RAIDER(148.8), REBELS(93), CLOSE_TO_SUPPORT_LIMIT(9.3)"		{ CASTLE}	"ATTACKER,AMBUSH"	2	ALL_PERIODS	YES	"HEIGHT( 85 ), RADIUS( 25 ), SCALE( 120 ), PROJECTILE_TYPE( NONE ), SAMURAI( NO ), MARCH_SPEED( 6 ), RUN_SPEED( 12 ), CHARGE_SPEED( 13 ), MIN_TURNSPEED( 2 ), MAX_TURNSPEED( 8 ), TURN_TO_MOTION_SPEED( 8 ), MAX_INMOTION_TURN( 96 ), FORMATION_WIDTH_SPACING( 75 ), FORMATION_LENGTH_SPACING( 75 ), ENGAGEMENT_THRESHOLD( 1500 ), CHARGE_BONUS( 6 ), MELEE_BONUS( 5 ), DEFENCE_BONUS( -3 ), ARMOUR_LEVEL( 1 ), HONOUR_LEVEL( 0 ), AMMO( 0 ), FORMATIONS_PREFERRED_NUM_ROWS( 4 )"	NO		"own_unit_tooltip1, own_unit_tooltip2, other_unit_tooltip1,  other_unit_tooltip2"		"PEASANT, YES, YES"		ALL_FACTIONS	ID_SCOTLAND	"Missile, Shocktroop, Spear, Cavalry"	"SKIRMISH(0), ADVANCE_PARTY(1),
    OUTFLANKING_FORCE(0), MAIN_BODY(2), HOLD_TERRAIN(0), RESERVE(1), REINFORCEMENT(1), ASSAULT(0), ASSAULT_COVER(0), ASSAULT_COVER_CASTLE_ATTACK(2), COVER(0)"	"CATHOLIC, ORTHODOX"		0	UNCONTROLLED	UNFORMED	SMALL	YES	1	NO	0	0		"PAGAN(0), CATHOLIC(0), ORTHODOX(0), ISLAMIC(0), JEWISH(0), HERETIC(0)"	"PAGAN(0), CATHOLIC(0), ORTHODOX(0), ISLAMIC(0), JEWISH(0), HERETIC(0)"			SWORD	YES	ALL_PERIODS	"FN_ENGLISH,FN_FRENCH"
    Only one special unit will be displayed in the province scroll, but you can have multiple units per province.
    The .Org's MTW Reference Guide Wiki - now taking comments, corrections, suggestions, and submissions

    If I werent playing games Id be killing small animals at a higher rate than I am now - SFTS
    Si je n'étais pas jouer à des jeux que je serais mort de petits animaux à un taux plus élevé que je suis maintenant - Louis VI The Fat

    "Why do you hate the extremely limited Spartan version of freedom?" - Lemur

    Member thankful for this post:



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO