Back to Index Page generated: May 8, 2024, 6:16:03 AM

Expansion Griff Asteroids

Content

Manifest

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

Documentation

Also read http://wiki.alioth.net/index.php/Griff%20Asteroids

Equipment

This expansion declares no equipment.

Ships

Name
griff_asteroid_1
griff_asteroid_10
griff_asteroid_11
griff_asteroid_12
griff_asteroid_13
griff_asteroid_14
griff_asteroid_15
griff_asteroid_2
griff_asteroid_3
griff_asteroid_4
griff_asteroid_5
griff_asteroid_6
griff_asteroid_7
griff_asteroid_8
griff_asteroid_9
griff_boulder_1
griff_boulder_2
griff_boulder_3
griff_boulder_4
griff_boulder_5
griff_boulder_6
griff_boulder_7
griff_boulder_8
griff_boulder_9
Fragment
griff_rock_chunk_2
griff_rock_chunk_3
griff_rock_chunk_4
griff_rock_chunk_5
griff_rock_chunk_6
griff_splinter_1
griff_splinter_2
griff_splinter_3
griff_splinter_4
griff_splinter_5
griff_splinter_6
griff_splinter_7

Models

This expansion declares no models.

Scripts

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
	}