Jump to content

Warbird1

Supporter
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Warbird1

  1. Hey thanks!

    That thing with assigning 0 to walkstate did the trick! Thank you! Who could have thought of that? Nope, I don't come from Skyrim, never played it.

    Fortunately those provisional waypoints (coordinates) I set were within the boundaries of a single cell so no, no interruptions, but thanks for that pointer.

    Yeah, AiTravel is complicated (or perhaps very limited), especially taking into account all variables that might occur in the process. No wonder developers had seldomly used it! (I can recall only two instances to be honest, except Fargoth the next one is Mehra Milo walking few meters away from the player and that's that!)

    I'm still using the activator, because I don't understand how to use the targeted script… what would trigger the script to fire? I am not very knowledgable in this matter I'm afraid.

  2. Well, if not Dunmer, then, hmmm… Fargoth? :laugh:

    But seriously, I guess it's Tongue-Toad, the Argonian gentleman from „The Rat in the Pot” in Ald'ruhn. His appearance definitely matches his character, and besides he solves all your „price on your head” needs :dry: I remember him well, mostly because of his custom mod quest (Eye of Marusa) which is an interesting time-limited quest.

  3. Okay, so I expanded the script by adding „walkstate” checks EVERY single waypoint, but all to naught. At least I know the script doesn't go pass the first step, because in the second step there should be heard Wood Elf shout going on, but there isn't such thing at all.

     

    The script:

     

    Begin poscig

    short walkstate

    set walkstate to 1

    if ( MenuMode == 1 )
    return
    endif

    if ( OnActivate == 1 )

    "player"->Say "Vo\d\m\Atk_DM004.mp3" "You n'wah!"
    "taros dral"->PositionCell, -18906, -10545, 185, 97.4, "Balmora"
    "fargoth"->PositionCell, -18901, -10762, 186, 97.4, "Balmora"

    elseif ( walkstate == 1 )
    "taros dral"->ForceRun
    set walkstate to 2

    elseif ( walkstate == 2 )
    "player"->Say "Vo\d\m\Hit_WM015.mp3" "Aaaaaaha!"
    "fargoth"->ForceRun
    "fargoth"->AiTravel -18976,-1096,190
    set walkstate to 3

    elseif ( walkstate == 3 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 4
    endif

    elseif ( walkstate == 4 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -19462,-11917,206
    set walkstate to 5

    elseif ( walkstate == 5 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 6
    endif

    elseif ( walkstate == 6 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -19806,-12695,206
    set walkstate to 7

    elseif ( walkstate == 7 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 8
    endif

    elseif ( walkstate == 8 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -19992,-13028,206
    set walkstate to 9

    elseif ( walkstate == 9 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 10
    endif

    elseif ( walkstate == 10 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -19381,-12970,304
    set walkstate to 11

    elseif ( walkstate == 11 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 12
    endif

    elseif ( walkstate == 12 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -18607,-12929,201
    set walkstate to 13

    elseif ( walkstate == 13 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 14
    endif

    elseif ( walkstate == 14 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -18171,-12162,201
    set walkstate to 15

    elseif ( walkstate == 15 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 16
    endif

    elseif ( walkstate == 16 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -18063,-11718,201
    set walkstate to 17

    elseif ( walkstate == 16 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 17
    endif

    elseif ( walkstate == 17 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -17606,-11120,201
    set walkstate to 18

    elseif ( walkstate == 18 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 19
    endif

    elseif ( walkstate == 19 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -17138,-11911,189
    set walkstate to 20

    elseif ( walkstate == 20 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 21
    endif

    elseif ( walkstate == 21 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -17943,-12318,189
    set walkstate to 22

    elseif ( walkstate == 23 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 24
    endif

    elseif ( walkstate == 24 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -18312,-12962,189
    set walkstate to 25

    elseif ( walkstate == 25 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 26
    endif

    elseif ( walkstate == 26 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -19224,-12944,302
    set walkstate to 27

    elseif ( walkstate == 27 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 28
    endif

    elseif ( walkstate == 28 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -19992,-13028,206
    set walkstate to 29

    elseif ( walkstate == 29 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 30
    endif

    elseif ( walkstate == 30 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -20235,-12673,175
    set walkstate to 31

    elseif ( walkstate == 31 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 32
    endif

    elseif ( walkstate == 32 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -19910,-11628,175
    set walkstate to 33

    elseif ( walkstate == 33 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 34
    endif

    elseif ( walkstate == 34 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -20148,-10561,225
    set walkstate to 35

    elseif ( walkstate == 35 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 36
    endif

    elseif ( walkstate == 36 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -20119,-9858,225
    set walkstate to 37

    elseif ( walkstate == 37 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 38
    endif

    elseif ( walkstate == 38 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -19864,-10577,225
    set walkstate to 39

    elseif ( walkstate == 39 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 40
    endif

    elseif ( walkstate == 40 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -19216,-10966,225
    set walkstate to 41

    elseif ( walkstate == 41 )
    if ("fargoth"->GetAiPackageDone == 1 )
    set walkstate to 42
    endif

    elseif ( walkstate == 42 )
    "fargoth"->ForceRun
    "fargoth"->AiTravel -19002,-10657,215
    set walkstate to 43

    elseif ( walkstate == 43 )
    if ("fargoth"->GetAiPackageDone == 1 )
    "fargoth"->ClearForceRun
    PlaySound "mysticism hit"
    "fargoth"->disable
    "taros dral"->disable
    MessageBox "KONIEC"
    endif


    endif





    end poscig

     

     

    It looks like this AiTravel thingy doesn't work at all.

     

    Could somebody shed some light om this weird situation and share his insights, please?

  4. Ok so I ran into a problem. What I did is this:

    1) I made an activator. It works ok. The npcs are spawned in their correct locations:

    f161165db8920.jpg

    2) But both npcs don't move, I mean Fargoth doesn't go to his waypoint which is a couple of meters before him. Taros looks like he is about to chase him (the running animation kicks in) but suddenly stops, because Fargoth doesn't move. Why is that so? I took coordinates by prior placing some static objects (plant pots), writing down their coordinates (few non-complicated runs around Balmora on short distance), typing them into the script and then obviously deleting all those „plant pots”:

    398ff4d592405.jpg

     

    Could somebody please take a look into my script and tell me what's wrong? It compiles all right though.

    The script:

     

     

    Begin poscig

    short state
    short jeden_raz

    if ( MenuMode == 1 )
    return
    endif

    if ( OnActivate == 1 )

    "player"->Say "Vo\w\m\Fle_WM005.mp3" "WAAAAAAAOOOOOOOOOOAAAAAAAAAGGGHHHHHH!!!!!"
    "taros dral"->PositionCell, -18906, -10545, 185, 97.4, "Balmora"
    "fargoth"->PositionCell, -18901, -10762, 186, 97.4, "Balmora"
    set state to 10

    endif

    if ( "taros dral"->OnDeath == 1 )
    set jeden_raz to -1
    return
    endif

    if ( jeden_raz == -1 )
    return
    endif

    if ( state == 10 )

    "fargoth"->ForceRun
    "taros dral"->ForceRun
    "fargoth"->AiTravel -18976, -1096, 190
    "fargoth"->AiTravel -19462, -11917, 206
    "fargoth"->AiTravel -19806, -12695, 206
    "fargoth"->AiTravel -19992, -13028, 206
    "fargoth"->AiTravel -19381, -12970, 304
    "fargoth"->AiTravel -18607, -12929, 201
    "fargoth"->AiTravel -18171, -12162, 201
    "fargoth"->AiTravel -18063, -11718, 201
    "fargoth"->AiTravel -17606, -11120, 201
    "fargoth"->AiTravel -17138, -11911, 189
    "fargoth"->AiTravel -17943, -12318, 189
    "fargoth"->AiTravel -18312, -12962, 189
    "fargoth"->AiTravel -19224, -12944, 302
    "fargoth"->AiTravel -19992, -13028, 206
    "fargoth"->AiTravel -20235, -12673, 175
    "fargoth"->AiTravel -19910, -11628, 175
    "fargoth"->AiTravel -20148, -10561, 225
    "fargoth"->AiTravel -20119, -9858, 225
    "fargoth"->AiTravel -19864, -10577, 225
    "fargoth"->AiTravel -19216, -10966, 225
    "fargoth"->AiTravel -19002, -10657, 215

    endif






    end poscig

     

     

    Of course Taros Dral has the appriopriate „AI Package” set to Follow target "fargoth". The problem is why the Wood Elf fetcher does not move his ass.

  5. Okay… I managed to get it to work :happy: As much as I anticipated removing the script didn't work, because earlier I was modifying it and removing that day time/night time part of the code and the outcome was still the same. It seems the mods load order was the biggest offender here. After sorting that out, I made sure no scripts were attached to the npc, saved the plugin and voilà!

    Thanks man!

  6. Hi.

    The mod itself (ver. I, II and extended) works fine in game and I can spot numerous new characters engaging in their tasks. Recently I tried to mod newly created NPCs and adding those new animations to them. Here's what I do (I'm attempting to do a "writer"): I create new NPC and place it in the world. I properly assign new nif (in this case AM_Writer2.nif) to it and in CS it is properly displayed as a sitting NPC with hand ready to write. Then I assign mod's custom script for writers (AM_writers) and add a special item for writers - AM_quill to npc's inventory so it can look like holding a quill and animate it. I place NPC on a chair and near the table, save the plugin, add to Data Files. Then I go to that location and the NPC is nowhere to be seen (!) although the newly added chair, table and book are on place. Not even the quill writing sounds can be heard. Ok, I thought perhaps the cell was bad (it was from Tamriel Rebuilt), so I moved all stuff to one of Balmora's houses and still the same. Later, curiously I accidentaly assigned a bad nif from Frost Giant - it rendered the npc invisible in CS. Saved plugin, reloaded the game. When I entered that area with the writer the game shown an error message regarding bad nif, so it proves it attempts to load a model so why when it loads proper nif of the writer nothing is displayed??? I changed strategy. I checked on Census and Excise Office in Seyda Neen, there is a Breton writer. Ok. In CS I merely altered that npc's hair, saved, reloaded and he got disappeared too. WTF? What am I doing wrong? Is this mod somehow locked from editing and utilising it's resources? Has anyone tried to use this mod in CS before?

×
×
  • Create New...