English Air plane shadow for the Air Strike icon

53 comments
01.09.10 10:29:28 pm
like 44 like it!
9 kb, 806 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
edited 3×, last 23.09.11 07:26:18 pm
ok This file has been reviewed and approved by Starkkz (30.11.15 01:58:19 am)

Comments

53 comments
Goto Page
To the start Previous 1 2 3 Next To the start

Log in!

You need to log in to be able to write comments!Log in
11.02.18 05:11:55 pm
like I like it!
Up
Ma7moud YouTu6er
User
Online On
absolutely correct !
26.04.14 12:54:07 pm
like I like it!
Up
Pirates killer
User
Offline Off
Just WOW !
21.07.13 05:55:06 pm
like I like it!
Up
DannY-PhantoM
User
Offline Off
that funny like an plane is failed and crashed
21.07.13 08:43:29 am
like I like it!
Up
removed404
User
Offline Off
Good.
21.07.13 01:47:38 am
like I like it!
Up
TK Gunz FBI
User
Offline Off
nice
07.07.13 07:29:51 pm
like I like it!
Up
CaneCorso
User
Offline Off
, very nice
09.12.11 09:01:23 pm
like I like it!
Up
Reck
BANNED
Offline Off
So damn good
09.12.11 06:28:00 pm
like I like it!
Up
Onecrazy
BANNED
Offline Off
very goodd √ ıl ıke ıt
09.12.11 04:47:05 pm
like I like it!
Up
UBMaster
BANNED
Offline Off
oww good use it √
09.12.11 04:25:46 pm
like I like it!
Up
Sebax
User
Offline Off
awesome!

the aircraft its a "Flying fortress"

I like that
04.10.11 12:01:34 pm
like I like it!
Up
tom282f3
User
Offline Off
Wow, you really change your image!
04.10.11 11:00:59 am
like I like it!
Up
DevGru
User
Offline Off
Sorry xD, maybe the file was changed, ok i'll download it tomorrow.
04.10.11 10:34:12 am
Up
DC
Admin
Online On
that's wrong user DevGru. the image is included in the gfx folder of the download!
04.10.11 10:28:48 am
like I like it!
Up
DevGru
User
Offline Off
Wha- There's no plane image when I download the file. Where did you get the image?!
29.09.11 01:39:01 pm
like I like it!
Up
DarkSucker
BANNED
Offline Off
good this is cool but its already post
29.09.11 03:38:15 am
like I like it!
Up
Phenixtri
User
Offline Off
yea it does its in the gfx folder. I might use this for HL2D for the airstrike using an F-16 sprite if you don't mind.
29.09.11 12:29:52 am
like I like it!
Up
DevGru
User
Offline Off
But this file hasn't got the plane sprite...
28.09.11 06:54:00 pm
Up
if
User
Offline Off
@tom282f3
This thread is posted a year ago, wasting my time
28.09.11 11:12:38 am
like I like it!
Up
Fossil
User
Offline Off
LOL... This is awesome... All we need now is an AC-130
28.09.11 09:53:13 am
like I like it!
Up
DevGru
User
Offline Off
THIS IS SO AWESOME 5/5 NICE SCRIPT DUDE YOU HAVE SOME COOL SCRIPTS
To the start Previous 1 2 3 Next To the start