diff --git a/Readme.md b/Readme.md index 81f3519..1d51b4f 100644 --- a/Readme.md +++ b/Readme.md @@ -3,7 +3,7 @@ What began as a test for importing UT vertex meshes has turned into an actual full UT weapon and item mod. -This mod requires GZDoom g4.3pre-64-g37fa2e1b6 or later. +This mod requires GZDoom g4.3pre-79-gbcef44051 or later. ## Currently implemented @@ -89,6 +89,3 @@ This mod requires GZDoom g4.3pre-64-g37fa2e1b6 or later. - Translocator allows telefragging other players in coop (no idea if I can even fix this) - - Biorifle sludge doesn't handle 3d floors (especially sloped ones) properly. - This is due to the unavailability of 3D floor data on ZScript and will be - fixed once 3D floors are exported to scripting (still waiting on that PR) diff --git a/zscript/biorifle.zsc b/zscript/biorifle.zsc index 96da344..93459b8 100644 --- a/zscript/biorifle.zsc +++ b/zscript/biorifle.zsc @@ -273,6 +273,7 @@ Class BioGel : Actor // align self to what surface was hit, currently does not support 3d floors + slopes properly virtual void AlignSelf() { + F3DFloor ff; bINTERPOLATEANGLES = false; bHITOWNER = true; A_NoGravity(); @@ -384,9 +385,17 @@ Class BioGel : Actor } else if ( BlockingFloor ) { + // find closest 3d floor for its normal + for ( int i=0; i>>>>>> experimental Screen.DrawTexture(tex[0],false,xpos,ypos,DTA_CleanNoMove_1,true); Color tintcolor = Color("White"); switch ( mColorP.GetInt() ) @@ -49,6 +52,7 @@ Class OptionMenuItemUTHudPreview : OptionMenuItem Screen.DrawTexture(tex[1],false,xpos,ypos,DTA_CleanNoMove_1,true,DTA_FillColor,tintcolor,DTA_Alpha,alpha,DTA_LegacyRenderStyle,STYLE_AddShaded); return -1; } +<<<<<<< HEAD } // changes to Tahoma @@ -84,3 +88,6 @@ Class UTMessageBox : MessageBoxMenu mMessage = textFont.BreakLines(Stringtable.Localize(message),generic_ui?600:300); } } +======= +} +>>>>>>> experimental