
Decorate weapons
Moderator: Graf Zahl
-
- Posts: 120
- Joined: Wed Aug 31, 2005 6:23
- Location: Somewhere
- Contact:
Decorate weapons
Just wondering if there is any good documentation on decorate weapons yet? (Or even anything close to it). I'd like to port my old EDGE project over to gzdoom sometime 

- TheDarkArchon
- Posts: 1000
- Joined: Wed Jul 06, 2005 11:58
- Location: What's that fucking smell
- Contact:
It's on the ZDoom wiki since Randy has confirmed it's place in future versions.
http://www.zdoom.org/wiki/index.php?tit ... ses:Weapon
http://www.zdoom.org/wiki/index.php?tit ... ses:Weapon
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
-
- Posts: 120
- Joined: Wed Aug 31, 2005 6:23
- Location: Somewhere
- Contact:
Also, on the topic of DECORATE, I've just added support to SLADE for reading definitions, but for now only the definitions beginning with 'actor' (ie the new format). I've added a new comment for telling SLADE what sprite to use in the editor, so:
actor Thing 10000
{
//$Category NewStuff
//$EditorSprite THNGA0
}
Also, technically you could use //$Category "New Stuff", but I'm not sure it'd work correctly in Doom Builder. I was also thinking of adding something to define what colour the thing is in the editor ("//$EditorColour 255 0 0" maybe?).
actor Thing 10000
{
//$Category NewStuff
//$EditorSprite THNGA0
}
Also, technically you could use //$Category "New Stuff", but I'm not sure it'd work correctly in Doom Builder. I was also thinking of adding something to define what colour the thing is in the editor ("//$EditorColour 255 0 0" maybe?).
-
- Posts: 120
- Joined: Wed Aug 31, 2005 6:23
- Location: Somewhere
- Contact:
-
- Posts: 120
- Joined: Wed Aug 31, 2005 6:23
- Location: Somewhere
- Contact:
So it can't really be done properly? Seems a bit backward to me, but oh well. I'm guessing it's been requested before, but is there any reason why it can't be done? Say, if you define something that's already defined, then new definition replaces the old one?
All I really want to do is add ejected shell/bullet casings to the original hitscan weapons.
All I really want to do is add ejected shell/bullet casings to the original hitscan weapons.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Replacing the originals requires some extensive redesign of the game's actor definitions. I only started last week with the simple decorations and I can tell you that it's a massively time consuming task. For monsters and weapons to be exported a decent code pointer scripting language is required first. If that exists you should be able to do what you want - but don't expect it to come soon.
-
- Posts: 120
- Joined: Wed Aug 31, 2005 6:23
- Location: Somewhere
- Contact:
Ah, thought it would be something like that. In the mean time, would it be possible to do via some kind of hack? I know its not the best thing, but I'd rather not create a bunch of new copies of monsters with different drops and everything else just to have to change it all back again, once replacing the originals properly is supported.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact: