Welcome, Guest.
Username: Password: Remember me

TOPIC: Option to turn off compile messages?

Option to turn off compile messages? 9 months 3 weeks ago #1

  • TaroNuke
  • TaroNuke's Avatar
  • Offline
  • Posts: 5
  • Thank you received: 2
I'm working on some... "things" for some fun pranks to play on friends, so if possible, I would like to make it so that the compile message does not show up on the screen when effects are rebuilt on the fly.

I'm not trying to remove credits or anything, I don't mind the startup message, but I have a script that I can trigger to edit some configs on the fly, and the "Already Compiled" etc. message would kind of ruin the flow...

EDIT: Or better yet, some way to pass information out of the game, or have the .h files read a text file that can be constantly updated in order to get its setup variables?
I can handle editing text files with my script based on things that happen in the game already. Things are about to get wacky.

EDIT2: Actually, I'm really curious about developing for this thing. Is there somewhere I can go to learn how to do things like e.g. make explosion's radius scale with how much time is left on the timeout? I feel like if I learned how to use the update loops within effects I can basically get what I want to do done with virtual key presses (I can already do that, too)

Any responses would be great. Thanks :)
Last Edit: 9 months 3 weeks ago by TaroNuke.
The administrator has disabled public write access.

Option to turn off compile messages? 9 months 3 weeks ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2438
  • Thank you received: 1387
ReShade 2.0 will have a "#pragma reshade noinfomessages" to turn them off.

To change the explosion radius based on technique timeout, you can do something like this:
// Replace the following line in CeeJay.cfg
#define Explosion_Radius (2.0 * Explosion_TimeLeft / Explosion_TimeOut)

// Add the following line somewhere around the top in Explosion.h
uniform float Explosion_TimeLeft < source = timeleft; >;
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: TaroNuke

Option to turn off compile messages? 9 months 3 weeks ago #3

  • TaroNuke
  • TaroNuke's Avatar
  • Offline
  • Posts: 5
  • Thank you received: 2
Oh, thank you mr. crosire!
Will this ReShade 2.0 be out before August 2016? (not to rush you, just asking, because that's when things happen)

My ReShade must be out of date, I have a SweetFX.cfg with that line, but no CeeJay.cfg
Also, it says that "timeleft" is an undeclared identifier in Explosion.h?
Last Edit: 9 months 3 weeks ago by TaroNuke.
The administrator has disabled public write access.

Option to turn off compile messages? 9 months 3 weeks ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2438
  • Thank you received: 1387
TaroNuke wrote:
Will this ReShade 2.0 be out before August 2016?
Yes.
TaroNuke wrote:
My ReShade must be out of date, I have a SweetFX.cfg with that line, but no CeeJay.cfg
Also, it says that "timeleft" is an undeclared identifier in Explosion.h?
Right sorry, it's SweetFX.cfg currently. And I forgot to put the "timeleft" into quotes:
uniform float Explosion_TimeLeft < source = "timeleft"; >;
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: TaroNuke

Option to turn off compile messages? 9 months 2 weeks ago #5

  • TaroNuke
  • TaroNuke's Avatar
  • Offline
  • Posts: 5
  • Thank you received: 2
You are literally a god among men, I'm legit grateful that you took the time to reply to me (twice!)
It's rare that the developer of a software bothers with commoners who have no idea what they're doing.
The Explosion.h works now, and I can trigger it to happen in time with the music in a game I'm working on.
I have a feeling that this project is in good hands.
The administrator has disabled public write access.
The following user(s) said Thank You: crosire