memes4lyfe Posted September 18, 2019 this is a hypothetical question. i know NOTHING of C or C++. i just want to know if it was possible to add a new weapon (without replacing anything) to DOS doom via a DOS compatible source port. 0 Share this post Link to post
Graf Zahl Posted September 18, 2019 Sure that would be possible. The weapon table can be altered just as well for DOS as for modern OSs. 0 Share this post Link to post
MadGuy Posted September 18, 2019 Yeah, the real limitation is memory usage and how far numerical values can go 0 Share this post Link to post
memes4lyfe Posted September 18, 2019 46 minutes ago, Graf Zahl said: Sure that would be possible. The weapon table can be altered just as well for DOS as for modern OSs. how could the weapon table be altered? could i have weapons share the same slot as others? 0 Share this post Link to post
boris Posted September 18, 2019 24 minutes ago, memes4lyfe said: how could the weapon table be altered? could i have weapons share the same slot as others? With the source code you could put in anything you want. 0 Share this post Link to post
memes4lyfe Posted September 19, 2019 what .c file would i have to look in? 0 Share this post Link to post
Graf Zahl Posted September 19, 2019 For the weapons there's other data in p_pspr.c as well. 0 Share this post Link to post
memes4lyfe Posted September 19, 2019 and how exactly would i make a weapon share a slot with another? 0 Share this post Link to post
Gez Posted September 19, 2019 Just look at the shotgun and super shotgun, and do it the same way. If that's too hard, too complex, or too abstract for you, then my answer will have to be that you cannot do it. 0 Share this post Link to post
memes4lyfe Posted September 19, 2019 okay. what would i have to do to add a weapon, and assign it to a slot? is there i file where the weapon slot assignment is located? 0 Share this post Link to post