Weird impy thing
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 > Special Interest > Eternity > A few requests for the generic weapon codepointers
 
Author
All times are GMT. The time now is 19:01. Post New Thread    Post A Reply
Stilgar
Junior Member


Posts: 105
Registered: 07-06


Would it be possible to add a few more parameters to the generic weapon functions without breaking the way they work now? There are a few expansions that I'd find useful:

For A_FireCustomBullets and A_CustomPlayerMelee:
- Type of "puff" to make
- Whether or not it can hit things that have the Heretic "ghost" flag.

For A_FirePlayerMissile:
- Horizontal deviance (how much the shot might be inaccurate to the left or right)
- Vertical deviance (how much the shot might be inaccurate up or down)

I'd also like a pointer similar to A_RandomJump, but instead of a random roll, it jumps if there's a shootable object within the player's melee range. That way it would be possible to make weapons that attack differently when used in melee, similar to some Hexen weapons.

Old Post 04-02-07 22:53 #
Stilgar is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 2200
Registered: 08-00


Problem is that a design decision was made to assign 5 args values to frames. Now, I can increase that number without causing issues (and 8 would be a good round number). I just don't want to do it without a really good reason. I'll consider this, but keep in mind that with the advent of EDF weapons, it might be more practical to specify some properties as properties of the weapon rather than as args on the codepointers in its frames. I've already been thinking about tracer puff types and some of the other things you've mentioned :)

Old Post 04-03-07 14:50 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Stilgar
Junior Member


Posts: 105
Registered: 07-06


Good enough, as long as the behavior is adjustable some way I'll be happy.

Old Post 04-04-07 02:07 #
Stilgar is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 19:01. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > A few requests for the generic weapon codepointers

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.

Forums Directory