Cacodemon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > More of my smegging Zdoom dehacked questions...
 
Author
All times are GMT. The time now is 00:17. Post New Thread    Post A Reply
Captain Red
Pants


Posts: 5429
Registered: 06-01


Four this time:

Firstly, is there a way to make the super shotgun fire only one shot in itís default weapon slot (i.e. not moving the Super shotgun frames to another weapon slot)?

Secondly, is there a way to make the rail trail invisible?

Third, How much damage dose the player railgun do?

And finally can the player railgun damage be adjusted?

__________________
Punch

Old Post 10-28-02 23:52 #
Captain Red is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
rf`
Dr. Nosign


Posts: 8218
Registered: 11-01


1. code pointers.
2. dunno.
3. see above answer.
4. see above answer again.

__________________
Released wads and other doom crap

Old Post 10-29-02 00:02 #
rf` is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 6387
Registered: 12-00


1. Not sure if this is what you are looking for, but in the latest Zdoom versions, it is possible to specify how much ammo a weapon uses per shot, and how much ammo you need before you can fire the weapon.

ie You know that the BFG uses 40 cells per shot and you cannot fire it with less? You can set that kind of behaviour for any weapon, at any value.

eg

Weapon 8 (Super Shotgun)
Ammo use = 1
min ammo = 20

the above would make the SSG use 1 ammo per firing, but only allow you to use the SSG if you had 20 shells in your inventory.

2. Don't think so.

3. I found a few references in the code, but didn't understand them. This could be relevant:

damage = deathmatch ? 100 : 150;

A random value from 100 to 150? Something to do with the value being different in DM games? I dunno.

4. Player Rail damage cannot be adjusted. Monster rail damage can by setting the missile damage value for the actor firing the weapon.

__________________
Meek

Old Post 10-29-02 18:19 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
timmie
2 legit 2 quit!


Posts: 714
Registered: 03-02


the "deathmatch ? 100 : 150" is a terniary operator. It's the same as going "if (deathmatch) { 100 } else { 150 }". So it's 100 damage in deathmatch and 150 otherwise.

__________________
That's grade 4.9 like a fox!

Old Post 10-29-02 18:40 #
timmie is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 6387
Registered: 12-00


Ahh! thanks timmie, that makes sense.

__________________
Meek

Old Post 10-30-02 22:52 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Captain Red
Pants


Posts: 5429
Registered: 06-01



Enjay said:
[Enjay advice]


Oh, yes, that was pretty much what I wanted to know. cheers. :)

__________________
Punch

Old Post 10-31-02 13:04 #
Captain Red is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
All times are GMT. The time now is 00:17. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > More of my smegging Zdoom dehacked questions...

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.