Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Now collecting scripts 4.1 bugs  () 2 Votes
Re: Now collecting scripts 4.1 bugs [message #488572 is a reply to message #488512] Sun, 13 July 2014 06:59 Go to previous messageGo to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

zunnie wrote on Fri, 11 July 2014 19:05

http://www.zunnie.nl/renegade/video/Ladder_Transition_Bug.mp4

Whenever you use the ladder and get off of it you can walk through vehicles for some reason.
Entering the vehicle and exiting it fixes the collision problem.

Ok, when you exit a ladder, the soldier is using a special collision type called "SOLDIER_GHOST". Basically this is what makes sure you dont collide with stuff when you first climb off (e.g. vehicles, other soldiers etc)

There is code that says "if the player is not colliding with anything, switch the player back to normal collision". What this code does is to compare the bounding box of the soldier (the one in state SOLDIER_GHOST) with the bounding box of every PhysicalGameObj in the level to look for anything the soldier is colliding with. If it finds an object with an overlapping bounding box, the soldier remains in SOLDIER_GHOST state otherwise it turns to normal SOLDIER state.

Among other things this means that the soldier will remain in SOLDIER_GHOST state when its worldbox collides with the worldbox of any vehicles in the scene including the Tesla Coil in the test map Zunnie has. (which seems to be rigged as a vehicle)

I will be talking to Saberhawk about if there is a way we can improve this.


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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 4.1 not loading my .ldd files?
Next Topic: Work is being resumed on scripts for Renegade
Goto Forum:
  


Current Time: Wed Nov 27 08:59:13 MST 2024

Total time taken to generate the page: 0.01760 seconds