Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Objects which don't show info when targetting them but do turn reticle red
Objects which don't show info when targetting them but do turn reticle red [message #489278] Sat, 13 September 2014 15:22 Go to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
Are there any objects like these? IIRC if you aim at a dead body of an enemy player it will also turn your reticle red without showing targetting info.

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: Objects which don't show info when targetting them but do turn reticle red [message #489288 is a reply to message #489278] Sun, 14 September 2014 10:29 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
iRANian wrote on Sat, 13 September 2014 16:22

Are there any objects like these? IIRC if you aim at a dead body of an enemy player it will also turn your reticle red without showing targetting info.

Yeah, I've seen it a few times, I feel like if the LE option to not show targeting is checked it'll do it, otherwise maybe its just a tile object I've seen do it, I'm fairly certain I've seen it before, but it might not have been in Ren.


Re: Objects which don't show info when targetting them but do turn reticle red [message #489289 is a reply to message #489278] Sun, 14 September 2014 14:29 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Maybe static tiles? The objects that have health, but no health bar

-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: Objects which don't show info when targetting them but do turn reticle red [message #489290 is a reply to message #489278] Mon, 15 September 2014 02:15 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
Yeah those objects definitely are static tiles, any idea about their name?

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: Objects which don't show info when targetting them but do turn reticle red [message #489291 is a reply to message #489278] Mon, 15 September 2014 05:19 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

In leveledit its called DamageableStaticPhys. (that's the physics type you use if you want to make one)


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: Objects which don't show info when targetting them but do turn reticle red [message #489292 is a reply to message #489278] Mon, 15 September 2014 09:41 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
Thanks. Are you sure they turn the reticle red when you target them?

EDIT: I can't create them with Commands->Create_Object():/


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

[Updated on: Mon, 15 September 2014 09:53]

Report message to a moderator

Re: Objects which don't show info when targetting them but do turn reticle red [message #489295 is a reply to message #489292] Mon, 15 September 2014 11:00 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
I don't think damageable static tiles turn the reticle red, that would get annoying in single player.

Try placing tiles with building controllers that reference those tiles. Then make the building controller not targetable, then maybe it'll turn red, I'm pretty sure I've seen dead buildings that change the reticle color but don't have a target box.


Re: Objects which don't show info when targetting them but do turn reticle red [message #489596 is a reply to message #489295] Sat, 18 October 2014 10:22 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Yeah, dead buildings make your reticle turn green or red but down show the info box.

Re: Objects which don't show info when targetting them but do turn reticle red [message #489710 is a reply to message #489278] Tue, 04 November 2014 13:15 Go to previous messageGo to next message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
Would be great if the hide healthbar stuff in the scripts actually worked. An option to hide player names would be great as well. Would be very useful for improving the mirage tank scripts as well since if you get close enough the name shows and the hitbox is visible as well.

[Updated on: Tue, 04 November 2014 13:15]

Report message to a moderator

Re: Objects which don't show info when targetting them but do turn reticle red [message #489715 is a reply to message #489710] Wed, 05 November 2014 08:12 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
dblaney1 wrote on Tue, 04 November 2014 13:15

Would be great if the hide healthbar stuff in the scripts actually worked. An option to hide player names would be great as well. Would be very useful for improving the mirage tank scripts as well since if you get close enough the name shows and the hitbox is visible as well.

Well I hate to say it but most Ren maps don't have enough trees to make the mirage tank useful. You play the map once and after that you know where most of the trees are, so the player just is like "That shouldn't be there!"


Maybe if the map was setup to randomly place trees...


Re: Objects which don't show info when targetting them but do turn reticle red [message #489716 is a reply to message #489715] Wed, 05 November 2014 09:57 Go to previous messageGo to next message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
Jerad Gray wrote on Wed, 05 November 2014 08:12

dblaney1 wrote on Tue, 04 November 2014 13:15

Would be great if the hide healthbar stuff in the scripts actually worked. An option to hide player names would be great as well. Would be very useful for improving the mirage tank scripts as well since if you get close enough the name shows and the hitbox is visible as well.

Well I hate to say it but most Ren maps don't have enough trees to make the mirage tank useful. You play the map once and after that you know where most of the trees are, so the player just is like "That shouldn't be there!"


Maybe if the map was setup to randomly place trees...


The maps we have the mirage tank on have more than enough trees. We also have the mirage tank set to use a cactus on the desert map we have, and have thrown the idea around to use a lamppost on urban maps. It works quite well as it is, but hiding the hitbox and playername would improve it a lot.

https://lh3.googleusercontent.com/-eg0HKBvK-p8/VFpYk1RI0TI/AAAAAAAAFUE/07Ug9Ermd5o/w1358-h849-no/Screenshot.202.png

[Updated on: Wed, 05 November 2014 10:05]

Report message to a moderator

Re: Objects which don't show info when targetting them but do turn reticle red [message #489723 is a reply to message #489278] Thu, 06 November 2014 01:19 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
The AR mirage tank scripts hide the player name and healthbars etc Smile We've been doing it since scripts 3.4.4 and possibly earlier, nothing special required.

http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Thu, 06 November 2014 01:20]

Report message to a moderator

Re: Objects which don't show info when targetting them but do turn reticle red [message #489725 is a reply to message #489723] Thu, 06 November 2014 11:11 Go to previous messageGo to next message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
danpaul88 wrote on Thu, 06 November 2014 01:19

The AR mirage tank scripts hide the player name and healthbars etc Smile We've been doing it since scripts 3.4.4 and possibly earlier, nothing special required.


I see you are doing that by enabling stealth. We also have stealth generators and stealth crates etc, so the two may conflict which is why it would be nice to be able to control this behavior separate from the stealth logic. This also would allow us to keep the hitbox and name hidden even when firing.

[Updated on: Thu, 06 November 2014 11:14]

Report message to a moderator

Re: Objects which don't show info when targetting them but do turn reticle red [message #489741 is a reply to message #489725] Sat, 08 November 2014 17:57 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
To hide the player names you could put the drive's seat (seat0 seat1 etc.) for the tank 100,000m below the vehicle (originally I said 200m, but then if it flipped over the name might wiz past someone's camera and confuse them).

You could hide the health bars by changing the tank's model or disabling its projectile collisions create a preset that has not targetable checked, giving it the tank's health and team, and then transferring any damage it receives to the tank instead.


[Updated on: Sat, 08 November 2014 18:03]

Report message to a moderator

Re: Objects which don't show info when targetting them but do turn reticle red [message #489742 is a reply to message #489278] Sun, 09 November 2014 11:17 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Of course that has problems of its own, since you're effectively making the logical bounding box for all components of the vehicle HUGE.

If you want to hide the health just enable the "not targetable" option.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Sun, 09 November 2014 11:18]

Report message to a moderator

Re: Objects which don't show info when targetting them but do turn reticle red [message #489743 is a reply to message #489742] Sun, 09 November 2014 14:05 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
danpaul88 wrote on Sun, 09 November 2014 11:17

Of course that has problems of its own, since you're effectively making the logical bounding box for all components of the vehicle HUGE.

If you want to hide the health just enable the "not targetable" option.

Creating a boundingbox on the model itself prevents the engine from drawing its own (both worldbox and boundingbox).

danpaul88 wrote on Sun, 09 November 2014 11:17


If you want to hide the health just enable the "not targetable" option.

Didn't know that worked across the network for specific vehicles in 4.X, if it does definitely just do it that way (never needed to use it in any of my mods, no marriage vehicles in ECW).


[Updated on: Sun, 09 November 2014 14:17]

Report message to a moderator

Re: Objects which don't show info when targetting them but do turn reticle red [message #489759 is a reply to message #489278] Mon, 10 November 2014 18:15 Go to previous messageGo to next message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
Being able to toggle the targetable and health box properties over the network would be great. If this doesn't work in 4.1 it would be awesome if this could be added for 4.2. Or server enforces that all clients must have the latest scripts revision so if they only hide on 4.2 clients its not that big of an issue.
Re: Objects which don't show info when targetting them but do turn reticle red [message #490007 is a reply to message #489278] Sat, 13 December 2014 06:50 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

There is code (even in stock renegade) that allows the Commands->Set_Is_Rendered script command to work for vehicles. Scripts 4.2 expands the command to work for other things but it works for vehicles even in stock.

I have no idea whether an object hidden by Set_Is_Rendered will be targetable or not (or what other side effects using Set_Is_Rendered will have) but its there and usable.


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: Objects which don't show info when targetting them but do turn reticle red [message #490013 is a reply to message #489278] Sat, 13 December 2014 14:47 Go to previous message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma: 0
Commander
Set is Rendered false objects still are target-able and show their hitbox etc. However that shouldn't change in my opinion. An option to toggle the targetable state over the network seperate from rendered would be ideal imo.

[Updated on: Sat, 13 December 2014 14:48]

Report message to a moderator

Previous Topic: 3DS Max Buildings Setup
Next Topic: Anyone out there good with reverse engineering?
Goto Forum:
  


Current Time: Sat Apr 13 22:03:41 MST 2024

Total time taken to generate the page: 0.01116 seconds