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

[Modified]CSO Lycanthrope


  
 
 
Thread Tools Display Modes
NITRO_GOD
Member
Join Date: Mar 2017
Location: De_dust2
Old 06-17-2017 , 06:52   Re: [Modified]CSO Lycanthrope
#11

Updated! CSO Lycanthrope Original Version Added to the list (NON Buff)
__________________
My Work in zppv [RaDNoX] http://zppv.boards.net/thread/2562/m...tems-zp-radnox

Join zppv for help in Zombie Plague!
NITRO_GOD is offline
Send a message via Skype™ to NITRO_GOD
lamheocbvn
Junior Member
Join Date: Dec 2014
Old 06-19-2017 , 10:38   Re: [Modified]CSO Lycanthrope
#12

Are you sure you modified and remade it? :/
lamheocbvn is offline
Old 06-19-2017, 11:15
NITRO_GOD
This message has been deleted by NITRO_GOD. Reason: nvm....
NITRO_GOD
Member
Join Date: Mar 2017
Location: De_dust2
Old 06-20-2017 , 00:16   Re: [Modified]CSO Lycanthrope
#13

Quote:
Originally Posted by lamheocbvn View Post
Are you sure you modified and remade it? :/
Yea.... who made it then :/?
What kind of a silly question is this -_-
__________________
My Work in zppv [RaDNoX] http://zppv.boards.net/thread/2562/m...tems-zp-radnox

Join zppv for help in Zombie Plague!
NITRO_GOD is offline
Send a message via Skype™ to NITRO_GOD
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-20-2017 , 01:25   Re: [Modified]CSO Lycanthrope
#14

Quote:
Originally Posted by NITRO_GOD View Post
Yea.... who made it then :/?
What kind of a silly question is this -_-
PHP Code:
vec_add(const Float:in1[],const Float:in2[],Float:out[]){
    
out[0]=in1[0]+in2[0];
    
out[1]=in1[1]+in2[1];
    
out[2]=in1[2]+in2[2];
}
vec_mul_scalar(const Float:vec[],Float:scalar,Float:out[]){
    
out[0]=vec[0]*scalar;
    
out[1]=vec[1]*scalar;
    
out[2]=vec[2]*scalar;
}
vec_normalize(const Float:vec[],Float:out[]){
    new 
Float:invlen=rsqrt(vec[0]*vec[0]+vec[1]*vec[1]+vec[2]*vec[2]);
    
out[0]=vec[0]*invlen;
    
out[1]=vec[1]*invlen;
    
out[2]=vec[2]*invlen;
}
Float:rsqrt(Float:x){
    new 
Float:xhalf=x*0.5;
    
    new 
i=_:x;
    
i=0x5f375a84 - (i>>1);
    
x=Float:i;
            
    
x=x*(1.5-xhalf*x*x);
    
x=x*(1.5-xhalf*x*x);
    
x=x*(1.5-xhalf*x*x);
        
    return 
x;

this is planeshift style, can't be mistake.

Last edited by Celena Luna; 06-20-2017 at 01:25.
Celena Luna is offline
NITRO_GOD
Member
Join Date: Mar 2017
Location: De_dust2
Old 06-20-2017 , 07:54   Re: [Modified]CSO Lycanthrope
#15

Quote:
Originally Posted by Celena Luna View Post
PHP Code:
vec_add(const Float:in1[],const Float:in2[],Float:out[]){
    
out[0]=in1[0]+in2[0];
    
out[1]=in1[1]+in2[1];
    
out[2]=in1[2]+in2[2];
}
vec_mul_scalar(const Float:vec[],Float:scalar,Float:out[]){
    
out[0]=vec[0]*scalar;
    
out[1]=vec[1]*scalar;
    
out[2]=vec[2]*scalar;
}
vec_normalize(const Float:vec[],Float:out[]){
    new 
Float:invlen=rsqrt(vec[0]*vec[0]+vec[1]*vec[1]+vec[2]*vec[2]);
    
out[0]=vec[0]*invlen;
    
out[1]=vec[1]*invlen;
    
out[2]=vec[2]*invlen;
}
Float:rsqrt(Float:x){
    new 
Float:xhalf=x*0.5;
    
    new 
i=_:x;
    
i=0x5f375a84 - (i>>1);
    
x=Float:i;
            
    
x=x*(1.5-xhalf*x*x);
    
x=x*(1.5-xhalf*x*x);
    
x=x*(1.5-xhalf*x*x);
        
    return 
x;

this is planeshift style, can't be mistake.
Firstly, i would like to restate to those who cant read things in bold.... I wrote that i used some codes from coil gun read properly.

Secondly, I am not asking anyone to use my gun if people/someone dont like it.... so unless he/she have suggestions in which fields should i fix or what i should add or maybe ideas to optimize code.... then plz dont bother.

I mentioned it in my post in bold!!!

What i really appreciate is real sap thanks for pointing out my mistake... and giving me a good idea.... i hope to get comments that are really worth reading...

Just because someone uses some lines from pawn doesn't mean they have some patent over those lines .... :"D < Joke

Sorry if i sounded aggressive...
__________________
My Work in zppv [RaDNoX] http://zppv.boards.net/thread/2562/m...tems-zp-radnox

Join zppv for help in Zombie Plague!

Last edited by NITRO_GOD; 06-20-2017 at 12:01.
NITRO_GOD is offline
Send a message via Skype™ to NITRO_GOD
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 06-20-2017 , 10:13   Re: [Modified]CSO Lycanthrope
#16

There's literally nothing wrong with reusing code from other plugins.
__________________
gabuch2 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-20-2017 , 10:57   Re: [Modified]CSO Lycanthrope
#17

As long as you make improvements in the bad code of course. This is called recycling/reuse code, anyway... You're creating an argument here for no purpose whatsoever.
__________________









Last edited by CrazY.; 06-20-2017 at 11:01.
CrazY. is offline
NITRO_GOD
Member
Join Date: Mar 2017
Location: De_dust2
Old 06-20-2017 , 11:19   Re: [Modified]CSO Lycanthrope
#18

Thank you CraZy and Gabe ... This really means a lot... I appreciate it
Ps I am open to any suggestions for optimization and suggestions/ideas
__________________
My Work in zppv [RaDNoX] http://zppv.boards.net/thread/2562/m...tems-zp-radnox

Join zppv for help in Zombie Plague!
NITRO_GOD is offline
Send a message via Skype™ to NITRO_GOD
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 06-20-2017 , 11:55   Re: [Modified]CSO Lycanthrope
#19

Great Job Bro, looks nice.
__________________
FINISHED WORKING ON : Attack On Titan Mod (100% Done).

FB Acc : FaceBook Account.

pic: http://prntscr.com/fszkke not good quality
yas17sin is offline
Send a message via ICQ to yas17sin
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-20-2017 , 12:49   Re: [Modified]CSO Lycanthrope
#20

I just reply to your question
It actually nothing wrong with reusing the code.
Celena Luna is offline
 



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 07:44.


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