Page 1 of 1
Scanning radar [Solved]
Posted: Tue Sep 08, 2009 12:43 pm
by destos
if you have ever played BattleField2142, thats where i based my idea off of,
basically i want to edit the radar, making it so that unless another unit see's the person, or a special scanner is in place, a unit wont appear on radar
the special scanner would basically act like a photoplane, or spyplane, and pin point enemies in the radius around were the soldier placed the scanner.
im going to assume this can't be done because the radar is probably hard coded, but since we found ways to "pickup weapons" now, i thought there was a slight chance for this becoming reality as well.
Re: scanning radar
Posted: Tue Sep 08, 2009 1:26 pm
by [RDH]Zerted
We've know ways to pickup weapons for years, it's just no one seems to put these things into their maps...
I don't think there has been much work into the radar related ODF properties. If they are instance properties, then it could work. If they are class properties (I can't look it up now), then there could only be one unit per class, and almost everyone doesn't want that.
One way is to disable the minimap and give your radar scanner an invisible weapon. When it hits something, put an objective marker on it. If after a certain time that object isn't hit again, remove the marker. If the rader ODF properties work, then just keep the minimap and change the properties instead.
The main issue is that every one on the same team would have the same radar scan. To fix this, you need to run the marking code only on the player's computer who launched the scanner. Of course, you can ignore that if you want each team to share their radar with all team members.
Re: scanning radar
Posted: Tue Sep 08, 2009 4:36 pm
by -_-
" GameObject"
ScanningRange
TransmitRange
Re: scanning radar
Posted: Tue Sep 08, 2009 5:30 pm
by destos
hmmm, so being the advanced properties noob that i am, i think i partially understand what you both said, and for the radar weapon i was thinking something like this?
of course i would remove the turret parts, and just have it a hidden radar. if you see any issues in the odf that you think might be a problem please do tell.
and for making the soldiers only appear on radar if they see the unit, would it use same code
ScanningRange= ??
TransmitRange=??
i tested the weapon ingame, i forgot to add a msh file i think, since thats what the debug log says, ill know if it works how i want it to when i add the soldier radar ranges.
Re: scanning radar
Posted: Tue Sep 08, 2009 5:57 pm
by [RDH]Zerted
http://www.gametoast.com/forums/viewtop ... ge#p295546
I don't know why I can't remember that... Just forget everything I said in my last post.
Re: Scanning radar
Posted: Tue Sep 08, 2009 8:51 pm
by destos
well it works, of course it has its down sides, like if your in a open plain type map its rather pointless because they are almost always visible, and unfortunatly the scan range doesnt compensate for objects in front of you.
thanks for all your help guys!