Yet Another Addon Inspired by IgorNitch's Work(YAAIIW)
A small rework of hidden routes so they work similarly to how tehy do in T.H.E. Z.O.N.E. addon. At the start of the game, you have no routes except faction specific ones(Clear Sky can get out of the Swamps and go to Cordon, Mercs can move out of their main base and go to Army Warehouses, Monolith and Sin have a lot of routes in the northern parts of the Zone.) But worry not, routes beetween common places like Cordon and Garbage are pretty cheap and only cost 3000 RU, the ones in the centre of the Zone aren't expensive either, only 5000 RU. Underground labs, the Merc base, and other "secret" places are 10000. Dialogues were changed to reflect this. While in st_dialogs.xml, I also changed "Clea Sky hidden path" to "Clear Sky hidden path". Yes need to thank me.
I have lots of addons and none of them changed that file, so it should be compatible with any addon you have. Dialogues Expanded doesn't touch said file, and it is the only addon that changes anything about dialogues, so, again, you should be fine. If st_dialogs.xml still conflicts with another addon, search for "<!-- Purchase routes -->" (somewhere around the middle) and copypaste that part into the conflicting file to the same section. The other file can't be a problem, since the original addon(T.H.E. Z.O.N.E.) that I based this off is the only addon that modifies that.
v.1.1 - added at least one and maximum two starting routes to factions that didn't have any. I don't want to take this too far because it would completely destroy the purpose of this addon, but I think it's better this way.
v1.2 - fixed the crash the previous update caused.
-v1.3 - removed all starting routes for UNISG because you'll get them from Major Hernandez anyways
Oh, this makes my OCD relax xD
Thank you for this!
My game crashes whenever I start a new game with this with the following log:
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: c:/games/anomaly\gamedata\scripts\se_zones.script:97: attempt to index global 'txr_routes' (a nil value)
stack trace:
Yes, I have encountered that too, gonna release the fixed version
Does this work for expanded starting location addon ? Moddb.com
Thanks, I've just tried it out, and it works nice. Thanks for sharing your work!
Edit: A year later, and I am of the opinion this is one of the most important addons for Anomaly. Nowadays, it crashes with some addons, but still works with version 1.5.1!
It works great. An optional addition I would make is to have the routes that are just roads between areas be accessible by default. For example Cordon to Garbage and Garbage to Rostok Bar.
I want to permanently hide one route. No need for NPC unlocking...
I'll attempt reverse engineering this.