Can please someone tell me what i'm doing wrong?

Discuss all aspects related to modding Zandronum here.
Post Reply
Solstar
 
Posts: 29
Joined: Tue Mar 10, 2015 11:23 am

Can please someone tell me what i'm doing wrong?

#1

Post by Solstar » Tue May 31, 2016 9:13 pm

redux from my old post where i wanted to implement more classes in samsara by just transferring the contents from other mods,and given how much.."helpful" the wiki is in this regard,i tried to do by myself,by simply mimicking the files of other classes,trying to add the "Cyclone" class from the game of the same name.

i already added the sprites and other graphic and SUPPOSEDLY put in the right place,and assigned the various txt files to point at that folder.i haven't assigned sounds and other minutia yet because...

when i start the game,the class is simply not there on the classes list on the main menu.

what did i do wrong?

i used this samsara-ex file as it has the latest additions,and i thought it would be have been good to just add mine to those

find attached the file i used to modify

https://mega.nz/#!Klgy1BwJ

User avatar
Ænima
Addicted to Zandronum
Posts: 3579
Joined: Tue Jun 05, 2012 6:12 pm

Re: Can please someone tell me what i'm doing wrong?

#2

Post by Ænima » Tue May 31, 2016 10:26 pm

Did you define the playerclass in KEYCONF?

http://zdoom.org/wiki/Creating_new_player_classes
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

User avatar
Sean
IRC Operator
Posts: 982
Joined: Thu Jan 16, 2014 9:09 pm
Location: United Kingdom
Clan: Zandronum
Clan Tag: [Za]
Contact:

Re: Can please someone tell me what i'm doing wrong?

#3

Post by Sean » Tue May 31, 2016 10:30 pm

Also, did you get permission to use class? Ask the original creator to avoid being slapped by multiple people later.
<capodecima> i dont say any more word without my loyer jenova

Solstar
 
Posts: 29
Joined: Tue Mar 10, 2015 11:23 am

Re: Can please someone tell me what i'm doing wrong?

#4

Post by Solstar » Wed Jun 01, 2016 8:31 am

Ænima wrote:Did you define the playerclass in KEYCONF?

http://zdoom.org/wiki/Creating_new_player_classes
thanks that did worked!now i have to sort out how to set the pickups.since i don't plan to put a custom status bar,i can just leave those fields as they are,right?

"Also, did you get permission to use class? Ask the original creator to avoid being slapped by multiple people later."

i am doing it as an experiment for a single player only,no balancing-related,personal use only

EDIT:i mamaged to add weapons,effect etc.,.but not sounds.and i can't understand for the life of me what i have to do.i have created the folder sounds\cyclone\ with all the sounds i need on it.but apparently i need to specify those on a sndinfo file...but which file directs\manage these sndinfo files?

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

Re: Can please someone tell me what i'm doing wrong?

#5

Post by SwordGrunt » Wed Jun 01, 2016 2:07 pm

Check the file you're copying for the SNDINFO(.txt) file, the relevant sounds are probably there.

The wiki is really helpful by the way, but it kind of goes against what you're doing (copying instead of creating) so obviously it won't teach you how to do that step-by-step.

Sounds are defined in SNDINFO by specifying their sound name followed by their filename (e.g. grunt/active dsposact, baron/sight dsbrssit)

Solstar
 
Posts: 29
Joined: Tue Mar 10, 2015 11:23 am

Re: Can please someone tell me what i'm doing wrong?

#6

Post by Solstar » Wed Jun 01, 2016 2:24 pm

problem is that the sndinfo i want to copy are just generic files without any specifications,scattered with various lines like this

Code: Select all

SND2826 SND2826
SND2827 SND2827
and that's it,no name,no character,no folder,nothing.



again i have created a folder following the same reasoning of the other character,but can't find any info on where i have to specify the paths.in the attached (other than the screenshot of said sndinfo file)file you'll see that i TRIED doing something (called sndinfo.cyc)but it won't work at all



https://mega.nz/#!nphESJjL
You do not have the required permissions to view the files attached to this post.

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

Re: Can please someone tell me what i'm doing wrong?

#7

Post by SwordGrunt » Thu Jun 02, 2016 11:47 pm

These lines are defining the name SND2826 to the sound file named SND2826, nothing else. If they're in a folder, it's the sounds folder (if using a pk3) and no path needs to be specified as that is the default place to look for sounds in a pk3.

Note that files in a pk3's head directory MUST have an extension, I'm pretty sure that SNDINFO with no extension won't be recognized (in any case, it's best to give it a unique extension like the ones at the top of your list have)

Solstar
 
Posts: 29
Joined: Tue Mar 10, 2015 11:23 am

Re: Can please someone tell me what i'm doing wrong?

#8

Post by Solstar » Fri Jun 03, 2016 11:50 am

SwordGrunt wrote:These lines are defining the name SND2826 to the sound file named SND2826, nothing else. If they're in a folder, it's the sounds folder (if using a pk3) and no path needs to be specified as that is the default place to look for sounds in a pk3.

Note that files in a pk3's head directory MUST have an extension, I'm pretty sure that SNDINFO with no extension won't be recognized (in any case, it's best to give it a unique extension like the ones at the top of your list have)
i grasped the concept,but for some reasons i still have no sound.i'm trying just with the gun (which is called CYCLONEPISTOL)and as you can see from the pic i tried every possible i can think of,still no sound.

the wav files are inside sounds\cyclone.that's it,no subfolder or anything
You do not have the required permissions to view the files attached to this post.

User avatar
Sean
IRC Operator
Posts: 982
Joined: Thu Jan 16, 2014 9:09 pm
Location: United Kingdom
Clan: Zandronum
Clan Tag: [Za]
Contact:

Re: Can please someone tell me what i'm doing wrong?

#9

Post by Sean » Fri Jun 03, 2016 1:50 pm

SwordGrunt wrote: Note that files in a pk3's head directory MUST have an extension, I'm pretty sure that SNDINFO with no extension won't be recognized (in any case, it's best to give it a unique extension like the ones at the top of your list have)
ZDoom doesn't care whether it has an extension or not, as long as it's called "SNDINFO" and is valid syntax it'll work.
<capodecima> i dont say any more word without my loyer jenova

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

Re: Can please someone tell me what i'm doing wrong?

#10

Post by SwordGrunt » Fri Jun 03, 2016 6:10 pm

Sean wrote:
SwordGrunt wrote: Note that files in a pk3's head directory MUST have an extension, I'm pretty sure that SNDINFO with no extension won't be recognized (in any case, it's best to give it a unique extension like the ones at the top of your list have)
ZDoom doesn't care whether it has an extension or not, as long as it's called "SNDINFO" and is valid syntax it'll work.
Ah I see, I knew SNDINFO could have any extension but I thought maybe it wasn't being recognized for having no extension in the PK3's main folder. Then that's not the issue here.

You should doublecheck the sounds being played to make sure they're the ones defined.

Solstar
 
Posts: 29
Joined: Tue Mar 10, 2015 11:23 am

Re: Can please someone tell me what i'm doing wrong?

#11

Post by Solstar » Mon Jun 06, 2016 1:38 pm

SwordGrunt wrote:
Sean wrote:
SwordGrunt wrote: Note that files in a pk3's head directory MUST have an extension, I'm pretty sure that SNDINFO with no extension won't be recognized (in any case, it's best to give it a unique extension like the ones at the top of your list have)
ZDoom doesn't care whether it has an extension or not, as long as it's called "SNDINFO" and is valid syntax it'll work.
Ah I see, I knew SNDINFO could have any extension but I thought maybe it wasn't being recognized for having no extension in the PK3's main folder. Then that's not the issue here.

You should doublecheck the sounds being played to make sure they're the ones defined.
the sounds in slade works fine,i can hear them no problem.if that's was what you were asking

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

Re: Can please someone tell me what i'm doing wrong?

#12

Post by SwordGrunt » Mon Jun 06, 2016 2:50 pm

Solstar wrote:
SwordGrunt wrote:
Sean wrote:
SwordGrunt wrote: Note that files in a pk3's head directory MUST have an extension, I'm pretty sure that SNDINFO with no extension won't be recognized (in any case, it's best to give it a unique extension like the ones at the top of your list have)
ZDoom doesn't care whether it has an extension or not, as long as it's called "SNDINFO" and is valid syntax it'll work.
Ah I see, I knew SNDINFO could have any extension but I thought maybe it wasn't being recognized for having no extension in the PK3's main folder. Then that's not the issue here.

You should doublecheck the sounds being played to make sure they're the ones defined.
the sounds in slade works fine,i can hear them no problem.if that's was what you were asking
No I meant check the filenames so that they match the ones defined in SNDINFO. If they do, and you are using the names defined for these sounds, there's no reason why they wouldn't play.

Solstar
 
Posts: 29
Joined: Tue Mar 10, 2015 11:23 am

Re: Can please someone tell me what i'm doing wrong?

#13

Post by Solstar » Sat Jun 11, 2016 1:49 pm

SwordGrunt wrote:
Solstar wrote:
SwordGrunt wrote:
Sean wrote:
ZDoom doesn't care whether it has an extension or not, as long as it's called "SNDINFO" and is valid syntax it'll work.
Ah I see, I knew SNDINFO could have any extension but I thought maybe it wasn't being recognized for having no extension in the PK3's main folder. Then that's not the issue here.

You should doublecheck the sounds being played to make sure they're the ones defined.
the sounds in slade works fine,i can hear them no problem.if that's was what you were asking
No I meant check the filenames so that they match the ones defined in SNDINFO. If they do, and you are using the names defined for these sounds, there's no reason why they wouldn't play.

this is the folder,and the name etc.and you can see they match to what i wrote in my sndinfo..so i really can't get it why they are not played
You do not have the required permissions to view the files attached to this post.

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

Re: Can please someone tell me what i'm doing wrong?

#14

Post by SwordGrunt » Sun Jun 12, 2016 2:32 am

I dunno, it should be working. Try using only the first of the three lines that define the same sound, and remove the .wav from the sound lump name (cyclonepistol snd2826)

Solstar
 
Posts: 29
Joined: Tue Mar 10, 2015 11:23 am

Re: Can please someone tell me what i'm doing wrong?

#15

Post by Solstar » Wed Jun 15, 2016 8:13 pm

SwordGrunt wrote:I dunno, it should be working. Try using only the first of the three lines that define the same sound, and remove the .wav from the sound lump name (cyclonepistol snd2826)
ok i did as you said and left only this on the sndinfo file i created

// cyclone
cyclonepistol snd2826


and when i run it ,i have this error instead:

Invalid data encountered for texture samsara_ex-ha1.pk3:sprites/cyclone/weapons/cyclonepistol/snd2826

what does the "sprites" folder has to do with it?

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

Re: Can please someone tell me what i'm doing wrong?

#16

Post by SwordGrunt » Thu Jun 16, 2016 2:52 pm

Sprites folder is for sprites, if you put a sound it won't be recognized because the engine assumes ANYTHING in those folders is a sprite. So move it to the sounds folder appropriately.

Post Reply