Search found 19 matches

by GiveOneMoreChance
Sun Mar 04, 2018 9:03 am
Forum: Closed Feature Suggestions [GZDoom]
Topic: Add DepthTexture for PostProcessing
Replies: 1
Views: 518

Add DepthTexture for PostProcessing

It give more wider features for PostProcessing e.g DoF, cell shading, fog
by GiveOneMoreChance
Wed Jan 24, 2018 7:00 am
Forum: Closed Feature Suggestions [GZDoom]
Topic: Spotlights
Replies: 29
Views: 4427

Re: Spotlights

Not shure for full correctly code, but it works:
https://drive.google.com/open?id=1CPdYR ... K4KeweSTlW
by GiveOneMoreChance
Tue Dec 12, 2017 3:58 am
Forum: Scripting
Topic: dynamically change i_timescale cvar [Zscript]
Replies: 1
Views: 1082

dynamically change i_timescale cvar [Zscript]

Hello, in new gzdoom added i_timescale cvar. I try change this cvar dynamically but cvar always reset to 1. In player tick Super.tick() If (CountInv("TestItem")) Cvar.GetCvar("i_timescale").SetFloat(0.5) else Cvar.GetCvar("i_timescale").SetFloat(1.0) If change code to Super.tick() Cvar.GetCvar("i ...
by GiveOneMoreChance
Mon Nov 27, 2017 6:12 am
Forum: Off-Topic
Topic: The WIP Thread
Replies: 30881
Views: 2150359

Re: The WIP Thread

Upcoming mod for Gzdoom taking maximum from engine :twisted: https://imgur.com/QX067zY https://imgur.com/ocLvVc0 https://imgur.com/yYjVQkM https://imgur.com/QZd9DIL https://imgur.com/A1QAUa1 https://imgur.com/xbmKkg5 https://imgur.com/1AdCjXo https://imgur.com/RJ9sXz6 https://imgur.com/eTVEw2A https ...
by GiveOneMoreChance
Tue Nov 21, 2017 9:30 am
Forum: Closed Bugs [GZDoom]
Topic: Some source code issues
Replies: 12
Views: 830

Re: Some source code issues

Good job guys!
I checked Gzdoom project in PVS-studio, here results, maybe it's useful info
https://www.dropbox.com/s/g8d3dgjiyznnn ... .html?dl=0
by GiveOneMoreChance
Mon Nov 20, 2017 7:06 am
Forum: Closed Bugs [GZDoom]
Topic: Some source code issues
Replies: 12
Views: 830

Re: Some source code issues

I can check with PVS-studio and send Log file
This ten errors i found randomly tring adding IMGUI
by GiveOneMoreChance
Mon Nov 20, 2017 5:47 am
Forum: Closed Bugs [GZDoom]
Topic: Some source code issues
Replies: 12
Views: 830

Some source code issues

1. https://github.com/coelckers/gzdoom/blob/30087f7cd7d64dde75c4f6e67ece85f333eaa929/src/gl/renderer/gl_postprocess.cpp#L941 Uninitialized variable fbestdist 2. https://github.com/coelckers/gzdoom/blob/afdeed305bccc786fd019c191896426c8c1c87f6/src/vectors.h#L651 Non-void function should return a ...
by GiveOneMoreChance
Fri Sep 22, 2017 11:25 am
Forum: Editing (Archive)
Topic: (Zscript) DrawTexture
Replies: 0
Views: 516

(Zscript) DrawTexture

Hello! It's possible draw texture on screen with blend options ?
Something like a Screen.DrawTexture(tex,(50,60),"add",1.0)
by GiveOneMoreChance
Thu Sep 21, 2017 1:40 am
Forum: Editing (Archive)
Topic: [Zscript] DrawTexture question
Replies: 4
Views: 1262

Re: [Zscript] DrawTexture question

Please note that using this technique will result in completely broken visuals in VR headsets; what's needed is some native project to screen/deproject to world stuff the engine needs to natively support. There have been talks about this stuff in the ZScript library brainstorming thread but no work ...
by GiveOneMoreChance
Thu Sep 21, 2017 1:37 am
Forum: Editing (Archive)
Topic: [Zscript] DrawTexture question
Replies: 4
Views: 1262

Re: [Zscript] DrawTexture question

Not sure if this will help - This code doesn't quite match what you are doing (it's written using a status bar to draw on screen instead of RenderOverlay), and I think this is more complicated than what you are wanting, but... I created a custom player class that uses a ThinkerIterator to find all ...
by GiveOneMoreChance
Wed Sep 20, 2017 9:47 pm
Forum: Editing (Archive)
Topic: [Zscript] DrawTexture question
Replies: 4
Views: 1262

[Zscript] DrawTexture question

Hello! I try to make when you look at specific actors (can more five actors on screen) -> draw images on screen. I try use RenderOverlay but i doesn't know how to access to actors positions. It's possible convert object scopes from play to ui ? Current code: Class TestDrawerClass : Actor { TextureId ...
by GiveOneMoreChance
Wed Sep 13, 2017 1:08 pm
Forum: Editing (Archive)
Topic: Using LANGUAGE...
Replies: 2
Views: 582

Re: Using LANGUAGE...

Try use l: instead s:
Print(l:messCorn[messCornNr]);
by GiveOneMoreChance
Wed Sep 13, 2017 12:09 am
Forum: Editing (Archive)
Topic: Zscript base Class help
Replies: 3
Views: 834

Re: Zscript base Class help

1 solution it's what it's need, but it give Cannot convert Pointer<Class<Actor>> to Pointer<Class<Smoke>> and Unknown identifier 'mo'. Thanks AFADoomer. Working code: Action void A_SpawnSmoke(class<Actor> missiletype, double FadeSpeed = 0.1, double smokeScaling = 0.005) { actor test = Spawn ...
by GiveOneMoreChance
Tue Sep 12, 2017 9:19 am
Forum: Editing (Archive)
Topic: Zscript base Class help
Replies: 3
Views: 834

Zscript base Class help

Hello! It's possible to with Zscript create base Class and change his parameters with custom functions? example : Class Smoke : Actor { double smokeScaling; double smokeFadeSpeed; property Scaling: smokeScaling; property FadeSpeed: smokeFadeSpeed; Default { Radius 8; Height 8; Projectile; Speed 16 ...
by GiveOneMoreChance
Thu Sep 07, 2017 6:53 am
Forum: Scripting
Topic: How To: ZSCRIPT MENUS?
Replies: 144
Views: 88011

Re: How To: ZSCRIPT MENUS?

Hello, can anybody explain how to make scroll bars and possible convert int to string?

Go to advanced search