Jason_W Posted June 22, 2002 Share Posted June 22, 2002 1 - Is there any way to prevent a bot character from using a weapon entirely. I've tried setting the weights in the bot file to 1, but i still get my Anakin bot 'disrupting' bloody Clonetroopers. I've also tried removing the weapons from the list. That doesn't help either. Any ideas? 2 - Is there a way to make a bot 'friendly' towards your character in free for all. I tried putting a name in the 'Emotional attatchments field, set to 2, then naming my player character the same thing (works in theory...) but Anakin still destroyed me (...but not in practice it would appear. Well at least he didn't shoot me). Anything? 3 - A simple one to finish. What is the max number of emotional attatchments a bot may have. I've heard 4, but I've seen a bot file with 5 (not sure if it worked though) That'll do for now I suppose. Link to comment Share on other sites More sharing options...
keto Posted June 22, 2002 Share Posted June 22, 2002 i dont know much about bot editing but from what you have written it seems you want more of the npc features than a bot. i woudl suggest writing a script for in Behave (icarus). and then spawning it in game, from that i think you can make him not have any weapons and be friendly. i have also heard only 4 emotional attachments but havent tried anything higher Link to comment Share on other sites More sharing options...
Jason_W Posted June 23, 2002 Author Share Posted June 23, 2002 By a 'friendly' character, I mean more of an ally, which would require weapons, and work with your character like bots can (I programmed a Obi Wan + Anakin team which work amazingly. I was just wondering if this Emotional attatchments feature can be applied to include player characters, without going into Teamm FFA or anything. Link to comment Share on other sites More sharing options...
Jason_W Posted June 23, 2002 Author Share Posted June 23, 2002 Any more help? Link to comment Share on other sites More sharing options...
MasterD-LeyAmas Posted June 23, 2002 Share Posted June 23, 2002 Set the weapon preference on any weapon you do not want them to use to 0, it says in the botfile: "Weapons with a weight of 0 will be used in special cases outside of combat" So, if you don't want a bot to be able to use a saber, or a blaster, or a disruptor, set it's weapon weight to 0. Link to comment Share on other sites More sharing options...
Jason_W Posted June 24, 2002 Author Share Posted June 24, 2002 I tried that too. It almost works, better than 1 at least, but still my anakin bot gets out guns every once in a while. It'll do I suppose. Link to comment Share on other sites More sharing options...
LordEradicator Posted June 24, 2002 Share Posted June 24, 2002 Yes, four is the max. I just looked at the code... I will be raising the limit to 128 for the next version (maybe 1.2) of my mod, JK2: Then Fan's Version. Check out http://www.ModsRus.com for details. Link to comment Share on other sites More sharing options...
Jason_W Posted June 24, 2002 Author Share Posted June 24, 2002 128 Emotional Attatchments?!?! Wow. Link to comment Share on other sites More sharing options...
xan Posted June 25, 2002 Share Posted June 25, 2002 I too have been trying to work out emotional attachments, without success. I've tried just about everything and I still can't get it. I was told to try the Simple Bot Editor which I couldn't because of that 20mb runtime file.. over my download limit for this month Perhaps you can try that? Link to comment Share on other sites More sharing options...
Jason_W Posted June 26, 2002 Author Share Posted June 26, 2002 The simple bot editor can't do anything you can't do in a word document (please correct me if I'm wrong) so that won't help. ActuallyI have a new theory. How about setting the emotional attatchments name to HUMAN, as a player character is listed in the server setup. Probably doesn't work, as I haven't tested it. I'lll try it out sometime in the next 16 hours and get back to you. Link to comment Share on other sites More sharing options...
xan Posted June 26, 2002 Share Posted June 26, 2002 Could work, worth a try I tried using names and the actual model names, but nothing seemed to work. I assumed that it might have something to do with the TAB spaces, because that happened to me in Elite Force. I changed one TAB space and everything stopped working... Oh well, if you have any progress, i'd like to know too Link to comment Share on other sites More sharing options...
ALIEN_JL Posted June 27, 2002 Share Posted June 27, 2002 Originally posted by MasterD-LeyAmas So, if you don't want a bot to be able to use a saber, or a blaster, or a disruptor, set it's weapon weight to 0. If you set some gun to 0 then that bot doesn't use it exept if someone else uses it... =========================== If you are going to build model or skin or... and make bot for it then i hope that you use this as a starting-point when you set his force powers.... ------------------------------------ Light side = 7-1-x*xxxx000xx000*LLx Dark side = 7-2-0*xxx0xxx0000x*LLx -- -- -- -- -- -- -- -- -- -- -- -- --- Those which i set 0 keep them them 0 If character is Jedi or Sith then those which i marked with * should be 1-3 If character is going to use lightsaber then those which marked with L should be 1-3 And in those which i marked with x you can have what you want (0-3) But do not exceed 20 points total ============================ Link to comment Share on other sites More sharing options...
Jason_W Posted June 27, 2002 Author Share Posted June 27, 2002 Didn't work. Oh well. Link to comment Share on other sites More sharing options...
xan Posted July 5, 2002 Share Posted July 5, 2002 I've been trying to figure out this prob lately.. i'm still not sure what to do. I know hatelevel factors into it.. I think that has something to do with if their lovedone gets killed and they try to get revenge. Also, i've noticed that even the games bots don't do what they're supposed to.. so i'm not sure if its EmotionalAttachment or EmotionalAttachments Link to comment Share on other sites More sharing options...
xan Posted July 5, 2002 Share Posted July 5, 2002 I just tried that... it works EmotionalAttachments.. with the S on the end.. some of the bot files in the assets.pak have it without the S I have.. EmotionalAttachments { TAB-SPACE [name] TAB-SPACE TAB-SPACE 2 } the bots dont even attack eachother on straight FFA.. its awesome Link to comment Share on other sites More sharing options...
Jason_W Posted July 6, 2002 Author Share Posted July 6, 2002 Yeah, I've had that working for a while, bots working with bots, but a bot working with human player config without resorting to Team FFA would be nice (allowing more than two teams). Maybe someone will make a mod. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.