Editing and Customization > General Discussion
So What can we expect for 4.2?
killermonkey:
@namjna
Good list, that pretty much sums it up.
@all else
lemme just sum it up that I am using the exact same code for AI as I am for bots. This way it would be a direct extension into single player. The ironic thing is single player AI is so much easier to implement because its already designed into the source engine. In order to use it for bots I had to invent a hack that emulates a player proxy on top of the AI code to enable interaction with existing gameplay infrastructure, scoring, and everything else that multiplayer has.
Rick Astley:
so how is that coming along?
coolDisguise:
--- Quote from: Rick Astley on May 06, 2011, 03:04:19 am ---so how is that coming along?
--- End quote ---
this^
--- Quote from: killermonkey on May 06, 2011, 02:01:04 am ---@namjna
Good list, that pretty much sums it up.
@all else
lemme just sum it up that I am using the exact same code for AI as I am for bots. This way it would be a direct extension into single player. The ironic thing is single player AI is so much easier to implement because its already designed into the source engine. In order to use it for bots I had to invent a hack that emulates a player proxy on top of the AI code to enable interaction with existing gameplay infrastructure, scoring, and everything else that multiplayer has.
--- End quote ---
Sounds very complicated, but very interesting. I wonder why Valve didn't design the same interfaces (or at least similar ones) for multiplayer bots in source games anyway. I mean they did some CS: S bots, right?
killermonkey:
The CS bots were created by Turtle Rock Studios which is why they are not part of the Sdk. I believe they did it the logical way and put an air layer on top of the player interface.
unfortunately that is not a choice for us because AI entities are branches off from player entities. This does not allow for proper polymorphism and usage of underlying functions, hence the proxy player.
markpeterjameslegg:
Ha ha, well done NamajnaG, that sums it up for me as well.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version