Griff's normalmapped ship remakes

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

Moderators: another_commander, winston

User avatar
Amah
---- E L I T E ----
---- E L I T E ----
Posts: 485
Joined: Tue Aug 28, 2012 8:05 pm
Location: aboard the Laenina Crowne - Yasen-N class space freighter
Contact:

Re: Griff's normalmapped ship remakes

Post by Amah »

*whistles* I never had a smuggling compartement on my Rigel IV, Officer. AIways been an honest trader, I swear. And this Ophidian was one of the nicest crates I ever flew :-)
Amah

User avatar
CaptSolo
---- E L I T E ----
---- E L I T E ----
Posts: 891
Joined: Wed Feb 23, 2011 10:08 pm
Location: Hermit's Pipe
Contact:

Re: Griff's normalmapped ship remakes

Post by CaptSolo »

Hognose on final approach. Any frequent flyers interested in confirming my fix please respond with a PM.
Image

User avatar
CaptSolo
---- E L I T E ----
---- E L I T E ----
Posts: 891
Joined: Wed Feb 23, 2011 10:08 pm
Location: Hermit's Pipe
Contact:

Re: Griff's normalmapped ship remakes

Post by CaptSolo »

After a thorough examination of the AI code of the four Hognose variants, I discovered the following:
1) When they are launched from a station, the Happy Eye Preacher and Church of Giles Missionary broadcast no messages and eventually turn about and head back to the station. Unfortunately, their max flight speed causes congestion in the docking queue. These two do their preaching only if encountered by the player along the route to the planet.
2) The Witchspace Lobster Worshiper and Zenarchy Monk variants behave the same when launched except they do interact with the player in the aegis, but not if spawned somewhere along the space lane.

I have re-coded the AI's for all four such that when launched, all four do their thing, head away from the station and hyperspace out. Those that are spawned along the route to the planet will head for the planet and will interact with the player if encountered.

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13805
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Griff's normalmapped ship remakes

Post by Cody »

'Auummmm!'

User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2298
Joined: Fri Jul 14, 2006 12:29 pm
Location: Wales

Re: Griff's normalmapped ship remakes

Post by Griff »

Massive thanks to CaptSolo for fixing the 'hognose' OXZ, a new version with the fixes has gone up on the oxz manager! :D

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13805
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Griff's normalmapped ship remakes

Post by Cody »

'Auummmm!'

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13805
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Griff's normalmapped ship remakes

Post by Cody »

'Auummmm!' What would I need to add to the Hogster to give it a chance to follow through the player's wormhole?

User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2558
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Griff's normalmapped ship remakes

Post by Norby »

Cody wrote:give it a chance to follow through the player's wormhole?
Check enterPlayerWormhole in [wiki]OXP howto AI[/wiki].

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13805
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Griff's normalmapped ship remakes

Post by Cody »

<scratches head>

User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2558
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Griff's normalmapped ship remakes

Post by Norby »

I think to insert the following line into all files in AIs subfolder, into all blocks (GLOBAL, FLEE, etc.):

Code: Select all

"PLAYER WITCHSPACE" = ("enterPlayerWormhole");

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13805
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Griff's normalmapped ship remakes

Post by Cody »

Ahh... enlightenment! Auummmm! Thanks, Norby!

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13805
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Griff's normalmapped ship remakes

Post by Cody »

That works nicely - had one follow me through two jumps. I figure Holy Joes would get around by hitching free rides.

User avatar
Keeper
---- E L I T E ----
---- E L I T E ----
Posts: 270
Joined: Fri Feb 01, 2013 7:44 am
Location: Indian Hills, Nevada, USA

Re: Griff's normalmapped ship remakes

Post by Keeper »

I noticed that the current version (1.04.4) of the Griff Sidewinder on the OXZ Manager is calling the wrong textures for the Sidewinder Escort model (in fact, correct textures for that model do not exist in the OXZ). It's using the same textures as the standard Sidewinder, but those don't quite match up in places (cockpit and engine especially).

I just made an updated shipdata.plist and proper textures for it, complete with random colour map, lights map, effects map, normal map and specular map.

I just zipped up my own updated version of the OXZ (I did not change the version number in the manifest; that's up to Griff who I expect might want to tweak my colour or specular maps at the very least before making an official update). It is here: http://www.keeper1st.com/Oolite/GriffSidewinderFix.zip

User avatar
Keeper
---- E L I T E ----
---- E L I T E ----
Posts: 270
Joined: Fri Feb 01, 2013 7:44 am
Location: Indian Hills, Nevada, USA

Re: Griff's normalmapped ship remakes

Post by Keeper »

Weird. Playing this afternoon I spotted one of these Sidewinders and it was glowing. Somehow the Alpha channel didn't get saved on my last tweak to the effects map. I've re-uploaded the fix ZIP with that problem corrected.

User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2298
Joined: Fri Jul 14, 2006 12:29 pm
Location: Wales

Re: Griff's normalmapped ship remakes

Post by Griff »

I've just uploaded a small shader related update to the station bundle, bringing it up to v1.3

"v1.3 - Some small .fragment shader changes (added atmospheric fogging and a new lighting model as seen in the default Oolite shader). Re-exported the models to .dat format using the newest python converter script. Merged most subentities into one model"

I';m not sure if my box.net account really works anymore, seems to not let the download files option work without being logged in, but i can put a small .zip of the changed files up there (basically just the shaders, the model dats and a shipdata.plist ) if anyone would like to merge them into their already downloaded version of the oxz, saves them re-downloading the 99MB odd of unchanged textures

Post Reply