Jump to content

Re: New ship won't fire


chakotay02
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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 :P

 

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"

Link to comment
Share on other sites

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?
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by chakotay02
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...