Author Topic: 2238 server removed special encounters..  (Read 2261 times)

2238 server removed special encounters..
« on: January 25, 2015, 04:17:05 pm »
I was looking for the special encounter zones for the secret shelter encounter and I noticed they are not there at all apart from the howitzer one... which makes me think they were purposely removed? But why? Is it in any way possible to give me the old locations?
« Last Edit: January 25, 2015, 04:19:26 pm by raynor009 »

JovankaB

  • Guest
Re: 2238 server removed special encounters..
« Reply #1 on: January 25, 2015, 05:22:14 pm »
The conditions of special encounters are defined in this script:
https://github.com/rotators/fo2238/blob/master/Server/scripts/worldmap.fos#L1663
If conditions are met, special encounter is found.

If some are defined on the worldmap in World Editor then I think it's remains of the old version when encounters had specific zones. You can probably ignore it, because it's not used anymore.
« Last Edit: January 26, 2015, 09:13:49 am by JovankaB »

Offline Lexx

  • Rotator
  • Mexican Apple Thief
Re: 2238 server removed special encounters..
« Reply #2 on: January 26, 2015, 09:14:48 pm »
Keep in mind that the new special encounters in 2238 were placed via flags in the world editor. For example "FLAG_SecretShelter" - the first special encounter entry from the link Jovanka provided. You need the script line + the flag on the zone set via world editor.

Re: 2238 server removed special encounters..
« Reply #3 on: January 27, 2015, 11:06:26 am »
I was honestly doing some research on how the special encounters worked back on 2238 to see if there is any way to find them easily. I was hoping for they would be in the same place on FOnline Reloaded :D to get a bit of an advantage. But the locations were probably changed anyway. Thanks for the answers though :).

JovankaB

  • Guest
Re: 2238 server removed special encounters..
« Reply #4 on: January 27, 2015, 11:17:34 am »
They are not in any specific place. They can appear anywhere on a square with correct terrain type, for example the hospital in city squares, howitzer in desert squares and so on. But as far as I know in Reloaded it doesn't work the same as in 2238 anyway so studying 2238 code might not help you.
« Last Edit: January 27, 2015, 11:21:40 am by JovankaB »