- Add the following to export_descr_units.txt. This is an advice to add the tank that should only make it work, not balanced. Feel free to change the stats to whatever you want:
Code:
type steamtank
dictionary steam_tank
category cavalry
class missile
voice_type Medium_1
soldier scorpion_crew, 18, 9, 1
mount scoprion cart
attributes sea_faring, hide_forest, frighten_foot
formation 8.5, 9, 15, 15, 2, square
stat_health 5, 5
stat_pri 10, 2, shell, 160, 100, siege_missile, other, blunt, spear, 25 ,1
stat_pri_attr area, ap, bp, launching
stat_sec 20, 20, no, 0, 0, melee, other, blunt, none, 25 ,1
stat_sec_attr area, ap
stat_pri_armour 30, 20, 20, metal
stat_sec_armour 20, 20, metal
stat_heat 0
stat_ground 0, 0, 0, 0
stat_mental 30, disciplined, highly_trained
stat_charge_dist 60
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 925, 431, 80, 120, 740
ownership roman
- Open descr_mount.txt, search for "horses " (with spacebar), insert the following under this label:
Code:
type nohorse
class horse
model nohorse
radius 0.1
x_radius 0.1 ;changed from 0.5 29/4/05
height 2.5
mass 1
banner_height 0
bouyancy_offset 1.8
water_trail_effect horse_water_trail
root_node_height 1.6
rider_offset 0.0, 0.15, -0.03
- Also in descr_mount.txt, scroll down to bottom of the file, replace the scoprion cart entry with this:
Code:
type scoprion cart
class scorpion_cart
radius 6.2
x_radius 2
height 3
mass 25
banner_height 0
bouyancy_offset 0
water_trail_effect chariot_water_trail
axle_width 1.82
wheel_radius 0.574
pivot_offset 0, 0.0, 0
pole_length 0
pole_pivot 0, 0, 0
pole_connect 0
harness_connect 0
horse_type nohorse
horses 1
horse_offset 0, 0
;horse_offset 0, 0
riders 2
rider_offset 0, 0, 0
rider_offset 0, -0.35, 0.50
lods 1
lod scorpion_cart.cas, 50, 50
scorpion_offset 0, 1.5, 2.5
scorpion_height 0.35
scorpion_forward_length 3
scorpion_reload_ticks 1
- Scroll down to bottom and add to descr_projectile_new.txt:
Code:
projectile shell
effect shell_fire_set
end_effect large_arrow_explode_set
damage 5
damage_to_troops 10
radius 1
mass 0.1
min_angle -30
max_angle 70
velocity 200
;bounce 0.3 0.4 0.7 0.9
display aimed particle_trail
model data/models_missile/sling_stone.cas, max
- Open descr_effects_arrow_trail.txt, scroll to the bottom and add the following. Credits to lotr team again for the entries;;;
Code:
effect shell_explosion
{
type explosion
{
; main explosion
model models_effects/flaming_arrow_impact.cas
anim_time 0.5
max_scale 0.5
max_particle_scale 2
scale_time_bias 0.9
alpha_time_bias 0.4
sort_for_speed
; debris
debris_model models_effects/debris.cas
debris_num_particles 3
debris_lifetime_range 2.2, 5.8
debris_emit_angle 50 ; degrees
debris_time_bias 0.97
debris_velocity_range 4.5, 6.5
debris_scale_range 0.1, 0.3
}
}
effect_set shell_fire_set
{
lod 1000
{
shell_explosion
fiery_ballista
fiery_boulder_light
}
}
- Add the following to descr_model_battle.txt:
Code:
type nohorse
skeleton fs_fast_horse
scale 0.875
indiv_range 40
texture merc, data/models_unit/textures/nohorse.tga
model_flexi data/models_unit/nohorse.CAS, max
model_tri 700, 0.3f, 0.3f, 0.3f
type scorpion_crew
skeleton fs_carriage_ballistae_crew, fs_chariot_sword
indiv_range 40
texture data/models_unit/textures/no_rider.tga
model_flexi ata/models_unit/no_rider.cas, max
model_tri 400, 0.5f, 0.5f, 0.5f
- Lastly, it is important to search for the officers (captains, generals) entries and add the following to their skeletons list, or else the game will crash when the tank is chosen as a general unit:
Code:
skeleton_scorpion_cart fs_carriage_ballistae_crew
|