PC Mode
Org Mobile Site
Forum > Rome: Total War > Rome: Total War > R:TW Modification > Modding Questions >
Thread: CTD with empire_east_rebel revolts
Dol Guldur 22:47 01-03-2006
I'm going to have to admit that this one is getting the better of me. My EERs are playable and the shadow relationship is set up with the EE as per vanilla.

When a EER settlement gets to the point of revolt the game will usually have it do so, but every now and again such an imminent revolt will lead to an immediate CTD on pressing the end-of-turn button.

The CTD is not connected to the settlement, or the settlement alone, as the same settlement sometimes causes a CTD and other times it does not.

It is a modded build and the vanilla EDU/DMB files, when inserted, seem to make the CTD go away. I've checked textures (though I do not enter the battle map)) and models and EDU ownerships (inc. slave) and rebel files.

I'm thinking: what could be missing or in error (likely the former) from the DMB or EDU file that woudl causes this to happen tothis faction and no other?

Any ideas anyone?

Reply
alpaca 23:16 01-03-2006
Off the top of my head: Unit ownership could maybe cause this when a unit that is owned by the core faction would join the rebels.

Reply
Dol Guldur 23:47 01-03-2006
All vanilla units have been deleted, stripped to a clean build. the western peasant saxon unit entry (using western peasant model) is serving as the only unit in-game - acting as mercs, peasants for all factions, and general_unit.

Ownership exists for both these factions.

It is very perplexing. If there was something wrong with EDU/DMB it should register straight away - why on *some* empire-east-rebel settlement revolt?

Reply
alpaca 00:20 01-04-2006
Hmm did you change the rebel armies accordingly?

Reply
Dol Guldur 00:41 01-04-2006
Yes, all rebels are the same unit - anyway, such issues would cause a CTD in more broad circumstances than I have mentioned.

I have 2 supposedly identical builds where a discrepancy must have slipped in - this could be the only explanation as to why one works with the vanilla EDU/DMB and the other does not (it works with modded DMB/EDU) (the latter was working until recently).

Reply
Dol Guldur 21:32 01-05-2006
OK, the EDU and DMB code for the (almost) universal placeholder unit in a clean build...why would empire_east_rebels cause a CTD seemingly around *some* of their revolts?

The problem is certainly here somewhere but I cannot see it. Everything else has been eliminated...


Code:
type             western peasant saxon
dictionary       western_peasant_saxon      ; All Peasants
category         infantry
class            light
voice_type       Light_1
soldier          western_peasant, 60, 0, 0.8
attributes       sea_faring, is_peasant, mercenary_unit, general_unit
formation        1.2, 1.8, 2.4, 2.4, 6, horde
stat_health      1, 0
stat_pri         2, 1, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
stat_pri_attr    no
stat_sec         0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr    no
stat_pri_armour  0, 5, 0, flesh
stat_sec_armour  0, 0, flesh
stat_heat        2
stat_ground      1, -2, 3, 2
stat_mental      1, low, untrained
stat_charge_dist 30
stat_fire_delay  0
stat_food        60, 300
stat_cost        1, 72, 14, 20, 30, 80
ownership        lombardi, celts, saxons, sarmatians, goths, empire_east, empire_east_rebels, sassanids, slave, huns
Code:
type		western_peasant		;WORKING IN GAME
 ;--------------------------------------
skeleton				fs_semi_fast_dagger
indiv_range				40

texture		slave,			bi/data/models_unit/textures/BI_unit_western_peasant_slave.tga
texture		sassanids, 		bi/data/models_unit/textures/BI_unit_sassanid_peasant.tga
texture		empire_east, 		bi/data/models_unit/textures/BI_unit_western_peasant_empire_east.tga
texture		empire_east_rebels, 		bi/data/models_unit/textures/BI_unit_western_peasant_empire_east.tga
texture		huns, 		bi/data/models_unit/textures/BI_unit_western_peasant_empire_east.tga
texture		slavs,			bi/data/models_unit/textures/BI_unit_eastern_peasant_slavs.tga	
texture		goths, 			bi/data/models_unit/textures/BI_unit_western_peasant_goths.tga
texture		ostrogoths, 		bi/data/models_unit/textures/BI_unit_western_peasant_ostrogoths.tga
texture		sarmatians, 		bi/data/models_unit/textures/BI_unit_sarmatians_peasant.tga          
texture	   	alemanni, 		bi/data/models_unit/textures/BI_unit_western_peasant_alemanni.tga		
texture	   	vandals, 		bi/data/models_unit/textures/BI_unit_eastern_peasant_vandals.tga		   
texture		franks, 		bi/data/models_unit/textures/BI_unit_western_peasant_franks.tga
texture		saxons, 		bi/data/models_unit/textures/BI_unit_western_peasant_saxons.tga
texture		celts, 			bi/data/models_unit/textures/BI_unit_western_peasant_celts.tga		
texture		empire_west, 		bi/data/models_unit/textures/BI_unit_western_peasant.tga		
texture		empire_west_rebels,	bi/data/models_unit/textures/BI_unit_western_peasant_rebels.tga			
texture		romano_british, 	bi/data/models_unit/textures/BI_unit_romano_peasant.tga	
texture		roxolani, 		bi/data/models_unit/textures/BI_unit_roxolani_peasant.tga
texture		burgundii, 		bi/data/models_unit/textures/BI_unit_western_peasant_burgundii.tga
texture		lombardi, 		bi/data/models_unit/textures/BI_unit_western_peasant_lombardi.tga	
texture		merc, 		bi/data/models_unit/textures/BI_unit_western_peasant_lombardi.tga
model_flexi				bi/data/models_unit/BI_unit_western_peasant_lod1.CAS, 15
model_flexi				bi/data/models_unit/BI_unit_western_peasant_lod2.CAS, 30
model_flexi				bi/data/models_unit/BI_unit_western_peasant_lod3.CAS, 40
model_flexi				bi/data/models_unit/BI_unit_western_peasant_lod4.CAS, max
model_sprite		lombardi, 60.0, bi/data/sprites/lombardi_western_peasant_sprite.spr
model_sprite		slave, 60.0, bi/data/sprites/slave_western_peasant_sprite.spr
model_sprite		empire_west_rebels, 60.0, bi/data/sprites/empire_west_rebels_western_peasant_sprite.spr
model_sprite		huns, 60.0, bi/data/sprites/slave_western_peasant_sprite.spr
model_sprite		empire_east_rebels, 60.0, bi/data/sprites/empire_west_rebels_western_peasant_sprite.spr
model_sprite		empire_west, 60.0, bi/data/sprites/empire_west_western_peasant_sprite.spr
model_sprite		empire_east, 60.0, bi/data/sprites/empire_east_western_peasant_sprite.spr
model_sprite		alemanni, 60.0, bi/data/sprites/alemanni_western_peasant_sprite.spr
model_sprite		burgundii, 60.0, bi/data/sprites/burgundii_western_peasant_sprite.spr
model_sprite		slavs, 60.0, bi/data/sprites/slavs_western_peasant_sprite.spr
model_sprite		romano_british, 60.0, bi/data/sprites/romano_british_western_peasant_sprite.spr
model_sprite		ostrogoths, 60.0, bi/data/sprites/ostrogoths_western_peasant_sprite.spr
model_sprite		roxolani, 60.0, bi/data/sprites/roxolani_western_peasant_sprite.spr
model_sprite		sassanids, 60.0, bi/data/sprites/sassanids_western_peasant_sprite.spr
model_sprite		celts, 60.0, bi/data/sprites/celts_western_peasant_sprite.spr
model_sprite		saxons, 60.0, bi/data/sprites/saxons_western_peasant_sprite.spr
model_sprite		franks, 60.0, bi/data/sprites/franks_western_peasant_sprite.spr
model_sprite		vandals, 60.0, bi/data/sprites/vandals_western_peasant_sprite.spr
model_sprite		sarmatians, 60.0, bi/data/sprites/sarmatians_western_peasant_sprite.spr
model_sprite		goths, 60.0, bi/data/sprites/goths_western_peasant_sprite.spr
model_sprite		merc, 60.0, bi/data/sprites/goths_western_peasant_sprite.spr
model_tri				400, 0.5f, 0.5f, 0.5f


Reply
Up
Single Sign On provided by vBSSO