Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » Do AI soldiers in renegade open doors?
Do AI soldiers in renegade open doors? [message #483197] Fri, 23 August 2013 06:30 Go to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

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 Go to previous messageGo to next message
danpaul88 is currently offline  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...


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

[Updated on: Fri, 23 August 2013 06:51]

Report message to a moderator

Re: Do AI soldiers in renegade open doors? [message #483199 is a reply to message #483197] Fri, 23 August 2013 08:49 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)

Can you explain what you mean? I thought all AI infantry were capable of opening doors, even locked ones.

I know for a fact that if you start M04 (the ship mission) and walk about half-way up the catwalk ramp, a Nod Officer will walk out of the yellow door. It's a zone trigger, it happens everytime (once per map anyway) - and it's also notable because he opens a yellow door. Try that out perhaps?


-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: Do AI soldiers in renegade open doors? [message #483201 is a reply to message #483197] Fri, 23 August 2013 09:04 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

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 #483202 is a reply to message #483197] Fri, 23 August 2013 10:21 Go to previous messageGo to next message
Good-One-Driver is currently offline  Good-One-Driver
Messages: 959
Registered: January 2009
Location: Ukraine
Karma: 0
Colonel
Yes, on the prison map they open doors that need key cards and regular doors.

http://i48.tinypic.com/s1m2af.png
Quote: C4Smoke

Good-One-Driver is a little noob crying kid who sux at renegade I say let little noob kid Good-One-Driver cry all he wants lmao
Cry away little tiny kid
Re: Do AI soldiers in renegade open doors? [message #483203 is a reply to message #483197] Fri, 23 August 2013 10:37 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

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 #483206 is a reply to message #483197] Fri, 23 August 2013 14:00 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)

git bisect!

-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: Do AI soldiers in renegade open doors? [message #483212 is a reply to message #483197] Sat, 24 August 2013 01:13 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
Aren't they supposed to be unable to open doors? There's a check whether an object is human controlled or not in the function to check if the door should open, I've used it before as door open hook.

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: Do AI soldiers in renegade open doors? [message #483213 is a reply to message #483197] Sat, 24 August 2013 01:27 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

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 #483218 is a reply to message #483197] Sat, 24 August 2013 14:15 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
So it's a special script on that Officer?

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: Do AI soldiers in renegade open doors? [message #483219 is a reply to message #483197] Sat, 24 August 2013 15:35 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)

iran, every single bot in the game is capable of opening doors lol

(well, maybe not EVERY...)


-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

[Updated on: Sat, 24 August 2013 15:36]

Report message to a moderator

Re: Do AI soldiers in renegade open doors? [message #483221 is a reply to message #483197] Sun, 25 August 2013 03:46 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
The GDI soldiers patrolling around the AGT in the tutorial aren't able to open doors.

http://i.imgur.com/xVbAUfo.jpg

But If I patch out the check I get:

http://i.imgur.com/X56rtcD.png

Obviously certain AI soldiers can indeed open doors in the campaign, but how? Is there special logic for unlocking doors (as opposed to just opening them? Or special scripts?


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: Do AI soldiers in renegade open doors? [message #483223 is a reply to message #483197] Sun, 25 August 2013 05:27 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

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 #483224 is a reply to message #483197] Sun, 25 August 2013 05:58 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
Ah, there we go.

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: Do AI soldiers in renegade open doors? [message #483281 is a reply to message #483199] Sat, 31 August 2013 09:42 Go to previous message
zeratul is currently offline  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.

Previous Topic: What are you currently listening to?
Next Topic: Hardcore Renegade
Goto Forum:
  


Current Time: Sat Apr 13 20:50:56 MST 2024

Total time taken to generate the page: 0.01002 seconds