Spider Mastermind
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 > a few scripting questions
 
Author
All times are GMT. The time now is 18:27. Post New Thread    Post A Reply
ChaosOverlord
Junior Member


Posts: 171
Registered: 07-01


1) is there a way to say, return the exact x,y,z locations of the player into values via scripting? you know, so for example I could get a height value and then run the script depending on the characters position?

2) is it possible to spawn things that have a tag, or tag them as they are spawned?

3) shit... i can't remember.. and that really sucks because it was important! oh well, i'll ask that when I remember...

any advice? let me know!

Old Post 09-02-01 06:59 #
ChaosOverlord is offline Profile || Blog || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
ReX
Senior Member


Posts: 1743
Registered: 05-00


"is it possible to spawn things that have a tag, or tag them as they are spawned?"

Many people have asked for this feature, but AFAIK this has not yet been implemented in ZDooM. One way to make this work is to have your "spawanable" item on an inaccesible conveyor belt, with a barrier. Tag the item, and set it up so that the barrier lowers when the item needs to be spawned. It will spawn at your spawn spot and will have the desired tag number.

For inanimate items (such as keys) another, more clumsy way to do it, is to have set up your spawn or map spot, but have one or more short lines running through it. Assign the tag number to the line, so that when the player reaches for the item he/she crosses the line(s), thus triggering the action associated with the tag.

To my knowledge there is no known way to track the player's co-ordinates. If you want an action to be triggered at a certain height, there may be tricks you can use, but none that is based on the player's position.

You may also want to ask these questions on the ZDooM Editing forum.

Old Post 09-02-01 16:08 #
ReX is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3624
Registered: 05-00


ST is able to spawn things with tags, maybe it's already been implemented in ZDoom. I don't know for sure though.

Old Post 09-02-01 20:32 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
ChaosOverlord
Junior Member


Posts: 171
Registered: 07-01


What do you mean ST? is that some sort of source port or something?

Old Post 09-04-01 22:50 #
ChaosOverlord is offline Profile || Blog || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
ReX
Senior Member


Posts: 1743
Registered: 05-00


ST = Skull Tag, a predominantly multi-player source port based on the ZDooM code.

Old Post 09-04-01 23:48 #
ReX is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
ChaosOverlord
Junior Member


Posts: 171
Registered: 07-01


Ahh, I see.. thank you... (info on ST)

Okay, here's my question, I really, REALLY need to be able to spawn invisible bridge things, and I kind of need them to have a tag number when they are spawned so that I can use the thing_remove command... I really wish I could explain why I need this, but I just can't seem to put words to it... at any rate, I would really be thrilled if someone could tell me how to spawn invisible bridge things (through WadAuthor preferably) and then I would just be a very happy person.. thanks ..

Old Post 09-05-01 00:11 #
ChaosOverlord is offline Profile || Blog || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 18:27. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > a few scripting questions

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.