Do AI soldiers in renegade open doors? [message #483197] |
Fri, 23 August 2013 06:30 |
|
Can anyone confirm if there are instances in renegade (in single player, in skirmish or otherwise) where AI solders will actually open doors? And by this I mean the AI specifically walking up to the door and it opening and the AI walking through.
And can anyone point me at a specific point (e.g. a specific point in a specific mission) where I should be able to witness this happening?
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: Do AI soldiers in renegade open doors? [message #483198 is a reply to message #483197] |
Fri, 23 August 2013 06:45 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
I think the mission in the mansion has some doors that infantry can open, but I'm not certain without loading it up and having a look... probably worth trying with stock scripts too just to see if there is a difference.
EDIT: Also, in the ship mission they come through the doors at the top of the catwalks when you return to the submarine, a few of them keep respawning outside the room and rushing in as I recall. I think some enemies also rush the torpedo room after you disarm them all...
[Updated on: Fri, 23 August 2013 06:51] Report message to a moderator
|
|
|
|
Re: Do AI soldiers in renegade open doors? [message #483201 is a reply to message #483197] |
Fri, 23 August 2013 09:04 |
|
Thanks, that's exactly the info I needed. Now I have a reproducible test case for testing which scripts change actually caused AI solders to be unable to open doors (my bet is that its something in the pathfind code)
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: Do AI soldiers in renegade open doors? [message #483203 is a reply to message #483197] |
Fri, 23 August 2013 10:37 |
|
Regarding AI soldiers opening locked doors, this is because the scripting for the missions (e.g. the M04_Doorway_Enterer_JDG script used for the catwalk entry officer guy mentioned by Ethenal) specifically grant the relavent keys to the soldier in question.
In any case I have now successfully verified that with a scripts build numbered 6225, the nod officer on the boat level does open the door when you walk through the catwalk zone but with a scripts build numbered 6331, the nod officer doesn't open the door.
I now need to figure out which of the changes made between the codebase that works and the codebase that fails actually broke things.
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: Do AI soldiers in renegade open doors? [message #483213 is a reply to message #483197] |
Sat, 24 August 2013 01:27 |
|
I found the problem (it was in PathActionClass for those who care) and now the officer does correctly pop out of the yellow door in the ship mission.
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: Do AI soldiers in renegade open doors? [message #483223 is a reply to message #483197] |
Sun, 25 August 2013 05:27 |
|
For locked doors, it depends on whether the AI soldier in question has the correct keys. In the case of the nod officer in M04 (the ship level) the code calls Commands->Grant_Key to grant the keys to the officer in question.
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: Do AI soldiers in renegade open doors? [message #483281 is a reply to message #483199] |
Sat, 31 August 2013 09:42 |
|
zeratul
Messages: 1715 Registered: January 2009 Location: Texas
Karma: -1
|
General (1 Star) |
|
|
Several black hand walk through the yellow doors throughout M04 both on the submarine level and below it. I've used them to get through the door without the keycard. Ended up bugging up the objectives in the process. I've also been attacked by a soldier that went through the locked door next to the prisoners. I haven't been able to repeat that one though. And of course the Officer as mentioned above.
The world.... hell with benefits
My Website
Rules of the internetz
|
|
|