chakotay02 Posted February 11, 2008 Posted February 11, 2008 Hey all, It's been a while again since I posted here. I recently started modding FoC again and I added a new ship succesfully but it refuses to fire. It just floats around. Though I think it's an export error I'm not sure. I have a main mesh, collision mesh and a shadow mesh. Furthermore I have small cubes with a collisionfx applied to them for hp's and dummies for bones. Here are the scripted parts. a<?xml version="1.0"?> TEXT_UNIT_CCS Star_Destroyer Calamari_Cruiser Krayt_Class_Destroyer CCS.ALO 0.999 1.3 5 250 15000 7500 15000 50 10000 1000 Space Capital 2 0.3 0.1 5 Yes 1.75 .02 .02 -350 Armor_Star_Destroyer Shield_Capital 0.3 800 -50 1.75 Empire 0 0 0 3 Atzerri capital 3 yes no 0 3 0 1 8000 8500 110 Yes 8 DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDED ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA 2000.0 0.24 2500.0 Yes Large_Explosion_Space_Empire Large_Damage_Space HP_CCS_bridge, HP_CCS_engine01, HP_CCS_engine02, HP_CCS_laser01, HP_CCS_laser02, HP_CCS_sensor, HP_CCS_shield, HP_CCS_torp01, HP_CCS_torp02 Capital | AntiFrigate i_button_ccs.tga yes True EHD_Build_Vehicle EHD_Unit_Canceled Unit_Complete_CCS Unit_Acclamator_Moving_Engine_Loop Unit_Select_CCS Unit_Move_CCS Unit_Fleet_Move_CCS Unit_Attack_CCS Unit_Guard_CCS Unit_Stop_CCS Unit_Barrage_CCS Unit_Asteroids_CCS Unit_Nebula_Jedi_Cruiser HARD_POINT_WEAPON_LASER, Unit_HP_CCS HARD_POINT_WEAPON_MISSILE, Unit_HP_CCS HARD_POINT_WEAPON_TORPEDO, Unit_HP_CCS HARD_POINT_WEAPON_ION_CANNON, Unit_HP_CCS HARD_POINT_SHIELD_GENERATOR, Unit_HP_CCS HARD_POINT_ENGINE, Unit_HP_CCS HARD_POINT_GRAVITY_WELL, Unit_HP_CCS Unit_Acclamator_Idle_Engine_Loop Unit_Acclamator_Moving_Engine_Loop Unit_Acclamator_Cinematic_Engine_Loop Unit_Cruiser_Death_SFX Yes Yes 1.0 1.0 1000.0 0.0 400.0 5.0 Capital Damage_Normal, CCS_Death_Clone TEXT_TOOLTIP_CCS TEXT_ENCYCLOPEDIA_CLASS_BATTLECRUISER 2300 0 0 0 45 40000 i_radar_capital_ship_empire.tga 7500 50 Tactical_Units TEXT_UNIT_CCS NV_JediCruiser_D.alo Unit_Star_Destroyer_Death_SFX 1.0 -350.0 0.25 0.02 0.05 0.02 5 true Here is the projectile part. TEXT_NONE p_kraytdestoyer_presuperblast.alo p_kraytdestoyer_presuperblast.alo 1.0 Damage_Krayt_Damage_Blast 50.0 0.4 PROJECTILE, HIDE_WHEN_FOGGED IDLE IDLE MISSILE 2300.0 0.0 2500.0 300.0 200.0 0 SFX_Concussion_Missile_Detonation SFX_Small_Damage_Detonation Yes No Yes 0 Shield_Sparks_Large Huge_Explosion_Space Huge_Dud 3000 TEXT_NONE W_LASER_MEDIUM.ALO 1 2.0 150.0 0,0 1.0 70.0 0.0 PROJECTILE, HIDE_WHEN_FOGGED Laser 2700.0 250.0 Yes No Yes 10 Medium_Damage_Space Medium_Dud Projectile_Shield_Absorb_Medium 160 SFX_Small_Damage_Detonation SFX_Small_Damage_Detonation And finally, here is the hp part.<?xml version="1.0" encoding="UTF-8"?> HARD_POINT_DUMMY_ART No No Bone_bridge Bone_bridge HP01_SD_BLAST HP01_SD_EMITDAMAGE HARD_POINT_ENGINE No No TEXT_ENGINE_HARDPOINT Huge_Explosion_Space_Empire Bone_E01 Bone_E01 HP_Engines_EmitDamage HARD_POINT_ENGINE No No TEXT_ENGINE_HARDPOINT Huge_Explosion_Space_Empire Bone_E02 Bone_E02 HP_Engines_EmitDamage HARD_POINT_WEAPON_LASER No No Damage_Star_Destroyer MuzzleA_00 MuzzleA_00 90.0 90.0 Proj_Ship_Medium_Laser_Cannon_Red2 2.0 3.0 1 0.2 2500.0 Unit_Rebel_Ship_Laser_Fire Fighter, 6.0 Bomber, 5.5 Transport, 1.0 Corvette, 12.0 Frigate, 70.0 Capital, 30.0 Super, 30.0 False HARD_POINT_WEAPON_LASER No No Damage_Star_Destroyer MuzzleA_00 MuzzleA_00 90.0 90.0 Proj_Ship_Medium_Laser_Cannon_Red2 2.0 3.0 1 0.2 2500.0 Unit_Rebel_Ship_Laser_Fire Fighter, 6.0 Bomber, 5.5 Transport, 1.0 Corvette, 12.0 Frigate, 70.0 Capital, 30.0 Super, 30.0 False HARD_POINT_DUMMY_ART No No Bone_sensor Bone_sensor HP01_SD_BLAST HP01_SD_EMITDAMAGE HARD_POINT_SHIELD_GENERATOR No No TEXT_SHIELD_GENERATOR_HARDPOINT Huge_Explosion_Space_Empire Unit_Hardpoint_Shields_Death Hardpoint_Breakoff_Star_Dest_Shield_Gen2 Bone_shield Bone_shield HP_Shield_Blast HP_Shield_EmitDamage HARD_POINT_WEAPON_LASER No No TEXT_WEAPON_PLASMA Large_Explosion_Space_Empire Unit_Hardpoint_Turbo_Laser_Death Damage_Star_Destroyer Bone_T01 Bone_T01 HP_F-L_BLAST HP_F-L_EMITDAMAGE MuzzleA_00 MuzzleA_00 300 130.0 Proj_Ship_Plasma 30.0 30.0 1 0.7 2500.0 Unit_Turbo_Fire Fighter, Bomber, Transport HARD_POINT_WEAPON_LASER No No TEXT_WEAPON_PLASMA Large_Explosion_Space_Empire Unit_Hardpoint_Turbo_Laser_Death Damage_Star_Destroyer Bone_T02 Bone_T02 HP_F-L_BLAST HP_F-L_EMITDAMAGE MuzzleA_00 MuzzleA_00 300 130.0 Proj_Ship_Plasma 30.0 30.0 1 0.7 2500.0 Unit_Turbo_Fire Fighter, Bomber, Transport Sorry that this is so long I just can't find the darn mistake I made on my own. Thanks in advance for any help! Ciao,Abyssinian.
Droid803 Posted February 12, 2008 Posted February 12, 2008 Furthermore I have small cubes with a collisionfx applied to them for hp's and dummies for bones. I would just use dummies for both. So much simpler I don't see anything wrong with the coding at first glance, assuming you have the bones named right. http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg"That was fun"
chakotay02 Posted February 12, 2008 Author Posted February 12, 2008 I'll try to use dummies for both then. Would I then still need to apply the shader and align them?
Warb_Null Posted February 12, 2008 Posted February 12, 2008 It looks like you put the hardpoint data in a seperate XML file. Did you also put the filename in HARDPOINTDATAFILES.XML ? That might explain the not firing.
Droid803 Posted February 13, 2008 Posted February 13, 2008 That could be a possibility. http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg"That was fun"
chakotay02 Posted February 13, 2008 Author Posted February 13, 2008 Yeah I added the hp file in the hpdatafiles. I'm planning on changing them to targetable and destroyable to see if the game sees them. After that I'll try with the dummies though my question stands, will I need to apply the shader still and align it?
Droid803 Posted February 14, 2008 Posted February 14, 2008 You will not have to apply any shaders, though it would be advised to rotate the pivot so that it faces the right way. http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg"That was fun"
chakotay02 Posted February 15, 2008 Author Posted February 15, 2008 I hate this. Now it's starting to drive me crazy. I deleted the boxes and replaced them with dummies. I then made some hp's targetable and destroyable and then launched the game. The ships still didn't fire and the enemies only targeted the locations of the non-target- and non-destroyables. Also when the ship jumped into the system a hp seemed to get destroyed out of nowhere. I'm still going with a export error. Do I need to hide any dummies acting as bones or hp's? I only had the shadowmesh hidden. It's really starting to piss me off.
Droid803 Posted February 16, 2008 Posted February 16, 2008 Don't hide them...Did you try making them ALL targetable? That should point out which ones are incorrectly coded or exported. Whatever the case may be. http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg"That was fun"
chakotay02 Posted February 21, 2008 Author Posted February 21, 2008 Well I made them all targetable and the lasers and the bridge didn't appear on the model and when my cursor was over the model a hp would show up in the upperleft corner. I added health for the hp's now too because otherwise the hp's would say 0% ingame. I'm running out of options here. Does anyone know what to do? Else I'm just retiring this mini mod of mine and moving on with a different mod.
Droid803 Posted February 22, 2008 Posted February 22, 2008 If its showing up in the upper left, I means one of two things:-The attachement bone is coded wrongor-The attachment bone does not exist http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg"That was fun"
chakotay02 Posted February 22, 2008 Author Posted February 22, 2008 Alright I fixed that however the bloody ship still doesn't fire.
Droid803 Posted February 23, 2008 Posted February 23, 2008 Then check the Fire_Bone.They're all set to MuzzleA_00, which might be an issue, if its not a bone, or if its pointing in an awkward direction. http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg"That was fun"
chakotay02 Posted February 24, 2008 Author Posted February 24, 2008 (edited) Of course, that's probably it! Why didn't I think of that?! I don't have Muzzle bones! I never knew what I had to do with those so I left them out and my previous model never had those. I'll try to just add those and see if it works then. Edited February 24, 2008 by chakotay02
chakotay02 Posted February 27, 2008 Author Posted February 27, 2008 Hey Droid803, She's working perfectly now. I'm just tuning her. Thanks for making me realise the stupid little mistake I made. You've been a big help.
Droid803 Posted February 28, 2008 Posted February 28, 2008 No problem. ;D http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg"That was fun"
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now