[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / wiki / git ] [ GET / ref / marx / booru / zine ]

/games/ - Games

Name
Options
Subject
Comment
Flag
File
Embed
Password (For file deletion.)

Join our Matrix Chat <=> IRC: #leftypol on Rizon


 No.21975

You know how some games separate interior from exterior world spaces so games run better hence why there’s random loading screens when you enter a building or some new zone?

Yeah why not just load in all that information based on the players position and not off some trigger for the purpose of keeping the player immersed in the game world? I don’t think it’s hard to implement as it would prevent instances of players being stuck on loading screens, sudden crashes or lag spikes being attributed to suddenly unloading and reloading shitloads of assets all at once in one area, issues with dynamic entities like ai or physics being reloaded upon entering a scene then list of shit wrong with the standard loading system goes on for me

 No.21976

Depends on the engine. Sometimes it would just be too much work to implement that. There are also often cases where spaces are kept separate because they aren't actually consistent. A lot of the time buildings are bigger on the inside because if they weren't it would be too difficult to move around (often because your movement speed is inappropriate indoors, or because of collision issues) or the buildings would have very large exteriors that would make it more tedious to move around outside.

You could still get around this by having the spaces be separated and putting a portal on the doors (as Valve did a lot in Portal 2), but that is a lot more effort and introduces additional problems.

Probably the smart fix for this is better character movement. Simplest thing would be to change the character behavior depending on whether they are inside vs outside or whether combat is happening, etc. A really good solution might involve a simple AI that recognizes obstacles near the character and steers them away and maybe toward interactable features. Lots of games have adopted a "cinematic" interactivity with physical spaces that characters move through. They are usually "baked-in" in the sense that they have specific preset animations and a limited number of known locations that allow the devs to debug them. However, you could definitely implement a more dynamic version of this, so that for example you have a wide open exterior with features inside of that flagged for specific types of "terrain" and then have various objects flagged for different types of reaction. Furniture and doors could trigger specific interactive behavior using the movement/behavior engine. Hazards could trigger an avoidance behavior, from a basic animation to altering the character's path etc. NPCs could trigger more careful movement weaving between them.

Some AAA games have done these kinds of things to different degrees. Assassin's Creed, Red Dead Redemption, the recent Tomb Raider reboot series… just some examples. But the point here is that you could probably design the movement system so that the characters can move through consistently sized interior spaces. It does pose a problem for action-oriented games, though.

The other really big problem with this is the camera. It's difficult to have a controllable 3rd person camera in an interior space. This isn't limited by the current tech either, because you have to find something that works between giving the player full control and making sure the camera angle works. At one extreme players are going to have a hard time indoors (unless you make the insides very spacious). At the other extreme you have the original Resident Evil situation with fixed camera angles and confusing movement controls. You could try for a middle ground where the player fully controls the camera but (like the movement) the behavior gets reined in while indoors, e.g. keeping the camera's distance to the character a lot closer. You could also add pre-determined camera angles or vantage points that the camera can slowly gravitate toward to try keeping things in view (maybe a bird's eye view camera on the ceiling). Camera work is a difficult design challenge, more than character movement, and you are basically dealing with a distinct problem for each interior space you have. It's a lot simpler to just have a big open space that won't interfere with the normal camera swinging around, and at that point you might as well use normal movement rules because there's probably going to be action inside anyway.

 No.27533

>>21975
No
Depends on how the ingame world is designed. In Bethesda games interiors are separated from exterior spaces for the sake of performance while rockstar and naughty dog use camera tricks to hide assets loading between levels and environments


Unique IPs: 3

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / wiki / git ] [ GET / ref / marx / booru / zine ]