Archvile
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 > Lose weapons
 
Author
All times are GMT. The time now is 17:47. Post New Thread    Post A Reply
purist
Junior Member


Posts: 144
Registered: 04-04


In my Doom2 mapset I want the player default to a pistol start on MAP06 using MAPINFO.

I assume I'll have to cluster maps 1 - 5 as one episode and treat MAP06 as the first map in episode 2 but I'm not sure. Can anyone help?

__________________
Play Canary Squadron

Old Post 08-18-08 22:13 #
purist is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Grazza
Quaerere Verum


Posts: 9727
Registered: 07-02


Just have the player die in the course of exiting map05. No need for mapinfo stuff.

Old Post 08-18-08 22:16 #
Grazza is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Death-Destiny
Forum Regular


Posts: 932
Registered: 12-07


What you are trying to do is exactly what Scythe2 does every 5 maps. I suggest you check it out and look at it in an editor to study how this was done in a way that would be compatible with more ports than just Zdoom. It's basically what Grazza said with the player dying prior to starting the next map.

Old Post 08-18-08 22:30 #
Death-Destiny is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
myk
patron mod of ugly ducklings and black sheep


Posts: 10410
Registered: 04-02


That wouldn't be an elegant way to do it if he were making a ZDoom map in the first place...

Old Post 08-18-08 22:41 #
myk is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
swordgrunt
Green Marine


Posts: 42
Registered: 07-08


I have a similar situation, although it isn't really required to lose weapons in my case, I've found a way around it. BTW, when I die on map 03 and start on level 04, I don't lose my weapons. And I've tried with Doomsday and Skulltag. :(

Old Post 08-19-08 01:02 #
swordgrunt is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Death-Destiny
Forum Regular


Posts: 932
Registered: 12-07


Myk is correct: we're not answering the stated question. Apologies.

Instead of using MAPINFO, for which there is no clean way to remove weapons that I'm currently aware of, why not use an ACS srcript. Here's an example similar to the one in the Wiki. When called, the "ClearInventory()" function will take away all the player's weapons, ammo, armor, and any inventory items that have been defined that aren't undroppable. This should take away their fist and pistol as well, so you will also have to call the "GiveInventory(arg1,arg2)" function 3 times to give them their fist, the pistol, and 30 bullets (the pistol apparantly starts with 20 =/).

Try this:
script 1 ENTER
{
Print(s:"OMG! All your weapons have disintigrated. :(\n");
ClearInventory();
GiveInventory("Fist", 1);
GiveInventory("Pistol", 1);
GiveInventory("Clip", 30);
}

Old Post 08-19-08 03:23 #
Death-Destiny is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
purist
Junior Member


Posts: 144
Registered: 04-04


I'm aware of the barrel/romero head tricks and such but, like myk said, my mapset is ZDoom anyway so it seems pointless using a workaround. I thought there might be a simple way to do it in a MAPINFO lump.

I've shyed away from scripts so far but I'll give yours a try, thanks D-D.

Old Post 08-19-08 22:15 #
purist is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 17:47. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Lose weapons

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