Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > S4 League
You last visited: Today at 22:39

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



decompiled bat . lua

Discussion on decompiled bat . lua within the S4 League forum part of the Shooter category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2014
Posts: 285
Received Thanks: 13
decompiled bat . lua

can someone post the decompiled x7 bat lua ?? also , what should i edit so that that the probability of bat getting critical from hits also increase.i dont want it to be 100% crit.thank you.
012oab is offline  
Old 01/29/2018, 20:11   #2
 
elite*gold: 50
Join Date: Jan 2017
Posts: 712
Received Thanks: 595
Clean bat file.
Here you go >>
Attached Files
File Type: rar weapon_bat.rar (1.4 KB, 13 views)
0N1K4G3 is offline  
Old 01/30/2018, 09:08   #3
 
elite*gold: 0
Join Date: Apr 2014
Posts: 285
Received Thanks: 13
how do i increase the critical probability ?
012oab is offline  
Old 01/30/2018, 14:41   #4
 
elite*gold: 50
Join Date: Jan 2017
Posts: 712
Received Thanks: 595
Please subscribe me
0N1K4G3 is offline  
Thanks
1 User
Old 01/30/2018, 15:00   #5
 
elite*gold: 0
Join Date: Apr 2014
Posts: 285
Received Thanks: 13
do i edit accuracy for increase crit probability ?

i only see stand bat and frypan , where's crashbat ?
012oab is offline  
Old 01/30/2018, 15:49   #6
 
elite*gold: 50
Join Date: Jan 2017
Posts: 712
Received Thanks: 595
crashbat and bat same attacks in bat file, but frypan is different(go to down in file)


Normal and Crash Bat Hold Left button(strong attack)
Code:
function StandardBatSwordStandAttack_Strong1(  OneShotTime, Power, Accuracy, AdditionalPower )

	STATE:SetMoveBoxMultiplier( 0.0 );	
	STATE:SetHitStop( 450, 650 );
	STATE:SetStealthCancel( true );	
	STATE:InitLua( 1000, 40, 0, false );
	
	local range = WEAPON:GetRange();
	
	Attack = CreateCAttack();
    Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
    Attack:InitAttack2( MAKERAY( MAKEVECTOR3(0.0, 250.0, 0), MAKEVECTOR3( 0.0, 0.0, -1.0), range-100 ), 1, 1, false  );    
    Attack:SetAlwaysCritical( true );
    AddAttack( ATTACKS, Attack );
	
	Attack = CreateCAttack();
    Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_STAND_STRONG, 400, Power+AdditionalPower, AddtionalPower );
    Attack:InitAttack2( MAKEBOX( MAKEVECTOR3(0.0, 250.0, 0.0), MAKEVECTOR3( 0.0, 0.0, -1.0 ), range*0.9, range*0.9, range ), 1, 1, false  );    
    Attack:AddBlowCondition( 3000, 2000 );
    Attack:SetCameraShakeEnable( true, true, 0 );
    Attack:SetCameraShakeSetFactor1( 100, 50, 20 );
    Attack:SetCameraShakeSetFactor2( 0, 20, 2000, 3000 );
    Attack:SetCameraShakeWhenSuccess( true );    
    AddAttack( ATTACKS, Attack );

end
Code:
Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_STAND_STRONG, 400, Power+AdditionalPower, AddtionalPower );
CHANGE HERE WITH:
Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
It should be always critical
0N1K4G3 is offline  
Old 01/30/2018, 18:21   #7
 
elite*gold: 0
Join Date: Apr 2014
Posts: 285
Received Thanks: 13
change this for critical ? change the ''400'' value ?


Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_STAND_STRONG, 400, Power+AdditionalPower, AddtionalPower );
CHANGE HERE WITH:
Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
012oab is offline  
Old 01/30/2018, 22:31   #8
 
elite*gold: 50
Join Date: Jan 2017
Posts: 712
Received Thanks: 595
_STAND_STRONG > _CRITICAL
0N1K4G3 is offline  
Old 01/31/2018, 11:34   #9
 
elite*gold: 0
Join Date: Apr 2014
Posts: 285
Received Thanks: 13
can you give me an example of the changed value for critical probability ? you only said ''_STAND_STRONG > _CRITICAL'' , that doesnt make any sense ...
012oab is offline  
Old 01/31/2018, 14:25   #10
 
elite*gold: 50
Join Date: Jan 2017
Posts: 712
Received Thanks: 595
Code:
function StandardBatSwordStandAttack_Strong1(  OneShotTime, Power, Accuracy, AdditionalPower )

	STATE:SetMoveBoxMultiplier( 0.0 );	
	STATE:SetHitStop( 450, 650 );
	STATE:SetStealthCancel( true );	
	STATE:InitLua( 1000, 40, 0, false );
	
	local range = WEAPON:GetRange();
	
	Attack = CreateCAttack();
    Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
    Attack:InitAttack2( MAKERAY( MAKEVECTOR3(0.0, 250.0, 0), MAKEVECTOR3( 0.0, 0.0, -1.0), range-100 ), 1, 1, false  );    
    Attack:SetAlwaysCritical( true );
    AddAttack( ATTACKS, Attack );
	
	Attack = CreateCAttack();
    Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
    Attack:InitAttack2( MAKEBOX( MAKEVECTOR3(0.0, 250.0, 0.0), MAKEVECTOR3( 0.0, 0.0, -1.0 ), range*0.9, range*0.9, range ), 1, 1, false  );    
    Attack:AddBlowCondition( 3000, 2000 );
    Attack:SetCameraShakeEnable( true, true, 0 );
    Attack:SetCameraShakeSetFactor1( 100, 50, 20 );
    Attack:SetCameraShakeSetFactor2( 0, 20, 2000, 3000 );
    Attack:SetCameraShakeWhenSuccess( true );    
    AddAttack( ATTACKS, Attack );

end
Now can you see difference? WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL
Code:
Attack = CreateCAttack();
    Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
    Attack:InitAttack2( MAKEBOX( MAKEVECTOR3(0.0, 250.0, 0.0), MAKEVECTOR3( 0.0, 0.0, -1.0 ), range*0.9, range*0.9, range ), 1, 1, false  );    
    Attack:AddBlowCondition( 3000, 2000 );
    Attack:SetCameraShakeEnable( true, true, 0 );
    Attack:SetCameraShakeSetFactor1( 100, 50, 20 );
    Attack:SetCameraShakeSetFactor2( 0, 20, 2000, 3000 );
    Attack:SetCameraShakeWhenSuccess( true );    
    AddAttack( ATTACKS, Attack );
0N1K4G3 is offline  
Old 01/31/2018, 15:00   #11
 
elite*gold: 0
Join Date: Apr 2014
Posts: 285
Received Thanks: 13
no i dont see any difference , you did not change anything.

Quote:
Originally Posted by 0N1K4G3 View Post
Code:
function StandardBatSwordStandAttack_Strong1(  OneShotTime, Power, Accuracy, AdditionalPower )

	STATE:SetMoveBoxMultiplier( 0.0 );	
	STATE:SetHitStop( 450, 650 );
	STATE:SetStealthCancel( true );	
	STATE:InitLua( 1000, 40, 0, false );
	
	local range = WEAPON:GetRange();
	
	Attack = CreateCAttack();
    Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
    Attack:InitAttack2( MAKERAY( MAKEVECTOR3(0.0, 250.0, 0), MAKEVECTOR3( 0.0, 0.0, -1.0), range-100 ), 1, 1, false  );    
    Attack:SetAlwaysCritical( true );
    AddAttack( ATTACKS, Attack );
	
	Attack = CreateCAttack();
    Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
    Attack:InitAttack2( MAKEBOX( MAKEVECTOR3(0.0, 250.0, 0.0), MAKEVECTOR3( 0.0, 0.0, -1.0 ), range*0.9, range*0.9, range ), 1, 1, false  );    
    Attack:AddBlowCondition( 3000, 2000 );
    Attack:SetCameraShakeEnable( true, true, 0 );
    Attack:SetCameraShakeSetFactor1( 100, 50, 20 );
    Attack:SetCameraShakeSetFactor2( 0, 20, 2000, 3000 );
    Attack:SetCameraShakeWhenSuccess( true );    
    AddAttack( ATTACKS, Attack );

end
Now can you see difference? WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL
Code:
Attack = CreateCAttack();
    Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
    Attack:InitAttack2( MAKEBOX( MAKEVECTOR3(0.0, 250.0, 0.0), MAKEVECTOR3( 0.0, 0.0, -1.0 ), range*0.9, range*0.9, range ), 1, 1, false  );    
    Attack:AddBlowCondition( 3000, 2000 );
    Attack:SetCameraShakeEnable( true, true, 0 );
    Attack:SetCameraShakeSetFactor1( 100, 50, 20 );
    Attack:SetCameraShakeSetFactor2( 0, 20, 2000, 3000 );
    Attack:SetCameraShakeWhenSuccess( true );    
    AddAttack( ATTACKS, Attack );


is that 100% critical ? i dont want it to be 100% . and how can i edit the power of strong ?i dont see any value over here with (Power*___) that can be edited .

Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
012oab is offline  
Old 01/31/2018, 15:50   #12
 
elite*gold: 50
Join Date: Jan 2017
Posts: 712
Received Thanks: 595
Quote:
Originally Posted by 012oab View Post
no i dont see any difference , you did not change anything.





is that 100% critical ? i dont want it to be 100% . and how can i edit the power of strong ?i dont see any value over here with (Power*___) that can be edited .

Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
Difference is second Attack:InitAttack1

Code:
function StandardBatSwordStandAttack_Strong1(  OneShotTime, Power, Accuracy, AdditionalPower )

	STATE:SetMoveBoxMultiplier( 0.0 );	
	STATE:SetHitStop( 450, 650 );
	STATE:SetStealthCancel( true );	
	STATE:InitLua( 1000, 40, 0, false );
	
	local range = WEAPON:GetRange();
	
	Attack = CreateCAttack();
    Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
    Attack:InitAttack2( MAKERAY( MAKEVECTOR3(0.0, 250.0, 0), MAKEVECTOR3( 0.0, 0.0, -1.0), range-100 ), 1, 1, false  );    
    Attack:SetAlwaysCritical( true );
    AddAttack( ATTACKS, Attack );
	
	Attack = CreateCAttack();
    Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_CRITICAL, 400, Power+AdditionalPower, AddtionalPower );
    Attack:InitAttack2( MAKEBOX( MAKEVECTOR3(0.0, 250.0, 0.0), MAKEVECTOR3( 0.0, 0.0, -1.0 ), range*0.9, range*0.9, range ), 1, 1, false  );    
    Attack:AddBlowCondition( 3000, 2000 );
    Attack:SetCameraShakeEnable( true, true, 0 );
    Attack:SetCameraShakeSetFactor1( 100, 50, 20 );
    Attack:SetCameraShakeSetFactor2( 0, 20, 2000, 3000 );
    Attack:SetCameraShakeWhenSuccess( true );    
    AddAttack( ATTACKS, Attack );

end
0N1K4G3 is offline  
Old 01/31/2018, 15:58   #13
 
elite*gold: 0
Join Date: Apr 2014
Posts: 285
Received Thanks: 13
ok saw that .how can i edit the power if i dont see any value over here with (Power*___) that can be edited .
012oab is offline  
Old 01/31/2018, 16:20   #14
 
elite*gold: 50
Join Date: Jan 2017
Posts: 712
Received Thanks: 595
Quote:
Originally Posted by 012oab View Post
ok saw that .how can i edit the power if i dont see any value over here with (Power*___) that can be edited .
you can try (Power*1.5) instead of +AdditionalPower
0N1K4G3 is offline  
Reply


Similar Threads Similar Threads
weapon_spydagger decompiled lua
07/08/2017 - S4 League - 0 Replies
can anyone send me a weapon_spydagger decompiled lua ?
ALL Lua files Decompiled + Decompiler
12/18/2015 - S4 League Hacks, Bots, Cheats & Exploits - 12 Replies
Alle LUA files (Decompiled) und der Decompiler sind angehängt. Veränderte LUA Dateien können mit Pinkis tool replaced werden, ohne wieder compiled werden zu müssen. Hoffe konnte euch helfen. Ciao. Thanks drücken tut nicht weh.
1.bat and 2.bat
06/03/2012 - Dragonica Private Server - 1 Replies
Everytime I open 1.bat this appears: http://i.epvpimg.com/Yx0Cg.png 2.bat works fine, just needs to sync with 1.bat. And 3.bat wont let me connect. Please help.
Suche MySQL-Start.bat und MySQL-Stop.bat
12/26/2010 - Aion Private Server - 3 Replies
Hallo , kann mir jemand die MySQL-Start.bat und die MySQL-Stop.bat aus den Aion-Sources von dem Aion Privat Server (Erstellen) Tutorial hochladen .
[Bat] Frage zu einer bat
05/30/2007 - General Coding - 5 Replies
SRY FALSCHES FORUM GEHÖRT IN e*pvper coders NEHM ICH AN PLS MOVE zu spät entdeckt... So... erstmal... Das was hier alle posten ist immer so kompliziert und es sind richtige probs meistens... Dagegen ist meins schon fast lächerlich aber naja... :: written by 80.727376767380.1.1



All times are GMT +1. The time now is 22:39.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.