Skinner’s Den

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
Paradox
---- E L I T E ----
---- E L I T E ----
Posts: 607
Joined: Wed Feb 20, 2013 1:24 am
Location: Aboard the D.T.T Snake Charmer: My Xanadu
Contact:

Re: Skinner’s Den

Post by Paradox »

Working on the FS Leviathan, and now I am attempting to get a handle on the emission maps and the emission_modulate_color settings. Here is the code that I am currently using:

Code: Select all

	materials = 
		{
		"LeviathanTexture2.png" = 
			{
			emission_map = "Leviathan_emission.png";
			emission_modulate_color = (255, 0, 0, 50);
			};
		};
and the result:

Image

The problem is that I have tried the line

Code: Select all

emission_modulate_color = (255, 0, 0, 255);
With absolutely no discernible difference in the strength of the "glow" color... Am I mistaken that the 4th digit controls the alpha in this case?

The map itself is simply white on black, so the only color showing in the "swirls" should be whatever is supplied by the modulator...
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Skinner’s Den

Post by cim »

Paradox wrote:
With absolutely no discernible difference in the strength of the "glow" color... Am I mistaken that the 4th digit controls the alpha in this case?
Yes. specular_map and normal_and_parallax_map use the alpha channel for something (though not transparency in either case), but the rest of the maps ignore that value. Change the red channel value instead.
Paradox
---- E L I T E ----
---- E L I T E ----
Posts: 607
Joined: Wed Feb 20, 2013 1:24 am
Location: Aboard the D.T.T Snake Charmer: My Xanadu
Contact:

Re: Skinner’s Den

Post by Paradox »

cim wrote:
Paradox wrote:
With absolutely no discernible difference in the strength of the "glow" color... Am I mistaken that the 4th digit controls the alpha in this case?
Yes. specular_map and normal_and_parallax_map use the alpha channel for something (though not transparency in either case), but the rest of the maps ignore that value. Change the red channel value instead.
ok, thank you. };]
Paradox
---- E L I T E ----
---- E L I T E ----
Posts: 607
Joined: Wed Feb 20, 2013 1:24 am
Location: Aboard the D.T.T Snake Charmer: My Xanadu
Contact:

Re: Skinner’s Den

Post by Paradox »

Okay, having an odd issue here.. When mapping the D.T.T Manta, I made the "wings" sub-entities to make the texture mapping easier on this one... However, something isn't working when it comes to the emission maps... You can have emission maps on sub-entities right? I am pretty sure that is what I did with Heavy Metals aft laser... but in this picture...:
Image
...The blue/green designs on the wings should be glowing, and obviously are not... I have checked and double checked file names, even copying and pasting the names of the files directly. So, next thought, is a nasty wild syntax might be the cause (No errors in the log however...). Here is the code... Can anyone see a reason here that might be the cause?

Code: Select all

{
// ++++++           D.T.T. Manta               ++++++
"dttmanta" = 
	{
	aft_eject_position = "0.0 -4.0016 -17.3695";
	aft_weapon_type = "WEAPON_BEAM_LASER";
	ai_type = "pirateAI.plist";
	auto_ai = yes;
	cargo_type = "CARGO_NOT_CARGO";
	energy_recharge_rate = 4.0;
	exhaust = (
		"0.0 3.3252 -32.9378 5.0 2.0"
		);
	forward_weapon_type = "WEAPON_BEAM_LASER";
	has_ecm = .75;
	has_escape_pod = 0.75;
	has_fuel_injection = .5;
	has_scoop = YES;
	has_shield_booster = .25;
	likely_cargo = 3;
	materials = 
		{
		"MantaBodyTexture.png" = 
			{
			emission_map = "MantaBodyEmissions.png";
			shininess = 10;
			specular_color = (0.3, 0.3, 0.3, 0.5);
			};
		};
	max_cargo = 18;
	max_energy = 255;
	max_flight_pitch = 1.0;
	max_flight_roll = 2.0;
	max_flight_speed = 320;
	max_missiles = 3;
	missile_launch_position = "0.0 3.0339 16.5348";
	model = "dttmantabody.dat"; 
	name = "DTT Manta";	
	roles = "hunter pirate trader sunskim-trader";
	thrust = 32;
	scoop_position = "0.0 3.0339 16.5348";	
	smooth = yes;
	subentities = 
		(
		"manta_wings 0 0 0 1 0 0 0"
		);
	weapon_facings = "3";
	weapon_position_aft = "0.0 -2.091 -29.6228";
  	weapon_position_forward = "0.0 9.4443 20.153";
	};
	
//########################################################################	

"dttmanta_player" = 
	{
	aft_weapon_type = "WEAPON_PULSE_LASER";
	"like_ship" = "dttmanta";
	custom_views =
		(
			{
				view_description = "Scoop View";
				view_orientation = "1.0 0.0 0.0 0.0";
				view_position = "0.0 3.0339 16.5348";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Rear View";
				view_orientation = "1.0 0.0 0.0 0.0";
				view_position = "0.0 10.0 -150.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Rear Right View";
				view_orientation = "0.9239 0.0 0.3827 0.0";
				view_position = "106.06 10.0 -106.06";
				weapon_facing = "AFT";
			},
			{
				view_description = "Right View";
				view_orientation = "0.7071 0.0 0.7071 0.0";
				view_position = "150.0 10.0 0.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front Right View";
				view_orientation = "0.3827 0.0 0.9239 0.0";
				view_position = "106.06 10.0 106.06";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front View";
				view_orientation = "0.0 0.0 1.0 0.0";
				view_position = "0.0 10.0 150.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front Left View";
				view_orientation = "0.3827 0.0 -0.9239 0.0";
				view_position = "-106.06 10.0 106.06";
				weapon_facing = "AFT";
			},
			{
				view_description = "Left View";
				view_orientation = "0.7071 0.0 -0.7071 0.0";
				view_position = "-150.0 10.0 0.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Rear Left View";
				view_orientation = "0.9239 0.0 -0.3827 0.0";
				view_position = "-106.06 10.0 -106.06";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Top View";
				view_orientation = "-0.7071 0.7071 0.0 0.0";
				view_position = "0.0 165.0 0.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Bottom View";
				view_orientation = "0.0 0.0 0.7071 0.7071";
				view_position = "0.0 -165.0 0.0";
				weapon_facing = "FORWARD";
			}
		);
	forward_weapon_type = "WEAPON_PULSE_LASER";	
	roles = "player";		
	view_position_aft = "0.0 -1.3634 -27.7206    ";
	view_position_forward = "0.0 7.4283 20.7643";
	view_position_port = "-1.9831 7.4919 19.1639";
	view_position_starboard = "1.9831 7.4919 19.1639";		
	};
	
//########################################################################	

"manta_wings" =	
	{
	ai_type = "nullAI.plist";
	materials = 
		{
		"MantaWingsTexture.png.png" = 
			{
			emission_map = "MantaWingsEmissions.png";
			shininess = 10;
			specular_color = (0.3, 0.3, 0.3, 0.5);
			};
		};
	model = "dttmantawings.dat";
	roles = "dttmanta_subent";
	smooth = "yes";
	};	
}
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: Skinner’s Den

Post by Svengali »

Paradox wrote:
You can have emission maps on sub-entities right?
Yes.

You could have a play with [wiki]Cabal_Common_MaterialsFinder[/wiki]. It's a helper tool for modellers/ship creators to find the materials entries in the game.

btw: "MantaWingsTexture.png.png" should probably be "MantaWingsTexture.png"
Paradox
---- E L I T E ----
---- E L I T E ----
Posts: 607
Joined: Wed Feb 20, 2013 1:24 am
Location: Aboard the D.T.T Snake Charmer: My Xanadu
Contact:

Re: Skinner’s Den

Post by Paradox »

Svengali wrote:
btw: "MantaWingsTexture.png.png" should probably be "MantaWingsTexture.png"
SIGH!... I was so worried that it was something misspelled, that I cut and paste the files names directly into the code... And that was the mistake, since I knew those were "correct" my eyes evidently just started to skip over those lines. In other words, that completely fixed the problem Svengali! Thank you so much for the extra set of eyes! }:] My glowy things are glowing now! };]
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Skinner’s Den

Post by Smivs »

Ha, I think we've all been 'double-dot-png'd' at some time! At least you'll know to check for them from now on. :)
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2483
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: Skinner’s Den

Post by Griff »

OT: With adobe's recent decision to move its products over to subscription based licensing i've been seeing a lot of people on graphics forums posting up links to alternatives to most of the adobe products, here's one i hadn't heard of that seems to be highly regarded - it looks like it's mainly suited for linux users although there appears to be 'an experimental' windows build, i haven't tried it myself so i don't know if it's any use for Oolite oxp making
"Kitra" - http://krita.org/
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Re: Skinner’s Den

Post by Cmdr Wyvern »

Griff wrote:
OT: With adobe's recent decision to move its products over to subscription based licensing i've been seeing a lot of people on graphics forums posting up links to alternatives to most of the adobe products, here's one i hadn't heard of that seems to be highly regarded - it looks like it's mainly suited for linux users although there appears to be 'an experimental' windows build, i haven't tried it myself so i don't know if it's any use for Oolite oxp making
"Kitra" - http://krita.org/
My vote goes to GIMP. The recent version does everything PS can do - including opening psd files, minus adobe's blatant highway robbery. Plus it runs on just about every platform.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Skinner’s Den

Post by Diziet Sma »

Yup.. and for those that can't get past their PS addiction, there are ways to make GIMP look and act a lot more like PS.
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
User avatar
spud42
---- E L I T E ----
---- E L I T E ----
Posts: 1576
Joined: Wed Mar 26, 2014 10:11 am
Location: Brisbane,Australia

Re: Skinner’s Den

Post by spud42 »

Addicted? who said im addicted... i can give it up any time i want... i just dont want to is all....now go away i have another RAW file to process......
Arthur: OK. Leave this to me. I'm British. I know how to queue.
OR i could go with
Arthur Dent: I always said there was something fundamentally wrong with the universe.
or simply
42
User avatar
Amah
---- E L I T E ----
---- E L I T E ----
Posts: 486
Joined: Tue Aug 28, 2012 8:05 pm
Location: aboard the Laenina Crowne - Yasen-N class space freighter
Contact:

Re: Skinner’s Den

Post by Amah »

Happy GIMPer on Linux here. Don't miss anything, does everything I need. Even using happily the default seperate window mode here.
Amah
User avatar
Imaginos
Deadly
Deadly
Posts: 139
Joined: Tue Nov 04, 2014 2:06 pm

Re: Skinner’s Den

Post by Imaginos »

Hello Skinners. I'm new to skinning (new to Oolite in fact). Sorry for asking what will no doubt be a dumb question for many of you, but how do I get my modified skin into the game?

I have used Photoshop to alter the png file for my default ship (the Cobra MkIII)... At least I think I have - it was the "cobra3_redux.png" file that I modified and I saved this new version into the AddOns folder. What else am I missing (or am I barking up the wrong tree altogether?)?
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Skinner’s Den

Post by Norby »

Imaginos wrote:
"cobra3_redux.png" file that I modified and I saved this new version into the AddOns folder
This is the texture of the old model used until 1.77. Now you should modify the oolite_cobra3_diffuse.png and place into an AddOns/my.oxp/Textures folder if you do not want to replace it in the original place.
Last edited by Norby on Tue Nov 04, 2014 4:48 pm, edited 2 times in total.
User avatar
Imaginos
Deadly
Deadly
Posts: 139
Joined: Tue Nov 04, 2014 2:06 pm

Re: Skinner’s Den

Post by Imaginos »

Thanks Norby.
Post Reply