Jump to content

aliasedfrog

Testers
  • Content Count

    81
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by aliasedfrog

  1. aliasedfrog

    Crosshair for each weapon

    Have seen this referenced a few times but nothing posted here threw this together today for anyone interested. Widget -> Options. you can set what cross hair type, size and color for each cross hair (if your into that thing). Updated: 09/21/15 08/29/15 fixed no menu replay's causing options to bug out. 09/21/15 updated crosshair x/y/z defaults and fixed so it doesn't force it to defaults unless you set it in options. Source: http://pastebin.com/raw.php?i=ng2JrpRE Install: Save As, <steam>/<reflex>/base/internal/ui/<where ever (recommend a sub folder named custom)>/CrosshairWeapons.lua Launch game, go to: options -> widgets -> CrosshairWeapons -> Click visible. This is setup to work off the default cross hair widget. if you want to get it working with something custom feel free to message me and i'll take a look at it.
  2. aliasedfrog

    Crosshair for each weapon

    Updated with 'new' defaults and worked around so it won't force a fresh install into default x/y/z and added a 'default' button to options if you just want it set back.
  3. aliasedfrog

    Crosshair for each weapon

    ​I will get it updated to not change the weapon position unless you set it in the options. as far as defaults. unless they changed in recent updates it set's to 'default' by default.
  4. aliasedfrog

    Item Timer Trainer

    easier and does not require your fps to stay stable. self being the widget's table so it's stored between draws. self.time = (self.time or 0) + deltaTimeRaw; -- increment a timer. local seconds, minutes = math.floor(self.time), math.floor(self.time / 60); --create seconds/minute values nvgText(0,0,string.format("%02d", minutes) ..":" .. string.format("%02d", seconds)); -- print it in the middle of screen.
  5. aliasedfrog

    Crosshair for each weapon

    ​There is no default zoom to make that a decent option to add, would be nice though i agree =)
  6. aliasedfrog

    Crosshair for each weapon

    ​Yes depends on the stock crosshairs widget, most likely why nothing is working =)
  7. aliasedfrog

    Simple ZOOM

    As topic say's here is a simple way to bind a ZOOM key. Update: if you destroyed your map editor bind with this reset it with 'bind me mouse2 +editorcameradrag' i have changed it so it binds only 'game' state, and will only change binds when game state is 'INGAME' & 'SPECTATOR'. Also include is sens division if you want to use it to use, paste into 'notepad' save to folder - 'reflexbaseinternaluiwidgets' (if you want to organize you can create a folder there and save it under it also) save it with 'whatevernameyouwant'.lua load reflex, enjoy. [edit 05/21/2015] quartz has taken the time to create one also, i would have to recommend using it as he has put more effort into it. [edit 04/27/2015] Added transitioning to zoom/unzoom, I have removed m_speed changing for now. will revist later when i check into hold to zoom stuff with latest builds. FOV, ZOOMFOV, And ZOOM Key binding have been moved to the widget options. any problems please let me know. http://pastebin.com/Cig8pmJv Link to first version: http://pastebin.com/GYPjP9k5
  8. aliasedfrog

    Simple ZOOM

    ​Looking through the last one i played with i did not include any sensitivity stuff. this one by Quartz works well from what i can remember and has auto sens & some other options http://www.reflexfps.net/forums/index.php?/topic/2548-zoom-script/&
  9. aliasedfrog

    Simple FPS Widget

    Someone requested this in IRC Quick, Simple, Accurate. draws your FPS place where you want, it's dead center by default (haha) http://pastebin.com/raw.php?i=5dCnPqPS
  10. aliasedfrog

    NA Mumble server for community

    Fastidious was asking about a mumble server for the community to use. I setup one with 50 user limit on f3allready.com and made a few channels, any idea's or admin stuff message me on irc #reflex or email: aliasedfrog@gmail.com
  11. aliasedfrog

    ServerBrowser Filters

    SMALL change, added a drop down filter for game modes and a check box to remove all empty servers from the ServerBrowser. alot of copy paste in there, just added the 2 elements and table stuff to remove anything filtered. it will still query all servers. sorry no screenshot on this one, I think you know what the server browser looks like by now. last updated: 6/20/2015 http://pastebin.com/raw.php?i=fzcz1zF1 INSTALL: goto above link, SAVE AS - "ServerBrowserFilters.lua" in your "<steam>/reflex/base/internal/ui" directory or sub directory for custom scripts. play. enjoy. UNINSTALL: delete the above said file from directory or sub directory.
  12. aliasedfrog

    Crosshair for each weapon

    try saving it again from the pastebin link and just rename it from .txt to .lua as you save it. if that doesn't work When you open it in option menu and it bugs out, open console & see what the error was, should be something like. 'lua: filename.lua:000 : error name' where 000 represents the line number that caused an error, and grab a ss of that.
  13. aliasedfrog

    Crosshair for each weapon

    ​Odd, I just saved a new copy from the pastebin and it worked as expected. did you copy paste it into a .lua or save it from browser? I would recommend saving it from the browser as 'filename.lua' somewhere in the '<steam>/reflex/base/ui/' directory.
  14. aliasedfrog

    Crosshair for each weapon

    ​Added, NOTE: this will probably function poorly due to fov not changing until the weapon has actually changed and the fov change being instant and not 'tweened'
  15. aliasedfrog

    Crosshair for each weapon

    ​Updated widget to include those. the cl_show_gun is kinda 'meh' since it waits on the switch/reload to finish before triggering you may see the weapon for a sec then it disappear.
  16. aliasedfrog

    Ardunio Reflex

    I'm guessing here, but i'd bet he is reading the game.cfg and saving a new copy thru some if statement.
  17. aliasedfrog

    Current height?

    Self.* is short hand for the widget's table, so i just created a prevFrame var on the that table that will persist across the draw()
  18. aliasedfrog

    Current height?

    Try something like this if player_is_not_on_the_ground == true and self.previousFrame_player_is_not_on_the_ground == false then player_was_on_ground_and_now_is_in_air = true; end --last call of draw function. self.previousFrame_player_is_not_on_the_ground = player_is_not_on_the_ground;
  19. aliasedfrog

    Crosshair for each weapon

    Thanks, Short of copying of the default crosshair.lua into that script I cannot do a preview due to a what I consider a bug with widgetGetConsoleVariable() trying to call the Crosshairs:draw() from another .lua file causes the console variables to come back nil since they are looking under the wrong widget's name(I presume). I may do this if there looks to be no long term solution from but going to speak with dev's first to see if that can be addressed or not.
  20. aliasedfrog

    Materials Widget & Industrial Effects Widget

    i have no idea why getPlayer() would be nil... haha
  21. aliasedfrog

    Materials Widget & Industrial Effects Widget

    My boredom today resulted in this for you. Source = http://pastebin.com/raw.php?i=BTBBp79a Added - Drag by title to position, and minimize button. Moved the draws into a for block using tables also. I would post a huge code block that is mostly static tables, but ya know =)
  22. aliasedfrog

    Current height?

    it seems it doesn't reset to 0, and 401ms i think is the time length your allowed to gain 'double jump' in weird use of that variable imo
  23. aliasedfrog

    Current height?

    If I remember correctly 'if player.jumpTimer ~= 0 then player_is_not_on_the_ground = true; end;' pseudo code. -- player jumped. if not player.jumped and player.jumpTimer ~= 0 then player.startHeight = player.y; player.jumped = true; end; -- player grounded if player.jumped and player.jumpTimer == 0 then player.jumped = false; end; -- calculate height. if previousPlayer.y > player.y then player.height = player.y - player.startHeight; player.falling = true; end; -- print height. nvgText(0,0,player.height) -- store previous frame player data. self.previousPlayer = getPlayer();
  24. aliasedfrog

    Need a script for contentbrowerhack

    The last version of this that i messed with is available here. https://raw.githubusercontent.com/aliasedfrog/reflexContentHack/master/ContentHack.lua
  25. Slow day at work. Result is this silliness. It's pretty simple but does what it should, give you a bool of a change, or the diffrence in change. Should be commented enough for anyone looking for something like this to work with it. Idea's / improvements hit me up and we can improve it. Sorry, no screen shots unless you just wanna see notepad on here also GameEvents.lua source -> http://pastebin.com/raw.php?i=ibRC113C Simple, barely scratches what could be done. was just using it to see results. Example.lua source -> http://pastebin.com/raw.php?i=D1fYjYda
×