PDA

View Full Version : Creating(editing) a faction



jdan007
12-04-2006, 04:14
I want to make a faction, Croatia playable, in Zagreb. I don't quite know how to go about this though..

Re Berengario I
12-04-2006, 04:46
While you are waiting for the needed unpacker coming with the upcoming patch, you can read the various guides here and in the RTW modding forums to grasp the basics.

Grell
12-05-2006, 08:45
By taking and slightly modifying the info of the Saxons faction in the tutorial I was able to add them to the main campaign. They work fine and i havent had any CTDs playing them. I will be waiting for the extractor in the patch before I look at adding in completely new factions (along with new campmap graphics, etc). Moded strat file data if anyone is interested:

(delete York from the rebels and Nottingham from the English):

faction saxons, balanced mao
ai_label catholic
denari 5000
denari_kings_purse 1000

settlement castle
{
level large_town
region York_Province

year_founded 0
population 4000
plan_set default_set
faction_creator saxons
building
{
type core_castle_building castle
}
building
{
type castle_port c_port
}
building
{
type castle_barracks mustering_hall
}
}

settlement
{
level town
region Nottingham_Province

year_founded 0
population 1500
plan_set default_set
faction_creator saxons
building
{
type core_building wooden_pallisade
}
building
{
type hinterland_farms farms
}
building
{
type barracks town_watch
}
}

character Harold Godwinson, named character, male, leader, age 44, x 109, y 158
army
unit Saxon Bodyguard exp 0 armour 0 weapon_lvl 0

character Godwine, named character, male, age 17, x 107, y 158
army
unit Saxon Bodyguard exp 0 armour 0 weapon_lvl 0
unit English Huscarls exp 0 armour 0 weapon_lvl 0
unit Theigns exp 0 armour 0 weapon_lvl 0
unit Theigns exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0

character Edmund, named character, male, age 18, x 107, y 155
army
unit Saxon Bodyguard exp 0 armour 0 weapon_lvl 0
unit English Huscarls exp 0 armour 0 weapon_lvl 0
unit Theigns exp 0 armour 0 weapon_lvl 0
unit Theigns exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasant Archers exp 0 armour 0 weapon_lvl 0
unit Peasant Archers exp 0 armour 0 weapon_lvl 0

character_record Ealdgyth, female, age 40, alive, never_a_leader

relative Harold Godwinson, Ealdgyth, Edmund, Godwine, end

Dave1984
12-05-2006, 15:21
By taking and slightly modifying the info of the Saxons faction in the tutorial I was able to add them to the main campaign. They work fine and i havent had any CTDs playing them. I will be waiting for the extractor in the patch before I look at adding in completely new factions (along with new campmap graphics, etc). Moded strat file data if anyone is interested:

(delete York from the rebels and Nottingham from the English):

faction saxons, balanced mao
ai_label catholic
denari 5000
denari_kings_purse 1000

settlement castle
{
level large_town
region York_Province

year_founded 0
population 4000
plan_set default_set
faction_creator saxons
building
{
type core_castle_building castle
}
building
{
type castle_port c_port
}
building
{
type castle_barracks mustering_hall
}
}

settlement
{
level town
region Nottingham_Province

year_founded 0
population 1500
plan_set default_set
faction_creator saxons
building
{
type core_building wooden_pallisade
}
building
{
type hinterland_farms farms
}
building
{
type barracks town_watch
}
}

character Harold Godwinson, named character, male, leader, age 44, x 109, y 158
army
unit Saxon Bodyguard exp 0 armour 0 weapon_lvl 0

character Godwine, named character, male, age 17, x 107, y 158
army
unit Saxon Bodyguard exp 0 armour 0 weapon_lvl 0
unit English Huscarls exp 0 armour 0 weapon_lvl 0
unit Theigns exp 0 armour 0 weapon_lvl 0
unit Theigns exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0

character Edmund, named character, male, age 18, x 107, y 155
army
unit Saxon Bodyguard exp 0 armour 0 weapon_lvl 0
unit English Huscarls exp 0 armour 0 weapon_lvl 0
unit Theigns exp 0 armour 0 weapon_lvl 0
unit Theigns exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasants exp 0 armour 0 weapon_lvl 0
unit Peasant Archers exp 0 armour 0 weapon_lvl 0
unit Peasant Archers exp 0 armour 0 weapon_lvl 0

character_record Ealdgyth, female, age 40, alive, never_a_leader

relative Harold Godwinson, Ealdgyth, Edmund, Godwine, end


What other files did you edit for this to work?

methoz
12-05-2006, 16:58
hi.. i found in game bohemian units (hussites and wagon fort) iss posible make now "small" modd added Kingdom of Bohemia( with german and czech units - as Grell

city - Prague (province prague) only
faction creator - mabye HRE ?

Grell
12-06-2006, 00:52
add them in the playable list:

campaign imperial_campaign
playable
england
france
hre
spain
venice
saxons


and this line:

faction_relationships saxons, at_war_with slave

Pretty sure that was all i did (oh remember to delete England owning NOttingham and Rebels owning York).

Miloshus
12-16-2006, 20:03
I want to make a faction, Croatia playable, in Zagreb. I don't quite know how to go about this though..
There was no croatia neither was zagreb back then...