Englisch Air plane shadow for the Air Strike icon

47 Kommentare
01.09.10 22:29:28
like 38 mögen es!
9 kb, 581 Downloads
Kiffer-Opa
User
Offline Off
This Lua script lets appear a shadow of an airplane above the player who called an Air Strike. The airplane will always fly in the direction the player was looking when he threw the marker.
> current version: 1.3

Installation (important!)
To install, you must do two things:
• Extract the contents of the zip archive to the main CS2D directory
• Add this line into the file sys/servertransfer.lst
Code:
1
gfx/Boing_B_17G_contour.png

so the airplane shadow is visible for all players

Starting the script
To start the script, let Lua parse this line:
Code:
1
dofile("sys/lua/asimg.lua")

You probably want to add this into the file sys/lua/server.lua so the script starts when the server starts.

Notes: In my test, this script did not go into conflict with other scripts. If you discover errors when using this script together with other scripts, let me know.

Update to v1.1: Whoops, there was a bug in version 1.0. When throwing lots of Air Strikes, the console complained about table fields that did not exist. This console spam could be a bit annoying for the server and I fixed that issue now.
Update to v1.2: Whoops, there was another bug (thx, phihung940) which let apper airplanes if you use another weapon after holding an Air Strike marker in hand. This should be fixed now. I also added parameters in the source code for a quick change of the airplane speed and the start distance from the throwing player.
Update to v1.3: I took a different default image for the air plane. It is somewhat the contour of a B 17G and is based on this work by bagera3005. It looks more like a bomber, has sharper contours than the previous image and even has a smaller file size!
imageimage
3× editiert, zuletzt 23.09.11 19:26:18

Kommentare

47 Kommentare
Gehe zu Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen
11.11.10 22:23:03
like Ich mag es!
Hoch
Blacko
User
Offline Off
Very nice ! I really like it ! 5/5 ! Awesome !
09.11.10 18:16:53
like Ich mag es!
Hoch
NaSH
User
Offline Off
You know what? it's exclent and the idea so do ;).
Kosano, you just ruined his rating voting 4/5 without a clear reason. Let me accommodate it.
09.11.10 16:22:13
like Ich mag es!
Hoch
Toxa
User
Offline Off
Its very nice i give 5+
02.10.10 10:23:20
like Ich mag es!
Hoch
AppleClan
User
Offline Off
hehe i changed the airstrip plane to a harrier airplane
02.10.10 09:37:12
like Ich mag es!
Hoch
Fil-zabczyk PL
User
Offline Off
Cool mod gives all five
01.10.10 19:42:10
like Ich mag es!
Hoch
senar
User
Offline Off
nice!
i will download to test it
01.10.10 19:33:10
like Ich mag es!
Hoch
s0nic
User
Offline Off
Youtube Poop: Luigi, Look Its Airplane
*boom headshot*
01.10.10 16:03:47
like Ich mag es!
Hoch
AppleClan
User
Offline Off
cool man i really like that
03.09.10 13:28:23
like Ich mag es!
Hoch
Snake_Eater
User
Offline Off
To good for me.You are a genie
02.09.10 18:51:23
like Ich mag es!
Hoch
maPmaKer
User
Offline Off
Wow this really rocks. Good job man
02.09.10 17:12:02
like Ich mag es!
Hoch
RyceR
User
Offline Off
nice! i very like it! thanks.
02.09.10 15:54:28
like Ich mag es!
Hoch
DRoNe
User
Offline Off
awesome !, this script make the airstrike lively.
02.09.10 15:05:58
like Ich mag es!
Hoch
Mawd
User
Offline Off
you are a BEAST! nice job
02.09.10 10:46:48
like Ich mag es!
Hoch
FASTDIE
User
Offline Off
a good script a good idea this is AWESOME!
02.09.10 09:05:39
like Ich mag es!
Hoch
Pikachu xD
User
Offline Off
Amazing... What more can I say?
02.09.10 07:08:45
Hoch
Kiffer-Opa
User
Offline Off
Thx phihung940, I think I fixed that bug now.

I also added parameters in the source code. Just change the values of the variables "asimg.speed" or "asimg.start" (and look at the comments!).
02.09.10 04:39:30
like Ich mag es!
Hoch
phihung940
User
Offline Off
a... how to speed up the sprites ? and if i speed up the sprites, it will + some second before it come right ?

I found a bug , I have a AirStrike but i not throw it , and i shot , then the shadow still apear , even i dont shot !
1× editiert, zuletzt 02.09.10 04:52:38
02.09.10 04:24:46
like Ich mag es!
Hoch
Passer
User
Offline Off
Nice Job! then I Like it too
02.09.10 02:23:17
like Ich mag es!
Hoch
SANTER
User
Offline Off
other awesome job
well done

+5
02.09.10 02:00:36
like Ich mag es!
Hoch
Pwnisher
User
Offline Off
¿kosano why u rate it 4? its a really awesome script, i think it deserv a 5
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang