Starpoint Gemini 2

Starpoint Gemini 2

评价数不足
Thaurian Alliance Rep Fix
   
奖励
收藏
已收藏
取消收藏
GAME WORLD: Factions, Reputation
文件大小
发表于
65.536 KB
2014 年 10 月 17 日 上午 9:46
1 项改动说明 ( 查看 )

订阅以下载
Thaurian Alliance Rep Fix

描述
A simple mod that modifies all of the AddReputation scripts to change the reputation loss from destroying ships belonging to this faction, into a reputation gain. Also handles the rep gain/loss from doing their missions. This is the second version of the old ThauriaAndNyxiaRepFix -mod which I deleted when I was fatfingering around tired, when the patch 1.0005 came live and changed the scripts. The patch fixed the Nyxian Consortium, but left Thaurian Alliance still unfixed. This mod now uses the 1.0005 scripts and fixes Thaurian Alliance again.(This time I did a little bit more thorough fix by editing all of the reputation scripts.)

Patch 1.0006 updated the scripts.zip and after browsing the changed files, nothing had been changed in the AddReputation scripts atleast, even though they were "updated" with the patch. If you encounter something not working as intended, I will have a second look at the scripts, in case I missed something.(Size, packed size, CRC32 code and "last modified" date were exactly the same when comparing v1.0005 and v1.0006 AddReputation scripts.)

Patch 1.0008 doesn't change these scripts so there should be no need for a new version of the mod. Please let me know if you do encounter problems though, so I can go and have another look.(The Scripts.zip file uploaded with this patch seems to be an older version and not the one the game itself updated to. Probably a small mistake on the part of the devs.) The scripts.zip version was wrong as suspected and was quickly updated by the devs. These scripts haven't been changed in this patch after a quick review.

Also I'd like to thank the user Jaggid Edje for giving me a notification there was a glitch caused by the previous rev. of the mod, which I've now fixed.(Was caused by a small mistake I made when I was copypasting the necessary script lines into the changed scripts.)

The line I've modified(And added a second similar one with slightly different paramaters) is:
/* Baeldor Republic <-> Hub */ if facParent > 9 && facParent < 17 math repChange = repBaseTer * -1 ; math shipClass = shipClass * -1 ; endif

And the modified lines + the one I've added look like this:

/* Thaurian Alliance */ if facParent == 13 math repChange = repBaseTer * 1 ; math shipClass = shipClass * 1 ; endif /* Baeldor Republic <-> Hub */ if facParent > 13 && facParent < 17 math repChange = repBaseTer * -1 ; math shipClass = shipClass * -1 ; endif /* Baeldor Republic <-> Hub */ if facParent > 9 && facParent < 13 math repChange = repBaseTer * -1 ; math shipClass = shipClass * -1 ; endif

And for the rest of the modified scripts with slightly different variables, the scripts look like this:
/* Thaurian Alliance */ if facParent == 13 math repChange = repBaseTer * 1 ; endif /* Baeldor Republic <-> Hub */ if facParent > 13 && facParent < 17 math repChange = repBaseTer * -1 ; endif /* Baeldor Republic <-> Hub */ if facParent > 9 && facParent < 13 math repChange = repBaseTer * -1 ; endif

Or like this:
/* Thaurian Alliance */ if facParent == 13 math repChange = repBase * 1 ; endif /* Baeldor Republic <-> Hub */ if facParent > 13 && facParent < 17 math repChange = repBase * -1 ; endif /* Baeldor Republic <-> Hub */ if facParent > 9 && facParent < 13 math repChange = repBase * -1 ; endif
8 条留言
VaeliusNoctu 2015 年 1 月 7 日 上午 8:28 
Thx very much no more rep draws from Thaurian Fights...
Lyriah  [作者] 2014 年 10 月 31 日 上午 5:35 
The scripts.zip version was wrong as suspected and was quickly updated by the devs. These scripts haven't been changed in this patch after a quick review.

http://psteamcommunity.yuanyoumao.com/app/236150/discussions/6/613940477740492760/
Lyriah  [作者] 2014 年 10 月 31 日 上午 4:31 
Patch 1.0008 doesn't change these scripts so there should be no need for a new version of the mod. Please let me know if you do encounter problems though, so I can go and have another look.(The Scripts.zip file uploaded with this patch seems to be an older version and not the one the game itself updated to. Probably a small mistake on the part of the devs.)
Satanatos - SPG2 Spacelancer 2014 年 10 月 23 日 上午 11:09 
I will test this these days as last night while exploring the whole map, stumbled upon the Thaurian Alliance. Was attacked by 20 or so ships which killed nicely - they had good BP drops, so was really rewarding. Thing is that this action changed my rep so quick I did not know what hit me. Hopefully this will 'fix' the situation for me when I get back to kill that faction
Lyriah  [作者] 2014 年 10 月 20 日 上午 3:04 
Just dropping a note: I will be away(semi/completely inactive.) from the time of this post(20th October.), until around the 6-7th of November.(2014) If any patches come in during this period that change these scripts, there very likely won't be a new version released, atleast not by me, until I get back.
Lyriah  [作者] 2014 年 10 月 18 日 上午 12:31 
Just a lazy copy-paste, for those who don't read the description: "Patch 1.0006 updated the scripts.zip and after browsing the changed files, nothing had been changed in the AddReputation scripts atleast, even though they were "updated" with the patch. If you encounter something not working as intended, I will have a second look at the scripts, in case I missed something.(Contents as far as I could see, file size, packed size, CRC32 code and "last modified" date were exactly the same when comparing v1.0005 and v1.0006 AddReputation scripts.)"
Jaggid Edje 2014 年 10 月 17 日 下午 4:36 
Excellent for the speedy fix, thanks m8!
Lyriah  [作者] 2014 年 10 月 17 日 上午 9:53 
If anyone notices any further errors, please let me know and I'll be fixing those as quickly as I can.