How to add new sprites?

M.V

Alright!
I wanted to add some new sprites to do a final boss.

But of to a lot of sprite mistake.

Code:
STATE S_MVSTAND1
SPRITENAME = F001
SPRITEFRAME = A
ACTION A_FaceTarget
DURATION = 2
NEXT = S_MVSTAND2

STATE S_MVSTAND2
SPRITENAME = F001
spriteFRAME = O
ACTION A_BunnyHop
DURATION = 1
NEXT = S_MVSTAND3
var1 = 5
var2 = 10

STATE S_MVSTAND3
SPRITENAME = F001
spriteFRAME = P
ACTION A_BunnyHop
DURATION = 4
NEXT = S_MVSTAND5
var1 = 10
var2 = 15

STATE S_MVSTAND5
SPRITENAME = F001
spriteFRAME = P
ACTION A_BunnyHop
DURATION = 1
NEXT = S_MVSTAND1
var1 = 15
var2 = 20

STATE S_MVPAIN1
SPRITENAME = F001
spriteFRAME = Q
ACTION A_pAIN
DURATION = 35
NEXT = S_MVPAIN2

STATE S_MVPAIN2
SPRITENAME = F001
spriteFRAME = Q
ACTION A_FireShot
DURATION = 3
NEXT = S_MVPAIN3
var1 = MT_CYBRAKDEMON_NAPALM_BOMB_SMALL

STATE S_MVPAIN3
SPRITENAME = F001
spriteFRAME = B
ACTION A_FireShot
DURATION = 3
NEXT = S_MVPAIN4
var1 = MT_ENERGYBALL


STATE S_MVPAIN4
SPRITENAME = F001
spriteFRAME = B
ACTION A_FireShot
DURATION = 3
NEXT = S_MVPAIN5
var1 = MT_CYBRAKDEMON_MISSILE

STATE S_MVPAIN5
SPRITENAME = F001
spriteFRAME = Q
ACTION A_TURRETFIRE
DURATION = 15
NEXT = S_MVPAIN6
var1 = MT_TURRETLASER


STATE S_MVPAIN6
SPRITENAME = F001
spriteFRAME = Q
ACTION A_TURRETstop
DURATION = 5
NEXT = S_MVSTAND1






STATE S_MVFALL1
SPRITENAME = F001
spritesubnumber = Q1
ACTION A_FALL
DURATION = 50
NEXT = S_MVFALL2

STATE S_MVFALL2
SPRITENAME = F001
spritesubnumber = Q1
ACTION A_bOSSDEATH
DURATION = 5

Is there something wrong above? The sprites of the they are there whole, but they don't appear (they are edited).

Appear:

ERROR: R_ProjectSprite: invalid sprite frame 14/0 for F001
ERROR: R_ProjectSprite: invalid sprite frame 15/0 for F001
ERROR: R_ProjectSprite: invalid sprite frame 0/0 for F001

They are like this sprites:

1178t92.jpg
 
Okay, are you sure those are what the sprites' names are? IE, the As and Qs and so-on, and if so, did you fill in all the other letters (C, D, E, etc.) leading up to it?

Also, why is said boss a black Knuckles with no shading? Like, just one SINGLE shade of black that makes his body look like a big ugly blob? If you're gonna color him black, why didn't you actually SHADE him black? Is he so pitch black that he absorbs all shading? Is that why he's the boss? Black Hole Knuckles?

W3ap0gm.png


It's seriously not that hard.
 
I think that doesn't disturb in anything.

bil7yd.png



I don't know how to do shade. I edited in Paint.
 
That's bullshit, since I sprite in paint. Person behind the program, not the other way around.



Unless it's layers or palette lines or something, which you don't need.
 
Ok, sprite critiques aside, the reason you're getting that error is because you are in fact missing frames. Your sprites go A, B, O, P, Q. You can't skip letters.

I have a feeling what you were doing was making them the same as in a character wad (i.e. P for spring fall up) but that's really not necessary here since you specify what frames are used for what in the SOC. Unless you plan to add more sprites later, you should probably just change O to C, P to D, and so on.
 
Snows guide too shading!

Shading can be a hard thing to get used too.
Hopefully this will help you.



282q8wm.jpg


As you can see, this bomb sprite lacks shading, we can easily spruce this up to have shading, but the problem is finding where to put the shading.

A way I shade, select a slightly darker version of the color you are using to shade the parts that are meant to be further away, and areas that are low.
I then select a slightly lighter color to shade the higher areas, as these parts are exposed to light.



28u1zjq.jpg


Congrats! You now have your shaded sprite, and are now ready to make the next one.

Good day

too?
spruce?
I can't...
Anyway, as mentioned before, some sprites look like they're missing.
 
May I ask why your final boss idea is a recolor of my Knuckles? Hell, even Robo Hood would make a better final boss. Like, really.
 
You don't even need a guide to shade, considering that a black Knuckles is already possible as a player color ever since 2.1. Just use those sprites. Also, JPEGS for image uploads? Really? 2014, people, why does anybody even use JPEGS anymore?
 
Last edited:
...Is nopony going to comment about the lack of FREESLOT and the fact he put Q1 as sprite frame twice?
 
Last edited:
I had this problem by porting an old SOC: To fix it, just erease the SOC and try to restart it by pasting a WORKING SOC as base, then just edit it.

It worked for me tough.
 
My sprites are in BMP.

And even me leaving the sprites of green Knuckles still happens those mistakes.

My current code is:

Code:
FREESLOT
MT_MVBOSS
S_MVSTAND1
S_MVSTAND2
S_MVSTAND3
S_MVSTAND4
S_MVSTAND5
S_MVMISSILE1
S_MVPAIN1
S_MVPAIN2
s_mvpain3
S_MVPAIN4
S_MVPAIN5
S_MVPAIN6
S_MVMEELE1
S_MVFALL2
S_MVFALL1
S_MVRAISE1
S_MVRAISE2

Object MT_MVBOSS
MAPTHINGNUM = 325
SPAWNSTATE = S_MVSTAND1
SPAWNHEALTH = 11
SEESTATE = 0
SEESOUND = 0
REACTIONTIME = 1
ATTACKSOUND = 312
PAINSTATE = S_MVPAIN1
PAINCHANCE = 0
PAINSOUND = 342
MELEESTATE = S_MVMEELE1 
MISSILESTATE = S_MVMISSILE1
DEATHSTATE = S_MVFALL1
DEATHSOUND = 0
XDEATHSTATE = S_MVFALL1
SPEED = 5
RADIUS = 1572864
HEIGHT = 2097152
MASS = 315
DAMAGE = 50 
ACTIVESOUND = 278
RAISESTATE = S_MVRAISE1
FLAGS = MF_BOSS|MF_SHOOTABLE|MF_SPECIAL|MF_RUNSPAWNFUNC 


STATE S_MVSTAND1
SPRITENAME = F001
SPRITEFRAME = A
ACTION A_FaceTarget
DURATION = 2
NEXT = S_MVSTAND2

STATE S_MVSTAND2
SPRITENAME = F001
spriteFRAME = D
ACTION A_BunnyHop
DURATION = 1
NEXT = S_MVSTAND3
var1 = 5
var2 = 10

STATE S_MVSTAND3
SPRITENAME = F001
spriteFRAME = E
ACTION A_BunnyHop
DURATION = 4
NEXT = S_MVSTAND5
var1 = 10
var2 = 15

STATE S_MVSTAND5
SPRITENAME = F001
spriteFRAME = D
ACTION A_BunnyHop
DURATION = 1
NEXT = S_MVSTAND1
var1 = 15
var2 = 20

STATE S_MVPAIN1
SPRITENAME = F001
spriteFRAME = C
ACTION A_pAIN
DURATION = 35
NEXT = S_MVPAIN2

STATE S_MVPAIN2
SPRITENAME = F001
spriteFRAME = C
ACTION A_FireShot
DURATION = 3
NEXT = S_MVPAIN3
var1 = MT_CYBRAKDEMON_NAPALM_BOMB_SMALL

STATE S_MVPAIN3
SPRITENAME = F001
spriteFRAME = B
ACTION A_FireShot
DURATION = 3
NEXT = S_MVPAIN4
var1 = MT_ENERGYBALL


STATE S_MVPAIN4
SPRITENAME = F001
spriteFRAME = C
ACTION A_FireShot
DURATION = 3
NEXT = S_MVPAIN5
var1 = MT_CYBRAKDEMON_MISSILE

STATE S_MVPAIN5
SPRITENAME = F001
spriteFRAME = C
ACTION A_TURRETFIRE
DURATION = 15
NEXT = S_MVPAIN6
var1 = MT_TURRETLASER


STATE S_MVPAIN6
SPRITENAME = F001
spriteFRAME = B
ACTION A_TURRETstop
DURATION = 5
NEXT = S_MVSTAND1






STATE S_MVFALL1
SPRITENAME = F001
spritesubnumber = Q1
ACTION A_FALL
DURATION = 50
NEXT = S_MVFALL2

STATE S_MVFALL2
SPRITENAME = F001
spritesubnumber = Q1
ACTION A_bOSSDEATH
DURATION = 5

28m3fo2.png


The current sprites are like this:

29z3es2.jpg


Nor the green sprites appear.

Nobody gave a clue how to color, they only said that was easy.
We won't dodge the issue, if I get to add I already thank.
 
Add "SPR_F001" to the FREESLOT block (actually, you can give the sprite any name as long as it's four characters long, but since you're already using "F001", you can stick with that).
 
Add "SPR_F001" to the FREESLOT block (actually, you can give the sprite any name as long as it's four characters long, but since you're already using "F001", you can stick with that).


Same increasing SPR_F001 doesn't still work.

Code:
FREESLOT
MT_MVBOSS
S_MVSTAND1
S_MVSTAND2
S_MVSTAND3
S_MVSTAND4
S_MVSTAND5
S_MVMISSILE1
S_MVPAIN1
S_MVPAIN2
s_mvpain3
S_MVPAIN4
S_MVPAIN5
S_MVPAIN6
S_MVMEELE1
S_MVFALL2
S_MVFALL1
S_MVRAISE1
S_MVRAISE2
SPR_F001

And it continues:

ERROR: R_ProjectSprite: invalid sprite frame 14/0 for F001
ERROR: R_ProjectSprite: invalid sprite frame 15/0 for F001
ERROR: R_ProjectSprite: invalid sprite frame 0/0 for F001

---------- Post added at 10:21 PM ---------- Previous post was at 10:13 PM ----------

The sprites are like this:

o6xw0x.png
 
My sprites are in BMP.

dvlgdc.png

And now we all know why.
Try again with Doom Format images and see if it works.

---------- Post added at 09:11 PM ---------- Previous post was at 09:03 PM ----------

That's bullshit, since I sprite in paint. Person behind the program, not the other way around.



Unless it's layers or palette lines or something, which you don't need.
whoa, I thought I was the only one, too.

I drew my Avatar with MS Paint

---------- Post added at 09:31 PM ---------- Previous post was at 09:11 PM ----------

Snows guide to shading!

Shading can be a hard thing to get used to.
Hopefully this will help you.



282q8wm.jpg


As you can see, this bomb sprite lacks shading, we can easily spruce this up to have shading, but the problem is finding where to put the shading.

A way I shade, select a slightly darker version of the color you are using to shade the parts that are meant to be further away, and areas that are low.
I then select a slightly lighter color to shade the higher areas, as these parts are exposed to light.



28u1zjq.jpg


Congrats! You now have your shaded sprite, and are now ready to make the next one.

Good day

This is terrible and just makes no sense. Don't follow that, Shading is much more complex.
 

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

Back
Top