Aller au contenu

Photo

Action Mode: Tracking - Detectable via script? (RESOLVED)


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Dann-J

Dann-J
  • Members
  • 3 161 messages
Am I right in thinking there is no way to determine in a script when a party member is using the tracking skill?

There is no ACTION_MODE_* constant in the toolset for tracking, and combatmodes.2da (which seems to be broken by a big text comment in it!) certainly doesn't have an entry for tracking. The toolset constants seem to correspond with the line numbers in combatmodes.2da (although there are two more lines in the 2da that also don't have constants defined for them - taunt being one of them).

Is tracking mode somehow hard-coded into the minimap, but otherwise has no other 'getable' script functions?

I have allowed the combat mode toolbar to appear on my overland map, so that I can engage the search or track functions to improve the likelihood of finding things. I was hoping to use a combination of search skill and active searching, or survival skill and active tracking (whichever skill is highest for the party member), but it seems I may have to resort to using only active searching (while still choosing the highest of either search or survival).

Modifié par DannJ, 17 mars 2012 - 01:18 .


#2
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages
I defined it in my CSL library - it's at about line 737 in _CSLCore_Player

CSLTargetActionModeToString for example converts it to plain text. Hmm really need to run that function once and use it as a case instead of how i set it up, but then i don't think that function is being used very much.

I did a lot of trial and error testing to figure out what the various modes actually were, swimming, levitating, flying is actually something i was adding in.

#3
Dann-J

Dann-J
  • Members
  • 3 161 messages
Thanks. Unfortunately I can't access those web links here at work (nor nwcitadel.forgottenrealmsweave.org either). For some reason they cause a 'website cannot be found' error. I'll try again from home though.

I've downloaded the CSL entry at the vault. Again I can't look at the contents here at work (we don't have 7-zip) so that'll have to wait until I get home as well. It's almost as if they don't want me spending time on personal stuff here at work... Image IPB

Modifié par DannJ, 16 mars 2012 - 12:13 .


#4
Morbane

Morbane
  • Members
  • 1 883 messages

DannJ wrote...

It's almost as if they don't want me spending time on personal stuff here at work... Image IPB


Strange - for me as well. I can access Bioware Social but no other sites - like the Vault or FRW? Go figure. How can they expect us to screw-off during our work time? (or lunch if your team leader is as cool as mine:P)

#5
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages
you need to set up a proxy :)

#6
Dann-J

Dann-J
  • Members
  • 3 161 messages
The solution was surprisingly easy - I just added a line 14 to combatmodes.2da, called it 'Tracking', and inserted the right strrefs for the activated and deactivated modes. Now the game recognises action mode 14 via the GetActionMode function, and correctly reports when a companion is using tracking mode.

It was the dodgy 2da all along!