View previous topic :: View next topic |
Author |
Message |
peddroelm Advanced Cheater Reputation: 0
Joined: 03 Oct 2014 Posts: 84
|
Posted: Fri Dec 29, 2017 2:05 am Post subject: Simple feature request:AddLuaOutputWindowTransparencSetting |
|
|
Similar to the search window on Notepad ++ .
I use CE to add combat damage logs to games and would love to be able to hover the Lua output window on top of the game window ..
[img] https://i.imgur.com/yhwbBk3.jpg [/img]
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Fri Dec 29, 2017 4:10 am Post subject: |
|
|
tried something like this?
Code: |
f=getLuaEngine()
f.AlphaBlend=true
f.AlphaBlendValue=127
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
peddroelm Advanced Cheater Reputation: 0
Joined: 03 Oct 2014 Posts: 84
|
Posted: Fri Dec 29, 2017 4:42 am Post subject: |
|
|
nice but also needs always on top parameter (I don't know where to find it)
f.TopMost ain't it
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Fri Dec 29, 2017 4:47 am Post subject: |
|
|
Code: |
f.FormStyle="fsSystemStayOnTop"
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
atom0s Moderator Reputation: 199
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Fri Dec 29, 2017 12:00 pm Post subject: |
|
|
Interesting, I made a simple lua extension that lets you toggle this (and optionally provide your own transparency value each time) from a CE menu item
autorun script
creation video
|
|
Back to top |
|
|
peddroelm Advanced Cheater Reputation: 0
Joined: 03 Oct 2014 Posts: 84
|
Posted: Fri Jan 05, 2018 10:51 am Post subject: |
|
|
font change ?
log output formatting greatly benefits from similar length for characters (like courier new)
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Fri Jan 05, 2018 1:11 pm Post subject: |
|
|
peddroelm wrote: | font change ?
log output formatting greatly benefits from similar length for characters (like courier new) | Here's a simple example that sets the output to use the same font as the script and then prints some random strings, I'm sure you could customize the specific font, size, etc. if you tried
Code: | local f=getLuaEngine()
f.mOutput.Font = f.mScript.Font
local function randChar()
return string.char(math.random(('a'):byte(1), ('z'):byte(1)))
end
local function randString(length)
if not length then length = math.floor(math.random(10, 100)) end
local chars = {}
for i=0,length do
chars[#chars+1] = randChar()
end
return table.concat(chars)
end
for i=0,10 do
print(randString(10))
end |
|
|
Back to top |
|
|
|