Re: weapon_slam
                        Posted by schulzor2004 on 
    Fri Feb 18th 2005 at 1:07pm
                     
                    
                 
                
            
            
                
    
            4 posts
        10 snarkmarks
        Registered: 
    Jan 20th 2005
                    Occupation: Manager
                            Location: Germany
             
                
                        I cannot find the weapon_slam entity in Hammer. Of course I have run the latest update, so where is it ?
                                    
             
        
            
            
                                     
                                
                    
                        Re: weapon_slam
                        Posted by French Toast on 
    Fri Feb 18th 2005 at 2:33pm
                     
                    
                 
                
            
            
                
    
            3043 posts
        304 snarkmarks
        Registered: 
    Jan 16th 2005
                    Occupation: Kicking Ass
                            Location: Canada
             
                
                        ...maybe there isn't one!
                                    
             
        
            
            
                                
                    
                        Re: weapon_slam
                        Posted by schulzor2004 on 
    Fri Feb 18th 2005 at 3:02pm
                     
                    
                 
                
            
            
                
    
            4 posts
        10 snarkmarks
        Registered: 
    Jan 20th 2005
                    Occupation: Manager
                            Location: Germany
             
                
                        Aha, but how to place such item in my hl2dm map ??? dm_steamlab has it too !
                                    
             
        
            
            
                                     
                                
                    
                        Re: weapon_slam
                        Posted by RaPtoR on 
    Fri Feb 18th 2005 at 3:34pm
                     
                    
                 
                
            
            
                
    
                    
                             RaPtoR
                            RaPtoR
            
                        member
     
            212 posts
        61 snarkmarks
        Registered: 
    Jan 1st 2005
                            Location: Sweden
             
                
                        Just enter the name "weapon_slam" in a point entity. You cannot use smart edit since it's non supported.
                                    
             
        
            
            
                                     
                                
                    
                        Re: weapon_slam
                        Posted by French Toast on 
    Fri Feb 18th 2005 at 10:52pm
                     
                    
                        
                        Posted 
    2005-02-18 10:52pm
                     
                 
                
            
            
                
    
            3043 posts
        304 snarkmarks
        Registered: 
    Jan 16th 2005
                    Occupation: Kicking Ass
                            Location: Canada
             
                
                        To decompile a map, you need a decompiler!  As of now the only one I know of is linked to in Rof's signature.
Kudos to you Rof, that decompiler comes in handy a lot
                                    
             
        
            
            
                                
                    
                        Re: weapon_slam
                        Posted by keved on 
    Sat Feb 19th 2005 at 5:30pm
                     
                    
                 
                
            
            
                
    
            252 posts
        515 snarkmarks
        Registered: 
    Jan 21st 2005
                    Occupation: Games designer, Rockstar Leeds
                            Location: Leeds, UK
             
                
                        A bit baffling that Valve release the Slam but don't actually update the fgd to include its entity!
But yeah, as others have said, just add any weapon entity and manually change its class name to weapon_slam. That works fine...I've already added it to 2 of my levels, NP_Refinery beta 7 and Riot beta 1.
                                    
             
        
            
            
                                     
                                
                    
                        Re: weapon_slam
                        Posted by Dark Tree on 
    Thu Sep 29th 2005 at 11:45pm
                     
                    
                        
                        Posted 
    2005-09-29 11:45pm
                     
                 
                
            
            
                
    
            646 posts
        264 snarkmarks
        Registered: 
    Apr 30th 2004
                    Occupation: DigiPen student
                            Location: USA
             
                
                        OK....I am still having major issues with 2 elements to adding a SLAM to my Single Player map.
1. I cannot add a "weapon_slam" to my map, as it doesn't exist in
hammer. I tried adding a model and just renaming it to weapon_slam as
the class value, but that just produces an obsolete dude. I try to
compile the map, but no slam in the map. I restart hammer, still no
slammeroo. I decompiled a map containing some slams, and the entity was
indeed a weapon_slam (but it shows up as an obsolete entity). I have no
slam models in my weapons folder or anywhere else I can find.
2. Issue #2: I want to add a npc_slam to my map (or whatever they are
called) so that when the map starts up, the slam is already mounted and
activated (not as a weapon to pick up). Obviously, if I can't even get
the slam in my map, I can't do this portion either.
Am I missing something? Can I not creat a HL2SP (or MP) map with
slams?  I opened up HL2  and opened my map and opened console
and typed 'give weapon_slam' is responds in red lettters: 'Attempted to create unknown entity type npc_slam!'. So what's going on?
Also, I tried Fishys method and edited the fgd file. Now when I open my
map with my "slam" entitys in it, there isn't any longer an 'obsolete'
entity, but a small blue box (doesn't show model). On its 'flags' tab
it has the options to tick 'start constrained' and 'start without grab
functionality' which shows that it is at least REGISTERING that there
is an existign slam entity...
why the hell would I manually have to edit the fgd file to make hammer
do that?  The slam still does not show up in any way, shape, or
form in my map.
I did search for this topic, so if it has been covered somewhere else, feel free to point me in the right direction.
And again, thanks, guys in advance.
                                    
             
        
            
            
                                     
                                
                    
                        Re: weapon_slam
                        Posted by Dark Tree on 
    Fri Sep 30th 2005 at 2:19am
                     
                    
                 
                
            
            
                
    
            646 posts
        264 snarkmarks
        Registered: 
    Apr 30th 2004
                    Occupation: DigiPen student
                            Location: USA
             
                
                        Thanks Omega, and yes, I had decompiled a ProMod map.
Is there a way to make slams available for HL2? Or would there have to be some coding involved.....
                                    
             
        
            
            
                                     
                                
                    
                        Re: weapon_slam
                        Posted by Dark Tree on 
    Fri Sep 30th 2005 at 6:29am
                     
                    
                 
                
            
            
                
    
            646 posts
        264 snarkmarks
        Registered: 
    Apr 30th 2004
                    Occupation: DigiPen student
                            Location: USA
             
                
                        Great! I'm not too worried about using them...just wanna have them pre-set and ready to blow your head off in a map.
To make it decent looking, I think I will have to do:
slam model
env_beam
env_explosion
env_shake
trigger_hurt
trigger_once
It sounds like a long operation, but, like you said....doable....and
once I do it once, just copy and pasteroo (varying trigger names).
Tank j00 <3
                                    
             
        
            
            
                                     
                                
                    
                        Re: weapon_slam
                        Posted by Crono on 
    Fri Sep 30th 2005 at 6:44am
                     
                    
                 
                
            
            
                
    
                    
                             Crono
                            Crono
            
                        super admin
     
            6628 posts
        700 snarkmarks
        Registered: 
    Dec 19th 2003
                            Location: Oregon, USA
             
                
                        I'm sorry, wouldn't it make more sense to just use a physics object? Since it can have a destroyable property with explosion? That takes care of the explosion, shake, hurt, and trigger once.
This way, you could pick it up and junk. If you wanted a "mountable" one with a laser, I'm sure there's certain entities you can tie them to on contact or something as such.
Just another way to think about it, I guess.
                                            
                        Blame it on Microsoft, God does.