ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MAPINFO help

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Wad Editing
View previous topic :: View next topic  
Author Message
spacepirate
AssPants


Joined: 25 Jan 2005
Location: que pasa

PostPosted: Tue Jun 07, 2005 4:47 pm    Post subject: MAPINFO help Reply with quote

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? Confused

Last edited by spacepirate on Tue Jun 07, 2005 6:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ant P
On a Rampage!


Joined: 21 May 2005
Location: IOM, UK

PostPosted: Tue Jun 07, 2005 5:04 pm    Post subject: Reply with quote

http://www.zdoom.org/wiki/index.php?title=Script_types
Back to top
View user's profile Send private message
spacepirate
AssPants


Joined: 25 Jan 2005
Location: que pasa

PostPosted: Tue Jun 07, 2005 5:58 pm    Post subject: Reply with quote

Okey thanks, but I still don't know how to put sound when there is ligthing...
Back to top
View user's profile Send private message
Ant P
On a Rampage!


Joined: 21 May 2005
Location: IOM, UK

PostPosted: Tue Jun 07, 2005 6:03 pm    Post subject: Reply with quote

http://www.zdoom.org/wiki/index.php?title=AmbientSound

Code:
Script 703 LIGHTNING {
    int d = random(10, 50);
    sleep(d);
    AmbientSound(soundname, 1270/d);
}
Back to top
View user's profile Send private message
EarthQuake
Wicked Sick!


Joined: 02 Apr 2004
Location: Athens, Ohio. Dieblieber gonna getcha!

PostPosted: Tue Jun 07, 2005 6:14 pm    Post subject: Reply with quote

But does that even work in ZDaemon?
Back to top
View user's profile Send private message Send e-mail
spacepirate
AssPants


Joined: 25 Jan 2005
Location: que pasa

PostPosted: Tue Jun 07, 2005 6:18 pm    Post subject: Reply with quote

Ok thanks... but it didn't work. Please can someone help me Confused It is possible because I saw it in crim-b5.
Back to top
View user's profile Send private message
EarthQuake
Wicked Sick!


Joined: 02 Apr 2004
Location: Athens, Ohio. Dieblieber gonna getcha!

PostPosted: Tue Jun 07, 2005 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
spacepirate
AssPants


Joined: 25 Jan 2005
Location: que pasa

PostPosted: Tue Jun 07, 2005 7:36 pm    Post subject: Reply with quote

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 Confused Thanks by the way.
Back to top
View user's profile Send private message
Twiztid
Who wants a body massage?


Joined: 21 Feb 2003
Location: your closet

PostPosted: Wed Jun 08, 2005 12:29 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
spacepirate
AssPants


Joined: 25 Jan 2005
Location: que pasa

PostPosted: Wed Jun 08, 2005 6:20 pm    Post subject: Reply with quote

Well thanks, but.... still doesn't work. Maybe I'm doing something wrong.
Back to top
View user's profile Send private message
Da_maniaC
Now with new lemon fresh scent!


Joined: 03 Jan 2004
Location: Netherlands Posts: 1337

PostPosted: Wed Jun 08, 2005 8:00 pm    Post subject: Reply with quote

Maybe you dont know the basics about mapping let alone scripting...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spacepirate
AssPants


Joined: 25 Jan 2005
Location: que pasa

PostPosted: Wed Jun 08, 2005 8:25 pm    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Send private message
Da_maniaC
Now with new lemon fresh scent!


Joined: 03 Jan 2004
Location: Netherlands Posts: 1337

PostPosted: Wed Jun 08, 2005 8:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
spacepirate
AssPants


Joined: 25 Jan 2005
Location: que pasa

PostPosted: Thu Jun 09, 2005 9:58 am    Post subject: Reply with quote

Yeah true. I just need to study the tutorials. Thanks.
Back to top
View user's profile Send private message
Wasted Youth
Unstoppable!


Joined: 18 Oct 2003
Location: Illinois, USA

PostPosted: Fri Jun 10, 2005 2:44 am    Post subject: Reply with quote

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:
Code:
thunder      thunder


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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
spacepirate
AssPants


Joined: 25 Jan 2005
Location: que pasa

PostPosted: Fri Jun 10, 2005 10:25 am    Post subject: Reply with quote

Well thanks it worked. BUT now I don't know but my wad had crashed. All the levels are gone Crying or Very sad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Wad Editing All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group