Dateien

> > CS2D > Lua Scripts > Air plane shadow for the Air Strike
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Air plane shadow for the Air Strike >

55 Kommentare9 kb, 1.281 Downloads

alt Air plane shadow for the Air Strike

Kiffer-Opa
User Off Offline

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
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:
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!
3× editiert, zuletzt 23.09.11 19:26:18
Zugelassen von Starkkz

Download Download

9 kb, 1.281 Downloads

Kommentare

55 Kommentare
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

alt

Mami Tomoe
User Off Offline

Sweet!
Ich mag es!

alt

Kirito2K
User Off Offline

Just WOW !
Ich mag es!

alt

DannY-PhantoM
User Off Offline

that funny like an plane is failed and crashed
Ich mag es!

alt

removed404
User Off Offline

Good.
Ich mag es!

alt

CaneCorso
User Off Offline

, very nice
Ich mag es!

alt

Reck
BANNED Off Offline

So damn good
Ich mag es!

alt

Onecrazy
BANNED Off Offline

very goodd √ ıl ıke ıt
Ich mag es!

alt

UBMaster
BANNED Off Offline

oww good use it √
Ich mag es!

alt

Sebax
User Off Offline

awesome!

the aircraft its a "Flying fortress"

I like that
Ich mag es!

alt

tom282f3
User Off Offline

Wow, you really change your image!
Ich mag es!

alt

DevGru
User Off Offline

Sorry xD, maybe the file was changed, ok i'll download it tomorrow.
Ich mag es!

alt

DC
Admin Off Offline

that's wrong user DevGru. the image is included in the gfx folder of the download!

alt

DevGru
User Off Offline

Wha- There's no plane image when I download the file. Where did you get the image?!
Ich mag es!

alt

Phenixtri
User Off Offline

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.
Ich mag es!

alt

DevGru
User Off Offline

But this file hasn't got the plane sprite...
Ich mag es!

alt

if
User Off Offline

@tom282f3
This thread is posted a year ago, wasting my time
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang