Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » What Does PhysicalGameObj::Get_Bullseye_Position() do?
What Does PhysicalGameObj::Get_Bullseye_Position() do? [message #483440] Sun, 15 September 2013 15:07 Go to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Could it be related to the hooming code?

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: What Does PhysicalGameObj::Get_Bullseye_Position() do? [message #483446 is a reply to message #483440] Sun, 15 September 2013 18:26 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
iRANian wrote on Sun, 15 September 2013 15:07

Could it be related to the hooming code?


No. As far as I can tell, it's primarily used for AI "seen" logic.
Re: What Does PhysicalGameObj::Get_Bullseye_Position() do? [message #483450 is a reply to message #483446] Mon, 16 September 2013 02:48 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

saberhawk wrote on Mon, 16 September 2013 09:26

iRANian wrote on Sun, 15 September 2013 15:07

Could it be related to the hooming code?


No. As far as I can tell, it's primarily used for AI "seen" logic.

Wrong, its used in a bunch of places in the code beyond just AI "enemy_seen" logic. The one that's relavent to the homing missile code is in BulletClass::Think.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: What Does PhysicalGameObj::Get_Bullseye_Position() do? [message #483451 is a reply to message #483440] Mon, 16 September 2013 03:51 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Whilst we are on the subject, what does the Bullseye Z Offset do on a Vehicle preset? Does it affect the aiming position (ie: applies the offset from the actual targets bullseye position?) or something else?

http://steamsignature.com/card/1/76561197975867233.png
Re: What Does PhysicalGameObj::Get_Bullseye_Position() do? [message #483457 is a reply to message #483440] Mon, 16 September 2013 15:38 Go to previous messageGo to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
along the lines of the topic, Can a homing missle lock on vehicles but not infantry?

I always thought the bullseye Z offset was for AI aiming?


"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx

Re: What Does PhysicalGameObj::Get_Bullseye_Position() do? [message #483589 is a reply to message #483457] Sun, 22 September 2013 19:25 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3809
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Its what homing projectiles aim for, if you have the Z too low the projectile will miss every time and just keep circling under the object (if its airborne) which is amusing.

Previous Topic: Map overviews, Reason why...
Next Topic: Any awesome single player campaign mods?
Goto Forum:
  


Current Time: Sun Nov 24 14:13:58 MST 2024

Total time taken to generate the page: 0.00939 seconds