AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Submissions (https://forums.alliedmods.net/forumdisplay.php?f=35)
-   -   Hero: Naruto (Shadow Clone Jutsu) (https://forums.alliedmods.net/showthread.php?t=144710)

1sh0t2killz 12-07-2010 04:19

Hero: Naruto (Shadow Clone Jutsu)
 
2 Attachment(s)
Naruto (Shadow Clone Jutsu) beta 0.9.29
You need this - [INC] CHR Engine

Description
Shadow Clone Jutsu - Summon a shadow clone which follows you and shoots down any nearby enemies with his gun, press keydown again to use the rasengan

Code:

//Naruto Uzumaki
naruto_level 25
naruto_damage 1                //The amount of damage each bullet does
naruto_rdamage 100        //The Rasengan damage
naruto_cooldown 20        //The time players have to wait to summon the shadow clone again
naruto_delayshot 0.1        //How fast the shadow clone shoots his gun, the lower the number, the faster the gun shoots
naruto_maxchakra 15        //The max chakra the player can use
naruto_rasengancost 7        //How much chakra the Rasengan uses
naruto_sfxradius 100        //Summon effects radius, how far the cylinder goes while a player is summoning
naruto_hitchance 65        //How often the shadow clone hits its target the given percentage

Notes
  • Release Date: December 7, 2010
  • This Video was of beta version 0.9.0: http://www.youtube.com/watch?v=nZbuERbc3yc
  • I discontinued updating this hero, theres still a few bugs, but I have closed my server and have stopped scripting, please feel free to update this hero as you see fit
  • The models and sprites were just test models/sprites, feel free to change those to what you see fit to make the hero look more "fancy"
  • If you get stuck within the shadow clone, CROUCH to get unstuck

Credits
Code:

        Change Log:
        ------------------

        v 0.9.29 beta - August 12 ,2010
                - modified where and how the shadow clone would spawn
        v 0.9.28 beta - August 11 ,2010
                - added another check to check if there is a shadow clone without an owner
                - added a return function on bot death
                - modified think function
                - removed a paradox that made no sense that was added in the last update
        v 0.9.2 beta - August 10 ,2010
                - removed all friction modifiers from the last update
                - added another check to see if players don't have Naruto but still have bot
        v 0.9.0 beta - August 10 ,2010
                - improved the showdow clone's move function
                - optimized various parts of the code
                - removed the need the modify the bots origin due to it getting stuck
        v 0.8.43 beta - August 7 ,2010
                - fixed a minor run time error
                - changed function so the weapon removes before the shadow clone
        v 0.8.42 beta - August 7 ,2010
                - fixed another minor bug
        v 0.8.41 beta - August 7 ,2010
                - fixed a minor bug that was accidentally added in the last version
        v 0.8.4 beta - August 7 ,2010
                - removed useless bools
                - using fm_remove_entity(index) instead of engfunc(EngFunc_RemoveEntity,index)
                - added new stock naruto_remove_entity(index) to set the entities to the right conditions before removing them
        v 0.8.3 beta - August 6, 2010
                - optimized code
                - weakened shadow clone
                - all known major and minor crash problems have been fixed
                - modified sprite
        v 0.8.2 beta - August 3, 2010
                - added more checks to prevent crashes
                - removed death animation function and replaced it with a sound, just like in the anime
                - fixed a minor disconnection error
        v 0.8.0 beta - August 2, 2010       
                - optimized code
                - added more checks
                - added new bools for better checking
                - added new sounds
        v 0.7.0 beta - August 1, 2010
                - resumed project
                - modified health function
                - rennamed to Naruto Uzumaki (Shadow Clone Jutsu Version) anything referencing a Puppet is
                  now referenced as a Shadow Clone
                - the shadow clone's walk function is smoother and more efficient
                - added rasengan function!
                - added a defect function to help reduce server crashes
        v 0.6.5 beta - July 24, 2009
                - fixed a small runtime error with the cs_get_user_team native by adding a small check
                  to see if the owner is in the server and is alive
        v 0.6.4 beta - July 22, 2009
                - fixed a problem that would cause a server crash when the puppet owner would
                  type 'kill' in his console by using a different method than sh_client_death
        v 0.6.31 beta - July 20, 2009
                - a minor message fix
        v 0.6.3 beta - July 20, 2009
                - now the puppet will successfully hit players at a given success rate via pcvar
                - removed a small bug where the puppet would still be alive after its owner has died
        v 0.6.2 beta - July 18, 2009
                - fixed a rare case where players would disconnect and crash the server
                - added an extra check to see if players have the puppet upon disconnection
        v 0.5.3 beta - July 10, 2009
                - cooldown now takes place after bot dies
                - fixed a case where the cooldown would not reset on spawn
        v 0.5.1 beta - July 8, 2009
                - fixed minor problem where bot would crouch and it's origin would be skewed
                - added some movement function checks and fixes to help the bot run smoothly
        v 0.5 beta - July 6, 2009
                - slight changes to the movement function to make it more efficient
                - fixed some glitches in the bots origin while ducking and standing
        v 0.4.6 beta - July 4, 2009
                - fixed a problem which would cause the server to crash when players with
                  puppet master would disconnect while the bot is in the process of dying
        v 0.4.53 beta - July 4, 2009
                - updated some parts of the code to prevent some cases causing the server to crash
        v 0.4.5 beta - July 4, 2009
                - rolled back code to v 0.4.3 with some slight improvements
                - versions 0.4.4 till 0.4.5 has major problems where the bot would not function
                  properly most of the time after spawning a second time
        v 0.4.42 beta - July 4, 2009
                - a quickfix to the drophero function
                - fixed a slight code problem where, if players disconnect and doesn't have
                  a bot spawned, the plugin will try to remove an entity that is not there
        v 0.4.4 beta - July 4, 2009
                - added more checks in various functions to tell when bot is dying
                - fixed animation sequence bug where the puppet would show the wrong animation
        v 0.4.3 beta - July 4, 2009
                - fixed a big error when the puppet owner dies, and the bot is triggering the death
                  fucntion and players kill the bot, which causes the death function to be
                  triggered twice, causing the server to crash
                - fixed problem where puppet would continue to attack players when the owner died
                - added comments on some confusing parts to describe their purpose and function
        v 0.4.2 beta - July 3, 2009
                - fixed a minor runtime error with removing the puppets weapon
        v 0.4.1 beta - July 3, 2009
                - moved onto beta testing
                - hero renamed to Puppet Master
                - added effects to player while summoning a puppet
                - puppet no longer attacks while its not a solid (or when user is inside entity)
                - added sounds to various functions
                - modified the method and function of the puppets death and added animation to it
                - fixed a minor bug where players disconnect and the bot entity is still registered
                - modified the puppets movement function
                - removed useless, repetitive, and ineffective strings
        v 0.3 alpha - July 3, 2009
                - bot now shoots one bullets per every second multiplied by the gun cooldown cvar
                  instead of just shooting bursts of bullets
                - cooldown functions changed
                - fixed more cases when player gets stuck on guardian
        v 0.2 alpha - July 1, 2009
                - guardian now only attacks the person he's aiming at
                - movement function more efficient
                - fixed problems where owner would get stuck within the guardian
                - fixed some cases where guardian would get stuck on the floor while walking
                - made it possible for owner to walk through guardian
                - changed gun model
                - cleaned up code
        v 0.1 alpha - June 30, 2009
                - alpha testing
                - created


Exploited 12-07-2010 04:35

Re: Hero: Naruto (Shadow Clone Jutsu)
 
I officially love you. Thank you!

Fr33m@n 12-07-2010 10:46

Re: Hero: Naruto (Shadow Clone Jutsu)
 
Quote:

Originally Posted by 1sh0t2killz (Post 1365037)
I discontinued updating this hero, theres still a few bugs, but I have closed my server and have stopped scripting, please feel free to update this hero as you see fit.

:o another one who leave the scripting place... :(

Jelle 12-07-2010 11:29

Re: Hero: Naruto (Shadow Clone Jutsu)
 
I bet that he leaves the scripting stuff, not live in it.

The Art of War 12-07-2010 11:36

Re: Hero: Naruto (Shadow Clone Jutsu)
 
:o Nice, seen it in your server.

Fr33m@n 12-07-2010 12:45

Re: Hero: Naruto (Shadow Clone Jutsu)
 
hah true Jelle i was just disturbed by something. i know the difference between leave and live but... strange...

Jelle 12-07-2010 15:01

Re: Hero: Naruto (Shadow Clone Jutsu)
 
Yeah yeah. Lets just say that is true then ^^

lp_mart0 12-07-2010 18:30

Re: Hero: Naruto (Shadow Clone Jutsu)
 
Nice job man good hero

lp_sasuke 12-11-2010 07:27

Re: Hero: Naruto (Shadow Clone Jutsu)
 
Nice hero man !

Jelle 12-11-2010 10:02

Re: Hero: Naruto (Shadow Clone Jutsu)
 
omg there is two of them!


All times are GMT -4. The time now is 13:44.

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