The "How do I..." Thread

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire
Contact:

Re: The "How do I..." Thread

Post by Galaxy_Stranger »

Zeberpal wrote:Galaxy Stranger, thank you for reply. I wonder if you know some mods which fake it this way, maybe?

EDIT: to be concrete what I want to achieve is to change Player.SoundClass ingame.
https://www.youtube.com/watch?v=UwozLyNvlqU
User avatar
Devianteist
Posts: 945
Joined: Wed Sep 24, 2014 4:07 pm
Location: Creating a SPACE HULK conversion!
Contact:

Re: The "How do I..." Thread

Post by Devianteist »

So, I've been tinkering around with A_PlaySound, trying to get the weapon I'm making make some noise while it is held, but so far I've been having one major issue.

For some reason, the ready state sprite goes nuts when you try to move while A_PlaySound is implemented. Obviously I've done some wrong, but everything else I try causes even more problems.

WRF_NOBOB fixes the problem, but I would like the weapon to bob around.

Any advice and/or help?
Spoiler: Code for viewing in case someone can pinpoint the issue.
EDIT: Fixed the problem. I just had to move some stuff around. Now I just need to figure out how to make the weapon a little more spiffy. Thank you wiki.
User avatar
Cleveland Rock
Posts: 27
Joined: Wed Oct 25, 2006 6:36 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Cleveland
Contact:

Re: The "How do I..." Thread

Post by Cleveland Rock »

Is there a quick and easy way to take a WAD with 32 maps and split it into 32 separate WADs?
User avatar
adamaH_oriH
Posts: 327
Joined: Thu Jul 23, 2015 8:10 am
Location: Mars Base

Re: The "How do I..." Thread

Post by adamaH_oriH »

Cleveland Rock wrote:Is there a quick and easy way to take a WAD with 32 maps and split it into 32 separate WADs?
Best I can tell you, take each map's data, make 32 different wads, then cut-paste each map into each Wad. I don't think there's any other way.
User avatar
Accensus
Banned User
Posts: 2383
Joined: Thu Feb 11, 2016 9:59 am

Re: The "How do I..." Thread

Post by Accensus »

Cleveland Rock wrote:Is there a quick and easy way to take a WAD with 32 maps and split it into 32 separate WADs?
Image
User avatar
Cleveland Rock
Posts: 27
Joined: Wed Oct 25, 2006 6:36 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Cleveland
Contact:

Re: The "How do I..." Thread

Post by Cleveland Rock »

Lud wrote:
Cleveland Rock wrote:Is there a quick and easy way to take a WAD with 32 maps and split it into 32 separate WADs?
Image
So I can put them in a "maps" folder in a PK7 file.
User avatar
Accensus
Banned User
Posts: 2383
Joined: Thu Feb 11, 2016 9:59 am

Re: The "How do I..." Thread

Post by Accensus »

Ah, makes sense. Didn't think of that, sorry. Didn't even know it was possible. I remember ZPack.pk3 did something similar - the authors put each wad inside the root folder instead.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: The "How do I..." Thread

Post by Graf Zahl »

adamaH_oriH wrote:
Cleveland Rock wrote:Is there a quick and easy way to take a WAD with 32 maps and split it into 32 separate WADs?
Best I can tell you, take each map's data, make 32 different wads, then cut-paste each map into each Wad. I don't think there's any other way.

Reading that just hurts. If nothing else works, load each map into an editor and save it again. That at least guarantees that you do not lose any data. Copy/pasting won't preserve everything.

The more important question here should be: Why the fuck can't SLADE do such an essential thing?
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: The "How do I..." Thread

Post by Nevander »

Graf Zahl wrote:Reading that just hurts. If nothing else works, load each map into an editor and save it again. That at least guarantees that you do not lose any data. Copy/pasting won't preserve everything.

The more important question here should be: Why the fuck can't SLADE do such an essential thing?
Huh? Copy/pasting a map from one WAD to another and saving the new WAD causes data loss? Or did I misunderstand the reply...
User avatar
|ndußtrial
Posts: 398
Joined: Sat Aug 17, 2013 11:39 am
Graphics Processor: Intel (Modern GZDoom)
Location: Ivy Mercy Lyons

Re: The "How do I..." Thread

Post by |ndußtrial »

Nevander wrote:
Graf Zahl wrote:Reading that just hurts. If nothing else works, load each map into an editor and save it again. That at least guarantees that you do not lose any data. Copy/pasting won't preserve everything.

The more important question here should be: Why the fuck can't SLADE do such an essential thing?
Huh? Copy/pasting a map from one WAD to another and saving the new WAD causes data loss? Or did I misunderstand the reply...
i consistently get corrupted maps from it - maybe it's invisible lumps (really unlikely) or an external file that provides some kind of data, but something messes that up for me at least
User avatar
adamaH_oriH
Posts: 327
Joined: Thu Jul 23, 2015 8:10 am
Location: Mars Base

Re: The "How do I..." Thread

Post by adamaH_oriH »

Different map loading settings?

this problem NEVER happens to me.

And if I ever have data loss, Thankfully, I always have multiple back-ups.
It would ESPECIALLY Suck for me If I lost Map Data! Days (or months) of map building would be WASTED!!! :(

BTW, both Slade and any doom builder should make backup files of edited maps.
User avatar
MetallicaSepultura
Posts: 178
Joined: Sun May 15, 2016 3:49 am
Location: Futura City, currently slaughtering Rahzs

Re: The "How do I..." Thread

Post by MetallicaSepultura »

there's a way to replace all dropped weapons from enemies, and weapons placed in map with a backpack?

i'm trying to make a class mod with limited weapons (something like Team Fortress 2), so i don't need them to pickup other weapons.
User avatar
Captain J
 
 
Posts: 16891
Joined: Tue Oct 02, 2012 2:20 am
Location: An ancient Escape Shuttle(No longer active here anymore)
Contact:

Re: The "How do I..." Thread

Post by Captain J »

Dropitem will be the answer! Also you'd better make spawner ACTOR to make weapon drops with backpack together with this.
User avatar
MetallicaSepultura
Posts: 178
Joined: Sun May 15, 2016 3:49 am
Location: Futura City, currently slaughtering Rahzs

Re: The "How do I..." Thread

Post by MetallicaSepultura »

Captain J wrote:Dropitem will be the answer! Also you'd better make spawner ACTOR to make weapon drops with backpack together with this.
so i need to make complete enemy replacements?
or it's enough to just add dropitem and the rest it's inheritance from the main class?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: The "How do I..." Thread

Post by Gez »

You need to replace every single property that you want to change. So if you only want to change the DropItem, then Actor BackpackZombie : Zombieman replaces Zombieman { DropItem "Backpack" } will be pretty much all you need.
Locked

Return to “Editing (Archive)”