I'm new to the Duke4 forum and I can't seem to find any tutorials for level editing/coding/anything for Duke 3D.
I want to learn how to do a mod where the healing mechanic is like the one in Manhattan Project where you restore health by killing enemies so help a bro out won't you?
Page 1 of 1
Where can I learn on how to mod Duke 3D?
#1 Posted 02 March 2017 - 03:19 PM
#2 Posted 02 March 2017 - 03:53 PM
Welcome. If you want to mod Duke, then you'll want to work with EDuke32, a modern source port. You can find the wiki for it here: http://wiki.eduke32....wiki/Main_Page. It has all kinds of information to do with everything from compiling the executable, to making maps, to working with art and code, the latter of which would probably interest you the most.
For level editing specifically, this guide is considered the best, as everything is well-explained an illustrated with pictures: http://infosuite.duke4.net/
For level editing specifically, this guide is considered the best, as everything is well-explained an illustrated with pictures: http://infosuite.duke4.net/
#3 Posted 04 March 2017 - 08:50 AM
Duke-Quakem, on 02 March 2017 - 03:19 PM, said:
I want to learn how to do a mod where the healing mechanic is like the one in Manhattan Project where you restore health by killing enemies so help a bro out won't you?
The Seventh Son TC uses such a healing mechanic.
#4 Posted 12 July 2017 - 06:36 PM
Anvil, on 04 March 2017 - 08:50 AM, said:
The Seventh Son TC uses such a healing mechanic.
Either I can't get it to work properly, or you lied to me.
#5 Posted 12 July 2017 - 06:51 PM
Duke-Quakem, on 12 July 2017 - 06:36 PM, said:
Either I can't get it to work properly, or you lied to me.
Did you study the code?
Sample at line 4419, of the game.con file.
addphealth 10
when an actor dies, get 10 health points, if conditions are met.
Should work.
here is the entire code
Spoiler
This post has been edited by Hank: 12 July 2017 - 07:23 PM
#6 Posted 13 July 2017 - 07:48 AM
Duke-Quakem, on 12 July 2017 - 06:36 PM, said:
Either I can't get it to work properly, or you lied to me.
You screwed up twice: first, failing to get it work properly, and then suggesting the possibility that I lied to you. Why should I lie to you? Maybe my answer was just wrong? (And it wasn't.)
This post has been edited by Anvil: 13 July 2017 - 11:01 AM
#7 Posted 16 July 2017 - 02:56 AM
Anvil, on 13 July 2017 - 07:48 AM, said:
You screwed up twice: first, failing to get it work properly, and then suggesting the possibility that I lied to you. Why should I lie to you? Maybe my answer was just wrong? (And it wasn't.)
Having said this, I think this is a rather far-fetched goal for a beginner who needs tutorials on mapping (just like me). But perhaps I misunderstood this point.
#8 Posted 11 November 2017 - 07:34 PM
Hank, on 12 July 2017 - 06:51 PM, said:
Did you study the code?
Sample at line 4419, of the game.con file.
when an actor dies, get 10 health points, if conditions are met.
Should work.
here is the entire code
Sample at line 4419, of the game.con file.
addphealth 10
when an actor dies, get 10 health points, if conditions are met.
Should work.
here is the entire code
Spoiler
Hey, sorry for the late reply. The good news is that it worked when I shot the alien to death, but the bad news is that it doesn't work with stuff like the freeze ray and RPG. It only works with the bullet shooting guns like the pistol and shotgun. Is there a way that I can just make a line of code that will make it happen when they die in general?
#9 Posted 11 November 2017 - 07:52 PM
I'm guessing that somewhere in your code the "ifweapon" command is being used which specifies only the weapons you tell it to use. If you use "ifhitweapon" it will react to all weapons.
#10 Posted 11 November 2017 - 07:58 PM
Mark., on 11 November 2017 - 07:52 PM, said:
I'm guessing that somewhere in your code the "ifweapon" command is being used which specifies only the weapons you tell it to use. If you use "ifhitweapon" it will react to all weapons.
So do I just make a whole new line of code, or do I just replace something "ifhitweapon"?
Share this topic:
Page 1 of 1