-
Content count
263 -
Joined
-
Last visited
-
Raffle Tickets
0
Everything posted by Enclusion
-
Good work! I haven't read the whole release page yet so sorry if this is covered but is it possible to use webhooks for those who don't need a full bot but just want to post to a channel?
-
I hope they do the right thing.
-
No dedicated server software? Lame.
-
@Tucker933happy birthday
-
That's a good ideal. I'll try that.
-
I asked Kavawuvi a while back about adding an external UI feature to chimera that would render the UI on a separate layer so when recording the game you could have a less cluttered screen (would be good for clips). Would make recordings look a lot crisper. I decided instead of trying to get this feature added natively to chimera I'd just make it myself/do a proof of concept. THIS IS NOT A FINAL SCRIPT WHICH IS WHY I PUT IT IN THIS FORUM SECTION. I plan on improving this over time and hopefully eventually making the external elements indistinguishable from the standard game elements. If you have suggestions, questions, etc throw it below. clua_version = 2.042 -- local maxHealth = read_float(player + 0xD8) -- local health = read_float(player + 0xE0) -- (0 to 1) -- local maxShields = read_float(player + 0xDC) -- local shields = read_float(player + 0xE4) -- (0 to 3) (Normal = 1) (Full Overshield = 3) -- local primary_ammo = read_word(player + 0x2B6) -- Confirmed. Unloaded ammo for magazine 1. -- local primary_clip = read_word(player + 0x2B8) -- Confirmed. Loaded clip for magazine 1. -- local secondary_ammo = read_word(player + 0x2C6) -- Confirmed. Unloaded ammo for magazine 1. -- local secondary_clip = read_word(player + 0x2C8) -- Confirmed. Loaded clip for magazine 1. set_callback("tick", "OnTick") function OnTick() local player = get_dynamic_player() local health = read_float(player + 0xE0) -- (0 to 1) local shields = read_float(player + 0xE4) -- (0 to 3) (Normal = 1) (Full Overshield = 3) if player ~= nil then local file = io.open( "/home/user/Games/HaloCE/Profiles/chimera/lua/scripts/global/health.txt", "w" ) file:write( health ) file:close() local file = io.open( "/home/user/Games/HaloCE/Profiles/chimera/lua/scripts/global/shield.txt", "w" ) file:write( shields ) file:close() end end Since this is a proof of concept (and because i couldn't get luasocket working with chimera) the method of passing information to the external ui is inefficient. It writes health and shielf info to a file every tick. The external hud is just written in python since I knew I could cobble it together quickly. import tkinter as tk from tkinter import * from functools import partial app = tk.Tk() bg = PhotoImage(file = "empty_bar.png") main = tk.Label(app, image = bg) main.place(x=0, y=0) hp = tk.Label(app, text = "Test", font=("Arial", 10)) hp.place(x=90, y=10) sv = tk.Label(app, text = "Test", font=("Arial", 10)) sv.place(x=120, y=10) def task(): health = open("health.txt", "r") shield = open("shield.txt", "r") hpn = health.read() svn = shield.read() if svn != "": svn = float(svn)*100 sv.config(text=svn) #if float(svn) == 1: # sv.config(text=svn) if hpn == "": hp.config(text="Error") elif float(hpn) == 1: hp.config(text="8/8") elif float(hpn) >= 0.875: hp.config(text="7/8") elif float(hpn) >= 0.750: hp.config(text="6/8") elif float(hpn) >= 0.625: hp.config(text="5/8") elif float(hpn) >= 0.500: hp.config(text="4/8") elif float(hpn) >= 0.375: hp.config(text="3/8") elif float(hpn) >= 0.250: hp.config(text="2/8") elif float(hpn) >= 0.125: hp.config(text="1/8") else: hp.config(text="Error") #if float(hpn) >= 0.125: # hp.config(text="") app.after(100, task) app.after(100, task) app.mainloop() #print(f.read()) My plan is to get each HUD element working well externally, make them look good, and then finally try to make the method of passing data more efficient. I think I can do the first two well but getting sockets to work so I can pass information to the external UI is going to be the trickiest part because I don't know how to do some of that in lua and I've been unsuccessful at loading the luasocket library. If you have any ideas drop them below.
-
I tried that. It just instantly crashes upon trying to load socket. I'm not knowledgeable enough about Lua or how Chimera scripting works to search for a solution right now.
-
Keep us posted.
-
Amazing work!
-
Writing files isn't the issue, I know how to write files for windows/linux, would just use relative directories in the end. The issue is that writing to files and reading files isn't the most efficient way of doing it and is sort of a strange, in the end I'd rather not do reading/writing for something simple as this. For now I am just focusing on re-creating the UI and getting it polished before going back and making the data transfer method better.
-
Haven't played in many months, been focusing on custom edition. Has anything substantially changed in the MCC over the last 3 to 6 months?
-
I hadn't looked at who posted this, assumed it was you since you messaged me earlier. Turns out it was @Devieth who posted this, oops.
-
This is shortlist material, imo.
-
I miss xfire so so so much.
-
I don't get phone calls so I don't have to worry about being in that position but generally I'm against using phones or technology at all if you're with someone in real life. If I wanted to be on technology I'd much rather be at home than out in public staring at a tiny screen.
-
It's that time of the year. Everything is sooooo cold. Yesterday it was so cold my speedometer wouldn't move and my vehicle struggled shifting gears. Not a fan of this! - 30 degree windchill.
-
A while back I watched Psych and then The Mentalist. Great shows for different reasons.
-
Intro: I don't know if this script has already been done before but I wanted to do it so I did. As of now I haven't done much bug testing, and the default settings are horrible, but it works. Might be some issues so please report those in a reply if you end up trying it out. Functionality: Player's speed is decreased as they pick up weapons based on the players base weight (player_weight variable) and the weapon weight. Download: WeaponWeight.lua Video: Todo: Better defaults Add flag/oddball support More options (only use heaviest weapon weight, use held weapon weight, powerup effects, etc) Might need more checks Credits: @aLTis for some stuff from his backpack weapons script for chimera (tags, for example) @Kavawuvi for the SetSpeedOfPlayer function from the sprint script @Chalwk for helping me with some stuff. P.S. don't ask for more than 2 slot support, I don't enjoy those servers and thus don't care to make it easier to get functionality. If you absolutely need this adding it yourself shouldn't be too hard. WeaponWeight.lua
-
The script has been updated. I changed how some things are done and made the code a bit cleaner. I took some inspiration from Chalwk's scripts and changed how things are done so that it will be easier to extend functionality later on. Laid some groundwork so I can implement different options shortly.
-
I wonder if I have encountered cheaters but just haven't noticed because if i actually try I almost always win since my server is literally sitting right next to me.
-
Guess I am just lucky.
-
Are cheaters common? I have been hosting a server for a while and 99% of the time it only has players when I am on long enough to get people to join. I have yet to encounter an aimbotter after quite some time operating.
-
How does this work with the Chimera mod which randomizes the hash? Is this a different hash or does that essentially just nullify this?
-
Never liked Bones but NCIS and Criminal Minds were alright. Criminal Minds, I'll admit, gets pretty repetitive after a few seasons, IMO (still enjoyable).
-
Request: recreate the optic mod (custom medals and voices) using Chimera scripting.