Voice commands pack

Get support for anything JK2 related, find tutorials for in-game and modding topics, and post any suggestions for the site here.
Post Reply
scavenger228
Posts: 2
Joined: 28 Apr 2016, 19:15

Voice commands pack

Post by scavenger228 »

I don't know how much code work that would require. I don't see the game lacks this a lot.

I play a game which has got voice commands available for either your team or everyone on a server. They are pretty hilarious to spam... :? I mean, have fun with. :)

What do you think? Might this be worth it at some point in the future if we get enough feedback and requests for this?
User avatar
Boothand
Administrator
Posts: 986
Joined: 24 Feb 2015, 08:21
Contact:

Re: Voice commands pack

Post by Boothand »

It sounds like a pretty simple mod to make on a server, given similar-ish features on the DARK server. Would be fun to see on team based games.
User avatar
Tr!Force
Posts: 433
Joined: 26 Feb 2015, 12:25
Location: Chile
Contact:

Re: Voice commands pack

Post by Tr!Force »

is not hard, jk2 already has some code for voice-commands (never finished)... something like jk3 voice commands.

for example:

Code: Select all

//team task
typedef enum {
	TEAMTASK_NONE,
	TEAMTASK_OFFENSE, 
	TEAMTASK_DEFENSE,
	TEAMTASK_PATROL,
	TEAMTASK_FOLLOW,
	TEAMTASK_RETRIEVE,
	TEAMTASK_ESCORT,
	TEAMTASK_CAMP
} teamtask_t;
Image
"The dark side? I've been there. Do your worst." - Kyle Katarn
  • JK2 & JK3 Code-Mod Developer
  • Jedi Knight Plus Mod Project: Click Here
  • E-Mail: triforce@gznetwork.com
  • Discord: TriForce#8785
User avatar
Miso
Posts: 170
Joined: 24 Feb 2015, 02:41
Location: Massachusetts / United States

Re: Voice commands pack

Post by Miso »

They did this on the Movie Battles II mod in JKA and I'm sure it's been done previously before that.

I remember a bug in a mod (don't remember which one, maybe someone can help out) where typing in /gc (which normally enables cheats), it would print back in a Private Message "hold your position". I always had thought they had attempted to put these in before but kind of gave up
Jj.miso
User avatar
Daggolin
Administrator
Posts: 794
Joined: 23 Feb 2015, 13:05

Re: Voice commands pack

Post by Daggolin »

Miso, are you aware that /gc is a default basejk command? Modders were just unaware or ignored that and made amGC for cheats. ^^
scavenger228
Posts: 2
Joined: 28 Apr 2016, 19:15

Re: Voice commands pack

Post by scavenger228 »

Apart from basic commands like "Cover me" and alike I thought of something different like "Hello", etc and probably some SW-series based voice commands which would fit into. If anyone ever heard of Savage 2 it's what this game was really good at, whether just basic voice commands or special ones. (You can play the game and care not using voice chat, they covered pretty much everything.)

"Hey, you there!" :D
User avatar
Tr!Force
Posts: 433
Joined: 26 Feb 2015, 12:25
Location: Chile
Contact:

Re: Voice commands pack

Post by Tr!Force »

scavenger228 wrote:Apart from basic commands like "Cover me" and alike I thought of something different like "Hello", etc and probably some SW-series based voice commands which would fit into. If anyone ever heard of Savage 2 it's what this game was really good at, whether just basic voice commands or special ones. (You can play the game and care not using voice chat, they covered pretty much everything.)

"Hey, you there!" :D
This is already done in JK3, actually is easy to port to JK2 (is just a copy/paste code work), i already added this feature to my mod to-do list ;)

Image

Here are the current commands available for all team based game modes:
ATTACK

1.Attack Primary Objective "Go for the primary objective!" /voice_cmd att_primary
2.Attack Secondary Objective "Go for the secondary objective!" /voice_cmd att_secondary
3.Attack Position "Attack the position!" /voice_cmd att_attack

DEFEND

1.Defend Primary Objective "Defend the primary objective!" /voice_cmd def_primary
2.Defend Secondary Objective "Defend the secondary objective!" /voice_cmd def_secondary
3.Defend Position "Defend my position!" /voice_cmd def_position
4.Defend Guns "Get to the guns!" /voice_cmd def_guns

REQUEST

1.Assistance "I need assistance!" /voice_cmd req_assist
2.Medic "Medic!" /voice_cmd req_medic
3.Supplies "I need supplies!" /voice_cmd req_sup
4.Tech "I need a tech over here!" /voice_cmd req_tech
5.Heavy Weapons "I need heavy weapons over here!" /voice_cmd req_hvy
6.Demolitions "I need demolitions over here!" /voice_cmd req_demo

REPLY

1.Roger "Roger!" /voice_cmd reply_yes
2.Negative "Negative!" /voice_cmd reply_no
3.Coming "Be right there!" /voice_cmd reply_coming
4.Offence "I'm going on offence!" /voice_cmd reply_go
5.Defence "I'll hold here!" /voice_cmd reply_stay

SPOTTED

1.Defenses "They've got heavy defenses here!" /voice_cmd spot_defenses
2.Troops "Troops coming this way!" /voice_cmd spot_troops
3.Sniper "Sniper!" /voice_cmd spot_sniper
4.Emplaced Weapons "They've got emplaced guns!" /voice_cmd spot_emplaced
5.Air Support "They've got air support!" /voice_cmd spot_air

TACTICS

1.Cover "Cover me!" /voice_cmd tac_cover
2.Hold "Hold this position!" /voice_cmd tac_hold
3.Follow "Follow me!" /voice_cmd tac_follow
4.Retreat "Fall back!" /voice_cmd tac_fallback
5.Stay Together "Stick together!" /voice_cmd tac_together
6.Split Up "Split up!" /voice_cmd tac_split
PD: haha "Hey, you there!" like my signature :lol:
Image
"The dark side? I've been there. Do your worst." - Kyle Katarn
  • JK2 & JK3 Code-Mod Developer
  • Jedi Knight Plus Mod Project: Click Here
  • E-Mail: triforce@gznetwork.com
  • Discord: TriForce#8785
User avatar
ouned
Administrator
Posts: 596
Joined: 23 Feb 2015, 13:03
Location: Gliese581c

Re: Voice commands pack

Post by ouned »

the first thing i would do is disabling it. :p
User avatar
Tr!Force
Posts: 433
Joined: 26 Feb 2015, 12:25
Location: Chile
Contact:

Re: Voice commands pack

Post by Tr!Force »

ouned wrote:the first thing i would do is disabling it. :p
that kind of things usually comes disabled :lol: and players who want to use it, they can activate ;)
Image
"The dark side? I've been there. Do your worst." - Kyle Katarn
  • JK2 & JK3 Code-Mod Developer
  • Jedi Knight Plus Mod Project: Click Here
  • E-Mail: triforce@gznetwork.com
  • Discord: TriForce#8785
Kevin
Administrator
Posts: 393
Joined: 07 Jun 2015, 08:36

Re: Voice commands pack

Post by Kevin »

ouned wrote:the first thing i would do is disabling it. :p
Never liked them either :D
Post Reply
Created by Matti from StylesFactory.pl and Warlords of Draenor (modified by jk2.info)
Powered by phpBB® Forum Software © phpBB Limited
 

 

cron