ObjectBlock-LosMod.rar Updated, I messed up the module file
I am very excited because I think I have cracked Object Blocking LOS.
As a break from tradition I will show the video first.
NOTE: I suggest full screen
Ok, now you have watched the video, some info about the system.
This version I am releasing to public is very general and simple.
Units will be revealed if they are un-obscured in a 360 degree angle around your squads.
I am in the process of making another version, but that will only be released in my mod (gotta keep something exclusive no :P).
This version will have directional detection on single and small man squads (1 -2) so they can only detect units that are in the direction they are facing, so a sniper prone in a bush wont reveal a squad that are running behind him on the edge of LOS.
It will also have dual directional detection on tanks (the way it is facing and the way the turret is facing)
One last thing is sound awareness, this is mainly vs tanks, if there is only a hedge between some men and a tank, Those men could probably hear the tank, so a vehicle icon will be shown on the mini map, like tank awareness for the PE.
ok, on to the files that are attached to the bottom of this post.
If you just want to test out the system then the file called "ObjectBlocking-losMod.rar" is what you need, it is a clean mod that just has this system on it for you to test.
The second one ("ObjectBlocking-losMacro.rar") is so you can install the system into a mod you are making, it has macro's and all the scar in it.
With this version make sure you read all the info about what each macro does, and how to use it. As a general piece of advice I would install this system as one of the last things you put in your mod to limit chances of you messing something up when you are making more changes to the various bits of your mod.
All the scar is un-encrypted so you can see how things work and I think the macros are also a good example of how you can get macros to do almost anything. There are also quite few useful misc functions I have made, only the ones needed in this system are there, but if you want the rest tell me.
Of course this is still very early in development, any feed back you can give from playing around with it will be very welcomed. If you do use this in your mod, just credit me. If you want to edit the system feel free, but no matter how much you edit it, you still used my system as a base, so again credit.
That is all, Btw I take no responsibility if the macro's somehow mess your mod up, make a backup before you run them :P.





Just one question: what about the low objects (wooden fences etc)? They are block the LOS too? I haven't seen the video yet (low-speed connection), so, maybe there is an answer in it..

.


R.I.P. Rad | R.I.P. Loran | R.I.P. MrScruff

