Lord_English Lord_English

Marza Dreadnought "Raze Planet" on ships.

Marza Dreadnought "Raze Planet" on ships.

I was wondering if it was possible to have the Marza's seige cannons be able to fire upon ships somehow.

Thanks

15,774 views 41 replies
Reply #26 Top

Quoting Lord_English, reply 25

I cant find anything wrong with the Ability file, though Im not accustomed to script changing. If anyone wants to give it a try, heres the ability file

End of Lord_English's quote
">http://www.mediafire.com/download/ots1ku6eu9zct6e/AbilityRazePlanet.entity[/quote]

 

Just make sure any line with "IDS_" is the same as the default ability file and your strings will be fine. Unless you decided to edit the english.str file in which case there are a few lines to look through.

But for what you did I doubt you've altered english.str so just check for lines with "IDS_" in your ability.

 

EDIT: You need:

nameStringID "IDS_ABILITY_RAZEPLANET_NAME"
descStringID "IDS_ABILITY_RAZEPLANET_DESCRIPTION"
hudIcon "HUDICON_ABILITY_RAZEPLANET"
smallHudIcon "HUDICON_ABILITY_RAZEPLANET"
infoCardIcon ""

At the end of your file. I don't have time to check what you have but I know that's what the default has.

Reply #27 Top

Quoting WOEaintME, reply 26


Quoting Lord_English, reply 25
I cant find anything wrong with the Ability file, though Im not accustomed to script changing. If anyone wants to give it a try, heres the ability file

http://www.mediafire.com/download/ots1ku6eu9zct6e/AbilityRazePlanet.entity

 

Just make sure any line with "IDS_" is the same as the default ability file and your strings will be fine. Unless you decided to edit the english.str file in which case there are a few lines to look through.

But for what you did I doubt you've altered english.str so just check for lines with "IDS_" in your ability.

 

EDIT: You need:

nameStringID "IDS_ABILITY_RAZEPLANET_NAME"
descStringID "IDS_ABILITY_RAZEPLANET_DESCRIPTION"
hudIcon "HUDICON_ABILITY_RAZEPLANET"
smallHudIcon "HUDICON_ABILITY_RAZEPLANET"
infoCardIcon ""

At the end of your file. I don't have time to check what you have but I know that's what the default has.
End of WOEaintME's quote

 

I have 

nameStringID "IDS_ABILITY_RAZEPLANET_NAME"
descStringID "IDS_ABILITY_RAZEPLANET_DESCRIPTION"
hudIcon "HUDICON_ABILITY_RAZEPLANET"
smallHudIcon "HUDICON_ABILITY_RAZEPLANET"
infoCardIcon ""

in the ability file but it still gives me "No String Found"

Reply #28 Top

Anyone know whats causing this?

Reply #29 Top

Check your string count in the string file to make sure it is correct.  Also, verify that all of those strings listed above are infact in the string file.

 

Easy way to do this is the "find" function in notepad.

 

Also in the "find" function is a "count", select the text "StringInfo" for one of the entries, select match case, and hit count.

Reply #30 Top

Quoting Makon86, reply 29

Check your string count in the string file to make sure it is correct.  Also, verify that all of those strings listed above are infact in the string file.

 

Easy way to do this is the "find" function in notepad.

 

Also in the "find" function is a "count", select the text "StringInfo" for one of the entries, select match case, and hit count.
End of Makon86's quote

I did as you said and the strings match. However i still get No String Found errors.

Reply #31 Top

Any way to fix this? I checked the String files and I still get No String found errors. Again heres the ability file if you missed it earlier.

http://www.mediafire.com/download/ots1ku6eu9zct6e/AbilityRazePlanet.entity

Reply #32 Top

Post your entire mod as a zip and I'll run a report on it that will detail any obvious issues.

Reply #33 Top

Quoting ZombiesRus5, reply 32

Post your entire mod as a zip and I'll run a report on it that will detail any obvious issues.
End of ZombiesRus5's quote

Here it is. Please note I have edited some other files IE Starbases, Missle  Barrage, ect. so please dont touch those.

The files your looking for are BuffRazePlanetTarget and AbilityRazePlanet.

http://www.mediafire.com/download/gq4taglxqqqazga/Infinite_Starbases.zip

Reply #34 Top

I won't be touching or modifying anything. I wrote a tool that analyzes mods and reports warnings and errors.

 

Reply #35 Top

Description Resource Path Location Type
exceeded hard limit of 9 occurrences, found 16: UpgradeTypeCount 16 StarBaseTech.entity /Infinite Starbases/GameInfo line 176 Entity Problem
exceeded hard limit of 9 occurrences, found 20: UpgradeTypeCount 20 StarBasePhase.entity /Infinite Starbases/GameInfo line 167 Entity Problem
expected 16 occurences, only found 8: UpgradeTypeCount 16 StarBaseTech.entity /Infinite Starbases/GameInfo line 176 Entity Problem
expected 16 occurences, unexpected value found: MeshNameInfoCount 6 StarBaseTech.entity /Infinite Starbases/GameInfo line 185 Entity Problem
expected 20 occurences, only found 9: UpgradeTypeCount 20 StarBasePhase.entity /Infinite Starbases/GameInfo line 167 Entity Problem
expected 20 occurences, unexpected value found: MeshNameInfoCount 6 StarBasePhase.entity /Infinite Starbases/GameInfo line 177 Entity Problem
invalid value! expected: [CapitalShip, Corvette, Fighter, Frigate, PlaceHolderPlanetModule, PlaceHolderSpaceMine, Planet, PlanetModule, SpaceMine, Star, ...]: object "Capitalship" AbilityRazePlanet.entity /Infinite Starbases/GameInfo line 14 Entity Problem
missing reference [.entity]: improveSourceResearchSubject "RESEARCHSUBJECT_ABILITYACCESS_CONVERTMINES" AbilityConvertMines.entity /Infinite Starbases/GameInfo line 19 Entity Problem
missing reference [.entity]: Subject "RESEARCHSUBJECT_ABILITYACCESS_DETECTPHASEJUMPMODULE" BuffDetectPhaseJumpModuleOnPlanet.entity /Infinite Starbases/GameInfo line 24 Entity Problem
missing reference [.entity]: Subject "RESEARCHSUBJECT_ABILITYACCESS_DETECTPHASEJUMPMODULE" BuffDetectPhaseJumpModuleOnSpawner.entity /Infinite Starbases/GameInfo line 46 Entity Problem

 

Reply #36 Top

Quoting ZombiesRus5, reply 35

Description Resource Path Location Type
exceeded hard limit of 9 occurrences, found 16: UpgradeTypeCount 16 StarBaseTech.entity /Infinite Starbases/GameInfo line 176 Entity Problem
exceeded hard limit of 9 occurrences, found 20: UpgradeTypeCount 20 StarBasePhase.entity /Infinite Starbases/GameInfo line 167 Entity Problem
expected 16 occurences, only found 8: UpgradeTypeCount 16 StarBaseTech.entity /Infinite Starbases/GameInfo line 176 Entity Problem
expected 16 occurences, unexpected value found: MeshNameInfoCount 6 StarBaseTech.entity /Infinite Starbases/GameInfo line 185 Entity Problem
expected 20 occurences, only found 9: UpgradeTypeCount 20 StarBasePhase.entity /Infinite Starbases/GameInfo line 167 Entity Problem
expected 20 occurences, unexpected value found: MeshNameInfoCount 6 StarBasePhase.entity /Infinite Starbases/GameInfo line 177 Entity Problem
invalid value! expected: [CapitalShip, Corvette, Fighter, Frigate, PlaceHolderPlanetModule, PlaceHolderSpaceMine, Planet, PlanetModule, SpaceMine, Star, ...]: object "Capitalship" AbilityRazePlanet.entity /Infinite Starbases/GameInfo line 14 Entity Problem
missing reference [.entity]: improveSourceResearchSubject "RESEARCHSUBJECT_ABILITYACCESS_CONVERTMINES" AbilityConvertMines.entity /Infinite Starbases/GameInfo line 19 Entity Problem
missing reference [.entity]: Subject "RESEARCHSUBJECT_ABILITYACCESS_DETECTPHASEJUMPMODULE" BuffDetectPhaseJumpModuleOnPlanet.entity /Infinite Starbases/GameInfo line 24 Entity Problem
missing reference [.entity]: Subject "RESEARCHSUBJECT_ABILITYACCESS_DETECTPHASEJUMPMODULE" BuffDetectPhaseJumpModuleOnSpawner.entity /Infinite Starbases/GameInfo line 46 Entity Problem

 
End of ZombiesRus5's quote

For the starbases, I edited them to have up to 999 Starbases in star and planet gravity wells, along with extra points.

About the mines and "DetectPhaseJumpModule", I have no idea.

Reply #37 Top

forget the convert mines and phase jump ones (I meant to not copy those)... it's a stardock issue that doesn't affect the game.

You can't have more than 9 starbase upgrades. You have those set wrongly.

 

Reply #38 Top

Quoting ZombiesRus5, reply 37

forget the convert mines and phase jump ones (I meant to not copy those)... it's a stardock issue that doesn't affect the game.

You can't have more than 9 starbase upgrades. You have those set wrongly.

 
End of ZombiesRus5's quote

They still work properly. 

anyway for some reason, I managed to actually pull this edit off with your guys' help. Thank you all for your support and helping me do this.

Reply #39 Top

I'm failing to follow if you have 8 upgrade types why you would say you have 16?

 

Reply #40 Top

Quoting ZombiesRus5, reply 39

I'm failing to follow if you have 8 upgrade types why you would say you have 16?

 
End of ZombiesRus5's quote

What I ment is that I have around 16 points to use to upgrade the starbase

Reply #41 Top

That's fine but the upgrade type counts need to be fixed. 

Quoting Lord_English, reply 36
expected 16 occurences, only found 8: UpgradeTypeCount 16 StarBaseTech.entity /Infinite Starbases/GameInfo line 176 Entity Problem
End of Lord_English's quote

This is literally a count of the upgrade types that follow in the file.