Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » leveledit bug fix update
leveledit bug fix update [message #94767] Sat, 12 June 2004 06:17 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Firstly, the bug "Leveledit doesnt load always2.dat", I found out how to fix that (I hope).
the Tooltips for buttons under the preset tree window are wrong bug I can fix if I can find enough space in leveledit.exe for the new code.
as for "Pressing the "play" button for sound presets doesnt play any audio", I found the code responsible for the "play" button but I need to figure out what it does and why its broken.
for the bug "If you are running at 800x600, you get graphics errors in the Vechicle Transition and Door Trigger editors", I found out that at 800x600, IDirect3DDevice8::SetRenderTarget returns D3DERR_INVALIDCALL whereas at bigger resolutions it returns D3D_OK. Next step is to find out why its broken and fix it.
I also have a fix for the "w3dview crashes when you exit" bug.

Although this isnt out yet, I will give this warning now.
None of these fixes have been tested very much. Be carefull when using the fixed version and save often.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
leveledit bug fix update [message #94770] Sat, 12 June 2004 06:26 Go to previous messageGo to next message
ericlaw02
Messages: 185
Registered: June 2003
Location: Hong Kong
Karma: 0
Recruit
Hmm, If that annoying W3D Viewer bug works, then i'm very happy...(That crash is very annoying....)
leveledit bug fix update [message #94925] Sat, 12 June 2004 20:56 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

further to the bug "f you are running at 800x600, you get graphics errors in the Vechicle Transition and Door Trigger editors", I now know what the bug is and can hopefully fix it.
Basicly, the bug is caused because the main window (the place you see the level in) is smaller than the box in the dialog which displays the zone and trigger editors.
This causes a problem because the depth stencil surface is created to be the size of the main window thingo and then when the depth stencil surface is associated with the box in the editor dialog, direct3d complains because it is too small (hence the D3DERR_INVALIDCALL thing in the leveledit box).


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Previous Topic: Cool Mod
Next Topic: Collision Bug Fix
Goto Forum:
  


Current Time: Fri Nov 29 15:01:53 MST 2024

Total time taken to generate the page: 0.01215 seconds