Hello fellow internet stranger(s), im currently working on damage rampup on a weapon for balancing reasons. But the code i did wont work (in decorate)
brrr:
SMIN A 0 a_gunflash
SMIN A 0 a_Checkrange(100,"brrrdist",false)
SMIN A 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN A 0 a_playsound("Mininbang",3,1,false,false,false)
SMIN A 0 a_Checkrange(100,"brrrdist",false)
SMIN B 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN B 0 a_playsound("Mininbang",4,1,false,false,false)
SMIN A 0 a_Checkrange(100,"brrrdist",false)
SMIN C 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN C 0 a_playsound("Mininbang",5,1,false,false,false)
SMIN A 0 a_Checkrange(100,"brrrdist",false)
SMIN D 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN D 0 a_playsound("Mininbang",6,1,false,false,false)
SMIN D 0 a_refire("brrr")
SMIN A 0 a_jumpifinventory("drip",1,"spunup",aaptr_default)
SMIN A 0 a_stopsound(2)
SMIN A 0 a_setspeed(1,aaptr_default)
SMIN ABCD 3 a_playsound("Spinupstop",3,1,false,false,false)
SMIN ABCD 4
SMIN ABCD 6
goto ready
brrrdist:
SMIN A 0 a_gunflash
SMIN A 0 a_jumpifcloser(100,"brrr")
SMIN A 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN A 0 a_playsound("Mininbang",3,1,false,false,false)
SMIN A 0 a_jumpifcloser(100,"brrr")
SMIN B 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN B 0 a_playsound("Mininbang",4,1,false,false,false)
SMIN A 0 a_jumpifcloser(100,"brrr")
SMIN C 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN C 0 a_playsound("Mininbang",5,1,false,false,false)
SMIN A 0 a_jumpifcloser(100,"brrr")
SMIN D 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN D 0 a_playsound("Mininbang",6,1,false,false,false)
SMIN D 0 a_refire("brrr")
SMIN A 0 a_jumpifinventory("drip",1,"spunup",aaptr_default)
SMIN A 0 a_stopsound(2)
SMIN A 0 a_setspeed(1,aaptr_default)
SMIN ABCD 3 a_playsound("Spinupstop",3,1,false,false,false)
SMIN ABCD 4
SMIN ABCD 6
goto ready
altbrrr:
SMIN A 0 a_gunflash
SMIN A 0 a_Checkrange(100,"altbrrrdist",false)
SMIN A 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN A 0 a_playsound("Mininbang",3,1,false,false,false)
SMIN A 0 a_Checkrange(100,"altbrrrdist",false)
SMIN B 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN B 0 a_playsound("Mininbang",4,1,false,false,false)
SMIN A 0 a_Checkrange(100,"altbrrrdist",false)
SMIN C 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN C 0 a_playsound("Mininbang",5,1,false,false,false)
SMIN A 0 a_Checkrange(100,"altbrrrdist",false)
SMIN D 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN D 0 a_playsound("Mininbang",6,1,false,false,false)
SMIN D 0 a_refire("altbrrr")
goto "givsound"
altbrrrdist:
SMIN A 0 a_gunflash
SMIN A 0 a_jumpifcloser(100,"altbrrr",false)
SMIN A 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN A 0 a_playsound("Mininbang",3,1,false,false,false)
SMIN A 0 a_jumpifcloser(100,"altbrrr",false)
SMIN B 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN B 0 a_playsound("Mininbang",4,1,false,false,false)
SMIN A 0 a_jumpifcloser(100,"altbrrr",false)
SMIN C 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN C 0 a_playsound("Mininbang",5,1,false,false,false)
SMIN A 0 a_jumpifcloser(100,"altbrrr",false)
SMIN D 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0)
SMIN D 0 a_playsound("Mininbang",6,1,false,false,false)
SMIN D 0 a_refire("altbrrr")
goto "givsound"
(Code for a minigun) it only will do 20 damage, regardless if thr target is further away then 100u
Question
Melonpizza
Hello fellow internet stranger(s), im currently working on damage rampup on a weapon for balancing reasons. But the code i did wont work (in decorate)
brrr: SMIN A 0 a_gunflash SMIN A 0 a_Checkrange(100,"brrrdist",false) SMIN A 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN A 0 a_playsound("Mininbang",3,1,false,false,false) SMIN A 0 a_Checkrange(100,"brrrdist",false) SMIN B 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN B 0 a_playsound("Mininbang",4,1,false,false,false) SMIN A 0 a_Checkrange(100,"brrrdist",false) SMIN C 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN C 0 a_playsound("Mininbang",5,1,false,false,false) SMIN A 0 a_Checkrange(100,"brrrdist",false) SMIN D 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN D 0 a_playsound("Mininbang",6,1,false,false,false) SMIN D 0 a_refire("brrr") SMIN A 0 a_jumpifinventory("drip",1,"spunup",aaptr_default) SMIN A 0 a_stopsound(2) SMIN A 0 a_setspeed(1,aaptr_default) SMIN ABCD 3 a_playsound("Spinupstop",3,1,false,false,false) SMIN ABCD 4 SMIN ABCD 6 goto ready brrrdist: SMIN A 0 a_gunflash SMIN A 0 a_jumpifcloser(100,"brrr") SMIN A 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN A 0 a_playsound("Mininbang",3,1,false,false,false) SMIN A 0 a_jumpifcloser(100,"brrr") SMIN B 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN B 0 a_playsound("Mininbang",4,1,false,false,false) SMIN A 0 a_jumpifcloser(100,"brrr") SMIN C 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN C 0 a_playsound("Mininbang",5,1,false,false,false) SMIN A 0 a_jumpifcloser(100,"brrr") SMIN D 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN D 0 a_playsound("Mininbang",6,1,false,false,false) SMIN D 0 a_refire("brrr") SMIN A 0 a_jumpifinventory("drip",1,"spunup",aaptr_default) SMIN A 0 a_stopsound(2) SMIN A 0 a_setspeed(1,aaptr_default) SMIN ABCD 3 a_playsound("Spinupstop",3,1,false,false,false) SMIN ABCD 4 SMIN ABCD 6 goto ready altbrrr: SMIN A 0 a_gunflash SMIN A 0 a_Checkrange(100,"altbrrrdist",false) SMIN A 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN A 0 a_playsound("Mininbang",3,1,false,false,false) SMIN A 0 a_Checkrange(100,"altbrrrdist",false) SMIN B 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN B 0 a_playsound("Mininbang",4,1,false,false,false) SMIN A 0 a_Checkrange(100,"altbrrrdist",false) SMIN C 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN C 0 a_playsound("Mininbang",5,1,false,false,false) SMIN A 0 a_Checkrange(100,"altbrrrdist",false) SMIN D 2 a_Railattack(20,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN D 0 a_playsound("Mininbang",6,1,false,false,false) SMIN D 0 a_refire("altbrrr") goto "givsound" altbrrrdist: SMIN A 0 a_gunflash SMIN A 0 a_jumpifcloser(100,"altbrrr",false) SMIN A 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN A 0 a_playsound("Mininbang",3,1,false,false,false) SMIN A 0 a_jumpifcloser(100,"altbrrr",false) SMIN B 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN B 0 a_playsound("Mininbang",4,1,false,false,false) SMIN A 0 a_jumpifcloser(100,"altbrrr",false) SMIN C 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN C 0 a_playsound("Mininbang",5,1,false,false,false) SMIN A 0 a_jumpifcloser(100,"altbrrr",false) SMIN D 2 a_Railattack(6,5,true,none,"Grey",rgf_nopiercing|rgf_silent,2,"SchisaBulletPuff",14,6,950,20.0,1.0,1.0,none,11,0,0) SMIN D 0 a_playsound("Mininbang",6,1,false,false,false) SMIN D 0 a_refire("altbrrr") goto "givsound"
(Code for a minigun) it only will do 20 damage, regardless if thr target is further away then 100u
Thanks
Share this post
Link to post
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.