BackPack Script

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
Marcus
Posts: 34
Joined: Mon Feb 27, 2006 10:23 pm

BackPack Script

Post by Marcus »

BackPack Script
I cannot get this thing to work when playing in doom games, I need someone to help me with this. I wanted this sites idea to work, but its not helping me enough for some reason.

Source: http://www.zdoom.org/wiki/index.php?tit ... moCapacity

Download: http://h1.ripway.com/ChaoUniverse/DECORATE.WAD
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

1. You need to compile ACS scripts.
2. Scripts between A_ markers need to have #library <LIBNAME> at the top
3. Your backpack packs state does not have a statename
4. The first state of any actor cannot have a codepointer.
5. What you want the the pickup state, which is unavailable to anything outside actors inheriting from CustomInventory.
6. If it was called from the spawn state, which I assume you are trying to do, it would disappear after the 1st tic and would do nothing to the player since the scripts caller is the backpack itself.

Most of these are class 101 errors.
Post Reply

Return to “General”