Author Topic: Bot Damage  (Read 1471 times)

QUADRUPLE POST

WAIT I JUST HAD AN IDEA
Now that my bots have clients, I can use GameConnection::onDeath to get the killer, right? :D
I think you use AiConnection::onDeath

This should be enough for it to work:
Code: [Select]
%bot = new AiPlayer()
{
dataBlock = PlayerStandardArmor;
client = new AiConnection()
{
player = %bot;
minigame = %minigame;
};
};
Nesting is fun! :D

yep, that's what im doing

i still get error mesages

I don't understand why you're

re-inventing the wheel

Don't you think it'd be easier to simply use code that is known to work, as opposed to go through the same trouble that [insert name of creator of bot mod here] went through to create it themself?

I don't understand why you're

Don't you think it'd be easier to simply use code that is known to work, as opposed to go through the same trouble that [insert name of creator of bot mod here] went through to create it themself?

It's not a very nice wheel.

More to the point, with bots it is important that you have your own goddamned wheel.
I'm not making some build with bot events - I'M MAKING MY OWN MOD.

Stop suggesting that I use not events.

Can you post a trace/console log of error messages?
Don't you think it'd be easier to simply use code that is known to work, as opposed to go through the same trouble that [insert name of creator of bot mod here] went through to create it themself?
You're not contributing. Recycling code is a horrible idea. Go away.

You're not contributing. Recycling code is a horrible idea. Go away.

I haven't learned Torque fully myself, so that's what I do, and I learn in the process. Plus, recycling doesn't necessarily mean that the product will be a copy of what it originally was.

In a sense, I am contributing, by suggesting that he try looking into
code that is known to work