Author Topic: The Lure of the Sirine's Call is released!  (Read 84670 times)

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #150 on: October 12, 2010, 11:59:03 AM »
Ah, EVALUATE of course, if I use %bla%

What is the contents of a variable?  :-[ EDIT: Wait, I think I got it: "_" is the content of %tutu_var%, for example (if defined that way).

Thank you!
« Last Edit: October 12, 2010, 01:53:14 PM by jastey »

Offline cmorgan

  • Planewalker
  • *****
  • Posts: 1424
  • Gender: Male
  • Searcher of Bugs
Re: The Lure of the Sirine's Call is released!
« Reply #151 on: October 12, 2010, 01:53:18 PM »
yep -

COPY_EXISTING ~mycre.cre~ ~override~
WRITE_EVALUATED_ASCII 0x250 ~%SOURCE_RES%~ #8   // Assigns the script as Class script the name of the .cre file patched; mycre.bcs
BUT_ONLY_IF_IT_CHANGES

COPY_EXISTING ~mycre.cre~ ~override/mynew.cre~
WRITE_EVALUATED_ASCII 0x250 ~%DEST_RES%~ #8   // Assigns the script as Class script the name of the .cre file patched; mynew.bcs
BUT_ONLY_IF_IT_CHANGES


WRITE_EVALUATED_ASCII 0x250 ~%tutu_var%#sirin0~ #8   // Assigns the script as Class script evaluated, e.g. _#sirin0 or #sirin0
BUT_ONLY_IF_IT_CHANGES


WRITE_ASCIIE 0x250 ~%tutuvar%#sirin0~ #8   // Assigns the script as Class script evaluated << if you are devSin
BUT_ONLY_IF_IT_CHANGES


WRITE_ASCII 0x250 ~J#sirin0~ #8   // Assigns the script as Class script to exactly J#sirin0
BUT_ONLY_IF_IT_CHANGES


All that stuff in UB that checks and SPRINTs things sets up variables for each platform, the same way you dealt with the BG vs Tutu stuff with Zed.



Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #152 on: October 12, 2010, 01:57:25 PM »
Very good stuff, cmorgan!

WRITE_ASCIIE and WRITE_EVALUATED_ASCII is the same, so to say? That's good to know. I was imagining a difference.

EDIT: Wait a minute:
Code: [Select]
COPY_EXISTING ~mycre.cre~ ~override~ Does that copy my cre from the mod folder, without the need to give the exact path, or only from the game?
« Last Edit: October 12, 2010, 02:21:35 PM by jastey »

Offline cmorgan

  • Planewalker
  • *****
  • Posts: 1424
  • Gender: Male
  • Searcher of Bugs
Re: The Lure of the Sirine's Call is released!
« Reply #153 on: October 12, 2010, 04:18:43 PM »

COPY ~mymod/mycre.cre~ ~override~ // copies the resource from the mod into override and lets it be identified by chitin.key - used to take distributed mod .cre's from the mod folder and put them in the game

COPY_EXISTING ~mycre.cre~ ~override~ // looks for the already-in-game creature, and loads it ( i think from override and if it can't find it there it pulls it from the .bif'd game resources), and then does what you want to that in-game resource. That could be patching it, or renaming it/creating new chitin.key entry/patching the new .cre

examples:

this takes a .cre file in the mod, renames the .cre, and patches it:

<<if fighter subcomponent is chosen>>
COPY ~aranw/c-aranF.cre~ ~override/c-aran7.cre~
  SAY NAME1 ~string~
  SAY NAME2 ~string~
  WRITE_ASCIIE 0x250 ~%SOURCE_RES%~ // results in the file = c-aranF.bcs being called
  <<patch stats and materials, etc.>>

<<if thief subcomponent is chosen>>
COPY ~aranw/c-aranT.cre~ ~override/c-aran7.cre~
  SAY NAME1 ~string~
  SAY NAME2 ~string~
  WRITE_ASCIIE 0x250 ~%DEST_RES%~ #8 // results in the file = c-aran7.bcs being called
  <<patch stats and materials, etc.>>

I could also just have one c-aran7.cre and patch the whole file into shape, like L1NPC's or Rogue Rebalancing does.


This takes an ingame resource, picks it up, and manipulates it into what I want:

COPY_EXISTING ~anomen.cre~ ~override~
 SAY NAME1 ~Aran~
 SAY NAME1 ~Aran~
  WRITE_ASCIIE 0x250 ~%DEST_RES%~ // results in the file = c-aran7.bcs being called





Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #154 on: October 12, 2010, 10:32:26 PM »
OK, then I understood it correctly before.

Thank you again!

(Aran thief component?...)

aaa

  • Guest
Re: The Lure of the Sirine's Call is released!
« Reply #155 on: October 26, 2011, 09:09:28 PM »
Just a minor thing, but the Old man from the Pirates does not give any EXP when killed. Everything else works fine.

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #156 on: October 31, 2011, 09:36:41 AM »
Thank you for the report. I will have a look at it when I prepare the next update.

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #157 on: January 14, 2012, 10:08:00 AM »
Thank you for the report. In the next version the pirate will give 100 XP.

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #158 on: January 22, 2012, 06:52:10 AM »

Offline Kulyok

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 6250
  • Gender: Female
  • The perfect moment is now.
Re: The Lure of the Sirine's Call is released!
« Reply #159 on: March 13, 2012, 08:05:11 AM »
Version 11 is available on the mod's website.

Huge thanks to jastey for maintaining it, and to Ghreyfain for creating it, naturally. :)

Below is the list of updates:

   - Sil will promt a dialogue once the PC returns from the pirate after agreeing to kill her, to give the PC a possibility to start the fight even if she is invisible.
   - Pirates will now attack after the PC loots the cave independent of Sil's wellbeing (if PC agreed to kill the sirenes).
   - Pirate will know and attack at first meeting (inside the house) if PC already looted the cave.
   - Added a local variable to the sirines' custom script so the hostile-> neutral -> hostile switching of the sirines is hopefully solved finally.
   - Added a Shout(1) to the custom sirines' script so now the two sirines notice if one of them gets attacked.
   - Correct XP for pirate (creature file J#PIRAT2.CRE now gives 100 XP).
   - Update to WeiDU v.231

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #160 on: March 23, 2014, 12:07:06 PM »
I am preparing v13 with BG:EE compatibility (this version will also be compatible with vanilla BG:TotSC. Don't ask.)

I need the correctly formatted tra files for the following versions:

Russian (UTF-8 without BOM)
Polish (UTF-8 without BOM AND whatever is needed for vanilla BG1).

Thank you in advance!
« Last Edit: March 23, 2014, 06:13:31 PM by jastey »

Offline Cahir

  • Planewalker
  • *****
  • Posts: 100
  • Gender: Male
Re: The Lure of the Sirine's Call is released!
« Reply #161 on: March 23, 2014, 02:14:59 PM »
I'd like to attach converted files, but apparently I'm missing option for adding attachments. Anyone has a clue, why? :(

Offline Kulyok

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 6250
  • Gender: Female
  • The perfect moment is now.
Re: The Lure of the Sirine's Call is released!
« Reply #162 on: March 23, 2014, 02:53:25 PM »
Nope, I never tried. You can provide a link at dropbox right now, though, or ask for Jastey's mail via PM... (checks other topics) which you did, great. :)

Offline Cahir

  • Planewalker
  • *****
  • Posts: 100
  • Gender: Male
Re: The Lure of the Sirine's Call is released!
« Reply #163 on: March 23, 2014, 03:13:57 PM »
Yeah, looks like I'm slowly collecting the e-mails of female BG modders:) Oh, so clever I am :P

Anyway Jastey, I also started to translate missing strings for BG1 Mini Quests & Encounters, but since there are quite a few of them and I'm also translating new content for the BG2EE Polish Translation Team, it'll probably took a while.

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #164 on: March 23, 2014, 06:12:08 PM »
I received the LotSC files from Cahir, thank you very much! (And this Email address is written in almost all my mods, so no real secret here - sorry.. :) )
And I am so happy to hear about bgqe translations! (I was about to poke you but decided that you probably saw my call already!...) Please get in contact with Zed, as he stated that he could (I am not sure he said he would) translate the new strings for bgqe, too.  :)


I am still in need of the UTF-8 (without BOM) formatted tra files in Russian! Thank you in advance.
« Last Edit: March 23, 2014, 06:14:41 PM by jastey »

Offline Kulyok

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 6250
  • Gender: Female
  • The perfect moment is now.
Re: The Lure of the Sirine's Call is released!
« Reply #165 on: March 24, 2014, 12:33:23 AM »
Sure, I'll try and convert them for you, if you want, but I need the current final version of Russian translation, and I don't know if the version on-site provides it.

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #166 on: March 24, 2014, 11:18:39 AM »
Do you know about someone proof reading? Otherwise, the version in the current v12 should be the final version. Thank you in advance!

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #167 on: March 24, 2014, 04:53:56 PM »
Here is pre v13-140324: Compatibility with BG1:TotSC and BG:EE (in addition to Tutu & BGT), and also fixed a bug so Sil has a dialogue if talked to before talking to the "old man".

Note: Russian version does not work yet in BG:EE.
Polish version does not use the BG1-specific coded tra-files for BG1:TotSC yet (but they are included).

(links removed. v13 is officially available from the DL page)
« Last Edit: April 23, 2014, 01:14:51 AM by jastey »

Offline Kulyok

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 6250
  • Gender: Female
  • The perfect moment is now.
Re: The Lure of the Sirine's Call is released!
« Reply #168 on: March 25, 2014, 04:18:15 AM »
@Jastey: Okay, here we go. Russian files are available here for integration: mods.pocketplane.net/kulyok/SirinesCall_v12_rus_for_jastey.rar
EXCEPT for setup file - please, please, please replace it with the English file for both EE and normal versions(believe me, we don't want this mess with DOS/Windows encoding on XP/Windows7 machines, it's dreadful).

P.S. I don't read forums very diligently, so if you do need something a translation/upload/file from me(a general 'you'), a PM might do the job better. Except for asking questions about mods and stuff from the players - they're all welcome on the forums.

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #169 on: March 25, 2014, 05:50:27 AM »
Thank you very much! (It was utf8 with BOM, but that was no problem, I converted with Notepad++). If you tell me what the format for Russian text for BG(II) is, I could do it myself, actually, if I think about it.

The above Downloadlink is updated! The version is now complete and everything. I'll collect bugreports for the next ~2 weeks and then I'll pack the new version.

Offline Kulyok

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 6250
  • Gender: Female
  • The perfect moment is now.
Re: The Lure of the Sirine's Call is released!
« Reply #170 on: March 25, 2014, 06:18:29 AM »
You can certainly do it yourself, sure, it's UTF-8 - I'm just worried because I see "strange" characters in my encoding for French/Polish/all other languages except for English and Russian, so that's why I ask native speakers do to it for me.

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #171 on: March 25, 2014, 06:37:48 AM »
That is the exact reason why I ask others for Polish and Russian.
But my question concerning the format was for classic BGII, which is not utf8, but something different. It says "ANSI", but I am sure that is only half of the information I need to convert the files to utf8 mxself. I'd assume it is "Kyrillian (Windows) 1251" ?

Offline Kulyok

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 6250
  • Gender: Female
  • The perfect moment is now.
Re: The Lure of the Sirine's Call is released!
« Reply #172 on: March 25, 2014, 07:32:03 AM »
Yes, if I'm not mistaken, except for setup file, which is a huge mess of MS-DOS encoding and 1251 encoding, and Windows 7 messed it up extra, which is why I mentioned English only for that one.

(our old and most-used-for-old-files format is KOI-8R. Not for mods, though).

Offline Silent

  • Planewalker
  • *****
  • Posts: 10
Re: The Lure of the Sirine's Call is released!
« Reply #173 on: April 04, 2014, 01:06:21 AM »
Can I spare you from the hassle and upload slightly updated Russian translation? )
« Last Edit: April 07, 2014, 01:13:13 AM by Silent »

Offline jastey

  • Moderator
  • Planewalker
  • *****
  • Posts: 1326
  • Gender: Female
Re: The Lure of the Sirine's Call is released!
« Reply #174 on: April 04, 2014, 01:18:16 AM »
Thank you, Silent! I uploaded the new version including your Russian updates, the download link is here in this post.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: