RF-Stuff / Bugs-Suggestions

(unofficial) Ravenfield Bugs & Suggestions Repository
http://store.steampowered.com/app/636480/Ravenfield/
3 stars 3 forks source link

Custom models in the map editor #199

Open JeffityBob opened 3 years ago

JeffityBob commented 3 years ago

Hello!

My suggestion is a rather simple one, I'm afraid! I think it would be incredibly useful to support custom models for the map editor. For example, one could put a blender file or something similar into a folder, and this would cause it to appear in the editor under a category titled 'custom', for example.

Obviously, these wouldn't be able to be uploaded to the workshop just like this, so they would have to be packaged with the map file, however, this, speaking as a fellow programmer, shouldn't be too difficult to integrate, I believe. My initial thought was that map files could be a folder instead, but this would cause old maps to break, or there to be support for 2 different types of map - containing custom models, and not custom models.

A much cleaner, elegant solution to this would be to add a Boolean to the map file, which states if to hunt for a custom model, which would be in a folder under the same name as the map - for example "Hello World.rfld" would have custom models under a folder called "Hello World". Alternatively, you could completely remove the need for this Bool, and, instead, where the prefabs are saved in the file, it could specify it's location (under the folder).

Almost forgot to say! You'd have to generate prefabs of the models, and one could easily just add a mesh collider to it, seeing as you're in Unity!

Anyways, thanks for reading, keep up the awesome work on the game man, it's a masterpiece! If you're reading this and you like the suggestion, give it a thumbs up!

Cheers, JeffityBob