Jump to content
The Dark Mod Forums

Jasp

Member
  • Posts

    18
  • Joined

  • Last visited

Posts posted by Jasp

  1. I made some maps for HL1 with Hammer and startet using DarkRadiant a few weeks ago. I think your knowledge will help you a lot. I startet this http://wiki.thedarkm...ide_Start_Here! and didn't need to finish the tutorial. Just start from the beginning and do exactly what's written, you'll find all important information on the first pages. Then I stopped the tutorial and looked up things when I stuck. For Example: I searched for a way to link to the textures as you have to in Hammer (if I remember right) but you dont need to do it in DarkRadiant.

    • Like 1
  2. I made a small test. A AI walking around with path_corners and 1 path_wait.

    When I trigger the script, the moveToPosition-waypoint is added before the next path_corner: AI is on way from A -> B. When script is triggered AI first moves to the script-waypoint and then immediately to B. When the script is triggered while path_wait is active the AI moves in the direction of the script-waypoint but when the path_wait ends it forgets the script-waypoint and continues the path.

    void geh()
    {
    $frau.moveToPosition($player1.getOrigin());
    }
    

  3. What I wanna do is a waiting queue for a map with kind of open-world-feel. My first goal: Send each incoming AI to another path_corner.

     

    I tried it this way.

    AI walks to path_corner and while on the way it walks over a trigger on the way. This trigger changes the target of the path_corner.

    But it doesn't change the route of the AI.

    Then I placed a trigger_wait (wait 0) between them and changed its target, because I thought maybe the AI already 'knows' the target of the next node. But it doesn't change anything.

    Is the whole path fix when the map is loaded?

     

    EDIT: HEY! When I can't change the target of an AI - I fear I can forget my idea... (AI go to work, after some time have a break, go back to work, talk to someone... all controlled via script)

  4. this is the whole thing. Works now, thanks alot!

     

    void befugt()

    {

    $wache1.setEntityRelation($player1,1);

    $wache1.setAlertLevel(0);

    $wache2.setEntityRelation($player1,1);

    $wache2.setAlertLevel(0);

    sys.println("befugt");

    }

     

    void unbefugt()

    {

    $wache1.setEntityRelation($player1,-1);

    $wache2.setEntityRelation($player1,-1);

    sys.println("unbefugt");

    }

     

    void folgehelfer()

    {

    boolean eingreifen;

    float abstand;

    abstand = $player1.distanceTo($helfer1);

    sys.println(abstand);

    eingreifen = abstand > 128;

    if (eingreifen)

    {

    unbefugt ();

    }

    else

    {

    befugt ();

    }

    }

  5. Hi,

     

    what i want is to compare two floats. It's about checking the distance between the player and an AI and start a script if the distance is bigger than 128. I wrote:

     

    void folgehelfer()

    {

    boolean eingreifen;

    string abstand;

    abstand = $player1.distanceTo($helfer1);

    sys.println(abstand);

    eingreifen = abstand > 128;

    if (eingreifen = true)

    {

    call unbefugt();

    }

    }

     

    it doesnt work: type mismatch for '>'

     

    Does TDM / D3 know '>' and '<'? What is wrong?

  6. You are right:

    I used Valves Worldcraft (later called Hammer). I had to select the texture-packs and saw them in a texture-browser when I did everything allright. I expected the same feedback in DarkRadiant and did want to start the tutorial after I got everything set up.

     

    Solution: Just follow the great tutorials and relax. You'll find all the textures in "media" (press 'm') and all used ones in the map at "textures" (press 't').

  7. Hey,

     

    finally TDM is for free (i got no Doom3) and i played it a bit now and can't wait to get my own mission startet... I created a few things for Half-Life so i tried it the same way - read tutorials and get things started.

     

    I mainly read these

     

    http://wiki.thedarkm...uide_Start_Here!

    http://forums.thedar...ngs-for-tdm-20/

     

    - but I can't get DarkRadiant settings the right way. I got no textures and no entities.

     

    Here is where it is:

     

    E:\darkmod // it's TDM 2.00

    C:\Program Files\DarkRadiant // the newest version - i got it today.

     

    Settings:

     

    Select a Game [Doom3]

    Engine Path [E:/] - ?

    Mod [darkmod] - ?

    Mod Base - ?

     

    I tried a lot of different things here but nothing worked...

     

    Can someone help?

×
×
  • Create New...