replacing scenes/maps

Users who are viewing this thread

Hey  :grin:

Is there a way to replace scenes in a mod? i have the source code for the mod im working on can i just copy/paste and replace the scenes in the folder i want to change? or is it a more complicated process than that?

Im not wanting to create a new scene, i have the ones i want just want to replace the native scenes. (instead of medieval villages im having tribal camps)
 
Hi

It's a bit more complicated, but not much. A scene also has a terrain code and an outer terrain.
So you can place the scene(.sco) file in the SceneObj.
But then you must also update the 'scenes' file with the terrain code and outer terrain.
The terrain code looks like this e.g.
scn_random_scene random_scene 1792 none none 0.000000 0.000000 240.000000 240.000000 -0.500000 0x300028000003e8fa0000034e00004b34000059be
The outer terrain is this e.g.
outer_terrain_plain
 
Adorno said:
Hi

It's a bit more complicated, but not much. A scene also has a terrain code and an outer terrain.
So you can place the scene(.sco) file in the SceneObj.
But then you must also update the 'scenes' file with the terrain code and outer terrain.
The terrain code looks like this e.g.
scn_random_scene random_scene 1792 none none 0.000000 0.000000 240.000000 240.000000 -0.500000 0x300028000003e8fa0000034e00004b34000059be
The outer terrain is this e.g.
outer_terrain_plain

thanks for your reply!

could i just replace the scene files with the one mod with the scenes? or would i have to update the file of the mod im putting them into?
 
NicoleUK said:
i have the source code for the mod im working on can i just copy/paste and replace the scenes in the folder i want to change?

scenes are more than just 3D objects like trees and houses over a terrain. It also has setup with mesh and entry points (EP) used for AI control and to connect your menu to the location.

so assuming you are taking two scenes that follow the same rules and are the same size... then yes.

if the new scene has different rules... then no, you would need to adapt either your code or the scene itself.
 
Back
Top Bottom