Files

> > CS2D > Lua Scripts > Air plane shadow for the Air Strike
Files overviewCS2D overviewLua Scripts overview

English Air plane shadow for the Air Strike >

55 comments9 kb, 1,281 Downloads

old 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!
edited 3×, last 23.09.11 07:26:18 pm
Approved by Starkkz

Download Download

9 kb, 1,281 Downloads

Comments

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

old

Fossil
User Off Offline

LOL... This is awesome... All we need now is an AC-130
I like it!

old

DevGru
User Off Offline

THIS IS SO AWESOME 5/5 NICE SCRIPT DUDE YOU HAVE SOME COOL SCRIPTS
I like it!

old Thx

AvengerX4
User Off Offline

yeah, now we can actually see the terror of an airstrike ! 5/5 !
I like it!

old

superme1230
User Off Offline

hah lo nice man i wish someone do that! and u did :D!
I like it!

old

tom282f3
User Off Offline

Awesome!
Great Idea!
That deserves for 5 star!
But, I hope you have a better shadow.
Still good, though.
I like it!

old

Glix
User Off Offline

works on internet? this airplane scipt
I like it!

old

LorenzzVilla
User Off Offline

cool idea, cool sprites,and nice work =D
I like it!

old

TWBiBi
User Off Offline

wow
that is awesome!!! thank you
I like it!

old

Blacko
User Off Offline

Very nice ! I really like it ! 5/5 ! Awesome !
I like it!

old

Heartless Soldier
User Off Offline

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.
I like it!

old

Toxa
User Off Offline

Its very nice i give 5+
I like it!

old

connor34
User Off Offline

hehe i changed the airstrip plane to a harrier airplane
I like it!

old

senar
User Off Offline

nice!
i will download to test it
I like it!

old

s0nic
User Off Offline

Youtube Poop: Luigi, Look Its Airplane
*boom headshot*
I like it!

old

connor34
User Off Offline

cool man i really like that
I like it!

old

Snake_Eater
User Off Offline

To good for me.You are a genie
I like it!

old

maPmaKer
User Off Offline

Wow this really rocks. Good job man
I like it!

old

RyceR
User Off Offline

nice! i very like it! thanks.
I like it!

old

DRoNe
User Off Offline

awesome !, this script make the airstrike lively.
I like it!
To the start Previous 1 2 3 Next To the start