Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssNuclear Bomb (nuke)

Category:script
Author(s):The_God_of_War
Downloads:1352
Rate:You need to be logged in to vote
Rating:4.3 (6 Votes)
Description:
Enables players to spawn "nuclear" bombs.

Following commands are used:
/nuke seconds_before_explosion

->Self Explanatory

/nuke ground

->Calculates time taken to fall to ground automatically. Useful while airborne and dropping bomb on targets on the ground.

So these are the configurable settings as of now: (Go to meta.xml and change appropriate value)

1)"noOfExplosions" The number of explosions or magnitude of the bomb. Ideally, should be greater than 100. If 0 or lesser, is taken as 1. (if less than 50, where's the FUN!!1?) !PERFORMANCE WARNING!

2)"secondsBeforeCleanUp" Time after explosion nuke will be removed, event marked complete. if 0 or lesser, will be taken as 5. Ideally, higher the value of noOfExplosions, higher this should be, although not necessarily in direct proportion

3)"waitingMinutesBeforeAnotherNuke" The number of MINUTES a player has to wait before spawning another nuke, 0 or lesser to disable (regardless of multipleNukesAllowed)

4)"costOfNuke" The cost of the nuke

5)"sizeOfBombModel" The VISUAL size of the bomb model. does NOT affect explosion in any way. If 0 or lesser, will be taken as 1

6)"multipleNukesAllowed" If enabled many players can spawn nukes at the same time !PERFORMANCE WARNING!

7)"maxDetonationTime" The maximum time before detonation after spawning. Depending on multipleNukesAllowed, this may be an important setting. Too high means players may have to wait long times due to possible abuse by someone. 0 to disable

8)"minDetonationTime" The minimum time before detonation after spawning. If 0 or lesser, will be taken as 1. Ideally, it should be 1 second.

9)"markerEnabled" If Enabled creates marker on nuke location until explosion, 1 to enable. other values will be considered disabled. will be disabled if multipleNukesAllowed is true

10)"clearRadius" clears all vehicles in the radius of the nuke. set to 0 to disable. MAX: 30 RECOMMENDED

11)"onlyAircraft" if true, only players driving aircraft will be able to spawn nukes

Download latest version | Report

Version history

Version Publish Date Changes
1.0.4 2018-04-29 11:13:40 Permission changes. You're free to do with this mod anything you wish to, including monetization and redistribution. No credit required.

I won't be updating this anymore.
Download
1.0.3 2017-05-17 18:58:56 1)Major bug fix related to timer restricting players from spamming nukes

2)Bug fix relating to radius of explosion

3)Added new option: onlyAircraft : if Enabled only people driving aircraft will be able to nuke

4)Huge improvement in garbage collection.

5)Source code is out!
Download
1.0.2 2017-05-10 21:26:22 Added new features:
1)Option to show marker to show nuke location
2)Option to destroy vehicles in a radius
Fixed bugs:
1)Nuke getting stuck in the air - Fixed
2)Nuke not exploding - Fixed (give it some time ~3-4 seconds)
Download
1.0.1 2017-05-10 15:54:15 Version 1.0.1 release changes:
1)Better clean-up, preventing lag
2)Added more configurable settings:
2.a)minDetonationTime
2.b)maxDetonationTime
3)Fixed several other bugs, including in which clean-up process stopped nukes from exploding
4)Removed welcome message! /nukeauthor will print it now.
5)Added several checks and defaults to ensure smooth experience.

Right now, this is as smooth as it can get, I believe.
Download
1.0.0 2017-05-09 22:57:09 First public release Download