Medallion of Silence

Discussion in 'Modding and Scripting Support' started by rabidpulse, Feb 10, 2008.

Remove all ads!
Support Terra-Arcanum:

GOG.com

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

    rabidpulse New Member

    Messages:
    4
    Likes Received:
    0
    Joined:
    Jun 8, 2007
    So I have been trying to fix the medallion of silence by editing the script that is called when the user where it. (30022Medallion_of_Concealment_WEILD_ON.scr)
    I see that the script is set up similar to the machined plate mail and figured that was why this item doesn't work. So I changed the script to use a custom effect like so
    Code:
    0. give Triggerer the effect 399 with cause 5
    1. return and RUN default
    2. do nothing
    3. do nothing
    4. do nothing
    5 remove from Trifferer the effect 399
    6. return and RUN default
    
    I then added a line 399 into effect.mes with the effect of prowling +2
    I then loaded up my game and attached the item to no effect.
    I then tried another idea i saw on the forums and edited the script to look like this
    Code:
    0. magic/tech: adjust 1 by item Attachee used by Triggerer: store in Counter 0
    
    1. Local 0 = Counter 0
    
    2. IF Local 0 == 0
        THEN return and RUN default
        ELSE give Triggerer the effect 399 with cause 5
    
    3. Local 0 = Local 0 - 1
    
    4. goto line 2
    
    5. Local 0 = Counter 0
    
    6. IF Local 0 == 0
        THEN return and RUN default
    
    7. remove from Triggerer the effect 399
    
    8. Local 0 = Local 0 - 1
    
    9. goto line 6
    
    
    Again I loaded up a save game and attached the item to no effect.
    Is there something I am missing or is this Item just FUBAR. Any help from the modders here would be greatly appreciated.
     
  2. AirBreather

    AirBreather New Member

    Messages:
    11
    Likes Received:
    0
    Joined:
    Jan 31, 2008
    Could you post your "399 into effect.mes with the effect of prowling +2" line 399?

    Arcanum (mid dev cycle) changed from big to small representational stat numbers.

    Just curious. I'm not skilled at all in Arcanum scripting. :D
     
  3. rabidpulse

    rabidpulse New Member

    Messages:
    4
    Likes Received:
    0
    Joined:
    Jun 8, 2007
    Yeah here is the line verbatum from my effect.mes file
    Code:
    {399}{prowling +2} // Added for medallion of silence by Rabid Pulse
    
    I thought maybe that this could be the problem so I even tried calling a different line from the effect.mes file I think effect 221. I am pretty sure the problem is with my script, but I just don't see the error.
     
  4. team a

    team a New Member

    Messages:
    580
    Likes Received:
    0
    Joined:
    May 10, 2007
    I could probably help, but since I don’t know/ don’t remember where the item is in the game, I couldn’t check if the counters are all set right.
     
Our Host!