Deadpool The Hedge..
Also known as "FearsomeFang"
I've been trying over and over again to make a object that is a scenery object and doesn't do anything. But I can't just figure it out with this new system to LUA and creating a object in general. Can someone explain to me step by step and show me a good example of how to make one, so I can make more later on. What I'm trying to make is a tree object.
My Tree SOC in the maincfg looks like this:
I also tryed the LUA version
None of these work
and the sprite of the tree itself is
F001A0
Which is between the S_START and the S_END.
So it's like this
S_START
F001A0
S_END
I also don't want link's to the wiki I tryed reading most of all the wiki pages but it still doesn't help me. I also read similar topic's like this and doesn't help...
My Tree SOC in the maincfg looks like this:
FREESLOT
MT_F001
Object F001
Thing 318
MAPTHINGNUM = 4016
SPAWNSTATE = 1792
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 0
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 0
DEATHSOUND = 0
XDEATHSTATE = 0
SPEED = 0
RADIUS = 1048576
HEIGHT = 2097152
MASS = 100
DAMAGE = 0
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = MF_NOCLIP|MF_SCENERY
FRAME 1792
SPRITENUMBER = 243
SPRITESUBNUMBER = 0
DURATION = -1
NEXT = 1
ACTION None
VAR1 = 0
VAR2 = 0
MT_F001
Object F001
Thing 318
MAPTHINGNUM = 4016
SPAWNSTATE = 1792
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 0
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 0
DEATHSOUND = 0
XDEATHSTATE = 0
SPEED = 0
RADIUS = 1048576
HEIGHT = 2097152
MASS = 100
DAMAGE = 0
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = MF_NOCLIP|MF_SCENERY
FRAME 1792
SPRITENUMBER = 243
SPRITESUBNUMBER = 0
DURATION = -1
NEXT = 1
ACTION None
VAR1 = 0
VAR2 = 0
I also tryed the LUA version
//freeslots
freeslot(
"SPR_F001",
"MT_F001",
"S_F001"
)
//things
mobjinfo[MT_F001] = {
doomednum = 4016,
spawnstate = S_F001,
flags = MF_SCENERY,
}
//states yo
states[S_F001] = {SPR_F001,0}
freeslot(
"SPR_F001",
"MT_F001",
"S_F001"
)
//things
mobjinfo[MT_F001] = {
doomednum = 4016,
spawnstate = S_F001,
flags = MF_SCENERY,
}
//states yo
states[S_F001] = {SPR_F001,0}
and the sprite of the tree itself is
F001A0
Which is between the S_START and the S_END.
So it's like this
S_START
F001A0
S_END
I also don't want link's to the wiki I tryed reading most of all the wiki pages but it still doesn't help me. I also read similar topic's like this and doesn't help...
Last edited: