Jump to content
The Dark Mod Forums

joma

Member
  • Posts

    6
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Jesps, glad to hear you found a workaround. I'm not sure if this is relevant, but there seems to be a problem with AIs changing teams from neutral (kind of the opposite of what you want, but it could be related). I have been experimenting recently with AI changing teams and also with changing the relation between teams during game. I've found that in both cases, when the AI changes from neutral (relation = 0) to enemy (relation = -1), none of the AIs seem to notice the change unless they bump into the new enemy (literally bump into!). However both methods work well when they were initially friends (relation = 5, which I believe just needs to be a positive integer) and then they become enemies. It looks like TDM prefers full betrayal... I'm in the process of adding a tracker for that bug.
  2. Thanks guys. I'll experiment a bit more and I'll try firing an alarm. I'll also prepare a little map to report the bug.
  3. I tried Sotha's suggestion, but it works pretty much the same. After changing teams the AI really need to bump into each other to realize they are now hostile. Moreover, if there's initially 3 AI from team A, and one of them changes to team B, he will only fight the AI from team A he bumped into, but will stay neutral to the other AI from team A.
  4. Thanks Sotha! Right, so that would be more like making the AI change teams, rather than changing the relation between teams. I'll try that and see how I go!
  5. Thanks for the quick reply Tels! The AI are in the light, next to each other. They talk and all, so they are aware of each other. In fact, if I remove the 2 entities that manage the relations, they will start fighting as soon as the mission loads (because they are in different teams). So they can see each other, they just don't realize they've become enemies all of the sudden. Hmm, I wouldn't know how to do that either...
  6. Hello everyone! I've just joined the forum and this is is my first post. Before my question, I just want to say thanks to everyone who has helped making the MOD, it's amazing! And thanks to the mappers and everyone who has written tutorials and how to's. After seing Melan's massive effort on getting us newbies started (Fiasco at Fauchard St) I've decided to give mapping a go and I'm trying to get familiar with the editor. But I won't promise a mission just yet... Now my question: I've followed the tutorial on editing AI Relations. I have a room with two AI from different teams and the player in the shadows. I want the AI to be initially neutral to each other, but when the player switches a lever, they start fighting each other. I created an entity internal > atdm:team_relations where I make the teams neutral to each other. I also created a target entity target_tdm_setrelations that is triggered when the lever is switched, which changes the relation between teams (as explained in the tutorial). I load my map and everything works fine (I can see that the relation between teams has changed after activating the lever with the console command tdm_ai_rel_print) but the AI won't start fighting each other until they become alert by something the player does (eg a noisemaker arrow). It's like after loading the map nothing checks again what team the AI belong to, unless they get alert. Is there a way to make them realize they should fight? Sorry for the long post, and thanks for any answers!
×
×
  • Create New...