[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
Skyline Forums Skyline Game Engine Community Forums 2015-02-09T22:00:10+01:00 https://forum.aurasoft-skyline.co.uk/feed.php?f=15&t=841 2015-02-09T22:00:10+01:00 2015-02-09T22:00:10+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3592#p3592 <![CDATA[Re: Missing materials]]>

Statistics: Posted by StarFire — 09 Feb 2015, 22:00


]]>
2015-02-09T21:58:52+01:00 2015-02-09T21:58:52+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3591#p3591 <![CDATA[Re: Missing materials]]>

Statistics: Posted by Gtox — 09 Feb 2015, 21:58


]]>
2015-02-09T21:05:37+01:00 2015-02-09T21:05:37+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3590#p3590 <![CDATA[Re: Missing materials]]>
Assets with this issue need to currently have their sub mesh material names corrected and re-saved in order to fix them. There may be quite a few of the model assets that should be removed, from the library just another beta version task Most are just stand in assets until we can get a set of official Skyline assets from somewhere to provide with the engine.

Statistics: Posted by StarFire — 09 Feb 2015, 21:05


]]>
2015-02-09T20:15:46+01:00 2015-02-09T20:15:46+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3587#p3587 <![CDATA[Re: Missing materials]]> Statistics: Posted by Gtox — 09 Feb 2015, 20:15


]]>
2015-02-09T18:39:24+01:00 2015-02-09T18:39:24+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3585#p3585 <![CDATA[Re: Missing materials]]> Just shows to us there is no system fault.

This mesh was designed to have the material file the same as the mesh name, so all the required materials exist upon load in that 1 file. Since this mesh works out of the box, there is no need for a preset until you either:
> Use a different material on the mesh.
> Add dynamic content such as actions or scripts(Microscript or External).
> Scaled the mesh
> etc..

Although saying that, if we end up placing a lot of them in scenes, then we will create a preset and use that; because you can then make many variations all doing different things and can look different.

Note: The dragon statue has not been used often and when it has, it is a mesh that has been used for testing purposes only. :)

Statistics: Posted by SolarPortal — 09 Feb 2015, 18:39


]]>
2015-02-09T18:27:11+01:00 2015-02-09T18:27:11+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3583#p3583 <![CDATA[Re: Missing materials]]>
Just out of interest, is the Dragon model supposed to have a material? There's no Dragon preset, just the Dragon mesh and a few jpegs.

Statistics: Posted by Gtox — 09 Feb 2015, 18:27


]]>
2015-02-09T18:19:44+01:00 2015-02-09T18:19:44+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3581#p3581 <![CDATA[Re: Missing materials]]> I know I can get most of them to work with presets, and I'm not planning on using any of them in earnest in the near future, but it bugs me having all these misbehaving models :)

Statistics: Posted by Gtox — 09 Feb 2015, 18:19


]]>
2015-02-09T17:57:00+01:00 2015-02-09T17:57:00+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3578#p3578 <![CDATA[Re: Missing materials]]>
Here is a new version. Remove the old one and put this one in its place.



I also like this statue with the sstone2.material you can find it here: Asset Library/Materials/Ground n Floor
just drop it onto the model in the scene. remember if you like the model with the sstone2 material save the dragon as a preset.

Tip to get the best shadows, reduce the lights shadow distance to 20 .

Statistics: Posted by StarFire — 09 Feb 2015, 17:57


]]>
2015-02-09T17:44:07+01:00 2015-02-09T17:44:07+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3577#p3577 <![CDATA[Re: Missing materials]]>
Some model conversions can like anything digital have errors. But let us look a bit deeper.

Q - are you dragging in the dragon model from the asset manager or explorer?

Statistics: Posted by StarFire — 09 Feb 2015, 17:44


]]>
2015-02-09T17:33:57+01:00 2015-02-09T17:33:57+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3575#p3575 <![CDATA[Re: Missing materials]]> Statistics: Posted by TattieBoJangle — 09 Feb 2015, 17:33


]]>
2015-02-09T17:28:41+01:00 2015-02-09T17:28:41+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3573#p3573 <![CDATA[Re: Missing materials]]> Statistics: Posted by Gtox — 09 Feb 2015, 17:28


]]>
2015-02-09T17:16:00+01:00 2015-02-09T17:16:00+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3570#p3570 <![CDATA[Re: Missing materials]]>
When creating a generic material, that is a material such as ground material or wall material that can be applied to any basic object eg. box for a wall. This gives a fast prototyping method so levels can have mock objects and place holders.

The other material method is the mesh material( material name the same as the mesh). This is the one that is created with the model. This mesh material can be replaced with a generic material at any time so long as you don't mind all sub meshes having the generic material applied.

This bring me to our work flow. We use presets all of the time!

This gives us much more flexibility than relying on the mesh files of other import formats.
For example I created a UV'ed barrel mesh. This mesh can then have a generic barrel material say one red, another blue.
Each of these materials can be individually dropped on the barrel mesh then save each as a separate preset.

eg:
* barrel mesh with red material - save as RedBarrel .preset
* barrel mesh with blue material - save as BlueBarrel.preset

This way you have only one barrel mesh, but can have as many different barrel presets as you wish. So much faster than making many barrel meshes with separate mesh materials!

The preset ethos is behind so much of Skylines rapid workflow and saves reinventing the wheel.

Remember each barrel can then have different damage systems attached and saved back to the preset ( or different preset ).

Statistics: Posted by StarFire — 09 Feb 2015, 17:16


]]>
2015-02-09T14:00:30+01:00 2015-02-09T14:00:30+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3567#p3567 <![CDATA[Re: Missing materials]]> I think the problem you are seeing is a way our system works and got stuck with a few meshes which were a bad choice lol.

> If the material is the same name as the mesh file, it will try and load the base materials found in the .mesh file
e.g. "aRa_Barrel_01.mesh" contains a submesh requiring the material "barrel_Default", when viewed in the material editor.
When you drag the .mesh to the scene, it will look for a material file name that matches the .mesh name which usually holds the needed materials for that mesh. Which in this case it does find: "aRa_Barrel01.material".

When you open that file though, you find the material name "aRa_Barrel01", so the mesh cannot load the barrel material it wants as it does not exist in that file. The material here is a lone material that has been designed to drag on any surface.

There are 2 ways of handling materials in skyline

> Materials that are coupled with a mesh file(same name), like explained above. This single file can contain every material the mesh requires though that you set up in a modelling package.

> Materials that can be placed on any surface. These should never be the same name as the mesh file you are dragging onto. There should also never be more than 1 material inside that file though. Also the material in the file needs to match the name of the file itself in order to work properly, this is why you can drag any texture onto an object and save it off, then load it onto any surface.

When you drag "aRa_crate01.mesh" into the scene, it should come in textured (possibly big aswell). If you look for a material of the same name, you will find: "aRa_crate01.material", which is found.
When you look in the material editor for the name of the material the crate wants, you will find it looks for "Material#530", when looking in the material file, you will find that material name.
If this was like the barrel, and the material on the inside matched the name of the file, the crate would come in with a broken material.

The dragon statue for me though works, as the material file contains the correct material names associated with the sub mesh.

Hope this explanation helps a bit more. :D

Edit: We tend to drag the mesh, add a texture, save as material if there are material names not matching on meshes with singular materials. Then save a preset, which you will find all the barrels and crates work in the presets folde. If you look at the materials applied though, they are different.

Statistics: Posted by SolarPortal — 09 Feb 2015, 14:00


]]>
2015-02-09T13:29:57+01:00 2015-02-09T13:29:57+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3566#p3566 <![CDATA[Re: Missing materials]]> Statistics: Posted by Gtox — 09 Feb 2015, 13:29


]]>
2015-02-09T13:04:26+01:00 2015-02-09T13:04:26+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=841&p=3564#p3564 <![CDATA[Re: Missing materials]]>

Statistics: Posted by Gtox — 09 Feb 2015, 13:04


]]>