Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > S4 League
You last visited: Today at 00:11

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

Advertisement



weapnbat lua

Discussion on weapnbat 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
weapnbat lua

so i edited the weapon bat lua so that jump attack always critical and it works but normally the jump attack stops the enemy for a few second if it hits but after replacing with the edited weapon bat lua ,it doesnt stop the enemy movement . can i know which part did i edited wrongly ?

function StandardBatSwordJumpAttack( OneShotTime, Power, Accuracy, AdditionalPower )

STATE:SetDrop( 200, MAKEVECTOR3( 0, -20000, 0 ) );
STATE:SetStealthCancel( true );
STATE:InitLua( 300, 1100, 40, false );

local range = WEAPON:GetRange();

Attack = CreateCAttack();
Attack:InitAttack1( WEAPONTYPE_BAT_SWORD, ATTACKATTRIB_BAT_SWORD_JUMP_CRITICAL, 300, (Power*1.5)+AdditionalPower, AddtionalPower );
Attack:InitAttack2( MAKERAY( MAKEVECTOR3(0.0, 50.0, -50.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_JUMP_CRITICAL, 300, (Power*1.9)+AdditionalPower, AddtionalPower );
Attack:InitAttack2( MAKEBOX( MAKEVECTOR3(0.0, 150.0, -50.0), MAKEVECTOR3( 0.0, 0.0, -1.0 ), range*0.4, range*1.2, range ), 1, 1, false );
Attack:SetAlwaysCritical( true );
Attack:SetCameraShakeEnable( true, true, 0 );
Attack:SetCameraShakeSetFactor1( 100, 50, 20 );
Attack:SetCameraShakeSetFactor2( 0, 20, 2000, 3000 );
Attack:SetCameraShakeWhenSuccess( true );
AddAttack( ATTACKS, Attack );
012oab is offline  
Old 06/07/2018, 15:27   #2
 
elite*gold: 50
Join Date: Jan 2017
Posts: 712
Received Thanks: 595
I don't understand can you explain a bit more?
0N1K4G3 is offline  
Old 06/08/2018, 08:13   #3
 
elite*gold: 0
Join Date: Apr 2014
Posts: 285
Received Thanks: 13
for a clean resource.s4hd , when you use bat jump attack to hit someone , it will stop the enemy movement right ? the enemy has to click space +a+space to counter the jump attack . but after i edit it , i jump attack enemy but it does not stop their movement . it is like i did not hit them at all but they still take critical damage .
012oab is offline  
Old 06/08/2018, 12:34   #4
 
EpitaphHaseo's Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 65
Received Thanks: 26
I think melee criticals generally dont have hitstun. That's why plasma sword rightclick crits feel very weird sometimes. Not 100% sure if it's that way in every case though.
EpitaphHaseo is offline  
Reply


Similar Threads Similar Threads
[Realase]Décripteur de fichier lua ressource 7.3 /Décripteur resource file lua 7.3
04/08/2012 - Rappelz Private Server - 5 Replies
Closed
Sehr weit geführte locale_.lua (locale_big5.lua)
08/02/2010 - Metin2 PServer Guides & Strategies - 50 Replies
Abend^^ Habe hier mal selber eine locale_.lua übersetzt! Ich habe mich von anderen localen inspirieren lassen habe sie aber bis auf 6 Zeilen selber geschrieben!! Ich werde sie, wenn ihr mir sagt welche quests die von zeile 300 - 900 sind, noch vervollständigen aber erstes Ziel... Website mit allen Quests zum Ansehen und einzelnen Download! Hoffe konnte euch weiterhelfen! Locale_.lua + skill_group.quest damit auch die Lehrer deutsch sind! Updatestand: 22.01.2010 Version 1: locale_.lua...



All times are GMT +1. The time now is 00:13.


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.