Doom monster
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Zdoom- teleporting monsters.
 
Author
All times are GMT. The time now is 13:45. Post New Thread    Post A Reply
Unconscious
Junior Member


Posts: 112
Registered: 08-04


How can I make it so when I cross a line, monsters teleport infront of me? I know it includes teleporters, and the monsters *have to see you*, but I don't want to be able to see them....

How is this possible? can someone give me a tutorial on how to do it?

*= Not sure.

Old Post 10-17-04 12:15 #
Unconscious is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3743
Registered: 05-00


1. make a room that's not connected to the rest of the map. Sector has to have a sector number as some other sector in the map, that "heard" the player shooting (this will wake up the monsters). [edit] If you don't understand what I mean have a look at the WAD I linked below. There's a Cyberdemon in an enclosed part of the map, but when you shoot it wakes up.

2. put enemies in there. surround that sector with another sector, which ceiling height is the same as the floor height (or at least that low that the monsters can't pass below it.

3. set the inner sector's walls to the teleport special and use this to teleport them infront of the player

4. set the line the player crosses to raise the "monster sector" outer sector, so that the monsters can cross the teleport line

If you're using a Boom compatible port you can make it a bit more elegant, like this: http://paci-fist.org/~boris/exwads/teletrap.wad

Old Post 10-17-04 12:26 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 5595
Registered: 12-00


Seeing as how the question specifically mentions Zdoom, scripting them would be even more elegant, or using something like group teleport, teleport all in sector etc.

Old Post 10-17-04 15:14 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Unconscious
Junior Member


Posts: 112
Registered: 08-04


Isn't there a script of some sort so they can just appear?

Old Post 10-17-04 15:28 #
Unconscious is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3743
Registered: 05-00


I'm either blind or the "Zdoom" wasn't in the title before.

Old Post 10-17-04 16:36 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Psyrus
Member


Posts: 266
Registered: 07-02



Unconscious said:
Isn't there a script of some sort so they can just appear?
http://zdoom.doomworld.com/referenc...hing_SpawnNoFog

Old Post 10-17-04 19:40 #
Psyrus is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Unconscious
Junior Member


Posts: 112
Registered: 08-04


Cool, Can you give me a example of how you would insert the code into a wad? I'm a real noob at Zdoom scripting...

Old Post 10-18-04 06:25 #
Unconscious is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Psyrus
Member


Posts: 266
Registered: 07-02


I'm describing how to do so if you're using WadAuthor, but I have this suspicion that you're using DoomBuilder (which I haven't touched...yet), so I don't know if it's going to be much of help...



If you want to make a monster "appear" after crossing a line, you have to add a map spot, which is found under the "Special" class in Map Object Properties, to the spot on the map where you want the monster to be. You then give that map spot a tag (in this case, let's give it tag 1).

After creating the line that will trigger the map spot, open up the Map Object Properties box again (right-click object > properties) and select "Thing" for the class. Look for "Thing_Spawn" or "Thing_SpawnNoFog" in the list below and put the same tag number the map spot has in the first box. The second box will contain the thing ID. I'll say 20, which will spawn a revenant. You can get a reference file that contains all the thing ID's from somewhere, but I'm not going to bother finding out. The third box will specify the angle of the monster, which is either 0, 64, 128, or 192.

Thing_SpawnNoFog (10, 20, 0) would spawn a revenant facing east where the map thing is with no teleport haze.

Old Post 10-18-04 22:53 #
Psyrus is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Unconscious
Junior Member


Posts: 112
Registered: 08-04


Neat, Thanks... I better bookmark DoomWorld, might come in handy. ;)

Old Post 10-19-04 06:28 #
Unconscious is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Unconscious
Junior Member


Posts: 112
Registered: 08-04


hmm, Ok screw that idea.... Is there anyway to do it so you enter a room, you can't see the REVENANT, and then it teleports to like infront of you?

Old Post 10-22-04 21:38 #
Unconscious is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3743
Registered: 05-00


Yes. Do it like Lutarez described.

Old Post 10-22-04 21:40 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Unconscious
Junior Member


Posts: 112
Registered: 08-04


I meant screw that idea, because the scripts are too hard to do...

Old Post 10-22-04 21:44 #
Unconscious is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3743
Registered: 05-00


Did you actually read what Lutarez wrote? You don't need any scripts for a simple thing like that: http://paci-fist.org/~boris/exwads/telemonster.wad

Old Post 10-23-04 00:19 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Psyrus
Member


Posts: 266
Registered: 07-02



Unconscious said:
I meant screw that idea, because the scripts are too hard to do...

It's all found under the object properties. You don't need to make a script to perform such an action.

Old Post 10-23-04 02:55 #
Psyrus is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Unconscious
Junior Member


Posts: 112
Registered: 08-04


Bah, Alright... I'll have a look to see if ADE or WadAHolics can do it for me... I seem to be working on this project on my own.

Old Post 10-23-04 09:55 #
Unconscious is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3743
Registered: 05-00



Unconscious said:
Bah, Alright... I'll have a look to see if ADE or WadAHolics can do it for me... I seem to be working on this project on my own.

Did you look at the WAD I posted? It's easy as pie.

Old Post 10-23-04 10:14 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Unconscious
Junior Member


Posts: 112
Registered: 08-04


Yeah, I know... I tried that... But it just destroyed most of my walls and sectors... Fucking DeepSea.

Old Post 10-23-04 11:28 #
Unconscious is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3743
Registered: 05-00


I rather think it's an user error ;)

Old Post 10-23-04 12:54 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
impClaw
Member


Posts: 333
Registered: 10-04


You can use a script to spawn the monsters
like this:

1. Create a mapspot where you want the thing
to spawn and give it a new Thing ID number.

2. Open your script editor and type

script <a new script number> (void)
{
Thing_Spawn (<thing id of mapspot>, <type# of thing to spawn>, <angle that it will look in>);
}

3. On the line that you will walk over, enter the fillowing:

Line Special: 80
Argument1: <the script number>
Argument2: <The map number>

4. now test your new monsterspawner, you can add more mapspots and more lines in the script

Old Post 10-26-04 11:18 #
impClaw is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3743
Registered: 05-00


Creating a script for such a "one liner" is rather stupid, since you can set one action to the activating line. Of course that doesn't work with all specials.

Old Post 10-26-04 17:00 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
impClaw
Member


Posts: 333
Registered: 10-04


Maybe... But if you want to spawn more than one...

Old Post 10-26-04 19:24 #
impClaw is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
XXoXX
Junior Member


Posts: 188
Registered: 08-04


My little bro can do that teleporting monster thing. (in his currently unfinished and probably will never be finished project)

Old Post 11-02-04 03:57 #
XXoXX is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 13:45. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Zdoom- teleporting monsters.

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory