Back to Index Page generated: Nov 12, 2024, 11:02:04 PM

Expansion Noshader chunky exploding asteroids

Content

Manifest

from Expansion Manager's OXP list from Expansion Manifest
Description This bundle adds an explosion effect to all asteroids. Depends on Noshader Griff's accessories. This bundle adds an explosion effect to all asteroids. Depends on Noshader Griff's accessories.
Identifier oolite.oxp.amah.noshaders_accessories_chunky_explosions oolite.oxp.amah.noshaders_accessories_chunky_explosions
Title Noshader chunky exploding asteroids Noshader chunky exploding asteroids
Category Retextures Retextures
Author Michael -Amah- Doering Michael -Amah- Doering
Version 1.0 1.0
Tags asteroids, accessories asteroids, accessories
Required Oolite Version
Maximum Oolite Version
Required Expansions
Optional Expansions
Conflict Expansions
Information URL http://aegidian.org/bb/viewtopic.php?t=16898 n/a
Download URL https://wiki.alioth.net/img_auth.php/a/ab/Oolite.oxp.amah.noshaders_accessories_chunky_explosions.oxz n/a
License CC-BY-NC-SA 3.0 CC-BY-NC-SA 3.0
File Size n/a
Upload date 1610873407

Documentation

Also read http://wiki.alioth.net/index.php/Noshader%20chunky%20exploding%20asteroids

readme/


        

readme/Changelog.txt

2014.0.noshader		converted the original Griff_normalmapped Cargpods2014 for a noshadered ooniverse.
			edited shipyard.plist and shipdata.plist  (mld)
2014.1.noshader		fixed bug which prevented loading of a boulder diffuse texture (mld)
2014.2.noshader		added manifest plist to make Oolite v1.81+ happy
2014.3.noshader		fixed debris_rols bug reported by Spara for Griff's asteroids

readme/readme.txt

noshaders_Asteroids2014 Chunky explosions

generally breaks up asteroids into some small debris fragments when destroying an asteroids. Makes shooting asteroids a bit nicer.

* needs noshaders_Asteroid2014.x 


Thanks to Spara for the idea, after a bug report on ZygoUgo's asteroids


License:
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License version 3.0.

Michael "Amah" Doering


 

Equipment

This expansion declares no equipment.

Ships

Name
Asteroid
oolite_template_asteroid_alt

Models

This expansion declares no models.

Scripts

Path
Scripts/noshaders_remove_rock_chunks.js
this.name           = "noshader_remove_rock_chunks.js"
this.author         = "Griff"
this.licence        = "Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License"
this.description    = "removes griff rock chunks";
this.version        = "1.0"

this.shipSpawned = function () 
{
	// Put here your code for when a ship is created
		this.ship.owner
       this.ship.velocity = new Vector3D.random(50.0 + Math.random( ) * 50.0)

};

this.shipRemove = function()  // Remove the object silently
	{
	this.ship.remove()
	}
Scripts/noshaders_spawn_biggerrock_chunk.js
this.name = "noshaders_spawn_biggerrock_chunk.js"; 
this.author = "Thargoid"; 
this.copyright = "� 2008 the Oolite team."; 
this.description = "Break-up of griff asteroids"; 
this.version = "1.0"; 

this.shipSpawned = function () 
{
	// Put here your code for when a ship is created
      this.ship.velocity = new Vector3D.random(50.0 + Math.random( ) * 50.0)
};

this.shipDied = function()
	{
	if(!this.ship || (player.ship.isValid && this.ship.position.distanceTo(player.ship.position) > 20000)) return; // exit the script if the explosion happens far from the player
	this.chunk_Count = (Math.ceil(Math.random() * 1) + 63);
	this.ship.spawn("noshaders_rockchunk", this.chunk_Count); // spawn the rock chunks
	}
Scripts/noshaders_spawn_rock_chunk.js
this.name = "noshaders_spawn_rockchunk.js"; 
this.author = "Thargoid"; 
this.copyright = "� 2008 the Oolite team."; 
this.description = "Break-up of griff asteroids"; 
this.version = "1.0"; 

this.shipSpawned = function () 
{
	// Put here your code for when a ship is created
      this.ship.velocity = new Vector3D.random(50.0 + Math.random( ) * 50.0)
};

this.shipDied = function()
	{
	if(!this.ship || (player.ship.isValid && this.ship.position.distanceTo(player.ship.position) > 20000)) return; // exit the script if the explosion happens far from the player
	this.chunk_Count = (Math.ceil(Math.random() * 24) + 40);
	this.ship.spawn("noshaders_rockchunk", this.chunk_Count); // spawn the rock chunks
	}