Param chatter_range and chat interactions (map or npc interface)

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Realspace
Posts: 1638
Joined: Wed, 15. Nov 06, 10:21
x4

Param chatter_range and chat interactions (map or npc interface)

Post by Realspace »

I am trying to increase the global chat range for those situations that are initiated by the player, as asking for directions or asking for help (in spacesuit) or surrender.
Oc I already had changed the two params chatter_range_normal and chatter_range_extended in parameters.xml but it seems to me these are only used by the AI scripts not in MD, namely the interrupt.npc.usecases.xml and the lib.respond.inspected.xml.

Seems they work as intended for the npc interactions such as pirate harrassment or police hailing, so the changed param is read by the AI.

This param is never recalled in the MD files, neither in notifications.xml nor conversations.xml, still the limit of 40km persists (and the chatter_range_extended is not used when the ship has scan mode, as called by some situations in the AI scripts).

Seems to me that conversations totally ignore the params by parameters.xml.

Last, the interaction is limited to 40km only if you try to call an npc ship by pressing C or by direct ship's interface. If you interact with the ship going through the map and then the interface/comm.., the chat is initiated even at longer distance, even if the tooltip says that the ship is too far away.

So we can live with this (interaction is possible on map) but it seems a bit strange that this difference (map/not map) exists.
This is probably more a matter for bug report than a modding thread but can someone explain to me if this limit is maybe in the lua files?

Return to “X4: Foundations - Scripts and Modding”