| Back to Index | Page generated: Nov 24, 2025, 1:21:31 AM |
| from Expansion Manager's OXP list | from Expansion Manifest | |
|---|---|---|
| Description | Griff Asteroids Bundle. Requires a video card capable of supporting Oolite Shaders. | Griff Asteroids Bundle. Requires a video card capable of supporting Oolite Shaders. |
| Identifier | oolite.oxp.Griff.Asteroids | oolite.oxp.Griff.Asteroids |
| Title | Griff Asteroids | Griff Asteroids |
| Category | Retextures | Retextures |
| Author | Griff | Griff |
| Version | 1.01 | 1.01 |
| Tags | ||
| Required Oolite Version | ||
| Maximum Oolite Version | ||
| Required Expansions | ||
| Optional Expansions | ||
| Conflict Expansions | ||
| Information URL | http://wiki.alioth.net/index.php/Griff_Industries | n/a |
| Download URL | https://wiki.alioth.net/img_auth.php/4/44/Oolite.oxp.Griff.Asteroids.oxz | n/a |
| License | CC-BY-NC-SA 4.0 | CC-BY-NC-SA 4.0 |
| File Size | n/a | |
| Upload date | 1610873286 |
Also read http://wiki.alioth.net/index.php/Griff%20Asteroids
| Path | |
|---|---|
| Scripts/griff_remove_rock_chunks.js | "use strict";
this.name = "griff_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/griff_spawn_rock_chunk.js | "use strict";
this.name = "griff_spawn_rockchunk";
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) > 5000)) return; // exit the script if the explosion happens far from the player
this.chunk_Count = (Math.ceil(Math.random() * 10) + 4); // between 4-10 rock chunks
this.ship.spawn("griff_rockchunk", this.chunk_Count); // spawn the rock chunks
}
|