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 > Classic Doom > Source Ports > Messing with prboom-plus source code
 
Author
All times are GMT. The time now is 01:21. Post New Thread    Post A Reply
K!r4
Senior Member


Posts: 1324
Registered: 05-07


OK guys, here are some things I'd like to do with prboom-plus source code:

- add mouse aiming

- enable transparency with sprites in OpenGL (some of my gore/smoke png doesn't look quite right with transparency disabled)

- disable "compatibility" menu (looks like this one is the simplest looking at source code, but I'd like to be sure it doesn't cause problems elsewhere)

How do you think I could implement all of this? Most of this should be a trivial matter, but I am not very familiar with prboom-plus source code (not to say, with doom source code at all).

Also, if I replace ressources lumps in /data, will there be problems with md5 checking or anything like that?

Thanks in advance!

Old Post 08-02-12 22:24 #
K!r4 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Processingcontrol
Senior Member


Posts: 1553
Registered: 09-10



K!r4 said:
- disable "compatibility" menu (looks like this one is the simplest looking at source code, but I'd like to be sure it doesn't cause problems elsewhere)

Why would you do that?

Old Post 08-02-12 22:39 #
Processingcontrol is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
K!r4
Senior Member


Posts: 1324
Registered: 05-07


Just a curiosity ATM, it's just to get familiar with how things work. And this is unimportant, I am not trying to push that thing through your throat, just asking :-)

Edit: And i'd like to say "just" for the fourth time.

Old Post 08-02-12 22:41 #
K!r4 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2733
Registered: 01-04



K!r4 said:
- enable transparency with sprites in OpenGL (some of my gore/smoke png doesn't look quite right with transparency disabled)

This?

http://prboom-plus.sf.net/clip/2012-08-03_0.43.13.png

Old Post 08-02-12 22:46 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
K!r4
Senior Member


Posts: 1324
Registered: 05-07


Yeah, though I'd like to use it with my custom Hires png. I have dying monsters where blood is messed up because the transparency doesn't show up.

Which setting is this? I thought it was removed because it didn't look right behind transparent textures.

Also, what are your thoughts on implementing mouse aiming? I was thinking about it as an optional setting, autodisabled when recording with complevels.

Last edited by K!r4 on 08-03-12 at 00:25

Old Post 08-02-12 22:57 #
K!r4 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2733
Registered: 01-04



K!r4 said:
Which setting is this? I thought it was removed because it didn't look right behind transparent textures.


TRANSLUCENT flag?

Thing 92 (Tall Blue Torch)
Bits = SPAWNCEILING + TRANSLUCENT

Old Post 08-02-12 23:06 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
K!r4
Senior Member


Posts: 1324
Registered: 05-07


Yep, the translucent flag. Looking at the changelog I should have dreamed though.

As for your Dehacked settings, problem is that I don't want the whole sprite to be transparent, only parts of it (blood for instance). Since the hires sprite use transparency at specific parts, it doesn't look as intended ingame.

You give me ideas for others sprites though, thanks!

Old Post 08-02-12 23:18 #
K!r4 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
K!r4
Senior Member


Posts: 1324
Registered: 05-07


So, looking at p_mobj.c, I guess I should mess with P_SpawnPlayerMissile to see how to disable autoaim and enable mouse aiming. Am I correct?

Old Post 08-03-12 11:29 #
K!r4 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 01:21. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Messing with prboom-plus source code

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.