Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » [Patch/Mod] Alternate IMP creation
[Patch/Mod] Alternate IMP creation[message #263053]
|
Mon, 20 September 2010 00:48
|
|
mgl |
|
Messages:255
Registered:December 2007 Location: France |
|
|
Edit 2010-09-29 after bbun's report:
There are now 2 separate diff files:
"alternate_IMP_creation.diff.zip" with everything and the English language file.
"alternate_IMP_creation-non_eng_lang.diff.gz" with all the other (untranslated) language files.
They are here.
If you play the game in English, you just have to unzip it at your stracciatella root folder and type:
patch --verbose -p0 < alternate_IMP_creation.diff
If you play in any other language, you have to run "patch" the same way on the other diff file too. The text I added is untranslated, even in my native French language, but it is required to make the alternate IMP creation patch work.
Build the executable.
"alternate_IMP_creation.diff" updates the following files:
Build/Laptop/CharProfile.h
Build/Laptop/CharProfile.cc
Build/Laptop/IMP_Compile_Character.cc
Build/Laptop/IMP_Personality_Finish.cc
Build/Laptop/IMP_Personality_Quiz.h
Build/Laptop/IMPVideoObjects.cc
Build/Laptop/IMP_Attribute_Selection.cc
Build/Laptop/IMP_Text_System.cc
Build/Laptop/IMP_Personality_Quiz.cc
Build/Laptop/IMP_HomePage.cc
Build/Laptop/IMP_Confirm.cc
Build/Utils/Text.h
Build/Utils/_EnglishText.cc
"alternate_IMP_creation-non_eng_lang.diff" updates all the other language files:
Build/Utils/_DutchText.cc
Build/Utils/_FrenchText.cc
Build/Utils/_GermanText.cc
Build/Utils/_ItalianText.cc
Build/Utils/_PolishText.cc
Build/Utils/_RussianText.cc
--------
Original message:
I updated my old "New IMP quiz" patch today, which I released two years ago on this forum.
I renamed it "Alternate IMP creation" because it has never been a quiz.
It uses the offsets of the 640x480 resolution, not Mythrell's 800x600 ones.
In the IMP screen, the quiz is replaced by questions where you select your personality, attitude (the ones with no effect on the game are not available), skin, hair, vest and pants colour, traits, need for sleep through check boxes.
The attributes are not limited to 85 max and you have no bonus points to spend. You set them as you wish.
You can create several IMPs, but you have to take care yourself that you don't use the same voice id twice, or your game will probably go supernova.
Screenshots here.
The only changes I did compared to the version I released two years ago is prevent the creation of a camouflaged expert IMP and fix a problem with the slider bar in the attributes selection: when you clicked on the left or on the right of the current value inside the bar (not on the arrow buttons at the edges), it didn't work as expected. Can someone tell if the original slider bar (clicking, not sliding) works ?
You can revert the patch later (keep the diff file) if you don't like it by typing exactly the same or
patch -R --verbose -p0 < alternate_IMP_creation.diff
[Updated on: Thu, 30 September 2010 00:21] by Moderator Report message to a moderator
|
|
|
|
|
Re: [Patch/Mod] Alternate IMP creation[message #263670]
|
Sun, 26 September 2010 23:05
|
|
mgl |
|
Messages:255
Registered:December 2007 Location: France |
|
|
"IMP_QUIZ_QA" is in "Build/Utils/_EnglishText.cc" only, not in the other translation files. It's the text of the check boxes. I didn't add it (untranslated) to all the available languages files.
If you don't play in english, you will have to add it to your language translation file, like "Build/Utils/_DutchText.cc".
You can probably find the chunk about "IMP_QUIZ_QA" in the diff file, replace the lines with "Build/Utils/_EnglishText.cc" by "Build/Utils/_DutchText.cc", save the chunk and run "patch" on it.
Index: Build/Utils/_EnglishText.cc
===================================================================
--- Build/Utils/_EnglishText.cc (revision 7072)
+++ Build/Utils/_EnglishText.cc (working copy)
@@ -3613,4 +3613,104 @@
const wchar_t str_stat_explosive[] = L"Explosives";
const wchar_t str_stat_medical[] = L"Medical";
+/* mgl: Alternate IMP creation
+ * mgl: Questions and answers.
+ */
+const wchar_t* const IMP_Quiz_QA[] = {
+ /* Attitude question */
+ L"Attitude",
+ /* Attitude answers */
+ L"Normal",
+ L"Optimist",
+ L"Pessimist",
+ L"Aggressive",
+ L"Coward",
...
Maybe I should have added it to all the language files, but I think it's not worth its disk space because I believe that there would be more translation files than users of this patch. I could have done a separate, easier to modify diff file too.
Report message to a moderator
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Jan 25 08:23:20 GMT+2 2025
Total time taken to generate the page: 0.00874 seconds
|