Mancubus
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 > Files read as textures and adding a new weapon slot
 
Author
All times are GMT. The time now is 17:23. Post New Thread    Post A Reply
Onlyoneinall
Warming Up


Posts: 10
Registered: 07-08


Hello everyone, I've been messing around with XWE some more and have come across two problematic questions I would like answers to, please.

1) In Skulltag, there are many bots, each with its own set of sprites. I took the SKININFO file out and loaded it into my own wad, but for some reason when loading in Skulltag, it reads the SKININFO file as a texture. Even if I make it a plain txt file and upload it, even though XWE doesn't say anything about it being a texture type, it will still say that Skulltag "found invalid data in texture file SKININFO". What do I have to do to get XWE/Skulltag to read the file properly so it'll load the sprites that I want it to from my wad, instead of saying it's a texture file? I just copied the exact text from Skulltag's SKININFO file too.

2) Let's say I want to put a new weapon in slot 8. Can somebody get me started on how to do this? I checked Weasel's Xtraweap.wad file to see how he did it, but I'm still lost on how he got Zdoom to recognize the extra weapons, since I didn't see any Dehacked files or anything stating the new weapon's different graphical states and firing abilities and such. I only found the KEYCONF file, but nothing else. Can someone get me pointed in the right direction please? Thanks!

Old Post 07-25-08 07:48 #
Onlyoneinall is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
EarthQuake
9.5 on the Richter!


Posts: 1462
Registered: 05-03


2) The new weapons are most likely defined in the DECORATE lump.

Old Post 07-25-08 08:02 #
EarthQuake is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Onlyoneinall
Warming Up


Posts: 10
Registered: 07-08


In the Decorate file, all I see is information saying what items each of the actors drop.

Example:

ACTOR ZombieManDropItem : ZombieMan 3004
{
DropItem Clip
DropItem AssaultGun 64
DropItem Blaster 8
DropItem HEGrenadeRounds 8 6
DropItem PhoenixRodAmmo 8 6
DropItem BlasterAmmo 48 25
DropItem ElectricBolts 8 5
DropItem PoisonBolts 8 1
DropItem ArtiHealth 48
DropItem ArtiSpeedBoots 4
DropItem ArtiPoisonBag 24
DropItem ArtiTorch 4
DropItem ArtiTeleport 1
DropItem ArtiBoostArmor 4
DropItem ArtiTomeOfPower 1

Old Post 07-25-08 08:35 #
Onlyoneinall is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
EarthQuake
9.5 on the Richter!


Posts: 1462
Registered: 05-03


If that's all the DECORATE lump has, and there is no Dehacked patch, the wad isn't going to have custom weapons. Are you sure that a stock weapon's graphics just aren't replaced to make it look like a new weapon?

The only other thing I can think of is that there is some other wad, pk3, or zip with the weapon stuff that has to be loaded in conjunction with it... maybe recheck the DECORATE lump carefully.

Old Post 07-25-08 09:01 #
EarthQuake is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Onlyoneinall
Warming Up


Posts: 10
Registered: 07-08


It obviously does have new weapons, because there are several per slot, so I know it's not a simple weapon replacement.

It has a ZDOOMDEH file that contains strings for the new weapons and items (Heretic style), but that's it.

The SNDINFO just has the sounds assigned for the new weapons and items.

The KEYCONF just sets the slots for the new weapons, but it does have this at the end - addkeysection "Extra Weapons" ew_keysection

And the DECORATE file only has the text like what I just posted.

There is also an SS_START marker and SS_END marker, but it is 0 bytes and other than that, there is nothing else but sprites and sound waves in the wad, which is why I'm confused as to how these weapons were added.

And the only PK3 file I have is the zdoom one. But that can't be it, can it?

Old Post 07-25-08 10:23 #
Onlyoneinall is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
EarthQuake
9.5 on the Richter!


Posts: 1462
Registered: 05-03


Is there a link to this file somewhere? I did a search for it, and it doesn't seem to be in the archives, and Google just returns videos. It would be easier just to look at it.

If you want to get started learning though, take a look at this: http://zdoom.org/wiki/DECORATE

Old Post 07-25-08 11:23 #
EarthQuake is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Onlyoneinall
Warming Up


Posts: 10
Registered: 07-08


Thanks! I still need help with the first question though, if you could help.

And I was mistaken when I said it was Weasel's. Here is the link: http://www.doomworld.com/idgames/index.php?id=12785

It'll be the wad that is XtraWeap.wad.

Old Post 07-26-08 06:48 #
Onlyoneinall is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
EarthQuake
9.5 on the Richter!


Posts: 1462
Registered: 05-03


Okay, I looked at the wad and after being about as baffled as you were, I realized that there are no "new" weapons per se... All the weapons you see are Heretic, Hexen, and Strife weapons that have sprite and sound supplements. If you supply any graphics to a monster or item from one of the games I mentioned, you can actually use that games' things in another game supported by ZDoom.

Start up a game of Doom and type "summon imp". This will summon an invisible Heretic gargoyle. Provide sprites and sounds for it in your wad, and you can use ACS to spawn that thing into Doom. In this wad, it is the KEYCONF lump that enables the player to be able to use the new weapons, by assigning Heretic, Hexen, and Strife weapons to Doom weapon slots.

One thing worth noting, is that you cannot change the behavior of these weapons. You need to use DECORATE to create your own set of weapons if you want to modify how they work.

As for your first question, I can't help you, sorry.

Old Post 07-26-08 07:30 #
EarthQuake is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Onlyoneinall
Warming Up


Posts: 10
Registered: 07-08


Ah, well thanks anyway. At least I got that confusion cleared up. I guess it's time to start learning Decorate then. :)

Old Post 07-27-08 07:37 #
Onlyoneinall is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 17:23. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Files read as textures and adding a new weapon slot

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