A Question about the state of Decorate weapons coding...

Do you have a question about making weapon mods, or do you just need some tutorials and resources? Ask about all of that here.

Moderator: wildweasel

Locked
Talonos
Posts: 8
Joined: Thu Mar 09, 2006 17:55

A Question about the state of Decorate weapons coding...

Post by Talonos »

I know that in one of the unofficial versions, there was a way to generate random numbers. Is it still there? Is it in .98? Is it in GZdoom?

And what's this I hear about .99? Is this a rumor? It's not on the downloads page.
User avatar
Phobus
Posts: 227
Joined: Sat Sep 03, 2005 11:48
Location: Orpington, Kent, England
Contact:

Post by Phobus »

It's a code-release to clear up bugs for v2.1.0 of ZDoom.
User avatar
TheDarkArchon
Posts: 1000
Joined: Wed Jul 06, 2005 11:58
Location: What's that fucking smell
Contact:

Post by TheDarkArchon »

Can't beleive I missed this thread.

Any way, you can. Just use Random(min,max).
User avatar
Zeg-Vok
Posts: 233
Joined: Wed Sep 21, 2005 18:04
Location: Up the creek without a paddle
Contact:

Post by Zeg-Vok »

Wait! You can use random numbers in Action functions and such!?!
User avatar
TheDarkArchon
Posts: 1000
Joined: Wed Jul 06, 2005 11:58
Location: What's that fucking smell
Contact:

Post by TheDarkArchon »

You can pass them as arguments in DECORATE codepointers, yes.
Locked

Return to “Weapon Modding Help & Resources”