Does anyone else freeze when modding!?

This is sort of a continuation of my previus topic...

 

When ever i try to mod the game it freezes if i do to much...or atleast it feels that way. Really im not sure what the cause is. Some say I freeze due to extra spaces or skipped line but there's no way i made that mistake 3 different times (made three different mods). Ive been very careful.

Is there limits on how high i can set a number?

Is there a limit to the amount of info i can change?

Is this jsut weird unheard of event?

Please help!

14,391 views 22 replies
Reply #1 Top
- Yes
- No
- To me, Yes.

List the exact files and changes you make, we might be able to help you further.
Reply #2 Top
You can't make giant changes without testing. Make incremental changes and you won't have a problem - or at least you'll know where the problems lie.
Reply #3 Top
To prevent a wall of text i uploaded them for others to download and veiw-

These are the 3 files i changed-

http://www.megafileupload.com/en/file/54207/CAPITALSHIP-TECHBATTLESHIP-entity.html

http://www.megafileupload.com/en/file/54208/CAPITALSHIP-TECHCARRIER-entity.html

http://www.megafileupload.com/en/file/54209/CAPITALSHIP-TECHSIEGE-entity.html
Reply #4 Top
You can't make giant changes without testing. Make incremental changes and you won't have a problem - or at least you'll know where the problems lie.
End of quote


Well the thing is Im not making major changes to the whole game info folder. It happends even when i just change 2 or 3 files
Reply #5 Top
I'll check them now. Firstly though, you have changed the Count numbers right? Above each list?
Reply #6 Top
Count Number? You got me there. Im still getting used to modding without a program.
Reply #7 Top
Ok, here are a few things I noticed:
Battleship File:
Weapon
WeaponType "Projectile"
damageEnums
AttackType "CAPITALSHIP"
DamageAffectType "AFFECTS_SHIELDS_AND_HULL"
DamageApplyType "BACKLOADED"
DamageType "ENERGY"
WeaponClassType "LASERTECH"
DamagePerBank:FRONT 100.375000
DamagePerBank:BACK 100.000000
DamagePerBank:LEFT 100.000000
DamagePerBank:RIGHT 100.000000
End of quote


Siege File:
Weapon
WeaponType "Projectile"
damageEnums
AttackType "CAPITALSHIP"
DamageAffectType "AFFECTS_SHIELDS_AND_HULL"
DamageApplyType "BACKLOADED"
DamageType "PHYSICAL"
WeaponClassType "AUTOCANNON"
DamagePerBank:FRONT 40.000000
DamagePerBank:BACK 40.000000
DamagePerBank:LEFT 40.000000

DamagePerBank:RIGHT 40.000000
End of quote


Weapon
WeaponType "Missile"
damageEnums
AttackType "CAPITALSHIP"
DamageAffectType "AFFECTS_SHIELDS_AND_HULL"
DamageApplyType "BACKLOADED"
DamageType "PHYSICAL"
WeaponClassType "MISSILE"
DamagePerBank:FRONT 300.000000
DamagePerBank:BACK 0.000000
DamagePerBank:LEFT 0.000000
DamagePerBank:RIGHT 0.000000
Range 55000.000000
End of quote


Changing existing values should be OK. But in the first two, you have added an entry, where it used to be Zero. That is my number one guess. Secondly, the third reference there, it is 10 times larger than Vanilla, thats quite an increase, that could possibly be messing something up.

Edit: The 'Count' numbers are usually a reference above a list in a file, which mostly reads something like ~~~~~~~~Count #, or ~~~~~~~~Number #.

The numbers there must reflect any new additions to the list. Count:3, adding two more equals Count:5, etc...
Reply #8 Top
Ok thanks for that information.

Ill try fixing those. I never new about any of that.

EDIT:I still am unable to find the count number anyware on the file.

Would it be at the top of the text when i open it in a word document?

Would it be in the file propertys?

Reply #9 Top
Adding damage to banks that dont have emitters (What you have done in Uzii's 1st two examples) should NOT hang the game, the weapons wont work but the game should still load.

Having looked through the files

Battleship

Changing the "linearspeed" is quirky at best

Carrier

You left in the code dealing with the planetary bombardment weapon despite, removing its ability to do so

Reply #10 Top
Adding damage to banks that dont have emitters (What you have done in Uzii's 1st two examples) should NOT hang the game, the weapons wont work but the game should still load.
End of quote


NOTE: THE GAME FREEZES WHEN I ENABLE THE MOD! NOT WHEN I START A GAME!

Also i fixed the stats and reduced the range to 25k instead of 55k and its still freezing.

Im going to take the 3 mod's i did and put them into a free gameinfo folder and see if it still happens just incase i might have modded anouther file.
Reply #11 Top
Changing existing values should be OK. But in the first two, you have added an entry, where it used to be Zero. That is my number one guess. Secondly, the third reference there, it is 10 times larger than Vanilla, thats quite an increase, that could possibly be messing something up.

Edit: The 'Count' numbers are usually a reference above a list in a file, which mostly reads something like ~~~~~~~~Count #, or ~~~~~~~~Number #.

The numbers there must reflect any new additions to the list. Count:3, adding two more equals Count:5, etc...
End of quote


Even so, I've never heard of this happening. Although adding damage factors to a nonexistent bank is weird to the game engine, it should still work fine. My guess is that there's something else. Because I've even boosted my Advent Carrier to 500,000 (yes, six figures) and it reached across a planet... never any problems.
If you can't identify it, just switch in a clean set of GameInfo and get that program I've heard compares files... I think it was something called Winmerge.
Reply #12 Top
No, you don't need to edit any 'Count' number because you haven't 'Added' anything to any lists. You asked me, so I told you what it was.

Try what Terraziel has said.

Edit: In light of the above posts; sounds like a string or count error. You do have every single file in the GameInfo folder right? All 800 of them?
Reply #13 Top
Edit: In light of the above posts; sounds like a string or count error. You do have every single file in the GameInfo folder right? All 800 of them?
End of quote



Acually i have 898 files in the folder. Is that to many?
Reply #14 Top
Acually i have 898 files in the folder. Is that to many?
End of quote


Where the hell did all the extras come from???
Reply #15 Top
Acually i have 898 files in the folder. Is that to many?Where the hell did all the extras come from???
End of quote


Sorry 895 but i have a feeling thats still way high isnt it.
Reply #16 Top
No, that was a generalisation. There should be exactly 896 files, thats direct from the Reference Data 1.03 folder. Can you identify the two new files?

Edit: Nope, you are now 1 file under. Thats the one you need...

Edit2: And thats not high, I'm touching 1,000 files in Sins Plus 1.3, and its not even finished yet. :D
Reply #17 Top
No, that was a generalisation. There should be exactly 896 files, thats direct from the Reference Data 1.03 folder. Can you identify the two new files?
End of quote


Yes i was but the 2 extra files where one i just added but even still the fresh gameinfo folder found on he site only has 895 files

EDIT 1: Ya im going to reinstall the reference data just incase i might have deleted a file of one got corrupted or something
Reply #18 Top
No, that was a generalisation. There should be exactly 896 files, thats direct from the Reference Data 1.03 folder.
End of quote


You should have said 900 then.. closer than 800 lol.

My guess to this is to put in a fresh GameInfo, RefData, whatever to clear things up. Then see what you're missing. I'll keep a lookout for that program I was talking about.

WWW Link
Reply #19 Top
Enable logging in user.setting.
Reply #20 Top
The downloadable GameInfo folder should be:

- 896 Files
- Size: 1.60 MB (1,680,811 bytes)
- Size on disk: 4.02 MB (4,222,976 bytes)

May vary depending on system and other factors. I'm not sure about adding weapon banks without editing the model, I've never tried it. It does seem like something that would cause a problem, try removing the added weapon banks and see if it works.
Reply #21 Top
Ok so i got a fresh gameinfo and put the mods in it...so far everytihng is going great! Ill post if it does it again.

Thanks for the help and sorry for being such a noobie.
Reply #22 Top
Hey no problem, good to see you fixed it.