View Full Version : hep with bots .

06-09-2002, 01:54 PM
i m curently trying to have double bladed saber's for the bots...

in G_addbot
i analyse the botinfo string (ie which is in the bots.txt)

and if my line is here (tck_doublesaber 1) then
i change bot->client->ps.dualblade to qtrue ....

it's ok and with some debug and print in the console i know this part works
But whan the bot spawns it doesn't have a double bladed saber ......

do anyone of you know if the ps. is reseted after or something ???
why aren't the bots afected ?? i don't know ....

Garik Loran
06-09-2002, 02:08 PM
I'll see if I find something. Can you help me with my saber problem? That's the problem. (http://www.lucasforums.com/showthread.php?s=&threadid=60449)

06-09-2002, 02:14 PM
ok i ll check .... :)

06-09-2002, 02:18 PM
bout my bots and i have been able to give them a double bladed saber ...
it s kinda cheap (if the bots duel then ps.dualblade = qtrue)

and i dueled one ...(bot_honorableduelacceptance 1 and cheat protected by the way..)

and HE HAD A double bladed ...
i m going to add a qboolean in the bot structure ...
and a check in bothink ...
should work ...

06-09-2002, 03:38 PM
I ve done it ......

The bots can have a custom color AND the double Bladed saber ....

i ll release a new version of my mod ....

Garik Loran
06-09-2002, 05:32 PM
VERY COOL! I've checked some of the parts you've mentioned here. Very cool.
Can't wait to check your new source code, that's the best way for me to learn somethin :)
Have you found an error I made withe adding a white saber?

06-09-2002, 05:41 PM
well for your saber i checked but didn't see something wrong ... i'll continue my investigations :)

and if you want a screenshot of the bots :


i m going to update the source soon ....

06-09-2002, 08:51 PM
if you are intrested on how adding double bladed sabers to bots it might intrest you !


I know the code is dirty lol !

check this by yourself ! but i didn't really want to modify the gentity and centity structs so i added my crappy tck_t struct...

06-10-2002, 07:57 AM
any chance of the download (or name of...)

06-12-2002, 05:03 AM
tck's rgb saber mod

06-16-2002, 12:15 PM
awesome a new version thats cool, maybe you could make it so only certain bots would have the double bladed saber though, i really only want maul to have it so i can fight him with a friend on jedi master skill level in ffaepisode1