Jump to content

grinseengel

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by grinseengel

  1. I have a question about the creation of the navmesh.
    
    During production, the specified values are specified. With these values, I have also created the navmesh.
    
    If now in the level e.g. a crawler walks around, then the player tracking works very well on level ground.
    
    But when it comes to slopes, then the crawler often gets stuck and runs on the spot.
    
    Is it possible to create a navmesh with other values with which these problems can be solved? Which values do I have to enter then?
    
    Or is it the Monsterai Script?
  2. Thank you for the info. I have now added this to the script. See Attachment.
    
    That works too. I can choose between the weapons and the grenade. If I throw the grenade, then it works too. 
    However, the game then freezes. Sometimes it freezes after throwing a grenade, sometimes after two or three throws. 
    This always happens when I want to run with the player afterwards.
    
    Do you have any idea?
    
    

     



     

     

    Unbenannt.jpg

  3. I have now downloaded and installed the explosion example from the steam workshop.
    
    If I want to pick up the bomb prefab as a player now I get the following error message.
    
    
    
    Do you have a chance to install the grenade in your HUD script?

    Unbenannt.jpg

  4. Hello,
    
    I have a request. I would like to build a barrel that can explode into my game.
    
    But since I am an absolute beginner with the Learwerksenigine I can not do without help. I have already tried something with the particle emitter.
    
    However, I have no idea how to make an explosion with it.
    
    Maybe one of you has a demo-script with which I can try something?
    
    Is it possible to buy a finished script?
  5. I found the mistake. The model had only the animation phase attack1. I added attack2 now and now it works.
     
    
    I have set to true.
    
    The scorpion model has the animation phases, idle, run, attack1 and death. The first time yes, the attack animation is played. After that the model stands still. It depends on the player but it stops.
    
    I have a little video set. You can take a look at that.
    
    
    
  6. I am again with a problem that I can not solve.
    
    I downloaded the Scorpion model from the workshop. I assigned the monsterAI-script to the Scorpion model.
    
    In level, the scorpion responds to the player. 
    If the player is touched by the sorpion, he stops and does not follow the player anymore. 
    He reacts to shots and dies too.
    
    The crawlers do not have this problem. Is it on the model or overlook something there?



     


     

  7. Hello,
    
    I have a problem again. If I pack a crawler model in my level with the monsterAI script then this works very well with the player recognition. 
    The crawler discovers the player and chases him.
    
    If I add a crawler model, both crawlers will stop. The running animation they execute. But you do not hunt the player. 
    When I get closer to the crawlers as a player, nothing happens. Only when I am close to the crawlers and then shoot you move towards the player.
    
    Can someone help me? What am I doing wrong?
  8. Ok, with the crawler I'll take a look again.
    
    I have two questions or requests to you.
    
    I downloaded some monster models from the workshop. How can I include the prefab (as well as the crawler) in my project?
    
    Can you help me create a munitions pickup script for the weapons in the project? I have already loaded the models for the ammunition from the workshop.
  9. Hello,
    
    I have a problem again which I can not solve without your help.
    
    I downloaded the helimodel black hawk in the workshop. I have the model built into my level. However, the collision detection does not work. The player goes through the model. Is this a mesh error of the model or do I still have something to adjust?



     

     

  10. Hello,
    
    I have a question about the crawler prefab. I noticed that the AI of the crawler is slightly different than the regular monster script.
    
    Can it be, or is it just me? I think the crawler runs rather in a zigzag and not directly to the player.
  11. At the moment I do not understand the world anymore.
    
    I have as a level the asset the zone. As a test I packed the generic player and a crawler in the level. The player received the player FPS Script and the crawler the monster script. Now the crawler no longer rules on the player. You can see that in the video. What am I doing wrong?

    Video

  12. range = 1000
    
    
    --Load a sound
    local sound = Sound:Load("Sound/heli2.wav") 
            
    --Create a source
    source = Source:Create() 
    source:SetSound(sound) 
    sound:Release() 
    source:SetLoopMode(true)  
    source:Play() 
    source:SetPosition(Vec3(0,0,1))
    source:SetRange(range) 
    
    I have now added the following scripts and given the heli model.
    
    When I start the project then I can hear at the beginning while the program loads the helisound. If the project is completely done then the sound will stop.
    
    Even if I go close to the model, nothing changes.
    
    This ist the listener from FPS-Script.
    
    --Create listener
    	self.listener = Listener:Create(self.camera)	
    Complement:
    
    The higher I set range I hear the heliosound. However, it does not become quieter or silenced when I move away from the model.
×
×
  • Create New...