Making a Mod To Alter Bots Chat/ Insults

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators


  • Hi,

    I've been programming C++ for a while, and basically, I've been making this console-based program that simulates the way bots in FPS games talk to each other.

    The bots can insult/ compliment each other in a few different ways- for example, if another bot insults them, they might insult them back in a more aggressive way. As I mentioned, right now it's just console based. Events in the game are just simulated with text messages- ie "Ranger fragged Klesk". And then the bots in the program react accordingly. I started doing it because I'm interested in what I could do with their social behaviour.

    So I'm wondering, how hard would it be to convert something like this into a mod for Nexuiz? Would I need to compile the entire source code or can you do something like make a dll for your mod like you could with Quake 2?

    Cheers.
    User avatar
    bengreenwood
    Advanced member
     
    Posts: 67
    Joined: Sat Sep 29, 2007 4:47 am

Fri Jul 31, 2009 9:24 pm

  • I did that already, although with a very primitive insult-bot.

    Basically I modified data/qcsrc/server/bots.qc and it's very easy to do.

    It's QuakeC code, so you have to recompile only Nexuiz, but not Darkplaces.
    And I assume since it's server code you don't even need to do anything with the clients if you run it on a server.

    But I don't think it would be easy to connect existing C++ code to it...
    [Tue Aug 5 2008] [00:15:01] <Ronan`> RoKenn, you're an evil person :P
    Image
    RoKenn
    Alien
     
    Posts: 141
    Joined: Wed Apr 25, 2007 10:25 pm

Fri Jul 31, 2009 11:04 pm

  • DP is written in C not C++ sorry.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Mon Aug 03, 2009 10:12 pm

  • I'm thinking about porting my program over to QuakeC. What kind of stuff can you do with the bots through QuakeC? Could you make them decide to be more/ less aggressive at certain times in a match? Also, could you make them decide to stop attacking certain players/ become more aggressive to others at different points in the game, stuff like that?
    User avatar
    bengreenwood
    Advanced member
     
    Posts: 67
    Joined: Sat Sep 29, 2007 4:47 am

Mon Aug 03, 2009 10:37 pm

  • yes. you can even make them friendly, heal you, have different objectives, or even roam around aimlessly without waypoints.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Thu Aug 13, 2009 9:13 am

  • It sounds an interesting feature, but shouldn't be default at any cost, otherwise 12 years old "Little Joe" who plays his first FPS ever after downloading Nexuiz (and highly possible he wants to train with bots before coming online first) will see that the usual way in the game when you get fragged is to start nerd-rageing, shouting "AGY))))" and stuffs. I never thought it was a good idea in any game I saw this feature on default, just to teach whining, and anyway, a dead enemy doesn't talk, does he? :D
    User avatar
    FraNcoTirAdoR
    Alien trapper
     
    Posts: 288
    Joined: Tue Mar 04, 2008 10:25 am
    Location: near the nex

Thu Aug 13, 2009 9:30 am

  • Why not just have what other games have and a "No Profane Taunts" option or something to disable naughty language. It can already be done with the gore.
    Possibly not the worst mapper in the world.

    A blog of random pish:
    http://xeno.planetnexuiz.com/blog/?author=5
    User avatar
    Sepelio
    Forum addon
     
    Posts: 1101
    Joined: Tue Jun 27, 2006 7:57 pm
    Location: Scotland

Fri Aug 14, 2009 5:24 am

  • /me agrees with both. (we really need that for ingame chat)
    i dont think it should be default for nexuiz's style of gameplay.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Fri Aug 14, 2009 9:18 am

  • I agree, it would be nice with a "gentle" mode, were the bots could say "!" when you shoot the bot when it were already falling into the abyss. Reply with a smiley or "&%#¤%&/%/!" when I say ":D". Give me a happy smiley "^^", when it pops my head.

    If someone spams "gay))" and other stuff, the bots would go insane and really let the idiot have it (as in every bot against the player). That should teach "YGA))" spammers.

    Suggestions: Make the bots either use eastern emoticons style OR western emoticons style/mixed with scandinavian style.

    Have the bots start discussions.
    [Bot] Shorcher: You know those jumppads over at Running Man (1on1)? Oh by the mighty maker mand1nga how I love those! ^^
    [Bot] Sensible: orly? :/
    [Bot] Shorcher: yarly! d(^_^)b
    Playername: STFU1
    [Bot] Shorcher: o.O ...
    [Bot] Sensible: lol
    [Want to develop? Look HERE]. Image Image Gif sauce.
    paperclips
    Alien trapper
     
    Posts: 346
    Joined: Mon Jan 12, 2009 10:27 am
    Location: internets

Fri Aug 14, 2009 1:04 pm

Fri Aug 14, 2009 1:44 pm

  • Sepelio wrote:Oh god.... dont make a troll bot. It will be too realistic.
    lulz ;D
    [Want to develop? Look HERE]. Image Image Gif sauce.
    paperclips
    Alien trapper
     
    Posts: 346
    Joined: Mon Jan 12, 2009 10:27 am
    Location: internets

Mon Aug 17, 2009 4:58 am

  • paperclips wrote:I agree, it would be nice with a "gentle" mode, were the bots could say "!" when you shoot the bot when it were already falling into the abyss. Reply with a smiley or "&%#¤%&/%/!" when I say ":D". Give me a happy smiley "^^", when it pops my head.

    If someone spams "gay))" and other stuff, the bots would go insane and really let the idiot have it (as in every bot against the player). That should teach "YGA))" spammers.

    Suggestions: Make the bots either use eastern emoticons style OR western emoticons style/mixed with scandinavian style.

    Have the bots start discussions.
    [Bot] Shorcher: You know those jumppads over at Running Man (1on1)? Oh by the mighty maker mand1nga how I love those! ^^
    [Bot] Sensible: orly? :/
    [Bot] Shorcher: yarly! d(^_^)b
    Playername: STFU1
    [Bot] Shorcher: o.O ...
    [Bot] Sensible: lol


    d00d! That's not too far from what Epic Games said they would do with the bots in Unreal Tournament 3. If somebody implemented this for Nexuiz it would make the 2007 disappointment look even worse! In my opinion it would be cool have this as an option. I imagine coding it would be a bitch though.
    I have left this website with the rest of the GPL Nexuiz community. You can find us at Xonotic.org
    User avatar
    Lee_Stricklin
    Alien trapper
     
    Posts: 404
    Joined: Sat Jun 21, 2008 8:42 pm
    Location: Midwest

Mon Aug 17, 2009 9:34 am

  • Lee_Stricklin wrote:d00d! That's not too far from what Epic Games said they would do with the bots in Unreal Tournament 3. If somebody implemented this for Nexuiz it would make the 2007 disappointment look even worse! In my opinion it would be cool have this as an option. I imagine coding it would be a bitch though.
    :/
    they will? .. ok.. well I was just trolling a bit regarding the "troll discussion bit", but hey, "each to his own", or how one says it in English.

    I was serious about the answering a ":D" with some smiley or depending score difference random "#%**#%!!!", same on falling down the abyss.
    [Want to develop? Look HERE]. Image Image Gif sauce.
    paperclips
    Alien trapper
     
    Posts: 346
    Joined: Mon Jan 12, 2009 10:27 am
    Location: internets



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest