Product Chat / lighting issue on some FPS Creator Classic converted to GameGuru

Author
Message
Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 27th Feb 2019 15:35 Edited at: 27th Feb 2019 16:17


Hi ho peeps, need bit of help with a lighting issue on some converted FPS Creator Classic converted to GameGuru,

I have created a D.i.Y Building Kit for the Building Segments (Prefabs) this is for making additions to the full converted
prefabs I have already posted.

The Issue?

Weird moving daylight shadowing, as you can see from the video I have added when you enter the building and walk around
the light shifts around randomly, if you move up to the sky and down to the ground it gets bigger then returns to
flickering when you move. This is the same even with the ceiling on the building.
I have checked the Full prefabs and it does not happen on them, I have checked the FPE below
all seems fine.

;header

desc = Chat Top D_Layer Walls (Straight)

;ai
aiinit = appear.lua
aimain = default.lua
aidestroy = disappear.lua

;visualinfo
textured =
effect = effectbank\reloaded\character_basic.fx
castshadow = 1
transparency = 2

;orientation
model = chat top d_layer walls (straight).x
offx = 0
offy = 0
defaultheight = 200
offz = 0
rotx = 0
roty = 90
rotz = 0
fixnewy = 180
scale = 100
collisionmode = 1
defaultstatic = 1
materialindex = 2

;identity details
isimmobile = 1
forcesimpleobstacle = 3
notanoccluder = 0

;statistics
strength = 100
explodable = 0
debrisshape = 0

I have attached the kits with a Map to test. Hope someone knows what is going on?

Attachments

Login to view attachments
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 27th Feb 2019 17:28
effect = effectbank\reloaded\character_basic.fx
That is not the right shader for objects.
Try apbr_basic.fx instead.
RIP
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx1050ti 4gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 27th Feb 2019 18:26
@Pirate Myke, nope mike tried all the apbr and the standard ones still same .
PM
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 27th Feb 2019 18:48 Edited at: 28th Feb 2019 17:14
I've encountered this issue as well. Believe its related to occlusion. The engine is trying to hind what is not in view, however doesnt account for shadows in view. I can't recall how I bypassed this.

Try notanoccluder = 1

There are some other fairly unknown FPE commands mostly used for EBE that you could try to see if it solves your problem:

forcesimpleobstacle = #
orceobstaclepolysize = #
isebe = #

EDIT: By the way this is kind of random but I'm actually going through a similar issue with another editor, whereas the terrain that is not in view will disappear in the water reflections. So this is for sure related to optimization functionality in the editors. I'd try to play around more with the FPE and there should be a way to block out the segments from disappearing. Maybe try expanding the occular distance.
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link | Patreon - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 28th Feb 2019 13:26
@Teabone, nope again tried

notanoccluder = 1

i keep testing everything just getting nowhere
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 28th Feb 2019 14:21
Are there LOD meshes in those segments?

Wondering if it is LOD kicking in and out from a shadow point of view.

Could try notanoccludee too?

Cheers.
Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 28th Feb 2019 15:36
@cybernescence, don't think any of the classic had lod meshes but i might be wrong. I attached the
files in first post, if you can take a loo and see maybe you might figure whats going on for me.
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 28th Feb 2019 16:37
You have textures labeled in the DNSI fashion. They are not ready for PBR.
Set the shader to entity_basic.fx

The character basic is looking for bones, these static entities do not have or are not supposed to have bones.

You are mixing PNG and DDS files, choose one or the other.

When testing what you have turn the occlusion slider all the way to zero and see if that stops the shadows from flickering in and out.

RIP
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx1050ti 4gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 28th Feb 2019 17:16 Edited at: 28th Feb 2019 17:16
I also didnt notice you had effectsbank referencing to it as a character model. That could be one of the issues right there.
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link | Patreon - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 28th Feb 2019 18:25
When I had this I simply grabbed an up to date static FPE and edited it for each module.
That seemed to sort it for me.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 28th Feb 2019 21:35
@Pirate Myke. Turned occlusion slider all the way to zero and that seemed to stop the flickering, I also well as swapped
the FPE for one from static new model.

However!! the entity_basic.fx will not work on the models when in light mapping prebake mode.
had this from beginning and the only ''fx '' file that works on the models in prebake is character.fx

Any ideas how to fix?
PM
Avenging Eagle
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: UK
Posted: 28th Feb 2019 23:29
Lightmapping in general doesn't work reliably in the current beta or public preview so you should stick to realtime lighting for the time being.

AE
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 1st Mar 2019 00:04
For Lightmapping:
The fpe files will need to have the diffuse texture listed. They need to be single texture per object as Multi material objects still could disappear after light mapping. That is hit or miss depending of the mesh.

I downloaded the files from above. Give one object name that is causing issues and I will see if I can make it right. Letting you know how to fix the rest.
RIP
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx1050ti 4gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 1st Mar 2019 02:16 Edited at: 1st Mar 2019 11:01
@Pirate Myke, all the file in the download disappear when in prebake mode myke.. thanks i have tried all i know still same ...
PM
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 1st Mar 2019 22:28 Edited at: 2nd Mar 2019 05:51
Are you not defining a diffuse texture because these entities are actually made up of several textures?

Are these entities using mult-textures? I dont think the lightmapper supports that?
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link | Patreon - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 2nd Mar 2019 01:47 Edited at: 2nd Mar 2019 04:04
@ Teabone, I will give that a try, just busy making a new multi room grand chataeu with bunker basement.







PM
Ertlov
GameGuru BOTB Developer
17
Years of Service
User Offline
Joined: 18th Jan 2007
Location: Australia
Posted: 2nd Mar 2019 10:43
Can AI navigate those properly? Asking for a friend...
"I am a road map, I will lead and you will follow, I will teach and you will learn, when you leave my sprint planning you will be weapons, focused and full of JIRA tickets, Hot Rod rocket development gods of precision and strength, terrorizing across the repository and hunting for github submits."
Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 2nd Mar 2019 15:02 Edited at: 2nd Mar 2019 15:12


This is a 3rd person walk through to show it is fine for playing in game.

The Chateau is not fully finished at the moment still some fine tweaking, some walls need adjusting and floors as well as
I have to find a complete roof as there is no full roof segments in FPSC Classic, But its getting there.
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 2nd Mar 2019 16:08
There is a clipping error on the right turn I reported ages ago ..
It would be good and improve that style of play if it was sorted.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM

Login to post a reply

Server time is: 2024-11-24 01:24:34
Your offset time is: 2024-11-24 01:24:34