Oolite Bulletins

For information and discussion about Oolite.
It is currently Tue May 23, 2017 8:37 pm

All times are UTC




Post new topic  Reply to topic  [ 225 posts ]  Go to page Previous 111 12 13 14 15
Author Message
PostPosted: Tue Jan 24, 2017 4:23 pm 
Offline
Dangerous
Dangerous

Joined: Mon May 25, 2015 5:23 pm
Posts: 65
Location: Russia
Updated packs of prev. post: Executive SpaceWays, Saleza Aeronautics

- Rebalanced shld value and added the galaxy numbers to condition rules.
- Fix error of the ship name: rigal -> rigel. Thanks Stranger!


Top
   
PostPosted: Tue Jan 24, 2017 7:54 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon May 20, 2013 9:53 pm
Posts: 2263
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Thank you Rustem, both packs are updated in the manager. :)

_________________
OXPs by Norby


Top
   
PostPosted: Wed Jan 25, 2017 7:52 am 
Offline
Above Average
Above Average
User avatar

Joined: Mon Feb 01, 2016 7:03 am
Posts: 26
Location: Sagittarius Arm
So I've tried flying around in a Kirin lately and noticed that the front laser doesn't show while in front view. I haven't tried with any of the other lasers yet. For those of you more experienced with the ship than me, is this something that can be fixed by adjusting the view_position_forward or is it a weapon_position_forward problem? The Kirin is a big ship so there may not be a way around it but I'd like get it visible borking up it's compatibility with other oxps.

_________________
Oo: Rebooting
E:D: Hunting for Earth-likes


Top
   
PostPosted: Wed Jan 25, 2017 6:08 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon May 20, 2013 9:53 pm
Posts: 2263
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Try this:
Code:
<key>view_position_aft</key>
<string>0.0 5.0 -158.8</string>
<key>view_position_forward</key>
<string>0.0 5.0 145.8</string>
You exactly looked through the laser beam due to the positions was the same (in the aft view also). Here I changed the second numbers from 0.0 to 5.0.

_________________
OXPs by Norby


Top
   
PostPosted: Fri Mar 31, 2017 12:47 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Jun 20, 2013 10:22 pm
Posts: 1054
Fed up with poor visibility when using the rear view of your cobra?

Wish those exhausts weren't quite so obtrusive?



A tweak that is almost isn't worth posting here (it's essentially on the wiki) but for the fact that it can make such a difference to player experience.
If, like me, you are a little tired of rear views being consistently obstructed by your ship's exhausts then here's a simple tweak to make them a little more transparent.

Open up shipdata.plist (oolite\oolite.app\resources\config) and find:
Code:
"oolite_template_cobra3-player" =
	{
		like_ship = "oolite_template_cobra3";
		is_template = 1;
		forward_weapon_type = "WEAPON_PULSE_LASER";
		roles = "player";
	};
Now change it to:
Code:
"oolite_template_cobra3-player" =
	{
		like_ship = "oolite_template_cobra3";
		is_template = 1;
		exhaust_emissive_color = "0.5 0.5 1 0.5";
		forward_weapon_type = "WEAPON_PULSE_LASER";
		roles = "player";
	};
The last of the four numbers in the added line tweaks the transparency of the exhaust and so can be adjusted to taste.

Of course this can be done for any player ship (core or oxp) and can also be applied to non player ships too if one so desires.

I'll post some pics to highlight the difference when I have some more time...

_________________
"With our thoughts, we make the world" :-)


Top
   
PostPosted: Fri Mar 31, 2017 9:56 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Mar 03, 2015 11:35 am
Posts: 416
Location: Paris
Quote:
Fed up with poor visibility when using the rear view of your cobra?

Wish those exhausts weren't quite so obtrusive?

[...]
Omg I love this tweak!


Top
   
PostPosted: Fri Mar 31, 2017 3:34 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Jun 20, 2013 10:22 pm
Posts: 1054
Quote:
Omg I love this tweak!
:D Thanks Day.

For anyone who hasn't tried it, I've posted some screenshots here.

The effect is adjustable of course and (in case anyone doesn't know) the four numbers represent RGBA or Red, Green, Blue, Alpha (transparency).
So while you're at it you can tweak them to try different colours if you so wish.

EDIT: After a little experimentation,
Code:
exhaust_emissive_color = "0.75 0.75 1 0.5";
will give something of very similar transparency but a little closer colour-wise to the default exhaust.

_________________
"With our thoughts, we make the world" :-)


Top
   
PostPosted: Sun Apr 09, 2017 5:47 pm 
Offline
Poor
Poor
User avatar

Joined: Fri Mar 31, 2017 5:36 pm
Posts: 5
Location: Russia
Hi, gens!
Sorry if my request is not appropriate to the topic.
I'm trying to modify D.T.T. War Lance for fun and profit (my own puproses :D ). The vessele will have improved parameters. I don't want to buy such brilliant :lol: vessle by low price at any planet. It looks like cheating IMHO. I saw variables which calculates ship apperance on a shipyard. Certainly I saw them among OoWikiPages or on the forum. But I can't memorize neither where I saw them nor their names :( . Approximately names are TechLevelApperanceOnShipYard GovermentSystemApperanceOnShipYard.
Would you please tell me varialbes names or (it will be best) provide a link of the page of requested variables.

I'm really don't want to trouble you of my vague question, but I don't a place aroud the world where I can ask it.

Kindest regards,
ComJaBo

P.S. Sorry for my terrible English.


Top
   
PostPosted: Sun Apr 09, 2017 6:02 pm 
Online
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 12520
Location: Corke's Drift
Is this the [EliteWiki] Wiki page you're looking for?

_________________
A squid eating dough in a polyethylene bag is fast and bulbous! Got me?


Top
   
PostPosted: Tue Apr 11, 2017 5:48 am 
Offline
Poor
Poor
User avatar

Joined: Fri Mar 31, 2017 5:36 pm
Posts: 5
Location: Russia
Quote:
Is this the [EliteWiki] Wiki page you're looking for?
Thank you very much!
Techlevel section of the page desribes only minimum tech level of a system for the ship to be on sale.

Bingo! I found (randomly as previous time :lol:) requested property has_shipyard . Unfortunately, property determines if a station or carrier has a shipyard.

Do I understand clearly that a ship apperance at the shipyard can be determained using only techlevel variable?
Do I understand clearly that a ship apperance at the shipyard can not be detemined using Government AND Economy AND Technology Level variables at any way? - Yes|No. If No, I'm very interested how :).

Best regards,
ComJaBo


Top
   
PostPosted: Tue Apr 11, 2017 7:56 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Jun 20, 2013 10:22 pm
Posts: 1054
Quote:
Do I understand clearly that a ship apperance at the shipyard can be determained using only techlevel variable?
Do I understand clearly that a ship apperance at the shipyard can not be detemined using Government AND Economy AND Technology Level variables at any way? - Yes|No. If No, I'm very interested how .
No :)

Tech level is a minimum requirement for the ship to appear but not the only factor.
'Chance' is the probability of the ship appearing under suitable conditions, with 1.0 (I think) meaning that it will always appear for sale.

If you want to use government and economy etc then you will likely need a condition script.
I don't have time now but (unless someone beats me to it) I can post an example script for you later.

_________________
"With our thoughts, we make the world" :-)


Top
   
PostPosted: Tue Apr 11, 2017 7:07 pm 
Offline
Poor
Poor
User avatar

Joined: Fri Mar 31, 2017 5:36 pm
Posts: 5
Location: Russia
Quote:
I don't have time now but (unless someone beats me to it) I can post an example script for you later.
Thank you very much!

Best regards,
ComJaBo


Top
   
PostPosted: Wed Apr 12, 2017 6:19 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6176
Location: Aboard the Pitviper S.E. "Blackwidow"
Quote:
I'm trying to modify D.T.T. War Lance for fun and profit
As head janitor and acting CEO for D.T.T. Ship Builders Inc, I'd like to compliment you on your excellent taste in starships..

Have fun tweaking it!

_________________
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied


Top
   
PostPosted: Wed Apr 12, 2017 4:20 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Jun 20, 2013 10:22 pm
Posts: 1054
Quote:
Quote:
I don't have time now but (unless someone beats me to it) I can post an example script for you later.
Thank you very much!

Best regards,
ComJaBo
No time to test this at present but it should work (fingers crossed)...

This line is needed in the relevant section of the shipyard.plist
Code:
"condition_script" = "my_conditions.js";
Then add a .js file in the scripts folder of the oxp (if not present just add the folder) with the title “my_conditions.js” (or whatever you named the one above) and the following contents:
Code:
this.allowOfferShip = function(shipKey) {
	if (shipKey == "ship_in_question-player") {	// must match name of ship
		if (system.government > x) {	// x = 0-7 (anarchy to corporate)
			return true; // right government 
		} else {
			return false; // wrong govermnent
		}
	}
	return true; // not the ship in question…
}
Please note that you will need to edit the x to suit your taste (although you can use "<" or "=" instead of ">" if you prefer) and of course the name of the ship :wink:

If you'd rather economy be a deciding factor then simply change "system.government" to "system.economy" (0-7 = rich industrial to poor agricultural).

Any problems, just ask.

_________________
"With our thoughts, we make the world" :-)


Top
   
PostPosted: Fri Apr 14, 2017 5:45 pm 
Offline
Poor
Poor
User avatar

Joined: Fri Mar 31, 2017 5:36 pm
Posts: 5
Location: Russia
Hi, gens!
Thank you for your kind words and support! I'll try to implement provided code.

Best regards,
ComJaBo


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 225 posts ]  Go to page Previous 111 12 13 14 15

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited