Skip to content

XP for Trap Disarming

Hello,

I found these two pages online and wanted to ask if anyone knows where to insert the described scripts, in which file?

https://nwn.fandom.com/wiki/Traps_and_xp

https://nwn.fandom.com/wiki/Simple_XP_reward_for_disarming_trap

My goal is to play a rogue who detects and disarms traps, and I only want to insert these so that I receive at least one experience point for each disarmed trap. I'm not interested in leveling up faster by investing a lot of experience!

Thanks for Help :)

Comments

  • sarevok57sarevok57 Member Posts: 6,075
    by the looks of it, you have to place it on the "disarm" section in the scripts tab for every trap that is in the game, which would be a huge undertaking since you would have to do it manually for each one
  • Nibor_ScotNibor_Scot Member Posts: 61
    Hello @sarevok57 ...thanks for that Info...when i play NWN EE in the future i want to try it and when it is only for one trap only to see if this works...where can i found these Scripts tab, is it in the Game or a file in the Orders of NWN?

    Thanks for Help :)
  • sarevok57sarevok57 Member Posts: 6,075
    Nibor_Scot wrote: »
    Hello @sarevok57 ...thanks for that Info...when i play NWN EE in the future i want to try it and when it is only for one trap only to see if this works...where can i found these Scripts tab, is it in the Game or a file in the Orders of NWN?

    Thanks for Help :)

    you have to open the modules in the toolset and find the specific trap in game that you want to edit, when you have the certain trap open one of the tabs should be called "scripts" and then you would have to make a script for the "OnUserDefined" option

    so in the screenshot below this is right hand clicking on the desired trap and going to "properties" then it will give you a box with options

    go to the "scripts" tab and by the looks of it you would put the script in the "OnUserDefined" option ( by making the appropriate script/ or copy pasting the appropriate script ) and then saving said script

    2dq5pzpd7pcx.jpg
  • Nibor_ScotNibor_Scot Member Posts: 61
    Hello @sarevok57 ...thanks for your describes...you wrote in the NWN Modules, but is it possible in the NWN Main Game? Thanks for the Help :smile:
  • sarevok57sarevok57 Member Posts: 6,075
    Nibor_Scot wrote: »
    Hello @sarevok57 ...thanks for your describes...you wrote in the NWN Modules, but is it possible in the NWN Main Game? Thanks for the Help :smile:

    yes, but you first need to open the main game module in the toolset ( the main game is just a pack of modules in one ) after you make the edits you save the module and then overwrite the game module with your saved one

    its a bit of a pain, because of the few extra steps that need to be done to edit the main game module, but unfortunately that is just the way she goes
  • Nibor_ScotNibor_Scot Member Posts: 61
    Hello, thank you for the clear information...but now I see that it's quite difficult, especially for a novice, to implement this in the game...the idea of ​​making an entry in a game file is therefore a distant prospect for me...thank you very much for your answers anyway, best regards :)
Sign In or Register to comment.