English Air plane shadow for the Air Strike icon

52 comments
01.09.10 10:29:28 pm
like 43 like it!
9 kb, 701 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

Comments

52 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
13.03.11 05:17:39 am
like I like it!
Up
superme1230
User
Offline Off
hah lo nice man i wish someone do that! and u did :D!
14.11.10 02:40:16 pm
like I like it!
Up
Academia Sinica
User
Offline Off
Awesome!
Great Idea!
That deserves for 5 star!
But, I hope you have a better shadow.
Still good, though.
14.11.10 12:19:48 pm
like I like it!
Up
BrodAA
User
Offline Off
works on internet? this airplane scipt
14.11.10 04:21:36 am
like I like it!
Up
LorenzzVilla
User
Offline Off
cool idea, cool sprites,and nice work =D
12.11.10 05:26:30 am
like I like it!
Up
TWBiBi
User
Offline Off
wow
that is awesome!!! thank you
11.11.10 10:23:03 pm
like I like it!
Up
Blacko
User
Offline Off
Very nice ! I really like it ! 5/5 ! Awesome !
09.11.10 06:16:53 pm
like I like it!
Up
Heartless Soldier
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 04:22:13 pm
like I like it!
Up
Toxa
User
Offline Off
Its very nice i give 5+
02.10.10 10:23:20 am
like I like it!
Up
connor34
User
Offline Off
hehe i changed the airstrip plane to a harrier airplane
02.10.10 09:37:12 am
like I like it!
Up
Fil-zabczyk PL
User
Offline Off
Cool mod gives all five
01.10.10 07:42:10 pm
like I like it!
Up
senar
User
Offline Off
nice!
i will download to test it
01.10.10 07:33:10 pm
like I like it!
Up
s0nic
User
Offline Off
Youtube Poop: Luigi, Look Its Airplane
*boom headshot*
01.10.10 04:03:47 pm
like I like it!
Up
connor34
User
Offline Off
cool man i really like that
03.09.10 01:28:23 pm
like I like it!
Up
Snake_Eater
User
Offline Off
To good for me.You are a genie
02.09.10 06:51:23 pm
like I like it!
Up
maPmaKer
User
Offline Off
Wow this really rocks. Good job man
02.09.10 05:12:02 pm
like I like it!
Up
RyceR
User
Offline Off
nice! i very like it! thanks.
02.09.10 03:54:28 pm
like I like it!
Up
DRoNe
User
Offline Off
awesome !, this script make the airstrike lively.
02.09.10 03:05:58 pm
like I like it!
Up
Mawd
User
Offline Off
you are a BEAST! nice job
02.09.10 10:46:48 am
like I like it!
Up
FASTDIE
User
Offline Off
a good script a good idea this is AWESOME!
02.09.10 09:05:39 am
like I like it!
Up
Cure Pikachu
User
Offline Off
Amazing... What more can I say?
To the start Previous 1 2 3 Next To the start