Doom Comic
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 > Continuously healing room
 
Author
All times are GMT. The time now is 15:07. Post New Thread    Post A Reply
Mik57
Junior Member


Posts: 192
Registered: 03-08


How would I make a sector continuously heal the player?

Old Post 08-16-08 04:32 #
Mik57 is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
MasterOFDeath
Member


Posts: 529
Registered: 03-04


In ZDoom, use "Player Enters Sector" and "Player Leaves Sector" things that control scripts. PES activates the script that gives the player health, and PLS terminates it. As for the script itself, try this
code:
script 1 (void) { HealThing (1); Delay (2); restart; }
If you aren't using ZDoom, then I don't know. You have to be using a port with scripting of some type.

Old Post 08-16-08 05:17 #
MasterOFDeath is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Mik57
Junior Member


Posts: 192
Registered: 03-08


It wont compile. Says 'healthing' is used but not defined.

btw, thx for helping

Old Post 08-16-08 06:14 #
Mik57 is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Steeveeo
Forum Regular


Posts: 991
Registered: 09-06



Mik57 said:
It wont compile. Says 'healthing' is used but not defined.

btw, thx for helping



Have you tried updating the ACS compiler? (I think its ACC.exe, been awhile since I've scripted anything)

Old Post 08-16-08 07:36 #
Steeveeo is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Khorus
Member


Posts: 385
Registered: 04-05


Add;

#include "zcommon.acs"

To the top of the script.

Old Post 08-16-08 08:21 #
Khorus is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Creaphis
I will deliberately take a contrary position just for the sake of writing incredibly long arguments


Posts: 1296
Registered: 10-05


You could do this with a voodoo doll, a dynamic floor scrolling action and an extremely long corridor full of health bonuses. :)

Old Post 08-16-08 14:54 #
Creaphis is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Karnizero
Mini-Member


Posts: 62
Registered: 07-08



Creaphis said:
You could do this with a voodoo doll, a dynamic floor scrolling action and an extremely long corridor full of health bonuses. :)


That's for boom compatible engines.

For doom.exe, you can make a fake water effect containing lots of medkits.

Old Post 08-16-08 15:18 #
Karnizero is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Mik57
Junior Member


Posts: 192
Registered: 03-08


Well, Im making a map for the zdoom wars mod. There will be certain areas that help your health recharge.

Old Post 08-16-08 21:37 #
Mik57 is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
DooMikE
Green Marine


Posts: 36
Registered: 01-08


Just to get it straight: I donīt know diddley-squad about mapping!

But i remember encountering something similar to what you describe, in Rex Claussens "The Darkest Hour" TC.

The socalled "Bacta Tanks": (from the DH Gameplay.txt)

"Later in the game you will come across Bacta Tanks, which provide full health. Just drop into the tank, and your health will gradually increase. You will need to reach the bottom of the tank, and may need to move around a little. Don't stay under water too long as you'll start to "drown" and lose health. Each tank is single-use only, so wait until you are really low on health before jumping in."

Seemingly not far from what Karnizero mentioned...

Maybe Rex will let you in on how it was made or perhaps you could check it out for yourself with some doombuilder-thingy? Apparently, according to the .txt, you may modify or reuse the content as you please.

Hope thatīs helpful. Enough.

Old Post 08-19-08 03:19 #
DooMikE is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Mik57
Junior Member


Posts: 192
Registered: 03-08


alright, thx. I accidentally forgot to add zcommon at the beginning, and now it works. Thx for the help guys.

Old Post 08-19-08 04:04 #
Mik57 is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 15:07. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Continuously healing room

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