PDA

View Full Version : A little bug, please help ^^(unit)



Phoenix K Guild
12-19-2006, 04:01
I have made my own unit
donwload here: (waiting for 1st post)
but when I started a battle in "custom mode" after the load screen the game crashed
:dizzy2: :dizzy2: :dizzy2:
please, anyone check this
:dizzy2: :dizzy2: :dizzy2:


ps: My unit card and unit card info dont work well too

Phoenix K Guild
12-19-2006, 04:14
download here: http://www.megaupload.com/?d=BA9JV591

sorry for the double post

Monkwarrior
12-19-2006, 11:45
Errors found in a quick search:

Unit cards: must be 48x64, but you have it 60x64
Unit info pictures: must be 160x210, but you have it 117x210

Texture: you have saved it as DXT1, without alpha channel. It must be DXT5.

That's all for the moment. :book:

Phoenix K Guild
12-19-2006, 14:44
thanks, i will try fix it here

Phoenix K Guild
12-19-2006, 15:18
how can I change my dds to DDS5 ?

Phoenix K Guild
12-19-2006, 16:15
I have read some things about DDS5 and Unit cards

and now I'm sure...
My dds is DDS5(https://img340.imageshack.us/img340/8711/ddsromebl4.jpg)
My units_card is 48x64 in 32 bits
my unit_info card is in160x210 in 32 bits


descr_model_battle.txt[/B]]
type phoenixian_infantry ; combat sword
skeleton fs_swordsman
indiv_range 40
texture greek, data/models_unit/textures/unit_phoenixian_infantry.tga
model_flexi data/models_unit/unit_phoenixian_infantry_high.cas, 15
model_flexi data/models_unit/unit_phoenixian_infantry_med.cas, 30
model_flexi data/models_unit/unit_phoenixian_infantry_low.cas, 40
model_flexi data/models_unit/unit_phoenixian_infantry_lowest.cas, max
model_sprite greek, 60.0, data/sprites/MACEDON_GREEK_PEASANT_SPRITE.SPR
model_tri 400, 0.5f, 0.5f, 0.5f



export_descr_unit.txt[/B]]
type phoenixian infantry
dictionary phoenixian_infantry ; Phoenixian Infantry
category infantry
class heavy
voice_type Heavy_1
soldier phoenixian_infantry, 60, 0, 1
attributes sea_faring, can_sap
formation 1.2, 1.8, 2.4, 2.4, 3, square
stat_health 1, 0
stat_pri 9, 5, no, 0, 0, melee, simple, slashing, sword, 25 ,1
stat_pri_attr ap, launching
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 7, 4, 5, metal
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 0, 0, 0, 0
stat_mental 14, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1,600,150,120,150,600
ownership greek



export_descr_unit_enums.txt[/B]]
phoenixian_infantry
phoenixian_infantry_descr
phoenixian_infantry_descr_short



text\export_units.txt[/B]]
{phoenixian_infantry} Phoenixian Infantry
{phoenixian_infantry_descr}
The Phoenixian Soldiers are high trained and well equiped infantry, using both to assault enemy's position with long sword or to hold the battle line behind their's large Targe's.
{phoenixian_infantry_descr_short}
The Phoenixian Soldiers are high trained and well equiped infantry, using both to assault enemy's position with long sword or to hold the battle line behind their's large Targe's.


and my game still crashing:help: , can anyone take a look in my files? thanks by the way

Phoenix K Guild
12-19-2006, 16:46
fixed the problem with game crasing, was some path name error...
now my units load in game with texture ...but WITHOUT swords o.0'

Phoenix K Guild
12-19-2006, 16:59
fixed the problem with game crasing, was some path name error...
now my units load in game with texture ...but WITHOUT swords o.0'
a problem with secondary and primary weapon...now its done....now other problem...Why my unit card still this sux black peasant?

Squid
12-19-2006, 17:10
Do you have them named correctly? (i.e. unit card is named #model_name.tga, and the unit info card is named model_name_info.tga, where the model name is the name from the DMB file.

Are they in the correct place /Data/ui/units/faction & /Data/ui/unit_info/faction respectively?

Phoenix K Guild
12-19-2006, 18:06
yes, o.0'

Phoenix K Guild
12-19-2006, 18:16
ok, i found my mistake, a greek in front of my tgs names ^^
now... hum...
first:
My cohort have 120 men, but I want to put only 80 man on the cohort, how can i change de number if the txt file isnt working?
second:
My units are sort of weak

see the TXT file



type phoenixian infantry
dictionary phoenixian_infantry ; Phoenixian Infantry
category infantry
class heavy
voice_type Heavy_1
soldier phoenixian_infantry, 60, 0, 1
attributes sea_faring, can_sap
formation 1.2, 1.8, 2.4, 2.4, 3, square
stat_health 1, 0
stat_pri 9, 5, no, 0, 0, melee, simple, slashing, sword, 25 ,1
stat_pri_attr ap, launching
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 7, 4, 5, metal
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 0, 0, 0, 0
stat_mental 14, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1,600,150,120,150,600
ownership greek

Squid
12-19-2006, 20:10
first:
My cohort have 120 men, but I want to put only 80 man on the cohort, how can i change de number if the txt file isnt working?

To change it from 120 to 80 men change

soldier phoenixian_infantry, 60, 0, 1

to

soldier phoenixian_infantry, 40, 0, 1



second:
My units are sort of weak


To fix that play around with

stat_pri 9, 5, no, 0, 0, melee, simple, slashing, sword, 25 ,1

The bolded number is the attack value, for comparisson in Vanilla a British Sword weilding British Warband has a value of 10 for that number.