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

Making a Mod To Alter Bots Chat/ Insults

Postby bengreenwood » Fri Jul 31, 2009 6:02 pm

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.
bengreenwood
Advanced member
 
Posts: 67
Joined: Sat Sep 29, 2007 4:47 am

Postby RoKenn » 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

Postby Mizu Kitsune » 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

Postby bengreenwood » 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?
bengreenwood
Advanced member
 
Posts: 67
Joined: Sat Sep 29, 2007 4:47 am

Postby Mizu Kitsune » 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

Postby FraNcoTirAdoR » 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
FraNcoTirAdoR
Alien trapper
 
Posts: 288
Joined: Tue Mar 04, 2008 10:25 am
Location: near the nex

Postby Sepelio » 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
Sepelio
Forum addon
 
Posts: 1101
Joined: Tue Jun 27, 2006 7:57 pm
Location: Scotland

Postby Mizu Kitsune » 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

Postby paperclips » 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

Postby Sepelio » Fri Aug 14, 2009 1:04 pm

Oh god.... dont make a troll bot. It will be too realistic.
Possibly not the worst mapper in the world.

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

Next

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron