Search found 53 matches

by dot
Sun Nov 04, 2018 11:52 pm
Forum: Coding, Scripting
Topic: Drawn text on hud
Replies: 20
Views: 4267

Re: Drawn text on hud

What kind of issues?

Read from cache faster usually. This code can be called on every frame so do not good make it heavy.
by dot
Sun Nov 04, 2018 10:48 pm
Forum: Coding, Scripting
Topic: Drawn text on hud
Replies: 20
Views: 4267

Re: Drawn text on hud

Need worked solution. UT have big problem with documentation. For write simple mutator I spent very lot of the time. It is not good. You can obtain Font statically from FontInfo and screen Width: FirstFont = class'FontInfo'.Static.GetStaticMediumFont(Canvas.ClipX); scr_1541367576.jpg or FirstFont = ...
by dot
Sun Nov 04, 2018 10:16 pm
Forum: Coding, Scripting
Topic: Multiline text output (text with line breaks)
Replies: 2
Views: 246

Re: Multiline text output (text with line breaks)

I place this code for use by anyone. Credits do not need.
Also you can modify this code as you want.

Also I place this code here: https://wiki.beyondunreal.com/Legacy:Us ... _Functions
by dot
Sun Nov 04, 2018 10:13 pm
Forum: Coding, Scripting
Topic: Drawn text on hud
Replies: 20
Views: 4267

Re: Drawn text on hud

Yep. I know that. But you can set your Font very early. Because you do not know which font is really used. Because if you used fix font then it big on small screens and small on big. I investigate this issue before make this solution. You can use Canvas.MedFont https://github.com/Slipyx/UT99/blob/a2...
by dot
Sun Nov 04, 2018 6:05 pm
Forum: Coding, Scripting
Topic: Drawn text on hud
Replies: 20
Views: 4267

Re: Drawn text on hud

Before the text drawing, add this: Canvas.Font = Canvas.default.Font; It is crash my UT. Because Canvas.Default.Font is None. Also, before doing anything on Canvas, is a good practise to make perhaps this instead: Canvas.Reset(); That resets all the canvas values to their defaults, and is used for ...
by dot
Sun Nov 04, 2018 5:38 pm
Forum: Coding, Scripting
Topic: Multiline text output (text with line breaks)
Replies: 2
Views: 246

Multiline text output (text with line breaks)

This is a fairly obvious task, but I did not find information about it here. For example, you need to send multiline text to the console, or draw it on the screen. DrawText and ClientMessage do not work correctly for line breaks. Therefore, I have written several methods for this. You can use them i...
by dot
Sun Nov 04, 2018 3:21 pm
Forum: Mutators
Topic: Closest
Replies: 11
Views: 1090

Re: Closest

It is only proof of the concept. You can edit it. I calculate VSize from vector. You can do something else. Use Z coordinate for different colors (above/below). Or add comparsion of PlayerPawn Directions and this Vector. Or something else. Also you can draw on screen some hint above item if it visib...
by dot
Sun Nov 04, 2018 4:05 am
Forum: Mutators
Topic: Closest
Replies: 11
Views: 1090

Re: Closest

Hidden elements not counted. So no. If you pick up some Weapon and you do not see it, then mutator do not show it. Checked on dm-deck16][ with bots.
by dot
Sat Nov 03, 2018 9:29 pm
Forum: Mutators
Topic: Closest
Replies: 11
Views: 1090

Closest

Mutator that shows the list of weapons on the map and the distance to the nearest weapon. It also shows the name of the nearest monster and the distance to it. Mutator can display information on the screen or in the console. scr_1541272951.jpg Commands: mutate closest - displays the list in the cons...
by dot
Thu Nov 01, 2018 2:35 pm
Forum: Mutators
Topic: Damage per second
Replies: 26
Views: 2153

Re: Damage per second

Only two downloads. So I decide simple replace it.
But in general you right.
by dot
Thu Nov 01, 2018 1:49 pm
Forum: Mapping
Topic: MH-FNB-TOD-P1-BETA (MH Temple Of Dragons)
Replies: 54
Views: 8718

Re: MH-FNB-TOD-P1-BETA (MH Temple Of Dragons)

Bug 9: Central console not visible.

Bug 10: Brash fly in air.
by dot
Thu Nov 01, 2018 1:44 pm
Forum: Modifications
Topic: Nexgen112 MH fix for respect HUD transparency
Replies: 2
Views: 482

Re: Nexgen112 MH fix for respect HUD transparency

Aldebaran wrote:In version 112N this issue is solved too.
All version greatest or equal from 112H without this issue.
by dot
Thu Nov 01, 2018 1:43 pm
Forum: Mutators
Topic: Deny pickup weapon twice
Replies: 2
Views: 317

Re: Deny pickup weapon twice

I forgot mention about WarHeadLauncher. It is collectable until you not get max ammo for it.

Fix pickup enforcer for double enforcer.
by dot
Thu Nov 01, 2018 1:41 pm
Forum: Mutators
Topic: Damage per second
Replies: 26
Views: 2153

Re: Damage per second

Little improvement - skip zero damage, use float for calc, use constant for avg seconds.
by dot
Thu Nov 01, 2018 12:53 pm
Forum: Mutators
Topic: Damage per second
Replies: 26
Views: 2153

Re: Damage per second

Yes of course. You can use it with any game type. I tested with DM, for example.
But for other type games it can not so helpful, because your enemies die very fast usually. only in MH you can fire in monster few minutes.