Melonpizza Posted September 18, 2021 (edited) Hello, in my time of using slade i stumbled acrosss two dorns in the programm 1. the programm wont detect "A_Fireprojectile" it just shows up in grey, and is not-working code, tho its a actual command. I currently use a_firecustommissile, but its depracted. So in future my mod could be incompatable in some time. 2. (for a wierd reason only on my craptop) this always happens if i look at pics in slade, its just blank white also, how do i prevent a player from sprinting? (in decorate) thanks Edited September 18, 2021 by ebigautisticnerd 0 Quote Share this post Link to post
1 ramon.dexter Posted September 20, 2021 Try using stable version, not the unstable beta. 0 Quote Share this post Link to post
0 Rifleman Posted September 19, 2021 If you want to prevent sprinting completely, you can create a new player class and just change two properties: ACTOR MyPlayerClass : DoomPlayer { Player.ForwardMove 1, 0.5 Player.SideMove 1, 0.5 } Then just specify the player class in MAPINFO: Gameinfo { PlayerClasses = "MyPlayerClass" } 0 Quote Share this post Link to post
0 Melonpizza Posted September 20, 2021 9 hours ago, ramon.dexter said: Try using stable version, not the unstable beta. Okay 0 Quote Share this post Link to post
0 Melonpizza Posted September 20, 2021 On 9/19/2021 at 2:02 PM, Rifleman said: If you want to prevent sprinting completely, you can create a new player class and just change two properties: ACTOR MyPlayerClass : DoomPlayer { Player.ForwardMove 1, 0.5 Player.SideMove 1, 0.5 } Then just specify the player class in MAPINFO: Gameinfo { PlayerClasses = "MyPlayerClass" } I think i explained it a little poorly, i want to prevent a player from sprinting under a condition (preferably a state) 0 Quote Share this post Link to post
0 Rifleman Posted September 21, 2021 You could use A_SetSpeed in a state and set it to 0.5, then use it again somewhere to set it back to 1. 0 Quote Share this post Link to post
0 ramon.dexter Posted September 21, 2021 Maybe if you explain what you want to do, we can give you better advice. Like, under which condition should the player sprint? 0 Quote Share this post Link to post
0 Melonpizza Posted September 21, 2021 6 hours ago, Rifleman said: You could use A_SetSpeed in a state and set it to 0.5, then use it again somewhere to set it back to 1. Thats what i did, but the sprint makes you still faster. 0 Quote Share this post Link to post
0 Rifleman Posted September 21, 2021 True, but the sprint is the same speed as normal walk with it. With 'always run', I don't think many would notice. While I have no further ideas, you might do it the other way around, the default would be no sprint and it could be activated, with the option being removable. I found this older thread that might give you some inspiration: https://forum.zdoom.org/viewtopic.php?t=38411 0 Quote Share this post Link to post
0 Melonpizza Posted September 21, 2021 28 minutes ago, Rifleman said: True, but the sprint is the same speed as normal walk with it. With 'always run', I don't think many would notice. While I have no further ideas, you might do it the other way around, the default would be no sprint and it could be activated, with the option being removable. I found this older thread that might give you some inspiration: https://forum.zdoom.org/viewtopic.php?t=38411 Thanks 0 Quote Share this post Link to post
0 Melonpizza Posted September 22, 2021 On 9/21/2021 at 11:52 AM, ramon.dexter said: Maybe if you explain what you want to do, we can give you better advice. Like, under which condition should the player sprint? so, the weapons alfire and fire should not allow the playes to sprint (on the altfire, it ends upon pressing altfire again. and on fire it ends upon not holding fire, with a_setspeed i already got it to work. But the player can still sprint, witch makes him just a litte too fast) 0 Quote Share this post Link to post
Question
Melonpizza
Hello, in my time of using slade i stumbled acrosss two dorns in the programm
1.
the programm wont detect "A_Fireprojectile"
it just shows up in grey, and is not-working code, tho its a actual command.
I currently use a_firecustommissile, but its depracted. So in future my mod could be incompatable in some time.
2.
(for a wierd reason only on my craptop)
this always happens if i look at pics in slade, its just blank white
also, how do i prevent a player from sprinting? (in decorate)
thanks
Edited by ebigautisticnerdShare this post
Link to post
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.