Jump to content

[v35.16] Issues with BGT German test install


Recommended Posts

I‘m away from my laptop for a week.
But last time I‘ve checked, using NI, the BCS line referenced a dialog.tlk entry which just contained the string ‚carsa_say_strref_8‘ (the name of the variable).

Link to comment

This is the line from carsa.bcs (after installing the carsa/kahrk component from v35.16):

        DisplayStringHead(Myself,133307)  // carsa_say_strref_8

If I understand the code right, %carsa_say_strref_8% should contain an existing strref, which is read from carsa.dlg state 8 here (carsa.tpa):

    // get strings from the dialog

    COPY_EXISTING "%tutu_var%carsa.dlg" override
        GET_OFFSET_ARRAY say_arr 0xc 4 0x8 4 0 0 0x10
        PHP_EACH say_arr AS say_ind=>say_off BEGIN
            READ_LONG say_off strref
            SET $carsa_say_strref("%say_ind%")=strref
            GET_STRREF strref string
            SPRINT $carsa_say("%say_ind%") "%string%"
        END
        GET_OFFSET_ARRAY resp_arr 0x14 4 0x10 4 0 0 0x20
        PHP_EACH resp_arr AS resp_ind=>resp_off BEGIN
            READ_LONG (0x4+resp_off) strref
            SET $carsa_response_strref("%resp_ind%")=strref
            GET_STRREF strref string
            SPRINT $carsa_response("%resp_ind%") "%string%"
        END

But instead the name of the variable itself is added to dialog.tlk and referenced.

So to me it looks like the variable is not evaluated, otoh I do not understand, what this should accomplish, I mean using this particular strref from carsa.dlg.

All the other DisplayStringHead lines in carsa_add.baf have a tra reference (also in carsa_add.d).

Sorry for the bother and if I overlooked something obvious...

 

Link to comment

Last attempt with 35.15 (sorry, I thought I was on 35.16), only those two components (...--install-force-list...):

Spoiler

~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #4 #5900 // Initialise AI components (required for all tactical and AI components): 35.15
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #4 #7150 // Improved Carsa/Kahrk interaction: 35.15

Tried again with 35.16 now, and it is ok:

        DisplayStringHead(Myself,77341)  // NEEEIIIIN!! ... KAHRK!! ... OH MÄCHTIGER KAHRK!!!
Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...