Advertisement
Guest User

Zomboid - Wolf Extraction Quest - Quick guide to add a custom extraction zone

a guest
Nov 29th, 2023
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.35 KB | Gaming | 0 0
  1. -- Zomboid - Wolf Extraction Quest - Quick guide to add a custom extraction zone
  2.  
  3. -- add this inside WQS_ModdedMapExtractionZoneInit() function of  /media/lua/shared/WQS_ModdedMapExtractionZones.lua
  4. -- replace XXXXX values
  5. -- replace the "SecretBaseRosewood_" with your prefix if you want
  6.  
  7. local SecretBaseRosewood_ModMapId, SecretBaseRosewood_ZoneLabel, SecretBaseRosewood_ModMapFolder
  8. local SecretBaseRosewood_ExtrPointX, SecretBaseRosewood_ExtrPointY, SecretBaseRosewood_ExtrPointZ
  9.  
  10. SecretBaseRosewood_ModMapId = "XXXXX"                --the mod id taken from mod.info map mod
  11. SecretBaseRosewood_ZoneLabel = "Extraction XXXXX NAME" --the name of the extraction point for the extraction tracker gui
  12. SecretBaseRosewood_ModMapFolder = "media/maps/XXXXXXX" --the folder inside the mod folder where we can find map data
  13. SecretBaseRosewood_ExtrPointX = XXXXX                      --x coord of the center of the extraction area
  14. SecretBaseRosewood_ExtrPointY = XXXXX                     --y coord of the center of the extraction area
  15. SecretBaseRosewood_ExtrPointZ = XXXXX                        ---z level of the extraction area    
  16.    
  17. WQS.AddModdedMapExtractionZone(
  18. SecretBaseRosewood_ModMapId,
  19. SecretBaseRosewood_ZoneLabel,
  20. SecretBaseRosewood_ModMapFolder,
  21. SecretBaseRosewood_ExtrPointX,
  22. SecretBaseRosewood_ExtrPointY,
  23. SecretBaseRosewood_ExtrPointZ
  24. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement