The "How do I..." Thread
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- FranckyFox2468
- Posts: 136
- Joined: Sat Nov 28, 2015 2:42 pm
Re: The "How do I..." Thread
How do i make a custom scoreboard or add additional values to the classic doom scoreboard intermission? Like, on top of having the kill/items/secrets %, maybe put the ammount of a specific item found or score-specific inventory item that is added by killing monsters?
Re: The "How do I..." Thread
I'm having trouble with script execute 80 special. I want to add this to multiple linedefs because of the layout of a map I'm working on. What I want to do is make it where all I have to do is pass over one linedef and have the script execute activate only once instead of it happening multiple times when I pass over the other linedefs assigned to this script. How do I do this?
-
- Posts: 5043
- Joined: Sun Nov 14, 2010 12:59 am
Re: The "How do I..." Thread
Gez answered a similar question here.Mav3r1ck wrote:I'm having trouble with script execute 80 special. I want to add this to multiple linedefs because of the layout of a map I'm working on. What I want to do is make it where all I have to do is pass over one linedef and have the script execute activate only once instead of it happening multiple times when I pass over the other linedefs assigned to this script. How do I do this?
Re: The "How do I..." Thread
Thanks!Blue Shadow wrote:Gez answered a similar question here.Mav3r1ck wrote:I'm having trouble with script execute 80 special. I want to add this to multiple linedefs because of the layout of a map I'm working on. What I want to do is make it where all I have to do is pass over one linedef and have the script execute activate only once instead of it happening multiple times when I pass over the other linedefs assigned to this script. How do I do this?

Re: The "How do I..." Thread
Please help) if(velX == 0) //Such a condition does not workPlease tell me why this line of code always returns "angle == 0"?
The angle of the actor set and 0 and 180, and so on .. always work "angle == 0"Code: Select all
States{ Spawn: TNT1 A 1 { if(angle != 0) { A_PrintBold("angle != 0"); } else { A_PrintBold("angle == 0"); } }
I suspect that the rest will not work inside anonymous functions, such as velY, VelZ etc.
I can write the condition is simply wrong?
- MetallicaSepultura
- Posts: 178
- Joined: Sun May 15, 2016 3:49 am
- Location: Futura City, currently slaughtering Rahzs
Re: The "How do I..." Thread
i've made a custom chaingun and i've made it so that it inherits all properties from original chaingun.
but on Zandronum when i take out the weapon it's still called chaingun, how can i make it so that it's called "SausequatchMG"?
but on Zandronum when i take out the weapon it's still called chaingun, how can i make it so that it's called "SausequatchMG"?
Code: Select all
actor SausagequatchMG: Chaingun{
AttackSound "weapons/shotgf"
States{
Fire:
CHGG AB 2 A_FireBullets(10, 10, 1, 25, "BulletPuff")
CHGG B 0 A_ReFire
Goto Ready
}
}
Re: The "How do I..." Thread
I have no idea how to do the following:
1) Remove Save Button.
2) Have autosaves overwrite eachother.
3) Upon death respawning you at a specific spot instead of going to previous save.
1) Remove Save Button.
2) Have autosaves overwrite eachother.
3) Upon death respawning you at a specific spot instead of going to previous save.
- DoomKrakken
- Posts: 3489
- Joined: Sun Oct 19, 2014 6:45 pm
- Location: Plahnit Urff
- Contact:
Re: The "How do I..." Thread
There's an actor property called "Tag". Put "SausagequatchMG" as the weapon's tag, and it will show up as that.
Re: The "How do I..." Thread
You'll have to disable intermissions in MAPINFO and then script your own intermission system to replace it. KDIZD did it, if you need an example.FranckyFox2468 wrote:How do i make a custom scoreboard or add additional values to the classic doom scoreboard intermission? Like, on top of having the kill/items/secrets %, maybe put the ammount of a specific item found or score-specific inventory item that is added by killing monsters?
- Deviluke Roy
- Posts: 405
- Joined: Sat Mar 05, 2016 4:43 pm
- Location: Where's my jokebook?
Re: The "How do I..." Thread
How do I make a talking guy like in strife?
Re: The "How do I..." Thread
[wiki]DIALOGUE[/wiki]
- Deviluke Roy
- Posts: 405
- Joined: Sat Mar 05, 2016 4:43 pm
- Location: Where's my jokebook?
Re: The "How do I..." Thread
Oh, thanks. Now, time to figure out how exactly it works ...Gez wrote:[wiki]DIALOGUE[/wiki]
-
- Posts: 5043
- Joined: Sun Nov 14, 2010 12:59 am
Re: The "How do I..." Thread
Could you post the entirety of that DECORATE code?Alekv wrote:Please help) if(velX == 0) //Such a condition does not workPlease tell me why this line of code always returns "angle == 0"?
The angle of the actor set and 0 and 180, and so on .. always work "angle == 0"Code: Select all
States{ Spawn: TNT1 A 1 { if(angle != 0) { A_PrintBold("angle != 0"); } else { A_PrintBold("angle == 0"); } }
I suspect that the rest will not work inside anonymous functions, such as velY, VelZ etc.
I can write the condition is simply wrong?
Re: The "How do I..." Thread
I've created a script that allows multiple crushers to activate at the same time. My question is. How do I make it to where the crushers will move at independently to make it more difficult for the player instead of at the same time?
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: The "How do I..." Thread
You don't.Zand wrote:I have no idea how to do the following:
1) Remove Save Button.
Again, you don't. It's a user option for a reason.Zand wrote:2) Have autosaves overwrite eachother.
MapInfo's AllowRespawn flag will let the player respawn multiplayer-style, so you could use a [wiki=Script_types#RESPAWN]respawn script[/wiki] to move them. (Though if the intent is to muck about with saving, don't. Just don't.)Zand wrote:3) Upon death respawning you at a specific spot instead of going to previous save.