Register for your free account! | Forgot your password?

You last visited: Today at 15:01

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

Advertisement



[Guide] S4Lua

Discussion on [Guide] S4Lua within the S4 League Hacks, Bots, Cheats & Exploits forum part of the S4 League category.

View Poll Results: Go on with this shiat?
Yea 13 61.90%
Maybe 2 9.52%
Nope 6 28.57%
Voters: 21. You may not vote on this poll

Reply
 
Old   #1
 
gaschenk's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 79
Received Thanks: 39
Post [Guide] S4Lua

Hello all today i decided to make a guide from the S4Lua.

Before I start please do not use any of this Guide to create Gamebreaking things and do not copy this Thread to any other site.

Others:
require "Resources/.."
Require is used to include functions like in normal developing.
MAKEVECTOR3( x,y,z );
MakeVector3 is used to generate dome Effects Like a Sphere.
MAKEVECTOR2( x,y );
MakeVector2 is also used to generate some Effects.
GetX();GetY();GetZ();
Those Functions are used to get your current positioning.
MAKERAY( MAKEVECTOR3() = center, MAKEVECTOR3() = direction, length );
MAKESPHERE( MAKEVECTOR3() = center, ¹ÝÁö¸§ );
MAKEBOX( MAKEVECTOR3() = center, MAKEVECTOR3() = direction, width, height, lenght );
MAKECYLINDER( MAKEVECTOR3(center°ª), ¹ÝÁö¸§, ³ôÀÌ );
center°ª ¹Ì ÁöÁ¤ ½Ã º¤ÅÍ °ª 0,0,0À¸·Î ÀνÄ. ÁöÁ¤ ½Ã¿¡´Â MAKEVECTOR3(x,y,z)·Î ÁöÁ¤ÇÏ¿©¾ß ÇÔ.
Æø¹ßÇü ¾îÅÃ(Attack = CreateCExplosionAttack() ¿¡ »ç¿ë ½Ã, ¼¾ÅͰªÀº ÀÚµ¿À¸·Î È÷Æ®ÇÑ °÷ ±âÁØÀ¸·Î ¼³Á¤µÊ.(ij³ë³×À̵åó·³)
MAKEFAN( MAKEVECTOR3() = center, MAKEVECTOR2() = direction, width, height, length, °¢µµ );
MAKEPOLE( MAKEVECTOR3() = center, MAKEVECTOR3() = direction, width, height, length );
MAKETHICKRAY( MAKEVECTOR3() = center, MAKEVECTOR3() = direction, thickness = should be bool, length );
MAKECONE( MAKEVECTOR3(x, y, z), MAKEVECTOR3( 0.0, 0.0, -1.0 ), maybe bool not sure about the last )


Attack Functions:
Attack:SetAlwaysCritical( true/false );
Attack:SetGhostCalcCollisionRange( true/false );
Attack:SetCameraShakeEnable( true/false, true/false, 0 );
Attack:SetCameraShakeSetFactor1( x, y, z );
Attack:SetCameraShakeSetFactor2( 60.0, 0.0, 2000.0, 3000.0 );
Attack:SetCameraShakeWhenSuccess( true/false ); This will shake you if u hit or not.
Attack:AddBlowCondition( x, y );
Attack4:AddPushCondition( x, y, z );


State Functions:
STATE:SetHPAbsorptionPer( int );This should aborb a bit of your hp if i remind right.
STATE:SetSpendSp( int );This will use some of your sp if u attack
STATE:SetStealthCancel( true/false ); If true it will cancel invisibility
[On some Decryption failed sry i cannot really tell what that means but will later fix that.
If u test around with it post what will appear if on disabled etc.]

Weapon Functions:
WEAPON:GetRange();This will get the range of the weapon.

Function Guides:
Camerashaking:
Code:
Attack:SetCameraShakeEnable( true, true, 0 );
Attack:SetCameraShakeSetFactor1( 25, 799, 250 );
Attack:SetCameraShakeSetFactor2( 60.0, 0.0, 2000.0, 3000.0 );
Attack:SetCameraShakeWhenSuccess( true );
This will shake your char a bit if u hit an enemy maybe also if u just hit a place of the map.

Please Tell me if i should go on with this or not If not Thread will be canceled. Currently looks like this thread isn't really wanted so i won't update it currently and if at the end of the poll it still looks like so i gonna close it.
gaschenk is offline  
Thanks
1 User
Old 12/27/2015, 20:40   #2
 
elite*gold: 0
Join Date: Jul 2011
Posts: 20
Received Thanks: 6
thank you ) jetzt kann ich wenigstens GB sachen wieder erstellen :P
ballalex10 is offline  
Old 12/27/2015, 22:19   #3
 
elite*gold: 0
Join Date: Jun 2013
Posts: 15
Received Thanks: 1
Thanks ‹3

Edit ______________

tell me more about : require "Resources/.."
fumb is offline  
Reply


Similar Threads Similar Threads
[Guide]Farm Guide Metin2[Guide]
02/05/2012 - Metin2 Guides & Templates - 24 Replies
#Delet aus sicherheits gründen.
[GUIDE] Item Filter Guide | Cabal Crafting & Dungeon Guide by Dewa Gempak.
06/15/2008 - Cabal Guides & Templates - 5 Replies
Since its his work, just SHARING it here, i just gonna link his URL from his work. because i dont like copy and pasting other ppl's guides: http://119.110.98.150:90/ipb/index.php?showtopic= 1145 Q#1: Does it work with CabalRider (PH)? A#1: Yes, it works, i tried it personally myself. Q#2: I'm too dumb to understand it, how to make it work. A#2: Try reading it again and again, if u still don't know how, don't use it then sleep.gif



All times are GMT +1. The time now is 15:01.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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