Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
ipaqmaster

Thes Monstor Makes Game Hang: Why?

Recommended Posts

Hello to all :)

I have yet another problem with my scripts .....


When this monstor is "Summoned" The Skulltag hangs im not sure why


sorry no code function



*


ACTOR alien
{
        MONSTER

        Radius 50
	Height 400
	Speed 45
	Damage 45
        health 9000
        scale 2
        Mass 20
	+RANDOMIZE
	States
	{
	Spawn:
            Spri A 0 A_PlaySoundEx("FK/Posessed", "Body", 1)
            
    	FLAM A 0 A_PlaySoundEx("sa/fire", "Body", 1)
            Spri B 0 A_Look
	    Loop

        see:

            Spri A 0 A_Chase
            loop
            

        Missile:
            Spri A 0 A_FaceTarget
            Spri B 0 
            Goto See


	Death:
		Spri DEFGH 1
		Spri A 0
		Stop

	}
}


Edit: hooray for code tags :)

Share this post


Link to post

[code] tags are available, you know.


Anyway, it's normal the game hangs. All the states in that actor have a zero-tic length. It's just a big messy pile of infinite loops.

Share this post


Link to post

Ok thanks.
I didnt know it meant that, and im not the best at doom editing anyway :(

* modified


Thank you Very Much , i have fixed it now and the Monster runs Perfectly ^.^

Share this post


Link to post

Now my problem is that Most of my weapons all of a suden NOW cannot Find the class name 'Light'

Unknown class name 'light'

is spammed abouit 30 times and then causes the game to become UnLaunchable

Share this post


Link to post

It hangs because you got several 0 duration loops in there. 0 actually means 0, i.e. there is no delay between the states. As a result it just gets stuck without any chance of getting out again.

Share this post


Link to post
ipaqmaster said:

Now my problem is that Most of my weapons all of a suden NOW cannot Find the class name 'Light'

Unknown class name 'light'

is spammed abouit 30 times and then causes the game to become UnLaunchable

Without the code for the weapon in question, I'm afraid we can't help you.

Share this post


Link to post

Its actually EVERY SInGLE WEAPON that uses it, They get the error but im trying to find a cheap work around at the moment.

Share this post


Link to post

Every single which weapons? Not those in zdoom.pk3 (or gzdoom.pk3, or skulltag.pk3, whichever port you use).

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×