Jump to content

Home

Gun Script


lauser

Recommended Posts

Posted

This might have been asked before but I'm having trouble with this particular function. What I want to do is have a GUN shooting a hole in a wall for M/P. I've seen it done in S/P when Kyle blasts the BLAST door with that cannon. I kind of have an idea with func_usable and a func_timer I think. Maybe a script exec by a func_usable?

Anyone know how I would go about doing this?

 

Thanks in advance................:D

Posted

Make a shader to be your "laser beam."

 

Make a func_door with speed 200000 and set it up so that when it is "closed" it is out of view and when it is "open" it is in the correct place to be shooting from your gun or whatever.

 

Make a trigger_multiple.

 

Make a func_breakable.

 

Select the trigger_multiple first, then select the func_breakable as well (in that order).

 

Hit ctrl+k.

 

Select the trigger_multiple first, then select the func_door as well (in that order).

 

Hit ctrl+k.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...