PDA

View Full Version : hep with bots .


Tchouky
06-09-2002, 02: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, 03: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)

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

Tchouky
06-09-2002, 03: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 ...

Tchouky
06-09-2002, 04: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, 06: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?

Tchouky
06-09-2002, 06: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 :

http://mbalch.free.fr/doubleblade.jpg

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

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

http://mbalch.free.fr/

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...

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

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

Saber_Trails
06-16-2002, 01: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