Help with modding ships and components

OK, here is the problem, I just want to make one custom ship to go with the custom race I have. I do not really care about all the other ships they can have the original template I set them with. I have done this. Now I want to customize its components such as their names and damage output or sensor range. When I do this, following the guides/tutorials as best as I can, the game crashes while I'm adding it to my ship. I have been trying to figure this out for a few days straight now and would greatly appreciate some help or someone who can walk me through or atleast tell me what I am doing wrong. I have already tried to search the forums for this. And I am using Galactic Civilizations 2: Dread Lords v1.40X

Thanks ahead of time.

2,688 views 8 replies
Reply #1 Top

Can you post the modified sections of the file? just copy & paste directly into the forum.

Reply #2 Top

This is one of twelve that I have added, I added it right after "Doom Ray" in the xml.

 

   <Weapon>
      <Name>MainBeamCannon</Name>
      <DisplayName>Main Beam Cannon</DisplayName>
      <Class>B</Class>
      <Type>5</Type>
      <Size>1</Size>
      <SizeMod>1</SizeMod>
      <Cost>0</Cost>
      <Damage>50</Damage>
      <Model>Plasma2</Model>
      <Thumbnail>Plasma2</Thumbnail>
      <Category>Beam</Category>
      <Tech_Requirement></Tech_Requirement>
      <Animation>WFX_DoomRay01.x</Animation>
      <Explosion>explosion01.png</Explosion>
      <AttackSound>battle_doomray_attack</AttackSound>
      <ExplosionSound0>battle_explosion_small</ExplosionSound0>
      <ExplosionSound1>battle_explosion_small_2</ExplosionSound1>
      <ExplosionSound2>battle_explosion_small</ExplosionSound2>
      <DeflectSound>battle_shield_deflect_3</DeflectSound>
      <ScaleWidthPercent>100</ScaleWidthPercent>
      <FrameCount>63</FrameCount>
      <LaunchFrame>3</LaunchFrame>
      <ImpactFrame>59</ImpactFrame>
   </Weapon>

Reply #3 Top

Well, this one looks pretty good...... there are a few issues you miiight want to try:

  • The cost of 0 might be messing it up. It shouldn't, but it still might.
  • The "Thumbnail" tag is actually redundant: you can get along just fine without it.
  • Are the video, sound and model files you mentioned actually there, and in the appropriate folders?\
  • Did you check the other 11 files for typos?
Reply #4 Top

Well I didn't actually full out write these, I just copied the best one and changed variables. In that one's case I took the doom ray copied it and changed it. I only changed the cost, damage, size, sizemod, tech requirements, and the names, left everything else the same. Would positioning have anything to do with it? Like should it be placed at the begining of the beam weapons or at the end because of the tech requirements i wasn't sure.

On a side note, I changed one of the Hulls, would that be causing my problem? And also, is there a way to make it so that these modified components would only be used by my custom race?

Reply #5 Top

Positioning is totally irrelevant, and it is impossible to create much of anything race-specific in DL, much less ship components.

Reply #6 Top

OK, well thank you for your time, I'll figure out what I'm doing wrong eventually.

Reply #7 Top

I think you really need a Tech Requirement.

Reply #8 Top

I think you really need a Tech Requirement.
End of quote

Not exactly..... there are components with no requirements, but they have no requirement tag at all. Try removing it.