View previous topic :: View next topic |
Author |
Message |
spacepirate AssPants
Joined: 25 Jan 2005 Location: que pasa
|
Posted: Tue Jun 07, 2005 4:47 pm Post subject: MAPINFO help |
|
|
When you add ligthing in MAPINFO you get ligthing ok, but how do you add the sound for the ligthing? I was seacrhing on ZDoom wiki but it wasn't there, maybe someone can help me?
Last edited by spacepirate on Tue Jun 07, 2005 6:34 pm; edited 1 time in total |
|
Back to top |
|
|
Ant P On a Rampage!
Joined: 21 May 2005 Location: IOM, UK
|
|
Back to top |
|
|
spacepirate AssPants
Joined: 25 Jan 2005 Location: que pasa
|
Posted: Tue Jun 07, 2005 5:58 pm Post subject: |
|
|
Okey thanks, but I still don't know how to put sound when there is ligthing... |
|
Back to top |
|
|
Ant P On a Rampage!
Joined: 21 May 2005 Location: IOM, UK
|
|
Back to top |
|
|
EarthQuake Wicked Sick!
Joined: 02 Apr 2004 Location: Athens, Ohio. Dieblieber gonna getcha!
|
Posted: Tue Jun 07, 2005 6:14 pm Post subject: |
|
|
But does that even work in ZDaemon? |
|
Back to top |
|
|
spacepirate AssPants
Joined: 25 Jan 2005 Location: que pasa
|
Posted: Tue Jun 07, 2005 6:18 pm Post subject: |
|
|
Ok thanks... but it didn't work. Please can someone help me It is possible because I saw it in crim-b5. |
|
Back to top |
|
|
EarthQuake Wicked Sick!
Joined: 02 Apr 2004 Location: Athens, Ohio. Dieblieber gonna getcha!
|
Posted: Tue Jun 07, 2005 7:14 pm Post subject: |
|
|
Then why don't you look there?
Look in the MAPINFO and the SCRIPTS lump, if its there.
I don't think the LIGHTNING script type is supported by zdoom 1.23b, so they probably used some other method... |
|
Back to top |
|
|
spacepirate AssPants
Joined: 25 Jan 2005 Location: que pasa
|
Posted: Tue Jun 07, 2005 7:36 pm Post subject: |
|
|
Yeah I checked the lumps and MAPINFO, but no any sign of A sound. But there was in mapinfo ligthing. But I already knew that, and in the lumps there were some colour scripts. I also saw something in SNDINFO but I also tried that. Didn't work Thanks by the way. |
|
Back to top |
|
|
Twiztid Who wants a body massage?
Joined: 21 Feb 2003 Location: your closet
|
Posted: Wed Jun 08, 2005 12:29 am Post subject: |
|
|
This needsto be put in the SNDINFO lump.
Code: | lightnin lightnin
$AMBIENT 1 lightnin RANDOM 20.0 50.0 1.0
Thunder Thunder
$AMBIENT 2 Thunder RANDOM 90.0 50.0 8.0 | Insert sounds either called "lightnin" or "thunder" and it should work. You don't need any scripts to get it to work, atleast I didn't. |
|
Back to top |
|
|
spacepirate AssPants
Joined: 25 Jan 2005 Location: que pasa
|
Posted: Wed Jun 08, 2005 6:20 pm Post subject: |
|
|
Well thanks, but.... still doesn't work. Maybe I'm doing something wrong. |
|
Back to top |
|
|
Da_maniaC Now with new lemon fresh scent!
Joined: 03 Jan 2004 Location: Netherlands Posts: 1337
|
Posted: Wed Jun 08, 2005 8:00 pm Post subject: |
|
|
Maybe you dont know the basics about mapping let alone scripting... |
|
Back to top |
|
|
spacepirate AssPants
Joined: 25 Jan 2005 Location: que pasa
|
Posted: Wed Jun 08, 2005 8:25 pm Post subject: |
|
|
That's right. I do not know how to script true. And I do not know how to map, wtf you crazy? This is not a forum for mmm argue with me, pm me then. Help me |
|
Back to top |
|
|
Da_maniaC Now with new lemon fresh scent!
Joined: 03 Jan 2004 Location: Netherlands Posts: 1337
|
Posted: Wed Jun 08, 2005 8:35 pm Post subject: |
|
|
Im not arguing, you left it open for suggestion.
A mapper that knows his stuff pulls a wad open and looks at how something is done and learns from it as easily as he learns from a book.
On the other hand, you need other ppl here to spit the script out for you, all they haven't done yet is compile it into your wad...
Thats not something i call learning how to map.
My advice: Learn some decent mapping basics as well as Wad handling.
Its something i tell every mapper that thinks theyre ready to start using Scripts or whatever. But in the end all their maps and wads turn out to be a sloppy mess. You need a decent foundation to advance to the top.
I've told you plenty of times you need to seriously study some tutorials, but you dont listen.
Now here you are, not even knowing how to fix some invalid sector references or make your own MAPINFO lump and instead you are asking for Scripts. |
|
Back to top |
|
|
spacepirate AssPants
Joined: 25 Jan 2005 Location: que pasa
|
Posted: Thu Jun 09, 2005 9:58 am Post subject: |
|
|
Yeah true. I just need to study the tutorials. Thanks. |
|
Back to top |
|
|
Wasted Youth Unstoppable!
Joined: 18 Oct 2003 Location: Illinois, USA
|
Posted: Fri Jun 10, 2005 2:44 am Post subject: |
|
|
Forget the MAPINFO lump lightning.
Try this:
Name your sound THUNDER.
Insert the thunder sound in your WAD.
Create a SNDINFO lump in your WAD.
Put this script in it:
Now in Doom Builder, use this script:
Code: | script 1 OPEN {
int randval = random(160,255);
light_changetovalue(1,randval);
delay(random(5,10));
light_changetovalue(1,144);
Ambientsound("Thunder",random(160,255));
delay(35*random(10,15));
restart;
} |
With this script, every sector with the tag "1" will have lightning.
To change the sector number in the script, replace the "X" in the folowing code line that is in the code above.
Code: | light_changevalue(X,randval);
light_changevalue(X,144); |
|
|
Back to top |
|
|
spacepirate AssPants
Joined: 25 Jan 2005 Location: que pasa
|
Posted: Fri Jun 10, 2005 10:25 am Post subject: |
|
|
Well thanks it worked. BUT now I don't know but my wad had crashed. All the levels are gone |
|
Back to top |
|
|
|