Nástroje používateľa

Nástoje správy stránok


blog:odborny:2021-04-13-modding_diablo_2_on_macos_plugy_enjoy-sp_and_more

Rozdiely

Tu môžete vidieť rozdiely medzi vybranou verziou a aktuálnou verziou danej stránky.

Odkaz na tento prehľad zmien

Obojstranná predošlá revízia Predchádzajúca revízia
Nasledujúca revízia
Predchádzajúca revízia
blog:odborny:2021-04-13-modding_diablo_2_on_macos_plugy_enjoy-sp_and_more [2021/04/18 16:52]
Róbert Toth
blog:odborny:2021-04-13-modding_diablo_2_on_macos_plugy_enjoy-sp_and_more [2021/05/10 17:14] (aktuálne)
Róbert Toth
Riadok 59: Riadok 59:
  
 ==== Installing PlugY and Enjoy-SP together ==== ==== Installing PlugY and Enjoy-SP together ====
-x+TODO
  
  
Riadok 66: Riadok 66:
  
 ==== General modding guidelines and info ==== ==== General modding guidelines and info ====
-  * Explain Order of loading files +  * TODO Explain Order of loading files 
-  * -direct -txt commands +  * TODO -direct -txt commands
-  * +
  
 Note that the ''-direct -txt'' command is a 2 command function: Note that the ''-direct -txt'' command is a 2 command function:
Riadok 83: Riadok 82:
 ==== Changing colour of gems on ground (when holding Alt) ==== ==== Changing colour of gems on ground (when holding Alt) ====
 To do this, you need to prepend special colour codes (or their escape sequences, if the TBL editor you use allows it) to names of all gems in ''/mod/data/local/LNG/ENG/string.tbl'' file (which itself is by default packed inside ''Patch_D2.mpq'' file). To do this, you need to prepend special colour codes (or their escape sequences, if the TBL editor you use allows it) to names of all gems in ''/mod/data/local/LNG/ENG/string.tbl'' file (which itself is by default packed inside ''Patch_D2.mpq'' file).
-  * [[https://d2mods.info/forum/viewtopic.php?t=1762|The List of Color codes]]+  * [[https://d2mods.info/forum/kb/viewarticle?a=50|The List of Color codes for 1.09]]; [[https://d2mods.info/forum/viewtopic.php?t=1762|Another one]]
   * [[https://d2mods.info/forum/viewtopic.php?t=27003|Changing Gems and Runes ALT color!]]   * [[https://d2mods.info/forum/viewtopic.php?t=27003|Changing Gems and Runes ALT color!]]
   * [[https://d2mods.info/forum/viewtopic.php?t=66881#p500686|How to actually do this]] :-)   * [[https://d2mods.info/forum/viewtopic.php?t=66881#p500686|How to actually do this]] :-)
 +
 +==== Allow Jewels and Charms to be gambled ====
 +You need to add Jewels and Charms to the list of items allowed to be generated by gamble routine in ''/mod/data/global/excel/Gamble.txt''. To do this, append these lines to the end of file:
 +<code>Small Charm cm1
 +Large Charm cm2
 +Grand Charm cm3
 +Jewel jew
 +</code>
 +
 +Some important notes:
 +  * **//You must end the file with a newline//**, otherwise game wouldn't recognize the item type written in the last line.
 +  * If you want to add another item types, you might find their codes in ''/mod/data/global/excel/Misc.txt'' (column ''code''). They are also references from ''TreasureClassEx.txt'' file (columns ''ItemX'').
 +  * If you want some items to appear more frequently in gambling window, you might list them several times in the file.
 +
 +==== Change probability of Exceptional and Elite items in gambling ====
 +This is controlled by columns ''GambleUber'' and ''GambleUltra'' in ''/mod/data/global/excel/DifficultyLevels.txt''. The probability for an Exceptional/Elite item to be generated is calculated with the following formula (see [[https://www.diabloii.net/forums/threads/help-newbie-on-gambling-exceptional-elite-items.722574/#post-7085143|How are Exceptional/Elite items generated?]]):
 +  * Exceptional: ''exceptionalProbability = max{0%, (ilvl – qlvlV) * 0.9% + 1%}''
 +  * Elite: ''eliteProbability = max{0%, (ilvl ? qlvlE) * 0.33% + 1%}''
 +  * where ''ilvl = clvl (-5 to +4)'' and ''qlvl = quality - lvl'' of base item to be generated (e.g. 33 for Demonhide gloves)
 +The constants (0.9% and 0.33%, respectively), are defined (as ''90'' and ''33'') in the file. My suggested setup is this:
 +<code>
 +Name […] GambleRare GambleSet GambleUnique GambleUber GambleUltra
 +Normal […] 100000 15000 15000 50 50
 +Nightmare […] 100000 15000 15000 200 200
 +Hell […] 100000 15000 15000 800 800
 +</code>
 +So no magic-only items (we are gambling, we want something real!), only **unique items** with 15% probability (in file written as portion of 100000, so 15000), **set items** with 15% probability (again 15000 in file) and **rare items** (the rest, i.e. 70% – in file written as 100000 to catch the rest). I have set the probability of getting Exceptional/Elite item to 0.5%/2%/8% (for Normal/Nightmare/Hell, respectively) per one item level (''ilvl'') above quality level (''qlvl'').
 +
 +=== Gambling for Unique Circlets ===
 +If you are gambling for exceptional or elite versions of [[https://diablo-archive.fandom.com/wiki/Circlets_(Diablo_II)|unique/set circlets]], remember that only Coronets (and not Circlets!) can be upgraded in gambling window into Tiaras or Diadems. See [[https://www.reddit.com/r/pathofdiablo/comments/ea2nxg/the_complete_overview_guide_to_gambling_in_diablo/|The complete overview guide to Gambling in Diablo 2 and PoD.]]
  
  
Riadok 106: Riadok 135:
  
 ==== Tweaking shrines ==== ==== Tweaking shrines ====
 +TODO
 +
 Disable unwanted shrines: Disable unwanted shrines:
-  * set required level so high that they will never appear (200+) +  * in ''/mod/data/global/excel/Shrines.txt'' set required level so high that they will never appear (200+) 
-Make monster shrine  +Make monster shrine reusable after some time (so that you can generate more uniques, yay!) 
-  *+  * set column ''reset time in minutes'' to e.g. 1 (the column is in minutes)
 My version: only spawn monster, experience and gem shrines, disable other shrines My version: only spawn monster, experience and gem shrines, disable other shrines
-  *+  * change ''effectclass'' column values so that the only enabled shrine with ''effectclass'' 4 is ''Warping Shrine'' and the only enabled shrines with ''effectclass'' 1 are ''Shrine of Enirhs'', ''Experience Boost'' and ''Gem Upgrade'' 
 +  * note that the chance for effect class 1 is 10% while the chance for effect class 4 is 90% (see [[https://www.diabloii.net/forums/threads/the-shrining-shrines-revisited.966990/|The Shrining guide]]). 
 +  * ''Shrine of Enirhs'' is out, but it can still be rolled by game, and if so, the game will instead spawn ''Gem Upgrade'' shrine.
 Good sources for info: Good sources for info:
   * x   * x
- 
- 
-==== Tweaking gambling (and difficulty levels) ==== 
-Change probability for unique/set items: 
- 
- 
- 
  
  
Riadok 128: Riadok 154:
 ==== Save-game editors (Trainers) ==== ==== Save-game editors (Trainers) ====
   * **Preferred (tested, working):**   * **Preferred (tested, working):**
-    * +    * **Hero Editor 1.04**: [[https://www.moddb.com/games/diablo-2-lod/downloads/hero-editor-v-104|download here]]. Note that it must be properly installed, not just copied over, as it copies some files to windows.
-    x+
   * **Other (untested or not properly working):**   * **Other (untested or not properly working):**
-    * x +    * **Jamella Hero Editor 4.0 beta9c**: [[https://d2mods.info/forum/downloadsystemcat?id=17|download here]] or [[https://www.moddb.com/mods/jamella-editor/downloads/jamella-editor-v40-beta9c|here]]. Do not use, the latest Diablo II version it supports is 1.09. See [[http://web.archive.org/web/20020601091746/http://jamella.cjb.net/|archived original page]] 
-    * x+    * **Shadowmaster 0.87beta**: [[https://d2mods.info/forum/downloadsystemcat?id=17|download here]]. Do not use, the latest Diablo II version it supports is 1.09
  
 ==== TBL editors – editing game texts (strings) ==== ==== TBL editors – editing game texts (strings) ====
Riadok 140: Riadok 165:
   * ''patchstring.tbl'' is in ''patch_d2.mpq'' and contains the texts from the current patch.   * ''patchstring.tbl'' is in ''patch_d2.mpq'' and contains the texts from the current patch.
 Game "loads" its texts in this order, so the latter will override the earlier files – e.g. if the particular text from original Diablo II gets redefined in the expansion, and later again by a patch, game will use the text from patch (pretty clever). Game "loads" its texts in this order, so the latter will override the earlier files – e.g. if the particular text from original Diablo II gets redefined in the expansion, and later again by a patch, game will use the text from patch (pretty clever).
- 
-**List of editors:** 
   * **Preferred (tested, working):**   * **Preferred (tested, working):**
     * **AFJ tbl Editor 1.12:** [[https://d2mods.info/forum/viewtopic.php?t=15454|download here]]. This is the best editor to use. It has support for colour code escape sequences, does not have any program dependency and I have tested it and it simply works. Two important notes:     * **AFJ tbl Editor 1.12:** [[https://d2mods.info/forum/viewtopic.php?t=15454|download here]]. This is the best editor to use. It has support for colour code escape sequences, does not have any program dependency and I have tested it and it simply works. Two important notes:
Riadok 151: Riadok 174:
  
  
-==== xxx ==== +==== Others ==== 
-==== xxx ==== +TODO
-==== xxx ====+
  
  
Riadok 223: Riadok 245:
   * [[http://web.archive.org/web/20110311010338/http://diablo3.ingame.de/tips/calcs/weaponspeed.php?lang=english|Weapon Speed Calculator]] (archived, but functional version)   * [[http://web.archive.org/web/20110311010338/http://diablo3.ingame.de/tips/calcs/weaponspeed.php?lang=english|Weapon Speed Calculator]] (archived, but functional version)
   * Treasure Classes of all item types, uniques and sets: [[https://diablo2.diablowiki.net/TC_1.10|diablo2.diablowiki.net]] or [[http://web.archive.org/web/20080317010811/https://www.diabloii.net/items/110tc.shtml|DiabloII.net]] (same data, just different sources)   * Treasure Classes of all item types, uniques and sets: [[https://diablo2.diablowiki.net/TC_1.10|diablo2.diablowiki.net]] or [[http://web.archive.org/web/20080317010811/https://www.diabloii.net/items/110tc.shtml|DiabloII.net]] (same data, just different sources)
 +  * [[http://web.archive.org/web/20091217115522/http://www.theamazonbasin.com/d2/forums/index.php?showtopic=76262|Monster Resistances and Immunities Guide]] (archived)
 +
 +==== Horadric Cube ====
 +  * [[http://classic.battle.net/diablo2exp/items/cube.shtml|Horadric Cube recipes]]
 +
 +==== Jewels ====
 +  * [[http://classic.battle.net/diablo2exp/items/magic/jewels.shtml|Jewel Prefixes and Suffixes]]
 +  * [[https://diablo2.diablowiki.net/Jewel_Affixes|Jewel Affixes]]
  
 ==== Charms ==== ==== Charms ====
   * [[https://www.reddit.com/r/pathofdiablo/comments/92oi7w/full_list_of_the_best_charm_prefixes_and_suffixes/|List of the best charm prefixes and suffixes]]   * [[https://www.reddit.com/r/pathofdiablo/comments/92oi7w/full_list_of_the_best_charm_prefixes_and_suffixes/|List of the best charm prefixes and suffixes]]
   * [[https://www.diabloii.net/forums/threads/charm-guide-final-version-hopefully.403178/|The Charm Guide]]   * [[https://www.diabloii.net/forums/threads/charm-guide-final-version-hopefully.403178/|The Charm Guide]]
 +  * [[http://classic.battle.net/diablo2exp/items/magic/smallcharms.shtml|Small Charms Prefixes and Suffixes]]
 +  * [[http://classic.battle.net/diablo2exp/items/magic/mediumcharms.shtml|Large Charms Prefixes and Suffixes]]
 +  * [[http://classic.battle.net/diablo2exp/items/magic/largecharms.shtml|Grand Charms Prefixes and Suffixes]]
  
 ==== Shrines ==== ==== Shrines ====
Riadok 234: Riadok 267:
 ==== Gambling ==== ==== Gambling ====
   * [[https://www.diabloii.net/forums/threads/help-me-on-gambling-lvl.343001/#post-3452468|What item levels can I gamble?]]   * [[https://www.diabloii.net/forums/threads/help-me-on-gambling-lvl.343001/#post-3452468|What item levels can I gamble?]]
-    * Short answer: items are generated with levels between clvl-5 and clvl+4+    * Short answer: items are generated with ilvl between clvl-5 and clvl+4
   * [[https://www.diabloii.net/forums/threads/help-newbie-on-gambling-exceptional-elite-items.722574/#post-7085143|How are Exceptional/Elite items generated?]]   * [[https://www.diabloii.net/forums/threads/help-newbie-on-gambling-exceptional-elite-items.722574/#post-7085143|How are Exceptional/Elite items generated?]]
     * Short answer: <code>     * Short answer: <code>
-Exceptional: pV = max{0%, (ilvl qlvlV) * 0.9% + 1%} +Exceptional: pV = max{0%, (ilvl – qlvlV) * 0.9% + 1%} 
-Elite: pE = max{0%, (ilvl qlvlE) * 0.33% + 1%}</code>+Elite: pE = max{0%, (ilvl – qlvlE) * 0.33% + 1%}</code>
     * Note that these constants (0.9% and 0.33%, respectively), are defined (as ''90'' and ''33'') in ''/mod/data/global/excel/DifficultyLevels.txt'' under ''GambleUber'' and ''GambleUltra'' columns, respectively.     * Note that these constants (0.9% and 0.33%, respectively), are defined (as ''90'' and ''33'') in ''/mod/data/global/excel/DifficultyLevels.txt'' under ''GambleUber'' and ''GambleUltra'' columns, respectively.
   * [[https://www.reddit.com/r/pathofdiablo/comments/ea2nxg/the_complete_overview_guide_to_gambling_in_diablo/|The Complete Guide to Gambling]]   * [[https://www.reddit.com/r/pathofdiablo/comments/ea2nxg/the_complete_overview_guide_to_gambling_in_diablo/|The Complete Guide to Gambling]]
Riadok 244: Riadok 277:
 ==== Modding ==== ==== Modding ====
   * [[https://www.d2mods.info/forum/kb/index?c=4|File guides on The Phrozen Keep]]   * [[https://www.d2mods.info/forum/kb/index?c=4|File guides on The Phrozen Keep]]
 +  * [[https://www.diablofans.cz/d2/modding-tabulka-atributu/|Table of all item attribute codes]] (in Czech)
  
 +==== Increased Attack Speed, Faster Block Rate, Faster Cast Rate and Breakpoints ====
 +  * [[https://diablo2.diablowiki.net/Breakpoints|Breakpoints]] on DiabloWiki.net
 +  * [[Blocking explained|https://diablo2.diablowiki.net/Blocking]]
 +  * [[https://diablo2.diablowiki.net/Guide:Defense_101_v1.11,_by_Alecz|Defense Guide v1.11]]
 +  * [[https://diablo2.diablowiki.net/Body_Armor|Body Armor Explained]]
  
-~~DRAFT~~ +==== Experience and Fast levelling ==== 
-TODO +  * [[https://diablo2.diablowiki.net/Experience|Experience]] 
- +  * [[https://diablo2.diablowiki.net/Guide:Diablo_2_Level_Up_Guide_v1.10|Diablo 2 Level Up Guide v1.10]]
-Text…+
  
 +==== Character Builds ====
 +  * [[https://diablo2.diablowiki.net/Guide:Lightning_Amazon_v1.10,_by_Jek|Lightning Amazon]]
  
  
blog/odborny/2021-04-13-modding_diablo_2_on_macos_plugy_enjoy-sp_and_more.1618757535.txt.gz · Posledná úprava: 2021/04/18 16:52 od Róbert Toth