Accepted Weapon FOV Slider

Discussion in 'TTT Suggestions' started by My Dime Is Up, Jul 2, 2016.

?

Add dis shiz?

  1. Yes

    86.7%
  2. No

    13.3%
Thread Status:
Not open for further replies.
  1. My Dime Is Up

    My Dime Is Up Its my dime to code VIP

    Suggested by @Vector <3

    My first project that I feel can actually be used in SGM :p
    Current Features
    • All Regular Used weapons
    • Frag grenades
    • T-Weapons (Even Harpoon!)
    To Do
    • Reset to default button to reset FOV to default value

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG] [​IMG]
     
    Last edited: Jul 2, 2016
    • Like Like x 5
  2. Machinekiller00

    Machinekiller00 I <3 Gunter VIP Silver

    please please please +1
     
    • Like Like x 1
    • Dumb Dumb x 1
  3. ink

    ink Genuine Happiness VIP Silver

    Seems reasonable and quite useful for not having to type in a bunch of stuff. +1
     
    • Like Like x 1
  4. tz-

    tz- feelin it VIP Emerald

    YO LEFT HAND???
    PLEASE +1
     
    • Like Like x 1
  5. Pacifist

    Pacifist Cynically Insane VIP Bronze

    oh fucking hell yeah. Please add this, i'll cry if you don't!

    +threehundred
     
    • Like Like x 1
  6. My Dime Is Up

    My Dime Is Up Its my dime to code VIP

    @Highwon

    (Going to add "Reset to default values" tomorrow)
     
    Last edited: Jul 5, 2016
  7. Paradox

    Paradox The One Eyed Ghoul Banned Elite

    +1
     
    • Like Like x 1
  8. Zypther

    Zypther #SuitUp VIP Bronze Iron

    • Like Like x 2
    • Agree Agree x 1
  9. Zypther

    Zypther #SuitUp VIP Bronze Iron

    Also, can we get it so we can bind it to switch the view model?
     
  10. My Dime Is Up

    My Dime Is Up Its my dime to code VIP

    bindtoggle {key} "flipvmodel 0 1"
     
    • Like Like x 2
  11. +500. I thought coding something like this would be too difficult as you might have to hardcode for every single weapon ingame.

    Could you let me see the source (in PM if you don't want to post publicly)? Interested to see your implementation of this.
     
  12. My Dime Is Up

    My Dime Is Up Its my dime to code VIP

    https://www.seriousgmod.com/threads/weapon-fov-slider.29961/#post-269187

    I did have to hardcode everything :p
     
    Last edited: Jul 2, 2016
  13. Chai

    Chai returned; VIP

    • Friendly Friendly x 1
  14. My Dime Is Up

    My Dime Is Up Its my dime to code VIP

    Ya, it was 2am when I started this and I really wasn't thinking :p
     
    • Like Like x 1
  15. I think it would just be best to have a universal fov slider for all weapons
     
    Last edited: Jul 3, 2016
  16. Paradox

    Paradox The One Eyed Ghoul Banned Elite

    What if I want my colt at 120 since the hands extend all the way but my ak at 80 because higher makes it so your arm is half inivsable? Lol
     
    • Disagree Disagree x 1
  17. I'm looking into editing this script so that it will automatically add new weapons (by removing all of the hardcoded information and using an automatic handler to do it instead).

    I'm actually attaining decent success in creating the convars without having to hardcode them. I'll keep working until I reach a point where I get stuck and will upload my progress then.
     
  18. Alright, I've gotten it to the point that all weapons on the server will automatically show up in the drop-down menu and ClientConVars will be created automatically for all weapons that are on the server.

    I now need to change it so that the weapon files do NOT need to be modified to change the viewmodels. This may be significantly more difficult than expected, but I'll try. Iit does work perfectly to change viewmodels if the weapon files are altered to include the function that Unknown Gamer had added to all of them.
     
    • Winner Winner x 1
    • Informative Informative x 1
  19. My Dime Is Up

    My Dime Is Up Its my dime to code VIP

    @Evilshallwin and I got it to be non-hardcoded. Sending the PM off to our lord and savior in the next 30 minuts.
     
Thread Status:
Not open for further replies.