For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

[227e] Need an idea!!! Quick!!!

Unreal Unreal and more Unreal
Post Reply
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

[227e] Need an idea!!! Quick!!!

Post by Chaos13 »

Any idea of how to somehow hook to player's render?
For ex to draw lasers? (Draw3dLine)
I need just idea cause not very good of thinking them out atm.
Skydev = Chaos13 = Dimension4
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: [227e] Need an idea!!! Quick!!!

Post by []KAOS[]Casey »

.:..: : UWinInteraction!!!
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: [227e] Need an idea!!! Quick!!!

Post by Chaos13 »

As what I looked from Console code UWinInteraction wont work in this case. It will only render stuff if console is in UWindow state. I need laser nodes to be rendered all the times.
Skydev = Chaos13 = Dimension4
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: [227e] Need an idea!!! Quick!!!

Post by []KAOS[]Casey »

make a hudmutator and put it in unrealhud subclass
User avatar
.:..:
OldUnreal Member
Posts: 1637
Joined: Tue Aug 16, 2005 4:35 am

Re: [227e] Need an idea!!! Quick!!!

Post by .:..: »

As what I looked from Console code UWinInteraction wont work in this case. It will only render stuff if console is in UWindow state. I need laser nodes to be rendered all the times.
False:

Code: Select all

state UWindow
{
...
      event PostRender( canvas Canvas )
      {
            local UWinInteraction I;

            if ( Viewport.Actor.myHUD != None )
                  Viewport.Actor.myHUD.DisplayMessages(Canvas);
            if( TimeDemo != None )
                  TimeDemo.PostRender( Canvas );
            For( I=FirstInteraction; I!=None; I=I.NextInter )
            {
                  if( I.bRequestRender )
                        I.PostRender(Canvas);
            }
            if(Root != None)
                  Root.bUWindowActive = True;
            RenderUWindow( Canvas );
      }
...
}

Code: Select all

event PostRender( canvas Canvas )
{
      local UWinInteraction I;

      if( !bCreatedRoot )
      {
            bShowConsole = False;
            CreateRootWindow(Canvas);
      }
      Super.PostRender(Canvas);
      For( I=FirstInteraction; I!=None; I=I.NextInter )
      {
            if( I.bRequestRender )
                  I.PostRender(Canvas);
      }
}
1823223D2A33224B0 wrote:...and now im stuck trying to fix everything you broke for the next 227 release xD :P
(ಠ_ಠ)
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: [227e] Need an idea!!! Quick!!!

Post by Chaos13 »

1
Sorry, case(y) closed.
Skydev = Chaos13 = Dimension4
Post Reply

Return to “Unreal General Forum”