Realistic scopes plugin! :)

Discussion in 'Archived: Plugin Requests' started by Elderblock, Apr 23, 2014.

  1. Offline

    Elderblock

    Hi!,
    My name is Elderblock and I was looking for a realistic scopes plugin that would open and have different effects!

    Plugin description:

    Realistic scopes would open the "Secret gui" that appears when you wear a pumpkin on your head. It will also have many different zoom options depending on the scope that is being used!

    Plugin commands:
    /scopes reload

    Plugin perm's:
    scopes.reload

    Different kinds of scopes:
    Long range scope:
    Can zoom up to the highest range!

    Short range scope:
    Can zoom up to a smaller range but has a better aim!

    Extended ideas:
    The scope could be activated by left clicking on air with it and de-activated when right clicking on air with it.

    This could mean that archers could also use scopes and also people you just want a "Telescope plugin" could also use it!

    When I want it:
    Soon but there is no real deadline

    Ownership:
    The plugin owner (the programmer) will have full control of the plugin! But if it does get posted to the bukkit plugins list then I would like my name to go onto it! That would be cool! Thank you very much!

    Thanks
    Elderblock
     
  2. Offline

    oscarshi1995

    The only way I can see this working is if there is a custom texture pack with a reticle
     
  3. Offline

    Not2EXceL

    MFW the op doesnt even understand that rendering is client sided.
     
  4. Offline

    LordFox

    people really need to understand, that if you want to do this you might as well use a mod, and also getting bukkit and mods mixed up is a main one too
     
  5. Offline

    Kiaeyi

    I've seen this somewhere before, so I believe it's possible somehow.
     
  6. Offline

    15987632

    The was this works if when you left click air you get slowness and that is the zoom in for people who don't know and if u Cleo again it removes the slowness
     
  7. Offline

    oscarshi1995

    15987632 Yes But for the reticle the OP wants you still need a custom tex pack
     
  8. Offline

    Elderblock

    Sorry for me not actually giving you more details... I know how this could be possible and yes 16987632 you are correct it does add a slowness potion, all the plugins that I have looked at only have one zoom option but I would like many more levels of zoom The basic one would be slowness 1 but the best might be say slowness 10!

    So depending on the scope you could make a local variable to determin the zoom level for the player :ie. 1 left click changes the zoom to lvl 1 and 10 left clicks (max) changes zoom lvl to 10

    And actually on RPG servers people tend to use the recommended resource-pack (FACT) so please don't try and put me down by saying it isn't possible!

    Thanks
    Elderblock
     
  9. Offline

    fefe2008

    Elderblock
    Slowness 1 has about no zoom I suggest you try out some Slowness lvls and then maybe make the Plugin toggleable by a command. My solution/suggestion would be this:

    http://dev.bukkit.org/bukkit-plugins/betteralias/
    ---------------------------------------------------------------------------------------------------------
    And for the Config of BetterAlias something like this:

    Scope1:
    0: /effect !p 2 10000 3
    Scope2:
    0: /effect !p 2 10000 4
    Scope3:
    0: /effect !p 2 10000 5
    Scopeoff:
    0: /effect !p 2 0
    ---------------------------------------------------------------------------------------------------------
    Toggle a scope on would be : /scope1 - /scope3
    Toggle off again would be: /scopeoff
    If you configure it as shown.

    If you dont want toggleable scopes change the 10000 to the amount of time in seconds you want the scope to last for.

    One downside is you have to give everyone who should be able to use scopes the permission to use /effect

    For the reticle just set a Custom texturepack in the serverproperties.

    I hope i could help! And Good Luck!
     
    Elderblock likes this.
  10. Offline

    Elderblock


    Thanks so much for this suggestion... Afraidly I was looking at an item sort of thing... so say if your holding a red-stone torch or something! But I will try it out!
     
  11. Offline

    fefe2008

    Elderblock Sorry I am afraid i cant help in that case :/
     
  12. Offline

    Freelix2000

    I'm not sure exactly what you want out of this plugin, but I can tell you that the only "scopes" Bukkit can do is adding an extremely amplified slowness potion temporarily to zoom. If you are expecting a plugin that will make a realistic looking scope appear on the screen, then it is completely impossible. Minecraft client, what the player has on their computer, handles all the rendering, which means that the only way this would be possible is if every player on your server had to download something, like Spout or a mod. I'll give an example of what a plugin can and can't do to make it more clear: If a developer made a lightning plugin, they could determine where and when lightning strikes a location, like striking the location a player is looking at with lightning. A plugin cannot, however, strike it with red lightning or alter the lightning's appearance without requiring the player to download something onto their own computer.
     
  13. Offline

    fefe2008

    Freelix2000
    Absolutely right , however you can set a custom Server texturepack in the ServerProperties that changes a Pumpkin_mask.png or however its called in a Scope reticle and then apply slowness for the zoom.

    Elderblock
    I found a solution after looking for a few minutes:
    Combine Betteralias ,with the config i posted before, with this here
    http://dev.bukkit.org/bukkit-plugins/powertool/
    you can set Items to execute Commands alltough it hasn't been updated since 1.5 I haven't tried it out but it might work.Hope i could help you!

    EDIT: In Powertool you would have to setup something like this /powertool l scope1 an to turn of /powertool r scopeoff

    The Scopes have to be made in betteralias first . l & r stand for left and right click.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  14. Offline

    Elderblock

    sorry for all the trouble but I have succeeded in using a different plugin to script it my self it has 2 levels of zoom and uses the pumpkin as a "scope"
    SO I could say this is closed?
     

Share This Page