Shaggydog
11th Mar 09, 7:10 AM
Can anyone please explain to me how I can get a model to switch between cc and ranged weaponry?
It is probably very simple I just haven't come across it yet in my (very) limited experience modding dow2
Basically, I have created another entry for a tactical marine that I can add onto the FC as support.
I would like to know how to have the units use only their flamers instead of switching to close combat. At the moment if they have ranged weapons there is an over-lay / mix of the close combat weapons as a graphical hitch I'm finding.
| melee_ext: {
| | $REF: "entity_extensions\melee_ext";
| | charge: {
| | | cooldown: 15f;
| | | ignore_melee_skill: false;
| | | minimum_range: 10f;
| | | on_charge_actions: {
| | | | apply_modifiers_action: {
| | | | | $REF: "actions\ability\apply_modifiers_action";
| | | | | duration: 2f;
| | | | | modifiers: {
| | | | | | speed_maximum_modifier: {
| | | | | | | $REF: "modifiers\speed_maximum_modifier";
| | | | | | | application_type: "apply_to_entity";
| | | | | | | exclusive: false;
| | | | | | | exclusive_type: "tp_modifier";
| | | | | | | probability_of_applying: 1f;
| | | | | | | target_type_name: "";
| | | | | | | usage_type: "multiplication";
| | | | | | | value: 2f;
| | | | | | };
| | | | | };
| | | | | permanent: false;
| | | | };
| | | };
and
| | has_melee_right_of_way: false;
| | in_combat_ranged_damage_modifier: 0.5f;
| | leap: {
| | | can_leap: false;
| | | jump_info: {
| | | | $REF: "types\jump_info";
| | | | aggression: 0.5f;
| | | | anticipation_time: 0f;
| | | | breakdown_time: 0.5f;
| | | | jump_distance_max: 50f;
| | | | jump_height: 1.5f;
| | | | jump_min_height: 1f;
| | | | jump_pass_type: "";
| | | | max_forward_speed: 30f;
| | | | min_forward_speed: 30f;
| | | | number_of_jumpers: 0;
| | | | skip_facing: false;
| | | | teleport: false;
| | | | use_special_on_completion_actions: false;
| | | };
| | | on_completion_actions: {
| | | };
| | | on_completion_target_actions: {
| | | };
| | | on_start_actions: {
| | | };
| | };
| | melee_base_size: "small";
| | weapon_skill: 50;
are two parts of the file i find interesting.... but have no idea what to change and where
It is probably very simple I just haven't come across it yet in my (very) limited experience modding dow2
Basically, I have created another entry for a tactical marine that I can add onto the FC as support.
I would like to know how to have the units use only their flamers instead of switching to close combat. At the moment if they have ranged weapons there is an over-lay / mix of the close combat weapons as a graphical hitch I'm finding.
| melee_ext: {
| | $REF: "entity_extensions\melee_ext";
| | charge: {
| | | cooldown: 15f;
| | | ignore_melee_skill: false;
| | | minimum_range: 10f;
| | | on_charge_actions: {
| | | | apply_modifiers_action: {
| | | | | $REF: "actions\ability\apply_modifiers_action";
| | | | | duration: 2f;
| | | | | modifiers: {
| | | | | | speed_maximum_modifier: {
| | | | | | | $REF: "modifiers\speed_maximum_modifier";
| | | | | | | application_type: "apply_to_entity";
| | | | | | | exclusive: false;
| | | | | | | exclusive_type: "tp_modifier";
| | | | | | | probability_of_applying: 1f;
| | | | | | | target_type_name: "";
| | | | | | | usage_type: "multiplication";
| | | | | | | value: 2f;
| | | | | | };
| | | | | };
| | | | | permanent: false;
| | | | };
| | | };
and
| | has_melee_right_of_way: false;
| | in_combat_ranged_damage_modifier: 0.5f;
| | leap: {
| | | can_leap: false;
| | | jump_info: {
| | | | $REF: "types\jump_info";
| | | | aggression: 0.5f;
| | | | anticipation_time: 0f;
| | | | breakdown_time: 0.5f;
| | | | jump_distance_max: 50f;
| | | | jump_height: 1.5f;
| | | | jump_min_height: 1f;
| | | | jump_pass_type: "";
| | | | max_forward_speed: 30f;
| | | | min_forward_speed: 30f;
| | | | number_of_jumpers: 0;
| | | | skip_facing: false;
| | | | teleport: false;
| | | | use_special_on_completion_actions: false;
| | | };
| | | on_completion_actions: {
| | | };
| | | on_completion_target_actions: {
| | | };
| | | on_start_actions: {
| | | };
| | };
| | melee_base_size: "small";
| | weapon_skill: 50;
are two parts of the file i find interesting.... but have no idea what to change and where