While it may be my first post, I've done lots of editing. I'm good at decorate, know how to use XWE well, and don't have a problem with imports.
My problem is:
1) I have an image. It is a small non-dynamic (It will remain in one state, much like a shotgun, how when on the ground it just rotates around you with one image). How do I import this into my wad? Do I just import the BMP image?
2) I want to make this item a pickup in game. How do I define this as a pickup? I desire it to be like a keycard but with no action. Would the fakeinventory class be appropriate? I'm using this as a counter (Ex: When player has picked up 3 [item], open door). I would like to be able to run an ACS script on it, much like you can when you pick up an item in game through thing action.
3) What code would I use to create this item? I don't need you guys to give me a full blown code, but I'm just looking for how to make the 'actor: define" stuff work. I know all about things like
Code: Select all
Actor Health : Inventory native
{
Inventory.Amount 1
Inventory.MaxAmount 0
Inventory.PickupSound "misc/health_pkup"
}I just don't understand how to import and image and turn it into a properly working pickupable in-game sprite.
If you need more clarification I'll be glad to post it.
Thanks.
