Severed bunny head
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 > Instant attack!
 
Author
All times are GMT. The time now is 14:07. Post New Thread    Post A Reply
m0pt0pmatt
Warming Up


Posts: 20
Registered: 10-09


if I spawn a monster on a map spot, how do i get it to instantly attack me, even if they cant see me.

Old Post 01-17-10 05:48 #
m0pt0pmatt is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
m0pt0pmatt
Warming Up


Posts: 20
Registered: 10-09


i think i've fidured it our. noisealert() will make my monsters attack the players if I can asign a TID to the players. how do i do that?

Old Post 01-17-10 07:42 #
m0pt0pmatt is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Icytux
Junior Member


Posts: 111
Registered: 06-09


Script 100 Enter
{
Thing_ChangeTID(0,"insert the tid you want here");
}

Old Post 01-17-10 12:23 #
Icytux is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
m0pt0pmatt
Warming Up


Posts: 20
Registered: 10-09


ok, thats works for zdoom, but it wont work on zdaemon, which is kinda the point of my wad. does anyone know if noisealert isn't in zdaemon? or is it have to do with difference in the player? or does that enter thing not exist in zdaemon?

Old Post 02-05-10 01:02 #
m0pt0pmatt is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Mr. Chris
The term is "prehensile"


Posts: 3519
Registered: 07-02


Are you making a single player or multiplayer map? ZDaemon is geared mainly for multiplayer and because whatever vertion of it you are using might be because it is using the old ZDoom codebase*. *[citation needed]

Old Post 02-06-10 05:27 #
Mr. Chris is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
m0pt0pmatt
Warming Up


Posts: 20
Registered: 10-09


multiplayer purposes

ok, let me explain...

The players work together to the waves of zombies :P
The zombies spawn under green sludge, so they cant see the player.

Thats why I need the zombies to be able to instanly be alerted. This works in ZDoom, but ZDaemon has an old version of ACS or something.

If anybody has a copy of the doom builder zdaemon config file, that would be extremly helpful.

Last edited by m0pt0pmatt on 02-07-10 at 06:05

Old Post 02-07-10 05:47 #
m0pt0pmatt is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Ralphis
IDL Founder


Posts: 8643
Registered: 09-02



m0pt0pmatt said:
uh, multiplayer purposes. otherwise I wouldn't be using ZDaemon now would I?


You won't get anywhere with an attitude like that mister

Old Post 02-07-10 05:58 #
Ralphis is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
m0pt0pmatt
Warming Up


Posts: 20
Registered: 10-09


there. im sorry

Old Post 02-07-10 06:05 #
m0pt0pmatt is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
m0pt0pmatt
Warming Up


Posts: 20
Registered: 10-09


i still need help, if anybody has any ideas...

Old Post 02-07-10 23:41 #
m0pt0pmatt is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
m0pt0pmatt
Warming Up


Posts: 20
Registered: 10-09


there, i've figured out that Noisealert() doesn't work in zdaemon. so im back to my original problem. Is there another way?

Old Post 02-11-10 07:31 #
m0pt0pmatt is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
TimeOfDeath
Forum Regular


Posts: 1236
Registered: 06-06


Could you post the wad?

Maybe you could give the teleport destinations z-height so that they teleport in the air and then fall into the sludge, so they'll see the players while they fall.

Or maybe you could do something else, but it would help if you posted the wad.

Old Post 02-11-10 07:42 #
TimeOfDeath is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
m0pt0pmatt
Warming Up


Posts: 20
Registered: 10-09


here ya go.

http://rapidshare.com/files/3494242...est_v1.wad.html

Old Post 02-12-10 03:00 #
m0pt0pmatt is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
m0pt0pmatt
Warming Up


Posts: 20
Registered: 10-09


any suggestions. im still working on it, but i dont want this thread to die

Old Post 02-20-10 02:56 #
m0pt0pmatt is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Fisk
Forum Regular


Posts: 821
Registered: 02-07


Thing_Hate() seems like a good call in this scenario. Mode 4 should work.

Old Post 02-20-10 04:56 #
Fisk is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
TimeOfDeath
Forum Regular


Posts: 1236
Registered: 06-06


I tried Thing_Hate but there was a problem in ZDaemon. The monsters wouldn't chase me unless they heard me shoot, but after I spawned more monsters they started chasing me immediately (I didn't have to shoot first). So, I'm guessing the teleporter destinations have to hear you shoot before the monsters that are spawned will chase you?

Maybe you could start each player in a 64x64 room or something - and make the walls of each room a shootable teleporter that sends you to the start of the map - and attach a small sector to each of the rooms where monsters spawn and join those sectors with the small 64x64 sectors the players start in, so that all of the teleporter destinations will hear shots whenever the players shoot the wall to teleport out. ?????

Old Post 02-20-10 07:01 #
TimeOfDeath is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Worst
Mini-Member


Posts: 72
Registered: 09-07


You could possibly use Thing_SetGoal (tid, goal, delay) to make the spawned monsters move at the place where the players are using PatrolPoints. ('Path Nodes' in doombuilder)

Note that ZDaemon doesnt support the fourth argument: dontchasetarget of Thing_SetGoal. (Though you probably wouldn't use that here anyways)

Old Post 02-20-10 09:55 #
Worst is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Jodwin
Forum Staple


Posts: 2556
Registered: 02-05



TimeOfDeath said:
I tried Thing_Hate but there was a problem in ZDaemon. The monsters wouldn't chase me unless they heard me shoot, but after I spawned more monsters they started chasing me immediately (I didn't have to shoot first). So, I'm guessing the teleporter destinations have to hear you shoot before the monsters that are spawned will chase you?

I don't know about other ports, but at least Boom and ZDoom handle monsters waking up with player noise differently: In Boom, if an idle non-deaf monster teleports to an area where you have shot before, it will immediately wake up and start chasing you. However in ZDoom the monster has to either see you or hear you shooting to wake up. Maybe ZDaemon is using the Boom mechanic? In this case the original issue would be moot as long as you force the player to shoot before any monsters are spawned, so that their target sectors are "awaken."


(and if you want to make the wad work in ZDoom as well, you could add the noise-script as an compatibility option)

Old Post 02-20-10 10:01 #
Jodwin is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
TimeOfDeath
Forum Regular


Posts: 1236
Registered: 06-06


I see what you mean with boom/zdoom difference. It seems like ZDaemon uses the boom way and I assume ZDoom changed it so that newly spawned monsters don't rely on whether the teleport destination they are spawned on has been awaken or not?

Thing_Hate works fine in newer ZDoom but in ZDaemon you have to "awake" the teleport destinations that the monsters are spawned on before they actually start chasing you (in ZDoom they start chasing you immediately whether you shoot or not).

Here's a test wad with thing_hate that will work with ZDaemon: thinghate.wad

Shooting the switch changes the script activator(player)'s TID to 999, teleports you in the map, and wakes up the teleporter destination that the monsters will spawn on. Pressing the switch spawns a zombieman and thing_hates him against things with TID 999 (players). I don't know if it works online though.

I haven't tried Thing_SetGoal either but maybe you won't have to do the teleporting player stuff.

EDIT: uhhh, considering what Jodwin and I wrote, I don't think thing_hate works in ZDaemon at all. lol

Last edited by TimeOfDeath on 02-20-10 at 11:39

Old Post 02-20-10 11:02 #
TimeOfDeath is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
m0pt0pmatt
Warming Up


Posts: 20
Registered: 10-09


thanks for all the help guys :)

I put a switch in the starting room, that has to be shot to open the doors, and also starts my script that makes the zombies spawn. The player alerts himself, and Thing_Hate works.

thanks again.

Old Post 03-11-10 04:59 #
m0pt0pmatt is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 14:07. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Instant attack!

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