LvlWarp.txt File Guide [v1.1x]
By Drac0
v1.1, 12 Oct 2011
LvlWarp.txt deals with what happens when you move between different levels of a game using cave entrances/exits, stairs, the Act 2 trapdoors and such. This is called warping simply because it ‘warps’ you to a different location in the actspace. It has nothing to do with TP’s, waypoints or moving between surface areas (act 1 wilderness areas etc). A warp tile is a special hidden wall tile on a map to facilitate moving between one area & another. It is possible to add your own warp types to this file.
A big thank you to Paul Siramy. His win_ds1edit tutorial contains very detailed information about this file & is the main reference for the following information. If you want to actually SEE what the following details mean, check out ‘A New Tent Warp’ in the tutorial.
Name: (comment only) A description of the warp, where it’s used & the direction (left/right, up/down).
ID: Index for the warp type. Referenced by Levels.txt using ‘WarpX’ columns.
SelectX/SelectY: The upper left corner of the warps active area (where you mouse will highlight/activate the warp). This position is in pixels & based off the bottom corner of the sub-tile specified in OffsetX/OffsetY below.
SelectDX/SelectDY: The width & height of the warp active area, to the right & down from the SelectX/SelectY position. Again measured in pixels.
ExitWalkX/ExitWalkY: Sets the position a character will automatically walk to after exiting the warp unless interrupted by the player clicking elsewhere. This is measured in sub-tiles from the base position of the warp (OffsetX/OffsetY). This position does not need to be on the special warp tile, you can make the character walk some distance if you wish. NOTE: each tile on a map is made up of a 5x5 grid of sub-tiles, numbered from 0,0 to 4,4.
OffsetX/OffsetY: This sets the base sub-tile for the warp – ie the position a player will spawn on exit. Sub-tile 0,0 is the top centre of the tile, X counts down to the right & Y down to the left. Again, this doesn’t need to be on the special warp tile, you can spawn the player away from the tile if needed. See Act 2 Town to Sewer Dock/Act 2 Sewer Dock to Town where this happens.
LitVersion: Controls whether the game swaps images for the tile on mouse-over to highlight the warp. 0 = do nothing, 1 = swap tiles/highlight. This is hardcoded to the warp ID so you can’t add highlighting to warps that don’t have it or new warps.
Tiles: If LitVersion is set to true (1) this number is added to the subindex of the tile in the dt1 (tile set) to specify which tile to use for highlighting the warp. This additional tile is hidden when loaded and only made visible when the mouse pointer hovers over the warp.
Thanks to Mentor for explaining this.
Direction: The orientation of the warp, l = left, r = right & b = both. The special warp tiles have orientations that are either left (10) or right (11). If you set this column to l or r you must ensure you use a tile with the same orientation. Setting it to ‘b’ allows the use of tiles with either orientation. Left & right orientation is only used on some expansion warps & always come in pairs sharing the same ID.
Beta: (comment only) Was this warp used in the beta? Just another form of the EOL column in other files.
Comments & corrections welcomed.
[File Guide] - LvlWarp.txt [v1.1x]
Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.
Moderator: Nizari
1 post
• Page 1 of 1
1 post
• Page 1 of 1
Return to “General Mod Making”
Jump to
- The Phrozen Keep Forums
- ↳ Staff Announcements
- ↳ Keep Updates
- ↳ File Center Announcements
- ↳ Keep Polls
- ↳ Members area
- ↳ Member news
- ↳ Job Offerings
- ↳ Multi-Player Matchups
- ↳ Member Аnnouncements
- ↳ Feedback
- ↳ Site support
- ↳ Mod Spotlight & Quick links
- ↳ Keep Discord
- Diablo Universe
- ↳ Diablo II Legacy Modding and Discussion
- ↳ General Mod Making
- ↳ Tools
- ↳ Multimedia
- ↳ Map Editing
- ↳ Code Editing
- ↳ PlugY|NefEx|D2Mod
- ↳ Skill Clinic
- ↳ Mod Concepts & Research
- ↳ Mac Modding
- ↳ Diablo II Chatter
- ↳ Diablo II Resurrected Discussion
- ↳ Other Diablo Games
- Diablo II Legacy Mods
- ↳ Apokaliptic
- ↳ Plugins by Nizari
- ↳ Back to Hellfire
- ↳ Battle for Elements
- ↳ Black Omen Productions
- ↳ Mods by Nefarius
- ↳ Shadow Empires
- ↳ Blackened
- ↳ Diabolic Studios
- ↳ Diabolic Studios Site
- ↳ The Hordes of Chaos
- ↳ Dark Alliance
- ↳ Planar Rifts
- ↳ Dreamland betatesting
- ↳ Eastern Sun
- ↳ Eastern Sun Rises
- ↳ Escape From The Afterlife
- ↳ Le Royaume des Ombres
- ↳ Mods by Lady Isabelle
- ↳ Talonrage's Requiem of Sorrow
- ↳ Zy-El: Trial by Fire
- ↳ The Sandbox
- ↳ Unsupported Mods
- ↳ Nezeramontias
- ↳ Ancestral Recall
- ↳ Kingdom of Tenai
- ↳ Mods by GuyAskingQuestion
- ↳ The Fury Within: Ancients & Awakening
- ↳ Darkness Weaves
- ↳ V&K Mods
- ↳ New Dawn & North Star
- ↳ Baldur's Gate Mod
- ↳ Sir_Generals Rune Mod
- ↳ Dragons' Uprising
- ↳ Seasons After
- ↳ CryptForge
- ↳ d2:elements
- ↳ Underkill
- ↳ Pagan Heart
- ↳ Hades Mods
- ↳ Apocalypse
- ↳ Cubaholics
- ↳ Hades Underworld
- ↳ Sanctum Arcanum
- ↳ Arcanum Archives
- ↳ Rise of the Old Gods
- ↳ Elder Scrolls Mod
- ↳ Legacy of the Horadrim
- Diablo I Discussion
- ↳ Diablo I Chatter
- ↳ Diablo I Modding
- ↳ Devilution
- ↳ Infernity
- ↳ Belzebub
- ↳ Tchernobog
- ↳ EQUINE
- ↳ Crucible
- ↳ D1Legit
- Other Games
- ↳ It Lurks Below
- Miscellaneous
- ↳ Off-Topic
- ↳ Testing
- Currently Unavailable
- ↳ Upcoming Forums
- ↳ Limbo
- ↳ Seven Lances
- ↳ Wheel of Time
- ↳ Tactics Central
- ↳ Mod Reviews
- ↳ DoomsDay
- ↳ Time of Heroes
- ↳ Bloodwars, Inc.
- ↳ Darque Onyx Mods
- ↳ Cabal Wars - Aeons Tide
- ↳ Deathfile's Sanctuary
- ↳ A Pledge To Evil
- ↳ When Worlds Collide II
- ↳ Prophecy of Shadows
- ↳ Valhalla
- ↳ Darque Onyx Site
- ↳ Visions of Valor
- ↳ Cheater's Choice Series
- ↳ Dark Sabbath
- ↳ Corrupted Death
- ↳ Belize's Revenge
- ↳ Brother Laz
- ↳ Chaos Empire
- ↳ Odin's Runeword Mod
- ↳ Stormbringer
- ↳ The Dark Omen
- ↳ Mods By Laz
- ↳ The Stairway to Oblivion
-
- Login
-
- Who is online
- In total there are 4 users online :: 3 registered, 0 hidden and 1 guest
Most users ever online was 1797 on Tue Nov 25, 2008 1:27 pm
Users browsing this forum: AppleWebKi, loveqiao361, nokwqu and 1 guest
Recent Forum Topics
-
- Menu
-
- Community
-
- Modding Resources