From 2a3933db4da03303207e58418978857764042d89 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 21 Sep 2013 18:13:15 +0000 Subject: Adds ion cannon and turret. --- base/ini/weapons.ini | 56 +++++++++++++++++++++++++++++++++++++++--- base/maps/projectiles/ion1.map | 12 +++++++++ base/particles/ion1.ini | 26 ++++++++++++++++++++ 3 files changed, 90 insertions(+), 4 deletions(-) create mode 100644 base/maps/projectiles/ion1.map create mode 100644 base/particles/ion1.ini (limited to 'base') diff --git a/base/ini/weapons.ini b/base/ini/weapons.ini index d52620c..2c35c3f 100644 --- a/base/ini/weapons.ini +++ b/base/ini/weapons.ini @@ -206,14 +206,62 @@ level=15 ; sound to play if the projectile is fired sound=laser +; ------------------------------------------------------------------ +; ION +; Ion-base weapons are used by the Lindblade military. + +[cannon] +label=ion1 +name=Ion cannon +price=60000 +level=15 + + [projectile] + ; speed of a projectile generated by this weapon, in meters per second + speed=1650 + ; interval between two consecutive shots, in milliseconds + interval=500 + ; range is the distance a projectile can travel before it dies, in meters + range=8500 + ; lifespan of a single projectile, in milliseconds (setting range sets lifespan) + ; lifespan=5000 + ; damage done by the projectile + damage=45 + ; projectile model + model=ion1 + ; sound to play if the projectile is fired + sound=ion + +[turret] +label=turretion1 +name=Ion turret +price=60000 +level=15 + + [projectile] + ; speed of a projectile generated by this weapon, in meters per second + speed=1650 + ; interval between two consecutive shots, in milliseconds + interval=500 + ; range is the distance a projectile can travel before it dies, in meters + range=8500 + ; lifespan of a single projectile, in milliseconds (setting range sets lifespan) + ; lifespan=5000 + ; damage done by the projectile + damage=45 + ; projectile model + model=ion1 + ; sound to play if the projectile is fired + sound=ion + ; ------------------------------------------------------------------ ; NEUTRON -; Neutron-based weapons are used by ? +; Neutron-based weapons are used by the Praetorian Guard [cannon] label=neutron1 name=Neutron cannon -price=27000 +price=125000 level=25 [projectile] @@ -235,7 +283,7 @@ level=25 [cannon] label=neutron2 name=Improved neutron cannon -price=122000 +price=175000 level=45 [projectile] @@ -257,7 +305,7 @@ level=45 [turret] label=turretneutron1 name=Neutron turret -price=27000 +price=150000 level=25 [projectile] diff --git a/base/maps/projectiles/ion1.map b/base/maps/projectiles/ion1.map new file mode 100644 index 0000000..ef7a5dd --- /dev/null +++ b/base/maps/projectiles/ion1.map @@ -0,0 +1,12 @@ + +// entity 0 +{ +"classname" "worldspawn" +} +// entity 1 +{ +"classname" "fx_particles" +"origin" "0.000000 0.000000 0.000000" +"angle" "180" +"script" "ion1" +} diff --git a/base/particles/ion1.ini b/base/particles/ion1.ini new file mode 100644 index 0000000..19667c6 --- /dev/null +++ b/base/particles/ion1.ini @@ -0,0 +1,26 @@ +; +; particles/ion1.ini +; Ion cannon particles +; + +[particles] + + [flares] + texture=fx/explosion01_04 + lifespan=500 + interval=50 + radius=4 64 4 + speed=256 + alpha=.25 0.75 .25 + color=255 255 255 + attached=true + + [flares] + texture=fx/explosion01_00 + lifespan=1000 + interval=150 + radius=16 128 16 + speed=256 + alpha=0.0 0.5 0.0 + color=255 255 255 + attached=true \ No newline at end of file -- cgit v1.2.3