Random Hits OXP

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

Moderators: winston, another_commander

User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Random Hits OXP

Post by spara »

I think I nailed it. It was a very rare error that happens when an NPC scoops the target pod. And while I was out there, I sorted a couple of description errors I had introduced earlier :oops: . Version 1.9.4 is up.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Random Hits OXP

Post by cim »

The manifest.plist inside the Random Hits OXP doesn't mention the dependency on the RH Resources file, while the manifest in the index does. So once the OXP is installed, the game will try to run it (with lots of log errors) if the RH Resources pack isn't there.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Random Hits OXP

Post by spara »

cim wrote:
The manifest.plist inside the Random Hits OXP doesn't mention the dependency on the RH Resources file, while the manifest in the index does. So once the OXP is installed, the game will try to run it (with lots of log errors) if the RH Resources pack isn't there.
Oh my. That's just me being lazy :oops: . Thanks for the heads-up. Manifest fixed in 1.9.5.
User avatar
Bangbangduck
Deadly
Deadly
Posts: 169
Joined: Tue Apr 29, 2014 5:57 pm
Location: My God it's full of stars

Re: Random Hits OXP

Post by Bangbangduck »

Me again.

Got this description error. Still running Trunk latest.

Image

BBD Trained to Knacker!
Do not press this button [O].....Oh Bugger!
Cobra MKIII Grendal's Dam
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Random Hits OXP

Post by spara »

Thanks BBD for the report. It looks like you have found a very rare error. At least I have identified one rare case that makes that happen. I've upped a new version with the fix.

Keep reporting, much appreciated :D .
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Random Hits OXP

Post by Lone_Wolf »

Spara, several png loading errors in random hits resources oxz version 1.9 using libpng 1.6 .

see https://bb.oolite.space/viewtopic.php?f=9&t=14832 , first post for how to correct them.

Code: Select all

01:41:43.109 [texture.load.png.warning]: ----- A PNG loading warning occurred for /home/panoramix/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.random_hits_resources.oxz/Textures/griff_spacebar_dockingbay.png: iCCP: known incorrect sRGB profile.
01:41:43.226 [texture.load.png.warning]: ----- A PNG loading warning occurred for /home/panoramix/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.random_hits_resources.oxz/Textures/a_h_neonsign_with_shader.png: iCCP: known incorrect sRGB profile.
01:41:43.252 [texture.load.png.warning]: ----- A PNG loading warning occurred for /home/panoramix/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.random_hits_resources.oxz/Textures/griff_spacebar_turret.png: iCCP: known incorrect sRGB profile.
01:41:43.255 [texture.load.png.warning]: ----- A PNG loading warning occurred for /home/panoramix/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.random_hits_resources.oxz/Textures/griff_spacebar_turret_effects.png: iCCP: known incorrect sRGB profile.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Random Hits OXP

Post by spara »

Lone_Wolf wrote:
Spara, several png loading errors in random hits resources oxz version 1.9 using libpng 1.6 .

see https://bb.oolite.space/viewtopic.php?f=9&t=14832 , first post for how to correct them.
Thanks for reporting. I did the conversion as advised in the thread and uploaded version 1.9.1 to the manager. Hope it fixed the issue.
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Random Hits OXP

Post by Lone_Wolf »

the 4 errors i reported are gone, but there new errors now :

Code: Select all

18:34:55.112 [texture.load.png.warning]: ----- A PNG loading warning occurred for /home/panoramix/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.random_hits_resources.oxz/Textures/rh_radar_inside.png: sRGB: gamma value does not match sRGB.
18:34:55.112 [texture.load.png.warning]: ----- A PNG loading warning occurred for /home/panoramix/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.random_hits_resources.oxz/Textures/rh_radar_outside.png: sRGB: gamma value does not match sRGB.
I haven't seen this error before, tested running convert on the textures my system again on the 1.9.1 RH resources file, and it gives same warnings.

When i ran convert on the textures folder of 1.9 RH resources, there were no warnings from convert , nor from Oolite after conversion.

Did you see warnings when you ran the convert command on RH resources 1.9 ?
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Random Hits OXP

Post by spara »

Lone_Wolf wrote:
I haven't seen this error before, tested running convert on the textures my system again on the 1.9.1 RH resources file, and it gives same warnings.

When i ran convert on the textures folder of 1.9 RH resources, there were no warnings from convert , nor from Oolite after conversion.

Did you see warnings when you ran the convert command on RH resources 1.9 ?
No idea how these got in. And yes, these show up in my log too. I did the conversion again and this time I got no errors. Didn't do anything differently. Uploaded a new version (1.9.2) and truly hope it works.
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Random Hits OXP

Post by Lone_Wolf »

No png errors anymore with RH resources 1.9.2 , thanks for the quick help.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Random Hits OXP

Post by Lone_Wolf »

Some errors, full latest.log at bottom .

Code: Select all

00:10:25.516 [files.notFound]: ----- WARNING: Could not find texture file "blackcobraskin.png".
there is a rh_blackcobraskin.png in oolite.oxp.spara.random_hits_resources.oxz/textures .

Also a shader error :

Code: Select all

  00:10:25.498 [shader.compile.failure]: ***** ERROR: GLSL vertex shader compilation failed for rh_c4shaderv.vertex:
>>>>> GLSL log:
0:0(9): preprocessor error: Redefinition of macro OO_TANGENT_ATTR



00:10:25.498 [shader.load.failed]: ***** ERROR: Could not build shader rh_c4shaderv.vertex/rh_c4shaderf.fragment.



Code: Select all

Opening log for Oolite version 1.80 (x86-64 test release) under Linux 3.16.3-1-ARCH at 2014-10-05 23:25:28 +0200.
8 processors detected.
Build options: OpenAL, new planets, JavaScript console support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

23:25:28.158 [dataCache.rebuild.pathsChanged]: Cache is stale (search paths have changed). Rebuilding from scratch.
23:25:28.406 [display.mode.list.native]: X11 native resolution detected: 1920 x 1200
23:25:28.526 [joystick.init]: Number of joysticks detected: 1
23:25:28.569 [rendering.opengl.version]: OpenGL renderer version: 3.0.0 ("3.0 Mesa 10.4.0-devel (git-ca824e6)"). Vendor: "X.Org". Renderer: "Gallium 0.4 on AMD RV770".
23:25:28.570 [rendering.opengl.extensions]: OpenGL extensions (197):
GL_ARB_ES2_compatibility, GL_ARB_shading_language_420pack, GL_ARB_ES3_compatibility, GL_ANGLE_texture_compression_dxt3, GL_EXT_packed_float, GL_EXT_texture_object, GL_EXT_blend_func_separate, GL_EXT_abgr, GL_ARB_provoking_vertex, GL_ARB_clear_buffer_object, GL_ARB_color_buffer_float, GL_APPLE_vertex_array_object, GL_AMD_draw_buffers_blend, GL_EXT_secondary_color, GL_OES_EGL_image, GL_ARB_fragment_program, GL_EXT_copy_texture, GL_ARB_blend_func_extended, GL_ARB_shading_language_packing, GL_ARB_half_float_vertex, GL_EXT_bgra, GL_ARB_seamless_cube_map, GL_ARB_fragment_program_shadow, GL_ARB_shader_stencil_export, GL_AMD_shader_trinary_minmax, GL_APPLE_packed_pixels, GL_NV_texture_env_combine4, GL_EXT_vertex_array_bgra, GL_EXT_blend_equation_separate, GL_ARB_conservative_depth, GL_EXT_shader_integer_mix, GL_EXT_vertex_array, GL_ARB_draw_buffers, GL_ARB_depth_texture, GL_S3_s3tc, GL_EXT_shadow_funcs, GL_IBM_rasterpos_clip, GL_EXT_separate_specular_color, GL_EXT_texture_compression_latc, GL_EXT_texture_env_dot3, GL_ARB_transform_feedback_instanced, GL_ARB_pixel_buffer_object, GL_ARB_half_float_pixel, GL_EXT_gpu_program_parameters, GL_EXT_texture, GL_ARB_sync, GL_EXT_blend_subtract, GL_ATI_draw_buffers, GL_ARB_texture_env_combine, GL_ARB_transform_feedback2, GL_ARB_map_buffer_alignment, GL_EXT_texture_compression_dxt1, GL_NV_primitive_restart, GL_ARB_robustness, GL_EXT_subtexture, GL_EXT_multi_draw_arrays, GL_ARB_multitexture, GL_ARB_copy_buffer, GL_MESA_window_pos, GL_EXT_fog_coord, GL_ARB_vertex_buffer_object, GL_ARB_texture_cube_map, GL_ARB_map_buffer_range, GL_EXT_framebuffer_blit, GL_ANGLE_texture_compression_dxt5, GL_ARB_occlusion_query2, GL_EXT_texture_filter_anisotropic, GL_ARB_explicit_attrib_location, GL_NV_fog_distance, GL_ARB_texture_env_add, GL_EXT_provoking_vertex, GL_AMD_conservative_depth, GL_EXT_draw_instanced, GL_EXT_draw_buffers2, GL_ARB_fragment_shader, GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_vertex_type_10f_11f_11f_rev, GL_EXT_texture_snorm, GL_ARB_depth_buffer_float, GL_ARB_texture_compression, GL_ARB_texture_storage, GL_EXT_texture_rectangle, GL_ARB_timer_query, GL_ARB_transpose_matrix, GL_ARB_texture_env_crossbar, GL_ARB_transform_feedback3, GL_ARB_draw_instanced, GL_ARB_texture_mirrored_repeat, GL_NV_packed_depth_stencil, GL_ARB_internalformat_query, GL_MESA_texture_signed_rgba, GL_SGIS_texture_lod, GL_SGIS_generate_mipmap, GL_NV_texture_rectangle, GL_NV_conditional_render, GL_ARB_texture_rgb10_a2ui, GL_ARB_draw_elements_base_vertex, GL_ARB_texture_env_dot3, GL_EXT_compiled_vertex_array, GL_EXT_texture_array, GL_ARB_texture_storage_multisample, GL_ARB_uniform_buffer_object, GL_EXT_texture_swizzle, GL_ARB_texture_swizzle, GL_ARB_multi_bind, GL_EXT_texture_mirror_clamp, GL_SGIS_texture_edge_clamp, GL_ARB_framebuffer_object, GL_ARB_invalidate_subdata, GL_EXT_transform_feedback, GL_EXT_texture_shared_exponent, GL_EXT_blend_color, GL_ARB_texture_multisample, GL_ARB_shadow, GL_EXT_texture_cube_map, GL_ARB_vertex_type_2_10_10_10_rev, GL_IBM_multimode_draw_arrays, GL_ARB_sampler_objects, GL_ATI_texture_env_combine3, GL_ARB_get_program_binary, GL_EXT_texture_sRGB, GL_ARB_vertex_shader, GL_EXT_point_parameters, GL_ARB_shader_objects, GL_ARB_debug_output, GL_ATI_texture_compression_3dc, GL_ARB_fragment_coord_conventions, GL_ARB_stencil_texturing, GL_ARB_vertex_array_bgra, GL_EXT_texture_compression_s3tc, GL_EXT_texture_sRGB_decode, GL_KHR_debug, GL_EXT_texture_compression_rgtc, GL_EXT_framebuffer_multisample, GL_INGR_blend_func_separate, GL_ARB_texture_barrier, GL_ARB_instanced_arrays, GL_AMD_shader_stencil_export, GL_EXT_pixel_buffer_object, GL_ATI_blend_equation_separate, GL_ARB_base_instance, GL_OES_read_format, GL_EXT_stencil_two_side, GL_EXT_polygon_offset, GL_EXT_framebuffer_multisample_blit_scaled, GL_NV_light_max_exponent, GL_EXT_texture_env_combine, GL_EXT_timer_query, GL_ARB_depth_clamp, GL_NV_texture_barrier, GL_EXT_packed_depth_stencil, GL_EXT_framebuffer_sRGB, GL_EXT_texture_edge_clamp, GL_NV_texgen_reflection, GL_ARB_vertex_array_object, GL_IBM_texture_mirrored_repeat, GL_ATI_texture_mirror_once, GL_ARB_compressed_texture_pixel_storage, GL_SGIS_texture_border_clamp, GL_ARB_separate_shader_objects, GL_ARB_texture_non_power_of_two, GL_ATI_texture_float, GL_ARB_texture_compression_rgtc, GL_SUN_multi_draw_arrays, GL_EXT_texture_env_add, GL_ARB_multisample, GL_ARB_vertex_attrib_binding, GL_ARB_point_parameters, GL_EXT_packed_pixels, GL_ARB_texture_rectangle, GL_NV_depth_clamp, GL_EXT_texture3D, GL_ARB_vertex_program, GL_ARB_shading_language_100, GL_ARB_buffer_storage, GL_NV_blend_square, GL_EXT_blend_minmax, GL_ARB_explicit_uniform_location, GL_EXT_texture_lod_bias, GL_EXT_framebuffer_object, GL_ARB_draw_buffers_blend, GL_EXT_draw_range_elements, GL_ARB_texture_rg, GL_ATI_separate_stencil, GL_ARB_shader_bit_encoding, GL_ARB_point_sprite, GL_MESA_pack_invert, GL_ARB_texture_float, GL_ARB_occlusion_query, GL_ARB_framebuffer_sRGB, GL_EXT_rescale_normal, GL_ARB_window_pos, GL_EXT_stencil_wrap, GL_ARB_shader_texture_lod, GL_ARB_texture_border_clamp, GL_ARB_texture_query_levels, GL_EXT_texture_integer
23:25:28.617 [rendering.opengl.shader.support]: Shaders are supported.
23:25:28.730 [dataCache.rebuild.pathsChanged]: Cache is stale (search paths have changed). Rebuilding from scratch.
23:25:28.731 [searchPaths.dumpAll]: Unrestricted mode - resource paths:
    /usr/share/oolite/Resources
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns
    ~/.Oolite/AddOns
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.random_hits_resources.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.random_hits.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Svengali.OXPConfig.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.sb-faves.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Svengali.CCL.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Thargoid.Planetfall.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Thargoid.TAP.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.smivs.Delightful Docking.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Ramirez.FuelTank.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.CommonSenseOTB.ShieldEqualizer+Capacitors.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Svengali.Snoopers.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Norby.ReverseControl.oxz
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Svengali.BGS.oxz
    ~/.Oolite/AddOns/MilHUD-v4.0.1.oxp
    ~/.Oolite/AddOns/Naval Grid 1.00.oxp
    ~/.Oolite/AddOns/randomshipnames1.4.oxp
    ~/.Oolite/AddOns/Feudal States 1.16.2.oxp
    ~/.Oolite/AddOns/missile_spoof 1.02.oxp
    ~/.Oolite/AddOns/ShieldCycler Next 1.10.2.oxp
    ~/.Oolite/AddOns/Tiger2.oxp
    ~/.Oolite/AddOns/Repair Bots 2.10.oxp
    ~/.Oolite/AddOns/Sensible Sun.oxp
23:25:28.964 [shipData.load.begin]: Loading ship data.
23:25:28.996 [gnustep]: 2014-10-05 23:25:28.996 oolite[30796] File NSPropertyList.m: 995. In parsePlItem Missing semicolon in dictionary at line 293 char 8230

23:25:28.997 [gnustep]: 2014-10-05 23:25:28.996 oolite[30796] File NSPropertyList.m: 995. In parsePlItem Missing semicolon in dictionary at line 461 char 13218

23:25:29.650 [script.javascript.init]: JavaScript reset successful.
23:25:29.888 [texture.load.png.warning]: ----- A PNG loading warning occurred for /usr/share/oolite/Resources/Textures/trumblekit.png: iCCP: profile 'ICC Profile': 'RGB ': RGB color space not permitted on grayscale PNG.
23:25:30.309 [startup.complete]: ========== Loading complete in 2.07 seconds. ==========
23:25:34.983 [script.javascript.init]: JavaScript reset successful.
23:25:35.152 [script.load.world.listAll]: Loaded 50 world scripts:
    BGS-M 1.10.4
    BGS-XMapping 1.10
    Cabal_Common_Briefing 1.7
    Cabal_Common_Comms 1.7
    Cabal_Common_Functions 1.7
    Cabal_Common_Keyboard 1.7
    Cabal_Common_MissionHandling 1.7
    Cabal_Common_Music 1.7
    Cabal_Common_Overlay 1.7
    Cabal_Common_OXPStrength 1.7.1
    Cabal_Common_SpecialMarkets 1.7
    feudal-challenge.js 9.0
    feudal-mission.js 9.0
    feudal-planetfall.js 3.0
    feudal-promotion.js 6.0
    feudal-ranks.js 5.0
    feudal-tournament.js 10.0
    genericHUDswitch - MilHUD.js 1.05, modified by Wyvern for MilHUD
    Missile Spoof 1.02 - for Oolite 1.75
    oolite-cloaking-device 1.80
    oolite-constrictor-hunt 1.80
    oolite-contracts-cargo 1.80
    oolite-contracts-helpers 1.80
    oolite-contracts-parcels 1.80
    oolite-contracts-passengers 1.80
    oolite-libPriorityAI 1.80
    oolite-nova 1.80
    oolite-populator 1.80
    oolite-primable-equipment-register 1.80
    oolite-registership 1.80
    oolite-thargoid-plans 1.80
    oolite-trumbles 1.80
    oolite-tutorial 1.80
    OXPConfig 2.3.1
    PlanetFall 1.51
    Random_Hits 1.9.6
    randomshipnames 1.4
    Repair system 2.10
    reversecontrol 1.3
    sbf_clipperschedule 1.0.1
    SC check requirements 1.10.2
    SC check savegame compatiblity 1.10.2
    SC Core 1.10.2
    SC savegame conversion 1.10.2
    SC shipscript events 1.10.2
    SC worldscript events 1.10.2
    Shield Cycler 1.10.2
    shieldequalizercapacitors 1.3
    snoopers 2.5
    targetAutolock 1.11
23:25:35.205 [Shield Cycler]:  - savegame missionvars loaded
23:31:50.981 [oolite-random-hits-hopper]: The miningHopper: GalMine Hopper: IB9-A75 was killed by [Ship "GalMine AutoMiner" position: (45599, 14025.6, 514563) scanClass: CLASS_ROCK status: STATUS_DEAD] because of scrape damage
23:50:21.714 [Random_Hits]: (Hatred : 17. Events Timer : 1. Dockings : 1. Events Number : 0. Special Mission Timer : 1. Revenge Status : NO. Time to Strike : NOT_NOW. Revenge Jumps Made : 0. Special Mission : WAITING. Master Timer : 1. Dice Roll : 88)
00:07:30.296 [oolite-random-hits-mark]: Mark was killed by: [PlayerShip "Tiger Mark II" position: (16344.1, -8734.74, 110968) scanClass: CLASS_PLAYER status: STATUS_IN_FLIGHT] Because of: energy damage. Last recorded hit: PLAYER_ATTACK
  00:10:25.498 [shader.compile.failure]: ***** ERROR: GLSL vertex shader compilation failed for rh_c4shaderv.vertex:
>>>>> GLSL log:
0:0(9): preprocessor error: Redefinition of macro OO_TANGENT_ATTR



00:10:25.498 [shader.load.failed]: ***** ERROR: Could not build shader rh_c4shaderv.vertex/rh_c4shaderf.fragment.
00:10:25.516 [files.notFound]: ----- WARNING: Could not find texture file "blackcobraskin.png".
00:28:17.678 [exit.context]: Exiting: Exit Game selected on options screen.
00:28:17.716 [gameController.exitApp]: .GNUstepDefaults synchronized.

Closing log at 2014-10-06 00:28:17 +0200.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Random Hits OXP

Post by spara »

Seems to have some problem with the vertex shader file than texture. Might even be system/driver specific as I have not seen that before. Not my area of expertise, but after comparing Griff's shader and KW's shader I have a vague guess where the problem might be. Could you please test this change and report back.

The file to tinker is rh_c4shaderv.vertex.

Original has these lines in the beginning of the file:

Code: Select all

#define OO_TANGENT_ATTR 1  // <---- Define OO_TANGENT_ATTR to 1 so that Oolite gives correct tangent data to shader. 
#ifdef OO_TANGENT_ATTR 
attribute vec3      tangent; 
#else 
const vec3         tangent = vec3(1.0, 0.0, 0.0); 
#endif
Replace with this:

Code: Select all

attribute vec3      tangent;
Also close to the end of the file is this:

Code: Select all

// gl_TexCoord used for the decal function in the fragment
   gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0; 
Looks like a leftover as the fragment file has no reference to the gl_TexCoord. This can probably be safely removed.
ralph_hh
---- E L I T E ----
---- E L I T E ----
Posts: 297
Joined: Tue Nov 11, 2014 12:42 pm
Location: Germany

Re: Random Hits OXP

Post by ralph_hh »

spara wrote:
To reflect some of the concerns about the challenge of the current version of Oolite and this oxp a new version (1.9.2) is uploaded to the expansion manager.

* Ambiance ships have been separated from the main OXP to their own OXP: "Random Hits Shipset". Now the main oxp will not spawn any ships outside missions or the vicinity of the spacebar. If you want some more ambiance and maybe a little extra challenge, "Random Hits Shipset" OXP defines core roles with low probabilities for RandomHits ships so that they can be encountered outside missions.
[...]
? I recently installed this OXP. I have not yet accepted a mission nor visited an anarchy planet. Yet I have encountered some new ships with special pilots, that were quite harde to kill than the usual bunch of Oolite standard ships. In fact every 3rd group of ships I jumped into was around one of the new guys... So what is this? Bug or feature? :-)

The reason I came into this thread is the following question I have: Whilst the Wiki states that a beam laser is a minimum equipment to go taking missions, what is really needed for the high class missions? Does this OXP offer any goodies for the player as well? I.e. defensive equipment? I read about one player here
who was happy to be able to carry 20 missiles on this OXPed special ship to be ready for the harder random hit missions. Do I stand any chance on my regular Cobby with the Equipment available in Stanard Oolite? (Mil Laser, Mil shields etc.)
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Random Hits OXP

Post by spara »

ralph_hh wrote:
? I recently installed this OXP. I have not yet accepted a mission nor visited an anarchy planet. Yet I have encountered some new ships with special pilots, that were quite harde to kill than the usual bunch of Oolite standard ships. In fact every 3rd group of ships I jumped into was around one of the new guys... So what is this? Bug or feature? :-)
Probably a lucky coincidence as there are no ordinary roles defined for ships in RH. Meaning they will not be spawned by the core game. Ships are spawned only around the SpaceBars and when there is a mission running.
ralph_hh wrote:
The reason I came into this thread is the following question I have: Whilst the Wiki states that a beam laser is a minimum equipment to go taking missions, what is really needed for the high class missions? Does this OXP offer any goodies for the player as well? I.e. defensive equipment? I read about one player here who was happy to be able to carry 20 missiles on this OXPed special ship to be ready for the harder random hit missions. Do I stand any chance on my regular Cobby with the Equipment available in Stanard Oolite? (Mil Laser, Mil shields etc.)
There are three levels of contracts. The first level hits are quite easy and doable with a beam laser. Level 2 and 3 are much harder and will require good equipment and skill.

Happy hunting :D .
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Re: Random Hits OXP

Post by Fatleaf »

Not sure about commentating on teh spawn of the RH ships but with the accuracy of 1.80 then things with the marks of RH are also more deadly, which for me is so much better as they are very challenging. I was finding them a tad bit easy before. But I do the harder ones in a S9 (Iron Ass) and can do them without taking a repair bill. The first thing you do is try to snipe from a distance then inject through the middle of the group and then use side lasers and rear also throwing in a burst of injector from time to time.
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
Post Reply