Iron Assault Remake (Demo 1.02)

For Total Conversions and projects that don't otherwise fall under the other categories.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

Re: Iron Assault Remake (Demo 1.02)

Postby ReformedJoe » Sat Aug 01, 2020 7:32 pm

Cherno wrote:When I write a system that has the A.I. and the player be able to control the same kinds of vehicles, I commonly code the vehicles to have a generic pilot variable, which is a reference to any actor. In the vehicle functionality, I would then check if the pilot inherits from PlayerPawn or not (which would indicate a monster/A.I.). Giving commands / controlling the vehicle would need some duplication because it has to be part of the player pawn class as well as the monster pilot classes. However, this can be minimized by writing the code in such a way that players and monsters only give general commands to the vehicle, like changing it's movement direction and angle, and the vehicle itself would read these changes on it's own side.

To clarify: The vehicle has no mind of it's own, it ist just an empty shell that can be used by players and the A.I. in the same way.

If I were to do it all over again from scratch, I would definitely do something like this. Especially with what I've learned while making this project. However at this point I think the problem is too deeply embedded and would take a full rebuild to fix. Which I don't have the motivation for right now.

There are a lot of things I would have done differently in hindsight. It might just be a case of me pushing through and filing this under "lessons learned".
User avatar
Joined: 21 May 2018


Return to TCs, Full Games, and Other Projects

Who is online

Users browsing this forum: teacup122 and 17 guests