Weapons with mutli-word names

Discuss all aspects related to modding Zandronum here.
Post Reply
Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

Weapons with mutli-word names

#1

Post by Lollipop » Sun Feb 16, 2014 5:27 pm

The title should say all, but I will explain further:
I saw some discussion whenever this was possible or not on this forum once, but I have searched for a bit now and I have not found it.

What I mean is that I want a weapon with a name that is split up in two words, so instead of having "some_weapon" you have "Some weapon".

Is this actually possible? And if it is, then how?

I found no actual documentation of this on the zdoom wiki, and googling different sentences I could come in mind of, which should yield any forum post regarding it on the zdoom forums, didn't give anything either.
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

User avatar
Combinebobnt
Retired Staff / Community Team Member
Posts: 1907
Joined: Mon Jun 04, 2012 3:37 am
Location: Earth
Contact:

RE: Weapons with mutli-word names

#2

Post by Combinebobnt » Sun Feb 16, 2014 5:44 pm

Put quotes around it like you did in your post.

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: Weapons with mutli-word names

#3

Post by Ænima » Sun Feb 16, 2014 5:54 pm

Combinebobnt wrote: Put quotes around it like you did in your post.
Yup.

And this applies to any DECORATE actor name, you can have an actor name with spaces in it as long as you place it in quotes.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

Ijon Tichy
Frequent Poster Miles card holder
Posts: 901
Joined: Mon Jun 04, 2012 5:07 am

RE: Weapons with mutli-word names

#4

Post by Ijon Tichy » Sun Feb 16, 2014 6:33 pm

Fun fact: "~" appears as a space in SMALLFONT, and also can't be typed in the console. You can however use it directly in the INI, or in an autoexec.cfg.

Just Saying
Last edited by Ijon Tichy on Sun Feb 16, 2014 6:33 pm, edited 1 time in total.

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: Weapons with mutli-word names

#5

Post by Lollipop » Sun Feb 16, 2014 6:56 pm

Thanks a bunch folks :D

Now you can maybe also tell me why a value of 0 in an offet in DECORATE does absolutely nothing?

Try these offsets in the same state after each other:
SHGT A 12 offset(30, 60)
SHGT A 12 offset(0, 32)
SHGT A 12

This is a bit of a WTF to be, and I do not quite understand if this is a bug or not, as it hinders totally centering the sprite on one axis, while moving the other. It kind of forces you to center both at the same time if you want it centered. I know it isn't a big deal, but it sure is confusing.
I also did not think of this as being enough of an issur to have it's own thread, and it is actually the same file.

EDIT: wierd offset thing happens both in zdoom and gzdoom.
Last edited by Lollipop on Sun Feb 16, 2014 7:05 pm, edited 1 time in total.
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

Cruduxy
Zandrone
Posts: 1059
Joined: Fri Jun 08, 2012 4:24 pm

RE: Weapons with mutli-word names

#6

Post by Cruduxy » Sun Feb 16, 2014 9:14 pm

X offset by default is 0 and y default is 32.
[][][][][][][][][][][][][][][]
Nothing to see here
[][][][][][][][][][][][][][][]

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: Weapons with mutli-word names

#7

Post by Lollipop » Mon Feb 17, 2014 10:11 am

I didn't ask what the defaults were, I simply asked if it was intended or if it was a bug that the engine simply don't take 0 for an answer.
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

Klofkac
Forum Regular
Posts: 481
Joined: Sat Jun 09, 2012 1:31 pm
Location: Ask Grandvoid servers

RE: Weapons with mutli-word names

#8

Post by Klofkac » Mon Feb 17, 2014 10:33 pm

Wiki snip wrote:Note that Offset(0, 0) is interpreted as "keep previous offset", not as "reset offset to 0, 0" for compatibility with Hexen, which is the game from which this feature originates.
𝕂𝕝𝕠𝕗𝕜𝕒𝕔

Post Reply