Is there a way to change the 3D model of an object dynamically?

Your forum for all discussions around Modding.
Frag
Posts: 173
Joined: Wed Sep 18, 2019 4:01 pm

Is there a way to change the 3D model of an object dynamically?

Post by Frag »

Hi guys,

lets say that I do have a decoration that is a "tent". Would there be a way to have two models of that tent ( a red and a blue) and at noon, randomly set a new model. Briefly, does the model of an object can be changed dynamically with an event?

Example: Let say that at noon, every day, I would roll a random.

0: I would use the red tent
1: I would use the blue tent

What event or API code I should look at to do this? I can do research is fine, but I am not sure where to start from.

A hint would be appreciated.

Thanks
User avatar
Dogface
Posts: 1090
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: Is there a way to change the 3D model of an object dynamically?

Post by Dogface »

I doubt you could do something randomly every day. But, you could look at "Visibility Conditions" in GE Attributes tab, for changing the model at noon.
sablerock
Posts: 111
Joined: Sat Dec 10, 2022 1:58 pm

Re: Is there a way to change the 3D model of an object dynamically?

Post by sablerock »

Sounds more like texture change. Possibly with LUA
Post Reply