Page 1 of 1
Can please someone tell me what i'm doing wrong?
Posted: Tue May 31, 2016 9:13 pm
by Solstar
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
Re: Can please someone tell me what i'm doing wrong?
Posted: Tue May 31, 2016 10:26 pm
by Ænima
Re: Can please someone tell me what i'm doing wrong?
Posted: Tue May 31, 2016 10:30 pm
by Sean
Also, did you get permission to use class? Ask the original creator to avoid being slapped by multiple people later.
Re: Can please someone tell me what i'm doing wrong?
Posted: Wed Jun 01, 2016 8:31 am
by Solstar
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?
Re: Can please someone tell me what i'm doing wrong?
Posted: Wed Jun 01, 2016 2:07 pm
by SwordGrunt
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)
Re: Can please someone tell me what i'm doing wrong?
Posted: Wed Jun 01, 2016 2:24 pm
by Solstar
problem is that the sndinfo i want to copy are just generic files without any specifications,scattered with various lines like this
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
Re: Can please someone tell me what i'm doing wrong?
Posted: Thu Jun 02, 2016 11:47 pm
by SwordGrunt
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)
Re: Can please someone tell me what i'm doing wrong?
Posted: Fri Jun 03, 2016 11:50 am
by Solstar
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
Re: Can please someone tell me what i'm doing wrong?
Posted: Fri Jun 03, 2016 1:50 pm
by Sean
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.
Re: Can please someone tell me what i'm doing wrong?
Posted: Fri Jun 03, 2016 6:10 pm
by SwordGrunt
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.
Re: Can please someone tell me what i'm doing wrong?
Posted: Mon Jun 06, 2016 1:38 pm
by Solstar
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
Re: Can please someone tell me what i'm doing wrong?
Posted: Mon Jun 06, 2016 2:50 pm
by SwordGrunt
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.
Re: Can please someone tell me what i'm doing wrong?
Posted: Sat Jun 11, 2016 1:49 pm
by Solstar
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
Re: Can please someone tell me what i'm doing wrong?
Posted: Sun Jun 12, 2016 2:32 am
by SwordGrunt
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)
Re: Can please someone tell me what i'm doing wrong?
Posted: Wed Jun 15, 2016 8:13 pm
by Solstar
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?
Re: Can please someone tell me what i'm doing wrong?
Posted: Thu Jun 16, 2016 2:52 pm
by SwordGrunt
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.