It is entirely possible that this is a problem exclusive to me, but ever since the latest release, the mod does not seem to work, even after typing in 'trails on' and getting a confirmation message that trails were turned on.
 
srb20000.gif
its glitched
Post automatically merged:

please tell me how to fix
 
Last edited:
Could you show a screenshot of the script? Also, you could've made a conversation by the way. You can now (if you want). I just need to see if you got it right.
 
addHook(playerthink,function(player)
if player.mo.skin == "movieknux"
and player.mo.state == S_PLAY_GLIDE then
P_InstaThrust(player.mo, player.mo.angle, skins[player.mo.skin].normalspeed+20 *FRACUNIT)
end
end)
Post automatically merged:

there
 
It's really simple, you have to remove glidetrail.state = S_PLAY_GLIDE. The code should look like this.

Example:
addHook("PlayerThink", function(player)
if (player.mo.skin == "movieknux")
and (player.pflags & PF_THOKKED)
local glidetrail = P_SpawnGhostMobj(player.mo)
glidetrail.fuse = 3
glidetrail.scalespeed = FRACUNIT/15
glidetrail.destscale = 0
glidetrail.frame = TR_TRANS80|A
glidetrail.frame = $ & ~FF_TRANSMASK | TR_TRANS30
end
end)
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top