Raised This Month: $51 Target: $400
 12% 

[CS:GO/ZP] ExtraItem: PlasmaGun ver 3.1


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Plugin ID:
5172
Plugin Version:
3.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, upload source and use the Report Post button for a new review.
    Old 05-02-2016 , 16:04   [CS:GO/ZP] ExtraItem: PlasmaGun ver 3.1
    Reply With Quote #1

    Quote:
    Version: 3.1
    Author: gubka
    Description:
    Add new weapon to human

    Version: 3.1
    Fix with buying item
    (Bug model) This model can be invisible on some clients, problem in the model
    Crash fix (CLagCompensationManager::StartLagCompensatio n with NULL CUserCmd)

    Bugs:
    1. Model little bit bugged after first shoot, problem in the model
    2. Addon calculate end postion of the beam not very accurately, because
    Quote:
    Originally Posted by kadet.89 View Post
    Well, I suppose it's not possible. Bullet impact sprite - is a client side thing, you don't see it the same way as the server does, because of the ping-time shift. The result, the server gives to you is correct, and the sprite position is incorrect because of the prediction. The only way to minimize the difference - is to try to recalculate the prediction shift. I think the shift should be close to 'your speed'*'your ping', but I may be wrong. You should also take into account the spread of the bullets hit and recoil, it depends on the speed and the type of the weapon.
    Perhaps this article will help you https://developer.valvesoftware.com/wiki/Prediction


    Settings:
    Quote:
    #define EXTRA_ITEM_NAME "PlasmaGun"
    #define EXTRA_ITEM_COST 5
    #define EXTRA_ITEM_LEVEL 0
    #define EXTRA_ITEM_ONLINE 0
    #define EXTRA_ITEM_LIMIT 0

    // Weapon
    #define WEAPON_NAME "weapon_plasma"
    #define WEAPON_REFERANCE "weapon_scar20"

    // Models
    #define MODEL_WORLD "models/weapons/plasma/w_snip_plasma.mdl"
    #define MODEL_VIEW "models/weapons/plasma/v_snip_plasma.mdl"
    #define MODEL_BEAM "materials/sprites/laserbeam.vmt"

    // Sounds
    #define SOUND_FIRE "weapons/RequestsStudio/UT3/AvrilFire.mp3"
    #define SOUND_DEPLOY "weapons/RequestsStudio/UT3/AvrilDeploy.mp3"

    // Beam
    #define BEAM_LIFE 0.105
    #define BEAM_COLOR {100, 50, 253, 255}

    // Damage
    #define WEAPON_MULTIPLIER_DAMAGE 1.23
    Download:
    Dead link removed, - use the search function to find an alternative
    __________________

    Last edited by DarkDeviL; 07-19-2020 at 20:12. Reason: Dead link removed
    gubka is offline
    Send a message via ICQ to gubka
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 16:48.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode