Bugging me
Hey all, I'm trying to make a new weapon completely from scratch, and I've come so far as to fire the weapon and not cause a CTD.
My last dilema is that when I fire the weapon, theres no projectile. As in: It's invisible. Sorry if this is in an FAQ and I overlooked it, I did a lot of searching, believe me.
I've looked over my effects and beam_effects.ini, plus the weaponequip.ini to check for consistency, but it just wont work. I'll list my codes below.
Effects.ini
[Effect
nickname = fp_photon_04_proj
effect_type = EFT_WEAPON_PROJ
vis_beam = fp_photon_04_proj
Beam_effects.ini ((The colors aren't permanent, I was just trying to get it to work))
[BeamSpear
nickname = fp_photon_04_beam
tip_length = 20
tail_length = 30
head_width = 1.700000
core_width = 5.000000
tip_color = 255, 255, 255
core_color = 255, 255, 255
outter_color = 255, 255, 255
tail_color = 255, 255, 255
head_brightness = 2
trail_brightness = 2
head_texture = star
trail_texture = thin
flash_size = 4
Weapons_ale.ini ((The error might be here))
[VisEffect
nickname = fp_photon_04_proj
alchemy = fx\weapons\ci_photon_04.ale
effect_crc = -443261545 What does this mean, btw?
textures = fx\sarma.txm
textures = fx\standardeffects.txm
textures = fx\smoke.txm
textures = fx\photon.txm
weapon_equip.ini
[Munition
nickname = fp_gun01_mark01_ammo
hp_type = hp_gun
requires_ammo = false
hit_pts = 2
hull_damage = 600
energy_damage = 50
weapon_type = W_Photon01
one_shot_sound = fire_photon5
munition_hit_effect = pi_pulse_03_impact
const_effect = fp_photon_04_proj
lifetime = 10.000000
force_gun_ori = false
mass = 1
volume = 0.000100
[Gun
nickname = fp_gun01_mark01
ids_name = 300001
ids_info = 300001
DA_archetype = equipment\models\weapons\li_laser_beam.cmp
material_library = equipment\models\li_equip.mat
HP_child = HPConnect
hit_pts = 600
explosion_resistance = 1.000000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
mass = 10
hp_gun_type = hp_gun_special_10
damage_per_fire = 0
power_usage = 450.000000
refire_delay = 0.100000
muzzle_velocity = 750
use_animation = Sc_fire
toughness = 3.000000
flash_particle_name = ku_photon_01_flash
flash_radius = 15
light_anim = l_gun01_flash
projectile_archetype = fp_gun01_mark01_ammo
separation_explosion = sever_debris
auto_turret = false
turn_rate = 90
lootable = false
LODranges = 0, 20, 40, 80, 100
Edited by - Drako_Starblast on 2/10/2006 4:33:39 PM
My last dilema is that when I fire the weapon, theres no projectile. As in: It's invisible. Sorry if this is in an FAQ and I overlooked it, I did a lot of searching, believe me.
I've looked over my effects and beam_effects.ini, plus the weaponequip.ini to check for consistency, but it just wont work. I'll list my codes below.
Effects.ini
[Effect
nickname = fp_photon_04_proj
effect_type = EFT_WEAPON_PROJ
vis_beam = fp_photon_04_proj
Beam_effects.ini ((The colors aren't permanent, I was just trying to get it to work))
[BeamSpear
nickname = fp_photon_04_beam
tip_length = 20
tail_length = 30
head_width = 1.700000
core_width = 5.000000
tip_color = 255, 255, 255
core_color = 255, 255, 255
outter_color = 255, 255, 255
tail_color = 255, 255, 255
head_brightness = 2
trail_brightness = 2
head_texture = star
trail_texture = thin
flash_size = 4
Weapons_ale.ini ((The error might be here))
[VisEffect
nickname = fp_photon_04_proj
alchemy = fx\weapons\ci_photon_04.ale
effect_crc = -443261545 What does this mean, btw?
textures = fx\sarma.txm
textures = fx\standardeffects.txm
textures = fx\smoke.txm
textures = fx\photon.txm
weapon_equip.ini
[Munition
nickname = fp_gun01_mark01_ammo
hp_type = hp_gun
requires_ammo = false
hit_pts = 2
hull_damage = 600
energy_damage = 50
weapon_type = W_Photon01
one_shot_sound = fire_photon5
munition_hit_effect = pi_pulse_03_impact
const_effect = fp_photon_04_proj
lifetime = 10.000000
force_gun_ori = false
mass = 1
volume = 0.000100
[Gun
nickname = fp_gun01_mark01
ids_name = 300001
ids_info = 300001
DA_archetype = equipment\models\weapons\li_laser_beam.cmp
material_library = equipment\models\li_equip.mat
HP_child = HPConnect
hit_pts = 600
explosion_resistance = 1.000000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
mass = 10
hp_gun_type = hp_gun_special_10
damage_per_fire = 0
power_usage = 450.000000
refire_delay = 0.100000
muzzle_velocity = 750
use_animation = Sc_fire
toughness = 3.000000
flash_particle_name = ku_photon_01_flash
flash_radius = 15
light_anim = l_gun01_flash
projectile_archetype = fp_gun01_mark01_ammo
separation_explosion = sever_debris
auto_turret = false
turn_rate = 90
lootable = false
LODranges = 0, 20, 40, 80, 100
Edited by - Drako_Starblast on 2/10/2006 4:33:39 PM