#1

Granade Damage

in Binds & Scripts Thu Nov 29, 2012 8:41 am
by valf13 • 84 Posts | 84 Points

For me its a very nice script, when you throw a granade this script say the damages caused. But for use this script you do launch nade with right click.
Copy this in the file autoexec.cfg


1
2
3
4
5
6
7
8
9
 
// alias altaction_8 [quicknadethrow; nade_hit_msg ]
 
alias nade_hit_msg [
last_nade_dmg = (at (pstat_weap (findcn $curname)) 17);
sleep 3000 [
new_nade_dmg = (at (pstat_weap (findcn $curname)) 17);
nade_made_dmg = (- $new_nade_dmg $last_nade_dmg)
if (> $nade_made_dmg 0) [echo (concat "Grenade Damage:" $nade_made_dmg)]
]]
 


So close no matter how far

Scroll up

#2

RE: Granade Damage

in Binds & Scripts Thu Nov 29, 2012 8:52 am
by Dams • 283 Posts | 283 Points

Oh thanks man !
Did you have tjr script who gives damage for all weapons ?? :-/ (AR, sniper, ...)


Leave the gun, take the cannoli.

Scroll up

#3

RE: Hitmsg

in Binds & Scripts Thu Nov 29, 2012 9:58 am
by valf13 • 84 Posts | 84 Points

Yes, and this script works on gsfclient too.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
hitmsg = 1
 
alias hits [
if (= $hitmsg 0) [] [
if (= (curweapon) (currentprimary)) [
hit1 = (at (pstat_weap (findcn $curname)) (* (currentprimary) 2))
hit2 = (at (pstat_weap (findcn $curname)) (+ (* (currentprimary) 2) 1))
hitecho = 1
]]]
 
alias hits_ [
if (= $hitmsg 0) [] [
shotsf = (- (at (pstat_weap (findcn $curname)) (* (currentprimary) 2)) $hit1)
damagem = (- (at (pstat_weap (findcn $curname)) (+ (* (currentprimary) 2) 1)) $hit2)
if (&& (= $hitecho 1) (> $shotsf 0)) [
echo (concat " 9Shots :" $shotsf "- 0Damages :" $damagem)
hitecho = 0
]]]
 


So close no matter how far

Last edited Thu Nov 29, 2012 10:00 am | Scroll up

#4

RE: Hitmsg

in Binds & Scripts Thu Nov 29, 2012 10:36 am
by Dams • 283 Posts | 283 Points

I love you man ! <3


Leave the gun, take the cannoli.

Scroll up

#5

RE: Hitmsg

in Binds & Scripts Thu Nov 29, 2012 10:48 am
by D3M0NW0LF | 175 Posts | 175 Points

Eww GsF client... has a built in cheat... You can shoot through pick ups... (And I think Flags even).

Use this client instead if you want a cool gaming experience.

http://www.akimbo.in/files/index.php?act=view&id=1155

It's the SKB client, and offers some unique features, including the Spectator Hudgun, and player team info when spectating.

(Like in the ACWC videos)


⛧ 𝙏𝙝𝙚 𝙚𝙖𝙧𝙡𝙮 𝙗𝙞𝙧𝙙 𝙜𝙚𝙩𝙨 𝙩𝙝𝙚 𝙬𝙤𝙧𝙢, 𝙖𝙣𝙙 𝙩𝙝𝙚 𝙚𝙖𝙧𝙡𝙮 𝙛𝙤𝙭 𝙜𝙚𝙩𝙨 𝙩𝙝𝙚 𝙗𝙞𝙧𝙙. ⛧
Scroll up

#6

RE: Hitmsg

in Binds & Scripts Thu Nov 29, 2012 11:00 am
by D3M0NW0LF | 175 Posts | 175 Points

Hopefully I've fixed this script for people that don't use MOUSE2 very often.
Enjoy ;)


1
2
3
4
5
6
7
8
9
 
// bind MOUSE1 [attack; nade_hit_msg ]

alias nade_hit_msg [
last_nade_dmg = (at (pstat_weap (findcn $curname)) 17);
sleep 3000 [
new_nade_dmg = (at (pstat_weap (findcn $curname)) 17);
nade_made_dmg = (- $new_nade_dmg $last_nade_dmg)
if (> $nade_made_dmg 0) [echo (concat "Grenade Damage:" $nade_made_dmg)]
]]
 


⛧ 𝙏𝙝𝙚 𝙚𝙖𝙧𝙡𝙮 𝙗𝙞𝙧𝙙 𝙜𝙚𝙩𝙨 𝙩𝙝𝙚 𝙬𝙤𝙧𝙢, 𝙖𝙣𝙙 𝙩𝙝𝙚 𝙚𝙖𝙧𝙡𝙮 𝙛𝙤𝙭 𝙜𝙚𝙩𝙨 𝙩𝙝𝙚 𝙗𝙞𝙧𝙙. ⛧
Last edited Thu Nov 29, 2012 12:23 pm | Scroll up

#7

RE: Hitmsg

in Binds & Scripts Fri Nov 30, 2012 3:23 pm
by No name specified • ( Guest )
avatar

Actually I think being able to shoot through flags and pickups is the usual way how it should be.

I had to learn that it was different in AC very painfully, but didn't really know what was going on for a long time, because I simply couldn't believe, that it would be like that.

And it seemed to me, that many opponents were able to shoot through, but I wasn't...but that might be just paranoia.

Scroll up

#8

RE: Hitmsg

in Binds & Scripts Fri Nov 30, 2012 10:06 pm
by D3M0NW0LF | 175 Posts | 175 Points

It's not the way it should be lol. Jamz even pointed that out in the official forum. So my advice is to stay away from the GsF client :)


⛧ 𝙏𝙝𝙚 𝙚𝙖𝙧𝙡𝙮 𝙗𝙞𝙧𝙙 𝙜𝙚𝙩𝙨 𝙩𝙝𝙚 𝙬𝙤𝙧𝙢, 𝙖𝙣𝙙 𝙩𝙝𝙚 𝙚𝙖𝙧𝙡𝙮 𝙛𝙤𝙭 𝙜𝙚𝙩𝙨 𝙩𝙝𝙚 𝙗𝙞𝙧𝙙. ⛧
Scroll up

#9

RE: Hitmsg

in Binds & Scripts Sat Dec 01, 2012 1:41 pm
by NutS (deleted)
avatar

I realy need help...

I can't put ANYTHING in my autoexec...

When I try savin smthin it says the path name and shit does not exist or I don't know what.
Then they ask me to create the thing, but they say it already exists.. Wtf ???

Scroll up

#10

RE: Hitmsg

in Binds & Scripts Sat Dec 01, 2012 1:58 pm
by D3M0NW0LF | 175 Posts | 175 Points

Maybe it's because most of the time it tries to save the path as the name instead of the file's name it's self. Rename the "file name", you're trying to save it as, but save it to another place... Like say, your desktop. Then, open and save as a .cfg. Once done, drag and drop into your config folder. Make sure to back up your original autoexec first!. Once done, your newly implemented scripts should start working.


⛧ 𝙏𝙝𝙚 𝙚𝙖𝙧𝙡𝙮 𝙗𝙞𝙧𝙙 𝙜𝙚𝙩𝙨 𝙩𝙝𝙚 𝙬𝙤𝙧𝙢, 𝙖𝙣𝙙 𝙩𝙝𝙚 𝙚𝙖𝙧𝙡𝙮 𝙛𝙤𝙭 𝙜𝙚𝙩𝙨 𝙩𝙝𝙚 𝙗𝙞𝙧𝙙. ⛧
Scroll up


Visitors
0 Members and 1 Guest are online.

Board Statistics
The forum has 1273 topics and 10928 posts.

0 members have been online today:


Xobor Einfach ein eigenes Xobor Forum erstellen