home *** CD-ROM | disk | FTP | other *** search
/ Igromania 2000 September / Igromania_09.iso / GameZone / Vampire / Mods / Salvation / Salvation.exe / wodvm / lockexit_readme.txt < prev    next >
Text File  |  2000-07-22  |  6KB  |  124 lines

  1. lockexit mod ver 1.1
  2. for Vampire:the Masquerade:Redemption
  3. By Yith 22/07/00 
  4. ----------------------------------------------
  5.  
  6.  
  7. Table of Content
  8. ----------------------------------------------
  9. Introduction
  10. Installation
  11. Usage
  12. Finding out location and exit numbers
  13. Printme file
  14. Version information
  15. Credits
  16.  
  17.  
  18.  
  19.  
  20. Intro
  21. ----------------------------------------------
  22. This will allow the storyteller in a multiplayer game to lock and unlock level exits during a game.  Also the exit state will be saved when the game is saved.  Exits can be locked one way or both ways.  Thankfully only the Storyteller needs this mod installed.  The source code is included in the zip.  Please feel free to add to/modify this code and put into your mods, but please ask me first and include me in the credits.  We would like to urge everyone who makes additional mods for the Codex to please include this with their mods.  (Especially considering "Redemption" only allows for _2_ codex.nob files: 1 in the main folder, and 1 in a -user defined folder.  So please include it in your codex modifications to ensure future compatability.)
  23.  
  24.  
  25.  
  26. Installation
  27. ----------------------------------------------
  28. 1) Create a directory under the existing vampire directory
  29. 2) Unzip the codex.nob file into the directory
  30. 3) Modify the game shortcut (or create a new one) so the game runs with the "-console -user <directory>" command.
  31. 4) Run new shortcut
  32. Note: you will _need_ to use the -user command.  The NOB must be named "codex.nob".
  33.  
  34.     As an example, create a directory named "mods".  Put the "codex.nob" file in it.  
  35.     Your short cut will then include "-console -user mods".  It should look like:
  36.         "C:\Program Files\Vamipre the Masquerade Redemption" -console -user mods
  37.     Or if you chose another install path - Freaky put the game in "C:\Games\Vampire".  So his shortcut is
  38.         "C:\Games\Vampire" -console -user mods
  39.  
  40.  
  41.  
  42. Usage
  43. ----------------------------------------------
  44. 1) In the game, the ST should bring up the console normally.
  45. 2) The command to enter uses the syntax:  stcmd (un)lock <location#> <exit#>
  46.  
  47.     Examples:    stcmd lock 0 2
  48.             stcmd unlock 2 5
  49.  
  50.  
  51.  
  52. Finding out the exit numbers and level numbers
  53. ----------------------------------------------
  54. 1) Go to your Chronicles directory, find the NSC file (eg. MP_London_Null.nsc) for the level you want.  
  55. 2) Open it with Notepad.
  56. 3) To determine the number of the location - 
  57.  
  58.     You will see lines such as
  59.     ...
  60.     location WestLondon        l1_west.nil    null    mapLondonWest.nui    mapLondonWestMain    0x0040
  61.     location EastLondon        l1_east.nil    null    mapLondonEast.nui    mapLondonEastMain    0x0040
  62.  
  63.     location SocietyOfLeopold3    L1_SOC3.nil    null    mapLondonWest.nui    mapSocietyOfLeopold    0x0
  64.     location SocietyOfLeopold2    L1_SOC2.nil    null    mapLondonWest.nui    mapSocietyOfLeopold    0x0
  65.     location SocietyOfLeopold1    L1_SOC1.nil    null    mapLondonWest.nui    mapSocietyOfLeopold    0x0
  66.     ...
  67.     The locations are numbered from 0 starting at the top. So in this case
  68.     WestLondon        = 0
  69.     EastLondon         = 1
  70.     SocietyOfLeopold3    = 2
  71.  
  72. 4) To determine the number of the exit -
  73.  
  74.     You will see lines such as
  75.     ...
  76.     # WestLondon exits
  77.     exit    WestLondon,0    SocietyOfLeopold1,0
  78.     exit    WestLondon,1    CurioShop,0
  79.     exit    WestLondon,2    EastLondon,0
  80.     exit    WestLondon,3    ClubTenebrae,0
  81.     ...
  82.     These describe the links between levels.  The numbers after the commas are the exit numbers which need to be put in the stdcmd command.
  83.  
  84. 5) Note if you are locking an exit on your current level, simply use "99" for the location.
  85. 6) This will lock the door only 1 way.  You will need to lock the "other side" of the door as well.
  86.  
  87.     To lock the door leading from West London to the Society of Leopold (while anywhere)
  88.         stcmd lock 0 0
  89.     To lock the door leading from West London to the Society of Leopold (while in West London)
  90.         stcmd lock 0 0  _or_  stcmd lock 99 0
  91.     As you can see, 99 is substitued for the location because you are simply locking an exit at your _current_ location.
  92.  
  93.     To lock the door leading from West London to the CurioShop
  94.         stcmd lock 0 1
  95.     To lock the door leading from the West London to the CurioShop and vice versa
  96.         stcmd lock 0 1  _and_  stcmd lock 15 0  (curio shop is location 15, and the exit is 0)
  97.     To reverse all the above locks, simply replace the work "lock" with "unlock"
  98.         stcmd unlock 0 0 , stcmd unlock 0 1 , stcmd unlock 15 0
  99.  
  100.  
  101.  
  102. Printme.txt File
  103. ----------------------------------------------
  104. We have included a file called "lockexit_printme.txt".  It contains the location and exit numbers for the multiplayer Prague, Vienna, New York, and London chronicles included with the game.  With all the above information, you should be able to figure out the numbers for other chronicles (whether included with game or customer created).  If you wish, you may simply print the file as is.  However I would recommend cut and pasting it into another notepad window for your individual printing.  (Such as cut pasting only the New York locations and exits.)  This printme file was put together quickly.  While Freaky did his best to make sure everything is accurate, there may be a mistake or two.  If you find one, email him at freakyferretboy@hotmail.com.
  105.  
  106.  
  107.  
  108. Version Info
  109. ----------------------------------------------
  110. Version 1.1    - Now works with Region Exits as well as Click Exits.
  111. Version 1.0    - First Version
  112.  
  113.  
  114.  
  115. Credits
  116. ----------------------------------------------
  117. Yith         - codex coder, author of the readme, and getting it just to work!    yith@globalnet.co.uk        
  118. Freaky Ferret     - beta testing, the printme                        freakyferretboy@hotmail.com    
  119. NSI_Veldrin    - for supplying the original code and troubleshooting and debugging
  120. NSI_MagicMan     - troubleshooting and debugging
  121.  
  122. Contact me for any help/comments you might have at yith@globalnet.co.uk . Please feel free to add to/modify this code and put into your mods, but please ask me first and include me in the credits.
  123.  
  124. Thanks, Yith