Some intermidiate mod questions

I've been reading the posts in this forum and think I have a pretty good understainding of how modding the text files at least works. However, their are a couple things I've wanted to try that I thought I'd ask first.

 

1. Can you have ships be built from buildings other than the cap and frigate factories? Say from a trade port?

 

2. I know trade/refinery ships are concidered frigates, but is it possible to make abilities that only affect them, and not warships?

 

Edit: 3. Is it possible to change the amount of resources gained from destroying trade/refinery ships?

 

4. What files do you need to mod to change the music? I know they have to be in an .ogg format, but I imagine their is a file you need to edit so that the game will used the particular file. Will this effect the checksum?

 

5. Do planets use a standard mesh file? Does it have any impact on the textures used save for the size?

 

Thanks in advance. |-)

71,001 views 15 replies
Reply #1 Top

1) Of course!

2) Not to my knowledge SORRY!

3) Somewhere in the files you will find your answer my young padawan (YES)! To my knoledge again!

4) music in the gameInfo folder! One of the last lines!

5) Not my domain ;)

+1 Loading…
Reply #2 Top

1. Yes, dunno how.  Sorry.

2. Yes, look at the Embargo ability and related buffs.  It affects only trade ships.

3. Probably in the GameInfo folder, if the ships have a file all their own (as in FrigatePhaseRefineryShip) then you can change how much experience you get from killing one, not sure if you can actually make it so that you gain resources for killing them.

4,5 agreeing with Shadow  :grin:

Wish I could be a bit more of a help.

+1 Loading…
Reply #3 Top

Thanks guys, I'll try to apply some of this advice tomorrow and see how it works. I hope someone besides Uzi is an expert with planets...

Reply #4 Top

2)

 

numPeriodicActions 1
periodicAction
 actionCountType "Infinite"
 actionIntervalTime
  Level:0 5.000000
  Level:1 5.000000
  Level:2 5.000000
 buffInstantActionType "ApplyBuffToTargetsAtOrbitBody"
 instantActionTriggerType "AlwaysPerform"
 buffType "BuffEmbargoShips"
 targetFilter
  numOwnerships 1
  ownership "Enemy"
  numObjects 1
  object "Frigate"
  numConstraints 1
  constraint "IsCargoShip" <-------
 maxTargetCount
  Level:0 -1.000000
  Level:1 0.000000
  Level:2 0.000000
 effectInfo
  effectAttachInfo
   attachType "Invalid"
  smallEffectName ""
  largeEffectName ""
  soundID ""

Reply #5 Top

:grin: Go shadow, wouldve posted it myself but dammit all I accidentally deleted my Forge Tools GameInfo folder and the updated Entrenchment one is all Binary or whatever o_O .  Anyway, the point to this post is to tell you to be careful with modding the Embargo ability, Ive been having a lot of trouble with it, must be overlooking something.  Good luck and post again if you have more questions.

Reply #6 Top

1. Can you have ships be built from buildings other than the cap and frigate factories? Say from a trade port?

1) Of course!

1. Yes, dunno how.  Sorry.

These answers are slightly misleading. You can't "build" the ships from non-factories. You can use a create frigate ability trigger (see Sova's missile pod or Vulkoras' siege pod) to spawn an entity of your choice. You can set it to use resources and have a delay but it shares the same drawbacks of abilities vs real building: can't queue multiple ships to make being the most important one.

+1 Loading…
Reply #7 Top

5. Do planets use a standard mesh file?

No, each planet has its own, cause the related textures for it are stored in the mesh files.

I found out that normal planets and gasgiants have different meshes also different ways of texturing

 

Does it have any impact on the textures used save for the size?

no, if you mean that you want to resize the mesh of a planet. If you use the resize tool that floats around in this forum somewhere, you can resize them easily and the textures still work.

+1 Loading…
Reply #8 Top

*Feels shame for being misleading.*:blush: .  I thought that refinery ships/trade ships were spawned at those respective structures so I assumed it could be done.  Sorry bout that.

Reply #9 Top

I also have a question :

what do these fields mean in the soundmusic data :

 

isLooping FALSE  (this one is pretty obvious)
    actionLevel 0.75  (i suppose it is related to how much battle is needed to activate the music)
    actionRange 0.35 (I suppose it is how much you have to zoom in to have the music activated)
    emotionLevel 0.0
    emotionRange 1.0

 

but i have no idea what are emotionlevel and emotionrange ??

Reply #10 Top

^I knew this game could read my mind (and emotions)!  8C

Quoting JJBuck2, reply 5
Go shadow, wouldve posted it myself but dammit all I accidentally deleted my Forge Tools GameInfo folder and the updated Entrenchment one is all Binary or whatever .  Anyway, the point to this post is to tell you to be careful with modding the Embargo ability, Ive been having a lot of trouble with it, must be overlooking something.  Good luck and post again if you have more questions.

 

I'm not really wanting to mod the embargo ability, but I have a couple of other things in mind that specifically need to target economy frigates. I hope refinery ships are also counted, but even if its just trade ships its more than I expected.

 

 

Reply #11 Top

NO NO NO! Its not the embargo skill in itself!!!

ITS THE RED LITTLE LINE THAT SAYS CONSTRAINTS!!!!!!

Adding that line will make sure that it only targets trade ships AND REFINERY SHIPS!

Reply #12 Top

Quoting ShadowMastiff2468, reply 11
NO NO NO! Its not the embargo skill in itself!!!

ITS THE RED LITTLE LINE THAT SAYS CONSTRAINTS!!!!!!

Adding that line will make sure that it only targets trade ships AND REFINERY SHIPS!

 

I know, but it sounded like JJBuck thought I was trying to mod embargo. But its good to know refinery ships are targeted also, I think I can make it work. Thanks for everything. |-)

Reply #13 Top

Quoting ShadowMastiff2468, reply 4

  numConstraints 1
  constraint "IsCargoShip" <-------

Are there more constraints like this on?

so that you can target specific ships or ship groups?

 

Reply #14 Top

No no, just saying that if you use the ability as a base for a new one, be careful when cutting and pasting as I've been trying to use it as a base and can't seem to get it to work.  Not trying to put words in your mouth :grin: .

Reply #15 Top

I am pretty sure if you use the starbase ability to build ships you should be able to build trade bports that build frigates