diff options
author | Stijn Buys <ingar@osirion.org> | 2013-09-21 18:13:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-09-21 18:13:15 +0000 |
commit | 2a3933db4da03303207e58418978857764042d89 (patch) | |
tree | f4932f6dcaf2c4c8b1ae6948e4abf3fc3edb1698 | |
parent | fd404cd9da3deea5961c910e96670312a9e0d902 (diff) |
Adds ion cannon and turret.
-rw-r--r-- | base/ini/weapons.ini | 56 | ||||
-rw-r--r-- | base/maps/projectiles/ion1.map | 12 | ||||
-rw-r--r-- | base/particles/ion1.ini | 26 |
3 files changed, 90 insertions, 4 deletions
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 @@ -207,13 +207,61 @@ level=15 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 |