Log in

View Full Version : how do delete faction in the game?



Odin1985
08-15-2005, 18:40
im wornder of how to be able to delete for good with no shadows of existance, a faction like for example "MACEDON", i tried and readed several guides and tuts, but no luck only for changing names and some others like that, so if anyone knows plz im eager to learn

Abokasee
08-15-2005, 18:58
well take down every single city they have...then send out mercanary armies to cut down any suriving family member...if the remaining family members become rebels...just leave them they wont be able to make Sons so they will die of age

Odin1985
08-15-2005, 19:03
so i guess theres is no way to delete a faction with only coding? like deleting or adding code to the existings texts files?

Ianofsmeg16
08-15-2005, 19:04
I beleive you go into Descr_strat and give Macedon's Cities and armies to the rebels, put Macedon into the Unplayble Factions area at the top...that might not be all but its a start.

P.s Welcome to the .org

Stuie
08-15-2005, 19:14
I beleive you go into Descr_strat and give Macedon's Cities and armies to the rebels, put Macedon into the Unplayble Factions area at the top...that might not be all but its a start.

P.s Welcome to the .org

That's a start. After moving the Macedonian cities to the slave section of the descr_strat.txt file, you should eliminate all remaining references to Macedon in the descr_strat.txt, descr_regions.txt and descr_rebel_factions.txt. Switch them to greek_cities or some other faction that you are keeping. Otherwise you may experience some unexpected CTDs down the road.

Odin1985
08-15-2005, 19:39
that for the imputs the welcome sim glad to form part of this community, i got the main idea ty, but what is a CTDs?

Ianofsmeg16
08-15-2005, 19:41
Crash to Desktop

Odin1985
08-15-2005, 19:43
oh thx i already had a few of those while trying warhammer mod :p

lt1956
08-15-2005, 22:07
Ok I hope this helps with your CTD problems.

First off while sometimes it is needed to edit the Rebel file, in this case its not.

There are only 2 files for you to edit.
descr_strat.txt
descr_regions.txt

descr_strat.txt editing:

Lets say we are removing Macedon. First Remove the text completely under the factions playable section, DONT add to the unplayable as you will get a CTD. Remove it completely.

Second Use the find command to look for all Macedon text. Any regions you find below that have macedon must be changed. Example.

{
level large_town
region Thessalia

year_founded 0
population 3500
settlement_tax 51
plan_set default_set
faction_creator macedon
building

This would need to be changed to a faction that you still want in the game in this case we will use thrace.

{
level large_town
region Thessalia

year_founded 0
population 3500
settlement_tax 51
plan_set default_set
faction_creator thrace
building

Next you need to Remove completely the Macedon Section. Example of header is.

; ---------------------------------------------------------
; ######### >>> macedon <<< #########
; ---------------------------------------------------------

Remove everything under this heading that deals with macedon.

Next is to look for rebel armies etc that may have a subfaction leader that uses macedon. Example:

character, sub_faction macedon, Cleon, general, command 0, influence 0, management 0, subterfuge 0, age 20, , x 67, y 82
army
unit greek hoplite militia exp 1 armour 0 weapon_lvl 0
unit greek hoplite militia exp 1 armour 0 weapon_lvl 0

You would need to change this to greek_cities or some other sub_faction name that is still in the game.

The next file is the descr_regions.txt


You will need to do a find again for Macedon and change the faction that is listed for each of the provinces that use your faction that you wish to delete. Example.

Tribus_Getae
Campus_Getae
macedon
Troglodytae
131 33 38
timber, dogs, pigs
5
7
Will need to be changed to:

Tribus_Getae
Campus_Getae
thrace
Troglodytae
131 33 38
timber, dogs, pigs
5
7


Or some other faction that is still in your game.

I hope this helps, if you do the above you should get NO CTDs and should have the faction completewly removed.

Also dont forget to in properties to change your Icon command line to -show_err
This command Allows you to see an error in text in the files mentioned above.

Sincerely,

Lt_1956

lt1956
08-15-2005, 22:10
Remove everything under this heading that deals with macedon.

Next is to look for rebel armies etc that may have a subfaction leader that uses macedon. Example:

character, sub_faction macedon, Cleon, general, command 0, influence 0, management 0, subterfuge 0, age 20, , x 67, y 82
army
unit greek hoplite militia exp 1 armour 0 weapon_lvl 0
unit greek hoplite militia exp 1 armour 0 weapon_lvl 0

You would need to change this to greek_cities or some other sub_faction name that is still in the game.

The next file is the descr_regions.txt


You will need to do a find again for Macedon and change the faction that is listed for each of the provinces that use your faction that you wish to delete. Example.

Tribus_Getae
Campus_Getae
macedon
Troglodytae
131 33 38
timber, dogs, pigs
5
7
Will need to be changed to:

Tribus_Getae
Campus_Getae
thrace
Troglodytae
131 33 38
timber, dogs, pigs
5
7


Or some other faction that is still in your game.

I hope this helps, if you do the above you should get NO CTDs and should have the faction completewly removed.

Also dont forget to in properties to change your Icon command line to -show_err
This command Allows you to see an error in text in the files mentioned above.

Sincerely,

Lt_1956