View Single Post
Re: breakout_et_b2 navigation
Old
  (#12)
TomTom
ET Waypointing team member
 
TomTom's Avatar
 
Status: Offline
Posts: 745
Join Date: Jun 2006
Default Re: breakout_et_b2 navigation - 16-04-2008

Yes the old version needed a special dance to avoid crashing. Apparently it may be related to how printers are handled (poorly) in sp1.

Your chosen bsp reader sounds worth a look, maybe to include a reference in the wiki. Post any links you have got and requirements (I have not updated my WAMP for over a year). I have occasionally thought about writing small utils in perl or php but figure it would not be received well to ask others to install so much just so I could provide open script.

Tried out the func_timer method. It worked fine;

Code:
game_manager
{
    spawn
    {        
        create
        {
            classname "misc_mg42"
            targetname "testgun"
            accuracy "25"
            harc "45"
            origin "3485 -2205 1007"
            angle "80"
            spawnflags 2  //tripod=0? or NOTRIPOD=2
            //target   ??? 
            scriptname "testgun"
        }
...

        create
        {
            classname "func_timer"
            random "20"
            wait "90"
                origin "2885 -5525 344"
            spawnflags "1"    
            targetname "tomtest"
            target "mg42_testgun2"
        }
        create
        {
            classname "target_script_trigger"
            origin "0 0 400"
            targetname "mg42_testgun2"
            scriptname "mg42_testgun"
            target "mg42_testgun"
        }
...
    }
}
...
mg42_testgun
{

    spawn
    {
        print "mg42_testgun spawn"
    }

    trigger mg42_testgun
    {
        //print "mg42_testgun trigger mg42_testgun"
        repairmg42 testgun
    }

    death
    {
        print "mg42_testgun death"
    }
}


Did not find any working events invoked for a misc_mg42's scriptblock except spawn{}.

  
Reply With Quote