Wasteland 2: now with improved modding capabilities (and bugfixes!)

For community content (fan-art, fanfic, etcetera) for Wasteland 2.
Post Reply
Inquisitive Imps
Initiate
Posts: 2
Joined: August 5th, 2022, 12:08 am

Since Father Enola and Malediction Mayweather have been set up to drop Smokey and Kymry's Warrior, respectively, when they did not do so previously, are there any other NPC's with unique weaponry who don't drop what they're supposed to? For example, the wiki has pages for weapons like Shredder or Martha, but no listed locations for them. Are they just cut, or are they also bugged.
Lastly, do you think you could set up the Dragoon to be a guaranteed drop from the Seal Beach warehouse sniper? Seems odd that there's only a random chance for it to drop from him.
Executor_
Explorer
Posts: 381
Joined: August 11th, 2014, 5:38 am

0.9.4.091 now available here

Localization.zip has been updated so make sure to download it again too and extract into your "/WL2_Data/StreamingAssets/Localization/" directory.
For those interested in modding, also delete the 'Table' and 'ItemTemplate' folders in "Mods/Export" so they will get outputted again.

CHANGELOG
BASE GAME BUG FIXES
  • Mysophobic quirk was preventing the use of most items on oneself, instead of just healing items as intended
  • fixed incorrect weapon model for Hobo Basher weapon
  • Optical Eye loot was using the wrong inventory image
MODDING
  • map music now moddable, settings found in the SoundscapeManager.mson in 'Table'
    • place songs in the 'Music' subfolder in "Mods/Import"
    • only WAV and OGG formats supported, though WAV is recommended as the game seems to load OGG files quite slowly
    • do not include the file extension (ie. ".wav") in the songs field; for example:

      Code: Select all

      songs : [ "mySong1", "mySong2" ]
      
  • can now change the header text underneath weapon names on tooltips; typeDescription field in ItemTemplate_Weapon MSONs
    • will fill in following values if encased in square brackets: ITEM/TIER/SKILL_NAME/SKILL_LEVEL/CALIBER
    • eg. "<@>[SKILL_NAME] - Tier [TIER]"

__________________________________________________________________________________

Inquisitive Imps wrote: August 5th, 2022, 12:12 am Since Father Enola and Malediction Mayweather have been set up to drop Smokey and Kymry's Warrior, respectively, when they did not do so previously, are there any other NPC's with unique weaponry who don't drop what they're supposed to? For example, the wiki has pages for weapons like Shredder or Martha, but no listed locations for them. Are they just cut, or are they also bugged.
Father Enola and Malediction Mayweather used their respective weapons, they simply never dropped them before. Shredder/Martha/Beer Knuckles/etc. were never assigned to any NPC. There's quite a few items, textures and other resources in the data files that are never used in-game.
Inquisitive Imps wrote: August 5th, 2022, 12:12 am Lastly, do you think you could set up the Dragoon to be a guaranteed drop from the Seal Beach warehouse sniper? Seems odd that there's only a random chance for it to drop from him.
Yeah, it does seem weird that the only source of that weapon is a 10% drop off an enemy. Basically mandates save-scumming if you want to acquire it. I'll see about fixing this.
srch2015
Initiate
Posts: 3
Joined: June 24th, 2022, 6:11 am

Yes!
Thank you Executor_!
Was eagerly waiting for the moddable music feature...
Time to experiment again.


P. S.
Inquisitive Imps wrote: August 5th, 2022, 12:12 am ...set up the Dragoon to be a guaranteed drop from the Seal Beach warehouse sniper...
Hi, Inquisitive Imps! it's actually very easy to do:
1. go here:
Wasteland 2 Director's Cut\WL2_Data\Mods\Export\LosAngeles\CA10_Seal_Beach\DropSet
and find this file: DropSet_CA10_COTC_RifleWithDragoon.mson

2. Copy the above file into:
Wasteland 2 Director's Cut\WL2_Data\Mods\Import\LosAngeles\CA10_Seal_Beach\DropSet

3. Now open this file (the one inside the IMPORT folder) with notepad or emeditor or notepad++ etc., and find this section of code (it is at the very beginning of the file):

Code: Select all

{
	associatedSkill : DropSkills.NONE                        // skill level determined by 'minSkill' and 'maxSkill' in a Drop object
	
	drops : [
		{
			minSkill : 0
			maxSkill : -1
			
			dropClass : 0                                      // if 0, then 'chanceToDrop' is always evaluated separately
			chanceToDrop : 10 
4. Change chanceToDrop : 10 line from 10 to 100, to make it a guaranteed 100% drop chance.
That's it.

By the way, this change will take effect only upon visiting this location for the first time. It won't work if you've already visited this place. Even if you haven't killed the guys yet, I think.
Inquisitive Imps
Initiate
Posts: 2
Joined: August 5th, 2022, 12:08 am

Thanks for the replies, I'll look into the drop tables.

BTW, do you know if it is currently, or will be, possible to mod the game to increase the party size limit? Or is that too much of a hard limit within the code?
Executor_
Explorer
Posts: 381
Joined: August 11th, 2014, 5:38 am

The max party size is hard-coded. But the main issue with raising it is that the UI is only designed to handle up to 7 party members. Off the top of my head, the main HUD, world map HUD, character screen, CNPC replacement, trade, trade dropoff, loot, loot dropoff (ranger storage) screens would all need to be modified to cope with larger squads. That is not a trivial endeavor.
Post Reply

Return to “Wasteland 2: Community Content”