Files

> > CS2D > Lua Scripts > Nuke-Script (Visible nuke, with timer)
Files overviewCS2D overviewLua Scripts overview

English Nuke-Script (Visible nuke, with timer) >

7 comments15 kb, 523 Downloads

old Nuke-Script (Visible nuke, with timer)

Grulf
User Off Offline

You can use the F2 key to set a visible nuke that will beep and blink red for 10 seconds. on the eleventh second, it will flash all players with the intensity of the flash depending on their distance from the nuke and the nuke range. The ground will also shake.

Nuke damage, range, shaking power and the interval at which you can plant nukes can all be modified easily. Feel free to adapt the script to your needs in any way.

Giving credit would be appreciated.

All content belongs to me except the flare1.bmp from CS2D and the soundfile nuke_modern.wav, which I am using under the Creative Commons Attribution 3.0 Unported License. It can be found here:

http://www.freesound.org/people/HardPCM/sounds/31862/

If you find any bugs, drop me a message.
Approved by GeoB99

Download Download

15 kb, 523 Downloads

Comments

7 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

removed404
User Off Offline

Please help me! Other bots won't move anymore when i use this script!
edited 1×, last 09.11.12 05:18:21 pm

old

Grulf
User Off Offline

@Devgru101: Sure

old

DevGru
User Off Offline

OMG EPIC SCRIPT! Can I use this for my mod? This is so epic!
I like it!

old

Sniper_x
User Off Offline

Cool !!
I like it!

old

Suprise
BANNED Off Offline

Nah! Now so cool! thanks to the fix! Now work and cool!
I like it!

old

Grulf
User Off Offline

@Veteran Alex:
Sorry. I fixed it now, I think

old

Suprise
BANNED Off Offline

LUA ERROR: sys/lua/Nuke.lua:48: attempt to perform arithmetic on global 'intervall' (a nil value)

Epic fail! Doesnt work! Dont like
I like it!
To the start Previous 1 Next To the start