Jump to content

DarthRaff

Members
  • Posts

    152
  • Joined

  • Last visited

Posts posted by DarthRaff

  1. 1>j:\projects_2.50\prueba1_250\prueba1_250.cpp(573) : error C2882: 'std' : illegal use of namespace identifier in expression

    1>j:\projects_2.50\prueba1_250\prueba1_250.cpp(574) : error C3861: 'Delay': identifier not found

     

    The errors

  2. Hello, can someone tell me what i doing wrong here:

     

      // Send to screen
      Flip(0) ;
    
      TEntity ent;
      string cname;
    
      for (int i = 1; i <= CountChildren(playermesh); i++)
      {
       ent = GetChild(playermesh,i);
       cname=GetEntityKey(ent,"classname","");
       printf(cname);
       Delay(3000);
      }
    

     

    Thankyou very much

  3. Hello,

     

    Is there some kind of tutorial about save the data of a navmesh in the editor and read that data in the game code to make a pathfinder using navmesh instead of an A star node based one ? i found years ago " A Star pathfinding for beginners " that was very useful in blitz 3d, but i can't find any similar tutorial to make it with a navmesh. I don't know how to save the data an read it later in the game. Can someone help me with that ? thank you

  4. Hello,

     

    Can't remember if someone asked this before but how can i do to have an object falling in the editor. I have it with collision set to "props" and mass set to "1.0" but it doesn't fall, thank you

  5. Hello,

     

    how do you do to have furniture drawers or so open when you press a key ? with entitypick ? but entity pick would takes the whole object if i not wrong, so how do you think is the best method to pick a drawer, for example, isteed of the cabinet ? thank you

  6. So sorry, very long time no programming.

     

    I don't know how to use the two functions to have it working. GetMeshModel() is used by GetPickedEntity() but how to use it, i'm very lost.

     

    I tryied this but, of course, it's wrong

      if (KeyHit(KEY_E)) {
       TPick pick;
       pick = CameraPick(&pick,cam,Vec3(GraphicsWidth()/2,GraphicsHeight()/2,3.0),2,0,0);
       SendEntityMessage(GetPickedEntity(pick,3.0f,0),"use");
      }
    

×
×
  • Create New...