"inventory.restrictedto" Zandronum Compatible.

Discuss all aspects related to modding Zandronum here.
Post Reply
Kontra Kommando
Banned
Posts: 11
Joined: Sun Nov 09, 2014 2:41 pm
Banned: Permanently

"inventory.restrictedto" Zandronum Compatible.

#1

Post by Kontra Kommando » Sun Nov 09, 2014 2:50 pm

EDIT/Question Update: Does anyone know of the "inventory.restrictedto" equivalent that will work for zandronum. It is this aspect of the mod that makes it fail to load on the zandronum source-port. To re-iterate from the text below, this mod was originally made for gzdoom.

-------------------------------------------------------
Links:

http://www.moddb.com/mods/aliens-the-ul ... tc-beta-73

http://www.moddb.com/members/kontra-kom ... tc-beta-73
--------------------------------------------------------

Original Post:

I have been requested by a number of people to make my mod, Aliens: The Ultimate Doom (TC), Zandronum compatible. Currently, it is only compatible with GZDoom. When I try to run the pk3, below is the message I am getting. Could someone please assist me by explaining how I can modify the game to be compatible for the Zandronum source-port? Or if you endeavor to solve the issue, I will certainly give you credit for it. Attached above are links to the file, and mod page.

Image
Last edited by Kontra Kommando on Sun Nov 09, 2014 4:42 pm, edited 1 time in total.

User avatar
Hypnotoad
Retired Staff / Community Team Member
Posts: 528
Joined: Tue May 29, 2012 8:50 pm
Location: Britland

RE: Making my mod Zandronum Compatible.

#2

Post by Hypnotoad » Sun Nov 09, 2014 2:56 pm

That picture is fairly self explanatory, in your decorate you use the property "inventory.restrictedto" which apparently is not supported by Zandronum (though I'm sure there are other ways to restrict inventory to certain classes only, since I've seen this in various mods). But have you tried running it in Zandronum 2.0?

Kontra Kommando
Banned
Posts: 11
Joined: Sun Nov 09, 2014 2:41 pm
Banned: Permanently

RE: Making my mod Zandronum Compatible.

#3

Post by Kontra Kommando » Sun Nov 09, 2014 3:01 pm

Just tried it out on 2.0, unfortunately, I'm getting the same message.

I'll see if I can find an alternative to inventory.restrictedto.

Konda
Forum Regular
Posts: 487
Joined: Thu Jun 07, 2012 5:22 pm

RE: "inventory.restrictedto" Zandronum Compatible.

#4

Post by Konda » Tue Nov 11, 2014 2:01 am

In an inventory item's Pickup state, putting "fail" will cancel the pick-up process - http://zdoom.org/wiki/Actor_states#Flow_control - The player will simply walk over the item without picking it up.
If you can find a way to identify which class a player is (or is not) using, you can take advantage of that and cancel the pick-up process when the player is not using a class that is allowed to pick the item up.

Code: Select all

<Synert> fuck
<Synert> plugged in my memory stick and got a bsod

Post Reply