Decorative object

Status
Not open for further replies.

SeventhSentinel

In charge of way less than you might think
Administrator
Sonic Team Junior
Kart Krew™️
I'm still pretty new to objects, and even newer to 2.1's object system (obviously). If I want to make a decorative object (say, a tree from Green Hill Zone), how would I do that?
 
I'm pretty sure it has something to do with SOC's, but since the release of 2.1 I think they are not the same as they were before.
Maybe check on the wiki if its been updated?
 
Solved by RoyKirbs. You'll need a lump named LUA_GAME containing
Code:
//freeslots
freeslot(
		"SPR_EHZT",
		"MT_EHZT",
		"S_EHZT"
)

//things
mobjinfo[MT_EHZT] = {
		doomednum = 37,
		spawnstate = S_EHZT,
		flags = MF_SCENERY,
}

//states yo
states[S_EHZT] = {SPR_EHZT,0}
 
The only issue is I can't seem to get it to stay on top of FOFs. Oh well, I'm not really worried about that.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top