Dispel a Barrier through the script

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Dispel a Barrier through the script
Apprentice
Member # 5546
Profile #0
There's a barrier and I need to clear it through the script. Like what used to happen in Fort Dranlon in Av2. I don't think block_entry will work. I want the barrier to disappear. Is it possible?
Posts: 9 | Registered: Friday, February 25 2005 08:00
Warrior
Member # 250
Profile #1
I believe the call you are looking for is put_object_on_space. Since barriers count as objects, and putting -1 for the object type removes all objects from the space it should work. The entry for the call in the appendix should have all the info needed.
Posts: 61 | Registered: Saturday, November 3 2001 08:00
Apprentice
Member # 5546
Profile #2
Thanx, that worked. Didn't know that barriers were "objects".
Posts: 9 | Registered: Friday, February 25 2005 08:00
Agent
Member # 5814
Profile #3
I'd just like to mention that call put_stain_on_space, when set to -1, does not remove any stains, and can quite possibly return an error.

--------------------
quote:
Originally written by Kelandon
Well, I'm at least pretty

Posts: 1115 | Registered: Sunday, May 15 2005 07:00
...b10010b...
Member # 869
Profile Homepage #4
Yeah, the put_stain_on_space bug has been mentioned before. Sometimes it works for some people, sometimes it doesn't work at all. Fortunately stains are just cosmetic so it's not such a big deal.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Agent
Member # 5814
Profile #5
Stains are *usually* cosmetic. However, if you're writing a script where the character revives corpses found on the ground, it can be very annoying to get stuck like that.

Now that I think about it, a call could be placed in all creature scripts which would place a "blood stain" item upon death... That would work, wouldn't it?

--------------------
quote:
Originally written by Kelandon
Well, I'm at least pretty

Posts: 1115 | Registered: Sunday, May 15 2005 07:00
Master
Member # 5977
Profile Homepage #6
that hapens all the time, doesn't it? When you slay some monster, a blood stain appears on the ground.

--------------------
Play and rate my scenarios:

Where the rivers meet
View my upcoming scenario: The Nephil Search: Escape.

Give us your drek!
Posts: 3029 | Registered: Saturday, June 18 2005 07:00
...b10010b...
Member # 869
Profile Homepage #7
Yes, but what he wants is for there to be a removable blood stain, and there's no reliable, non-buggy way to remove stains in the current version of BoA.

A problem with making them items would be that a player could walk around picking up blood stains off the ground, which would be silly.

[ Tuesday, June 28, 2005 23:00: Message edited by: Thuryl ]

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Agent
Member # 5814
Profile #8
Which is why I'm not going to do it. I suppose the points on the map could be tracked by x,y... And then they could be cleared each time the pcs entered a town... Does someone else want to do this? I'd like to see it finished, but I'm too lazy.

--------------------
quote:
Originally written by Kelandon
Well, I'm at least pretty

Posts: 1115 | Registered: Sunday, May 15 2005 07:00
Shock Trooper
Member # 3898
Profile #9
They could be ridiculously heavy items. Then nobody but a god party would be picking them up.

--------------------
~Note : The professional newbie's advice should not be taken seriously, or at all.~
LINKAGE
Posts: 364 | Registered: Saturday, January 17 2004 08:00
...b10010b...
Member # 869
Profile Homepage #10
Seeing 500-pound bloodstains on the "get items" screen would still be something of a surreal experience.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Warrior
Member # 6096
Profile Homepage #11
A heavy "body" item would seem more natural than a "blood stain" item.
Posts: 77 | Registered: Sunday, July 10 2005 07:00
Agent
Member # 4506
Profile Homepage #12
quote:
Originally written by *Milu*:

A heavy "body" item would seem more natural than a "blood stain" item.
What possible reason could adventurers have of picking up corpses? (apart from giving them to vampires ofcourse)

- Archmagus Micael

[ Sunday, July 10, 2005 08:46: Message edited by: Archmagus Micael ]

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Shaper
Member # 73
Profile #13
Don't vampires only drink the blood of the living?
You could feed corpses to dogs. Or, as would be more likely in the world of Avernum, bring them to a healer so they can be revived. I mean, the player's party brings its dead members to healers, right? There's no reason beyond game mechanics why they couldn't do it with someone else's corpse.
Ha ha ha, I should rephrase that, but I won't. It amuses me.

--------------------
My Myspace, with some of my audial and visual art
The Lyceum - The Headquarters of the Blades designing community
The Louvre - The Blades of Avernum graphics database
Alexandria - The Blades of Exile Scenario database
BoE Webring - Self explanatory
Polaris - Free porn here
Odd Todd - Fun for the unemployed (and everyone else too)
They Might Be Giants - Four websites for one of the greatest bands in existance
--------------------
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Posts: 2957 | Registered: Thursday, October 4 2001 07:00
Agent
Member # 4506
Profile Homepage #14
quote:
Originally written by The Almighty Doer of Stuff:

Don't vampires only drink the blood of the living?
You could feed corpses to dogs. Or, as would be more likely in the world of Avernum, bring them to a healer so they can be revived. I mean, the player's party brings its dead members to healers, right? There's no reason beyond game mechanics why they couldn't do it with someone else's corpse.
Ha ha ha, I should rephrase that, but I won't. It amuses me.

Maybe it's just me, bit I don't get the amusing part... :(

- Archmagus Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Triad Mage
Member # 7
Profile Homepage #15
Actually, that's not a bad idea. Something neat could be done with that.

--------------------
"At times discretion should be thrown aside, and with the foolish we should play the fool." - Menander
====
Drakefyre's Demesne - Happy Happy Joy Joy
Encyclopedia Ermariana - Trapped in the Closet
====
You can take my Mac when you pry my cold, dead fingers off the mouse!
Posts: 9436 | Registered: Wednesday, September 19 2001 07:00
BANNED
Member # 4
Profile Homepage #16
One possible idea- you could have creatures drop a few "general" types of corpses. Humanoid, Beast, Slime, etc., and whatever else you'd be interested in. Then, make undead types like "Skeleton", "Beast Skeleton", "Undead Slime", etc. (Maybe you can have 'really powerful' varieties for more devious enemies.) Have the call apply to a rectangle (see the Codex for that), and create creatures on those spaces.

And hey- you could have it so that it becomes worthwhile for the party to pick up those totally-unwieldy corpses, since they can revive 'em in future battles!

Heck, you could even have a mission where you need an attractive date to get into the ball, and one of the town prositutes wouldn't look so bad as a dressed-up zombie...

...

Right. Well, take the idea as you will.

--------------------
*
Posts: 6936 | Registered: Tuesday, September 18 2001 07:00
Agent
Member # 2210
Profile #17
This is ridiculous but you could make the bloodstains as monsters. When you killed them they would disappear. Basically a really slow moving one hp monster. You kill it, it disappears. Ha. :P Or you could make an immobile monster which you would have to kill and it would disappear. Have the picture of a monster-- a door monster. You hit it and it dies no longer blocking the opening.

[ Sunday, July 10, 2005 15:16: Message edited by: I'll Steal Your Toast ]

--------------------
Wasting your time and mine looking for a good laugh.

Star Bright, Star Light, Oh I Wish I May, I Wish Might, Wish For One Star Tonight.
Posts: 1084 | Registered: Thursday, November 7 2002 08:00
Off With Their Heads
Member # 4045
Profile Homepage #18
If Phaedra dies in Bahssikava, she drops her own corpse, and you have to bring her back to a healer to revive her.

TM's idea sounds like a part of a Michael Slack scenario.

And the door-monster idea worked better in BoE, but it probably still would work in BoA.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Warrior
Member # 6096
Profile Homepage #19
quote:
Originally written by Archmagus Micael:

What possible reason could adventurers have of picking up corpses? (apart from giving them to vampires ofcourse)

- Archmagus Micael

quote:
Stains are *usually* cosmetic. However, if you're writing a script where the character revives corpses found on the ground, it can be very annoying to get stuck like that.

^
That.

Of course the other possibilities that were mentioned are not bad, either... (mostly)

Hmm... Collect bodies and sell them to a necromancer... burn them to prevent their becoming zombies...

Making your own undead army is the best idea so far, in my opinion. It's great.
Posts: 77 | Registered: Sunday, July 10 2005 07:00
Agent
Member # 5814
Profile #20
So that's that. Problem solved. But the original barrier still stands: how to make a monster which, rather than summoning, uses resources to make zombies. In combat. Most likely through a script.

Or, to rephrase: what's the best way to make the PCs able to revive corpses in battle, rather than running back to town for help from the stupid healers. PC ability? A ritual perhaps? Or maybe an item with necromatic powers?

--------------------
quote:
Originally written by Kelandon
Well, I'm at least pretty

Posts: 1115 | Registered: Sunday, May 15 2005 07:00