The "How do I..." Thread

Archive of the old editing forum
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.
User avatar
FranckyFox2468
Posts: 136
Joined: Sat Nov 28, 2015 2:42 pm

Re: The "How do I..." Thread

Post by FranckyFox2468 »

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?
User avatar
Mav3r1ck
Posts: 262
Joined: Thu Jul 16, 2015 11:09 pm

Re: The "How do I..." Thread

Post by Mav3r1ck »

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?
Blue Shadow
Posts: 5043
Joined: Sun Nov 14, 2010 12:59 am

Re: The "How do I..." Thread

Post by Blue Shadow »

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?
Gez answered a similar question here.
User avatar
Mav3r1ck
Posts: 262
Joined: Thu Jul 16, 2015 11:09 pm

Re: The "How do I..." Thread

Post by Mav3r1ck »

Blue Shadow wrote:
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?
Gez answered a similar question here.
Thanks! :D
User avatar
Alekv
Posts: 170
Joined: Mon Jun 08, 2015 12:41 am
Location: My world :)
Contact:

Re: The "How do I..." Thread

Post by Alekv »

Please 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");
}
}
Please help) if(velX == 0) //Such a condition does not work
I suspect that the rest will not work inside anonymous functions, such as velY, VelZ etc.
I can write the condition is simply wrong?
User avatar
MetallicaSepultura
Posts: 178
Joined: Sun May 15, 2016 3:49 am
Location: Futura City, currently slaughtering Rahzs

Re: The "How do I..." Thread

Post by MetallicaSepultura »

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"?

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
}
}
User avatar
Zand
Posts: 79
Joined: Mon Jan 04, 2016 2:25 pm

Re: The "How do I..." Thread

Post by Zand »

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.
User avatar
DoomKrakken
Posts: 3489
Joined: Sun Oct 19, 2014 6:45 pm
Location: Plahnit Urff
Contact:

Re: The "How do I..." Thread

Post by DoomKrakken »

There's an actor property called "Tag". Put "SausagequatchMG" as the weapon's tag, and it will show up as that.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: The "How do I..." Thread

Post by Gez »

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?
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.
User avatar
Deviluke Roy
Posts: 405
Joined: Sat Mar 05, 2016 4:43 pm
Location: Where's my jokebook?

Re: The "How do I..." Thread

Post by Deviluke Roy »

How do I make a talking guy like in strife?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: The "How do I..." Thread

Post by Gez »

[wiki]DIALOGUE[/wiki]
User avatar
Deviluke Roy
Posts: 405
Joined: Sat Mar 05, 2016 4:43 pm
Location: Where's my jokebook?

Re: The "How do I..." Thread

Post by Deviluke Roy »

Gez wrote:[wiki]DIALOGUE[/wiki]
Oh, thanks. Now, time to figure out how exactly it works ...
Blue Shadow
Posts: 5043
Joined: Sun Nov 14, 2010 12:59 am

Re: The "How do I..." Thread

Post by Blue Shadow »

Alekv wrote:
Please 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");
}
}
Please help) if(velX == 0) //Such a condition does not work
I suspect that the rest will not work inside anonymous functions, such as velY, VelZ etc.
I can write the condition is simply wrong?
Could you post the entirety of that DECORATE code?
User avatar
Mav3r1ck
Posts: 262
Joined: Thu Jul 16, 2015 11:09 pm

Re: The "How do I..." Thread

Post by Mav3r1ck »

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?
User avatar
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

Post by NeuralStunner »

Zand wrote:I have no idea how to do the following:
1) Remove Save Button.
You don't.
Zand wrote:2) Have autosaves overwrite eachother.
Again, you don't. It's a user option for a reason.
Zand wrote:3) Upon death respawning you at a specific spot instead of going to previous save.
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.)
Locked

Return to “Editing (Archive)”