Required files to modify reputations

Discussion in 'Modding and Scripting Support' started by AirBreather, Feb 8, 2008.

Remove all ads!
Support Terra-Arcanum:

GOG.com

PayPal - The safer, easier way to pay online!
  1. AirBreather

    AirBreather New Member

    Messages:
    11
    Likes Received:
    0
    Joined:
    Jan 31, 2008
    Hey, all!

    I wanted to roleplay a... Well... Serial killer... But when I'm in Tarant and knocking off people in sewers after mind-controlling them, I still get the "Enemy of Tarant" thing going on.

    I assume the reputation works off of a incremential counter or some such.

    Could someone point me in the right direction of how to change that value or otherwise disable the reputation? (Or make it more 'real', or something... Dunno.)

    Thanks.
     
  2. HL1ownsHL2

    HL1ownsHL2 New Member

    Messages:
    167
    Likes Received:
    0
    Joined:
    Nov 25, 2007
    first download datbuilder from the downloads section
     
  3. AirBreather

    AirBreather New Member

    Messages:
    11
    Likes Received:
    0
    Joined:
    Jan 31, 2008
    K, done.

    Read the readme. Thought I would need to edit some pre-existing files, though?
     
  4. HL1ownsHL2

    HL1ownsHL2 New Member

    Messages:
    167
    Likes Received:
    0
    Joined:
    Nov 25, 2007
    OK, first of all make a backup of your arcanum directory. yes the whole folder, "Arcanum" yes i know its 1g+ but just do it. editing arcanum files can always go wrong, and usually does on the first couple tries.

    Now lets get started.

    your absolutely correct, you DO edit pre-existing files. Problem is, those files that you want to change are compiled in .DAT file extensions which cannot be unzipped by any program other than Datbuilder.

    now, if you go to your arcanum directory you will notice .DAT files called arcanum1, arcanum2, arcanum3, and if you have the patch, there will also be an Arcanum4. If you DO NOT have the patch, get it from the downloads section...it's patch number 1.074 if I'm not mistaken. This will also add a file called Arcanum.PATCH0 to your modules folder (which is inside your Arcanum directory)

    Now, you have the patch, you see the files, everything is in order. oh and a word of advice, when your done installing the patch a folder will automatically open with "Arcanum Widescreen" on it. Its a shortcut to patched arcanum+the ability to widescreen (turned on and off with the use of F10) Move it to your desktop, and use that from now on to get into arcanum.
    And if you wanna make sure your patched right, open your arcanum and see if you have the background "Apprenticed to a Blacksmith" which is only available to patched people.

    ok now your all set to get extracting! go to your arcanum directory, where the arcanum1,2,3,4.DAT files are located and make 4 new folders. one called arcanum1. one called arcanum2. one called arcanum3. one called Arcanum4. Now, close that and open datbuilder.

    Ok, Datbuilder is a fairly simple program, it easily unzips the arcanum DAT files, and allows you to extract them to folders. Ok look at the top of the datbuilder program, there should be New Dat, Open Dat, extract, etc...
    Click on "Open dat" and then find your arcanum1.dat file. when you find it double click it and it will start unzipping. at the bottom of the DATBuilder program there is a lot of numbers and words zooming by quickly. when the words stop moving, that means its done unzipping. for arcanum1 it will say: 5856 file(s) total. (display finished)
    now you click extract. double click on the arcanum1 folder you made earlier in the arcanum directory. (DOUBLE CLICK not a single click because then it will extract to the previous folder.)

    do this to arcanum1 arcanum2 arcanum3 and arcanum4. after that, go to the modules folder. Rename Arcanum.PATCH0 to Arcanumpatch0.dat
    that will turn the folder into a dat file extension and then make a folder called Arcanumpatch0 (without the period) and use datbuilder to open and extract it like what you did with arcanum1,2,3,4.

    When your done all this, come tell me. We'll work from there. If you had difficulty with anything, or didn't understand something i said, tell me. good luck :) :)
     
  5. AirBreather

    AirBreather New Member

    Messages:
    11
    Likes Received:
    0
    Joined:
    Jan 31, 2008
  6. AirBreather

    AirBreather New Member

    Messages:
    11
    Likes Received:
    0
    Joined:
    Jan 31, 2008
    Did a little bit of searching.

    Found a file called "02845TarantCitizenDeath.scr"

    Opened it up in the Arcanum script editor and it looks like an incremental counter, with greater or equal to 14 giving the player a reputation. Now, how to edit that script??

    *sigh*

    :lol:
     
  7. AirBreather

    AirBreather New Member

    Messages:
    11
    Likes Received:
    0
    Joined:
    Jan 31, 2008
    Addition:

    One each for "CitizenDeath":

    02844ShroudedCitizenDeath.scr
    02845TarantCitizenDeath.scr
    02846AshburyCitizenDeath.scr
    02847BlackRootCitizenDeath.scr
    02848CaladonCitizenDeath.scr
    02849DernholmCitizenDeath.scr
     
  8. AirBreather

    AirBreather New Member

    Messages:
    11
    Likes Received:
    0
    Joined:
    Jan 31, 2008
    Eh, just did the brute force method. Deleted a bunch of lines that related to the variable/counter/reputation.

    Woo! :p
     
  9. HL1ownsHL2

    HL1ownsHL2 New Member

    Messages:
    167
    Likes Received:
    0
    Joined:
    Nov 25, 2007
    you can just edit it if you open the files with wordpad/notepad....does your game still work after you deleted those files?
     
  10. AirBreather

    AirBreather New Member

    Messages:
    11
    Likes Received:
    0
    Joined:
    Jan 31, 2008
    Did not delete the *files*, but the *lines*.

    Worked fine after. :)
     
  11. team a

    team a New Member

    Messages:
    580
    Likes Received:
    0
    Joined:
    May 10, 2007
    I know you were able to turn off the kill counters, but i thought that you might want your serial killer to still get the reputation if he/she is caught doing the murders in a public area. So, you might do something like this, with 02845TarantCitizenDeath.scr as an example:

    0. object type of Triggerer: store in Local 0

    1. IF Local 0 == 15
    THEN goto line 3

    2. IF npc Triggerer is a follower of pc Player
    THEN do nothing
    ELSE return and RUN default

    3. get location of Attachee and store X in Local 1 and Y in Local 0

    4. IF Attachee is within 2000 tiles of location X:0 Y:0
    THEN do nothing
    ELSE return and RUN default

    5. Global Variable 1082 = Global Variable 1082 + 1

    6. IF Global Variable 1082 <= 14
    THEN return and RUN default

    7. reputation: give Player the reputation 1063

    8. remove this script

    9. return and RUN default


    Note that for line 4, you’ll have to substitute in your own numbers, which are the center of tarant for “X:0 Y:0” and what a safe distance from the center you can be to not get caught for “2000” (just a guess here). This means that you’ll be safe as long as you’re away from the city or on another map, like in the sewers, because no other maps are likely to have any location you can visit with high enough coordinates to compare to any of the major cities, especially tarant. However, this means you can kill anyone in, say, the bates manor or the shrouded hills city hall/temple, which makes no sense. For the sake of accuracy, you could always change the entry and exit scripts for those places to set a global flag and the exit to clear that flag (SH town hall has 1 entrance, so 2 scripts, while bates manor has 2 entrances, so 4 scripts; ignore the bates manor upstairs).

    Take those scripts you modified, and you should be able to put them in Arcanum/data/scr rather than rebuilding the .dat files (although I haven’t bothered to try it yet). I don’t know if you consider all that worth the effort - especially the part about the bates manor and the town hall, considering your experience - but it’s up to you.
     
Our Host!