Forums
Games
Cyberpunk 2077 Thronebreaker: The Witcher Tales GWENT®: The Witcher Card Game The Witcher 3: Wild Hunt The Witcher 2: Assassins of Kings The Witcher The Witcher Adventure Game
Jobs Store Support Log in Register
Forums - CD PROJEKT RED
Menu
Forums - CD PROJEKT RED
  • Hot Topics
  • NEWS
  • GENERAL
    THE WITCHER ADVENTURE GAME
  • STORY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 THE WITCHER TALES
  • GAMEPLAY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 MODS (THE WITCHER) MODS (THE WITCHER 2) MODS (THE WITCHER 3)
  • TECHNICAL
    THE WITCHER THE WITCHER 2 (PC) THE WITCHER 2 (XBOX) THE WITCHER 3 (PC) THE WITCHER 3 (PLAYSTATION) THE WITCHER 3 (XBOX) THE WITCHER 3 (SWITCH)
  • COMMUNITY
    FAN ART (THE WITCHER UNIVERSE) FAN ART (CYBERPUNK UNIVERSE) OTHER GAMES
  • RED Tracker
    The Witcher Series Cyberpunk GWENT
THE WITCHER
THE WITCHER 2
THE WITCHER 3
MODS (THE WITCHER)
MODS (THE WITCHER 2)
MODS (THE WITCHER 3)
Menu

Register

Edit and Saving W2Ent Files?

+
Z

zoneshift

Fresh user
#1
Oct 16, 2015
Edit and Saving W2Ent Files?

So recently, I've looking for a way to fix a bow glitch found on some of the female elf npcs, and I came to suspect that their w2ent files were the likely culprit, specifically, data found in the CEntityTemplate #1 Chunk. I tried to adjust a few values using the Mod Editor tool, but that just ended up crashing the game every time when I spawned the npc in question for testing.

So my question is this: can the Mod Editor tool make changes to the W2ent files? If so, is there a tutorial on how to safely edit and rebundle the modified w2ent files?
 
K

KNGRSM

Rookie
#2
Oct 16, 2015
If it crashes, you messed it up. Not everything that can be edited by the editor should actually be edited. And yes, the editor can edit every file so far fine, except that some stuff still can't be read, which probably also leads to more problems.
 
Z

zoneshift

Fresh user
#3
Oct 16, 2015
KNGRSM said:
If it crashes, you messed it up. Not everything that can be edited by the editor should actually be edited. And yes, the editor can edit every file so far fine, except that some stuff still can't be read, which probably also leads to more problems.
Click to expand...
After some more testing, it seems that w2ent (or at least the CEntity Template chunk) probably shouldn't be edited for the time being. I guess I can hope either w2ent will eventually be fully editable, or CDProjektRed will have patched the bug by then.

:doubt2:
 
S

Sarcen

Rookie
#4
Oct 16, 2015
zoneshift said:
After some more testing, it seems that w2ent (or at least the CEntity Template chunk) probably shouldn't be edited for the time being. I guess I can hope either w2ent will eventually be fully editable, or CDProjektRed will have patched the bug by then.
Click to expand...
What exactly are you trying to edit?
 
Z

zoneshift

Fresh user
#5
Oct 16, 2015
Basically, for a few female npcs that have a bow in their inventory, rather than having the bow equipped to their back, the bow kind of clips through the ground at their feet.

My current theory is that the affected npcs lack a specific slot variable (bow_back_slot) in their CEntity Template chunk, as a result, the game doesn't how to put the bow correctly on the bugged npcs. So I been trying to add a new bow_back_slot manually in the npc's w2ent file.

Unfortunately, all that did was crash the game when the npc is spawned. And when I tried to open the saved w2ent file from Mod Editor, that gave me a memory overflow error.
 
S

Sarcen

Rookie
#6
Oct 16, 2015
zoneshift said:
Basically, for a few female npcs that have a bow in their inventory, rather than having the bow equipped to their back, the bow kind of clips through the ground at their feet.

My current theory is that the affected npcs lack a specific slot variable (bow_back_slot) in their CEntity Template chunk, as a result, the game doesn't how to put the bow correctly on the bugged npcs. So I been trying to add a new bow_back_slot manually in the npc's w2ent file.

Unfortunately, all that did was crash the game when the npc is spawned. And when I tried to open the saved w2ent file from Mod Editor, that gave me a memory overflow error.
Click to expand...
There is a bug, I'm reading a UInt32 and writing a UInt16 in sappearanceattachment, so thats why you cant save w2ent atm, will upload a fix in a second

---------- Updated at 01:58 AM ----------

Uploaded.
 
  • RED Point
Reactions: zoneshift, Nuggit and Asmodean778
Z

zoneshift

Fresh user
#7
Oct 16, 2015
Thanks so much! Will test it out right away.

---------- Updated at 02:32 AM ----------

First, Mod Editor works beautifully. Thanks again for the prompt update.

Secondly, I was right in my assumption. The lack of the bow slot is exactly what's causing the glitch. No more stupid clipping bows.
 
Cloud_180

Cloud_180

Rookie
#8
Oct 1, 2019
Hi, im not a modder. how can I fix this stupid bow glitch? Its really annoy me.
 
KoalaNalle

KoalaNalle

Senior user
#9
Oct 1, 2019
Switch to WolvenKit
 
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Link
  • English
    English Polski (Polish) Deutsch (German) Русский (Russian) Français (French) Português brasileiro (Brazilian Portuguese) Italiano (Italian) 日本語 (Japanese) Español (Spanish)

STAY CONNECTED

Facebook Twitter YouTube
CDProjekt RED Mature 17+
  • Contact administration
  • User agreement
  • Privacy policy
  • Cookie policy
  • Press Center
© 2018 CD PROJEKT S.A. ALL RIGHTS RESERVED

The Witcher® is a trademark of CD PROJEKT S. A. The Witcher game © CD PROJEKT S. A. All rights reserved. The Witcher game is based on the prose of Andrzej Sapkowski. All other copyrights and trademarks are the property of their respective owners.

Forum software by XenForo® © 2010-2020 XenForo Ltd.