Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Killing Floor Forums > Killing Floor Modifications > General Modding Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2011, 11:26 AM
KF-Argentina KF-Argentina is offline
Senior Member
 
Join Date: Oct 2010
Location: Argentina
Posts: 226
Default [Mutator] Weapon Pickup Message

[UPDATED]

Hi everybody, Our team from KF-Argentina and his coder NANOMO made this mutator and we decided to realease it to public.
This mutator was born from the idea to know who took our weapons during game, when someone steal your backup weapons and you want to know who was it in order to ask him to give it back.
This mut works like this:
-When player took a weapon from floor. it shows a Chat message that says "NAMEOFPLAYER: Take NAMEOFWEAPON"
For example, "Carlos: Take AA12AUTOSHOTGUN".....
for a more graphic example, see te video below:

[Mutator for Killing Floor] Weapon Pickup Message VISIT: www.killingfloorarg.com - YouTubewww.killingfloorarg.com

[UPDATE]

** With iterator **

DOWNLOAD

NOTE FOR DEVELOPERS: this can be done with the OverrideQueryPickup method too, but we found interesting how the ViewPort works and the way we found to broadcast the message(every knows that KF is a black box in some places and the wiki of unreal some times isn't enough)
Maybe you can choose to execute teamsay instead of say to avoid broadcaste the message to spectators.

** BETA: With OverridePickupQuery, colored and custom mesages **

This one is recommended for end users, you can change the message pickup.
This have 2 vars: %KFARGWeapon% and %KFARGPlayerName%
So,if you go to config the mutator, and put the string: %KFARGPlayerName% takes %KFARGWeapon%, then in game this will result in: NANOMO takes Bullpup in a GREEN color by default (sorry CandleJack , BUT u can change the color including the color chars before every word! ).
EDIT: mutator fix by King_Sumo
DOWNLOAD


For instructions in spanish visit the original post from our site HERE

See You and donīt forget to visit www.killingfloorarg.com for future new stuff!

Last edited by KF-Argentina; 05-14-2012 at 05:42 PM.
Reply With Quote
  #2  
Old 02-25-2011, 01:43 PM
EricFong's Avatar
EricFong EricFong is offline
Senior Member
 
Join Date: Mar 2010
Location: Trapped, many zeds, help.
Posts: 1,212
Default

This is best against griefer
__________________


Just a anime-fan/g, leave me.
http://www.greatergoodgames.org <- Nice game? I think so.

Last edited by EricFong; 02-25-2011 at 01:45 PM.
Reply With Quote
  #3  
Old 02-25-2011, 01:48 PM
Benjamin Benjamin is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 3,419
Default

Interesting idea, but from the looks of the code it scans messages for localized text, comparing it with a single English string. In other words, unless the pickup message is the same in every language version of the game ("you got ...") it's not going to work for everyone.
Reply With Quote
  #4  
Old 02-25-2011, 02:37 PM
KF-Argentina KF-Argentina is offline
Senior Member
 
Join Date: Oct 2010
Location: Argentina
Posts: 226
Default

Thanks for u reply, is very appreciated!

Quote:
Originally Posted by Benjamin View Post
Interesting idea, but from the looks of the code it scans messages for localized text, comparing it with a single English string. In other words, unless the pickup message is the same in every language version of the game ("you got ...") it's not going to work for everyone.
That's correct, for now only will show the correct one for english language.


EDIT: the new version solve the language problem

Last edited by KF-Argentina; 02-26-2011 at 07:55 PM.
Reply With Quote
  #5  
Old 02-25-2011, 11:01 PM
steff's Avatar
steff steff is offline
Senior Member
 
Join Date: Nov 2010
Location: Russian Federation
Posts: 122
Default

Good idea, it would be healthy if the message had other color, for example dark blue, that didn't merge with the general channel
__________________

Server web-page: KFPrim

Online Players Statistics
Reply With Quote
  #6  
Old 02-26-2011, 02:38 AM
KF-Argentina KF-Argentina is offline
Senior Member
 
Join Date: Oct 2010
Location: Argentina
Posts: 226
Default

Soon we will be posting another version that works with any language and use modifiers like %WeaponName% or %PlayerName% and with colors too . We are testing in the next day in our main server.
Reply With Quote
  #7  
Old 02-26-2011, 03:52 AM
steff's Avatar
steff steff is offline
Senior Member
 
Join Date: Nov 2010
Location: Russian Federation
Posts: 122
Default

good, I will be wait
__________________

Server web-page: KFPrim

Online Players Statistics
Reply With Quote
  #8  
Old 02-26-2011, 07:00 AM
CandleJack's Avatar
CandleJack CandleJack is offline
Senior Member
 
Join Date: Dec 2009
Location: VIC
Posts: 3,408
Default

Perhaps you can assign colour codes to perks and weapon types.

For example, medic could be red, and the Xbow (SS guns) could be gold.

It would look something like:

"[}{]DrCandleJackMD picked up the Handcannon"

This way you can tell even easier what perk picked up what. Or you could match the perk weapon colour to the perk colour, for example:

"[}{]DrCandleJackMD picked up the MP7"

This could have an added side-effect of helping newbies/noobs learn which weapons go with which perks.

I hope i gave you some food for thought
__________________
203.217.24.135 - [}{] Killing Floor Legion server
Reply With Quote
  #9  
Old 02-26-2011, 11:46 AM
KF-Argentina KF-Argentina is offline
Senior Member
 
Join Date: Oct 2010
Location: Argentina
Posts: 226
Default

Great idea, we will be add it to our large listo of next mutators to code , for now, only in spanish:

http://killingfloorarg.com/foro/24-s...ators--cambios
Reply With Quote
  #10  
Old 02-26-2011, 11:49 AM
KF-Argentina KF-Argentina is offline
Senior Member
 
Join Date: Oct 2010
Location: Argentina
Posts: 226
Default

UPDATED! Now its customizable and you can Put it on any language of the game, completely editable on the text that Shows and in Green color.
Reply With Quote
  #11  
Old 02-26-2011, 08:28 PM
steff's Avatar
steff steff is offline
Senior Member
 
Join Date: Nov 2010
Location: Russian Federation
Posts: 122
Default

test with OPQ, get this: Player TOMO Gun, I am trying change word "TOMO" to "TAKE" and "получил" (on Russian) in source cod (file: KFARGBuchonOPQ, line: StringReplace="%KFARGPlayerName% TOMO %KFARGWeapon%") but nothing changed in game... That I do wrong?
__________________

Server web-page: KFPrim

Online Players Statistics
Reply With Quote
  #12  
Old 02-27-2011, 10:55 PM
KF-Argentina KF-Argentina is offline
Senior Member
 
Join Date: Oct 2010
Location: Argentina
Posts: 226
Default

you must change it from the configuration of the mut, if you are testing in "listen mode" u must go to mutators add to the list and then clic on configure, then replace the string message.

If you are using WebAdmin, you must go to Defaults -> Game and then change the var called "Weapon Pickup text"

Thanks for testing steff it's our first mut released !

Last edited by KF-Argentina; 02-28-2011 at 03:28 AM.
Reply With Quote
  #13  
Old 02-28-2011, 04:16 AM
steff's Avatar
steff steff is offline
Senior Member
 
Join Date: Nov 2010
Location: Russian Federation
Posts: 122
Default

Quote:
Originally Posted by KF-Argentina View Post
If you are using WebAdmin, you must go to Defaults -> Game and then change the var called "Weapon Pickup text"
thanks! it's helped

Quote:
Originally Posted by KF-Argentina View Post
Thanks for testing steff it's our first mut released !
I glad to help

What plans you have on development of this mutator?
__________________

Server web-page: KFPrim

Online Players Statistics
Reply With Quote
  #14  
Old 02-28-2011, 07:01 AM
KF-Argentina KF-Argentina is offline
Senior Member
 
Join Date: Oct 2010
Location: Argentina
Posts: 226
Default

Quote:
thanks! it's helped
It works with the russian characters?

Quote:
What plans you have on development of this mutator?
Joke answer: The same as every night, try to conquer the world

Really: our goal is to broadcast and make know the game to all latinamerica making the biggest community, we start from Argentina and now we have players from chile, peru, venezuela, mexico, brazil and so on.

We like to play kf and i enjoy to make and learn new stuff that added to the members ideas are the result of this mutator and other that will be released in the future.

We will maintain the mut allways, if a unknow bug is reported we will try to fix asap.

Last edited by KF-Argentina; 02-28-2011 at 07:02 AM.
Reply With Quote
  #15  
Old 02-28-2011, 05:02 PM
steff's Avatar
steff steff is offline
Senior Member
 
Join Date: Nov 2010
Location: Russian Federation
Posts: 122
Default

Quote:
Originally Posted by KF-Argentina View Post
It works with the Russian characters?
no, but it's not you fault, web admin in Russian game clients don't work correctly with Russian language

Quote:
Originally Posted by KF-Argentina View Post
try to conquer the world
good luck! =)

I have many ideas about KF, but I'm not a coder, so I can't realize my ideas in game =(
__________________

Server web-page: KFPrim

Online Players Statistics
Reply With Quote
  #16  
Old 02-28-2011, 09:34 PM
KF-Argentina KF-Argentina is offline
Senior Member
 
Join Date: Oct 2010
Location: Argentina
Posts: 226
Default

Quote:
no, but it's not you fault, web admin in Russian game clients don't work correctly with Russian language
Ok, i know another way to set the vars of the muts , go to your killingfloor.ini open it in a plain text editor with utf-8 support like Notepadd++ (this is my editor ), then go to the end of this file and add the next:

[KFARGBuchonOPQ.KFARGBuchonOPQ]
StringReplace=%KFARGPlayerName% <insert here some russian string =) > %KFARGWeapon%

At the end of the new string press the enter Key and save it.

That must let you use the string with russian characters.(i almost sure at least!)
Reply With Quote
  #17  
Old 03-11-2011, 11:18 PM
steff's Avatar
steff steff is offline
Senior Member
 
Join Date: Nov 2010
Location: Russian Federation
Posts: 122
Default

can you block pickup weapon of player while he is live by another players, and to resolve a pickup then the player is dead ?
__________________

Server web-page: KFPrim

Online Players Statistics
Reply With Quote
  #18  
Old 03-12-2011, 01:03 AM
CandleJack's Avatar
CandleJack CandleJack is offline
Senior Member
 
Join Date: Dec 2009
Location: VIC
Posts: 3,408
Default

Quote:
Originally Posted by steff View Post
can you block pickup weapon of player while he is live by another players, and to resolve a pickup then the player is dead ?
As you said before, you're not a coder; i'm not either so bear with me on this.


How about, when someone attempts to pick up a gun when you're alive (or dead) a message pops up on your screen with a message, like:

"[}{]DrCandleJackMD is trying to pick up your M32, allow or deny?"

"Allow" and "Deny" could be keys assigned as F1 and F2, or any other key combo that doesn't interfere with regular gameplay.

With this idea, you can stop griefers from stealing your guns, or allow a teammate to use it if he's the last alive.
With this, if he runs over it and keeps going and you click "Allow" then it could spawn in his inventory, without him having to wait around and possibly get blended by a Fleshpound. The possible reasoning with this is that he picked it up anyway in the game's universe.

Some more food for thought.
__________________
203.217.24.135 - [}{] Killing Floor Legion server
Reply With Quote
  #19  
Old 03-12-2011, 03:12 AM
steff's Avatar
steff steff is offline
Senior Member
 
Join Date: Nov 2010
Location: Russian Federation
Posts: 122
Default

Quote:
Originally Posted by CandleJack View Post
As you said before, you're not a coder
yes, I am not a coder, but I have many ideas about KF


Quote:
Originally Posted by CandleJack View Post
How about, when someone attempts to pick up a gun when you're alive (or dead) a message pops up on your screen with a message, like:
"[}{]DrCandleJackMD is trying to pick up your M32, allow or deny?"
"Allow" and "Deny" could be keys assigned as F1 and F2, or any other key combo that doesn't interfere with regular gameplay
nice idea, I want something like this...
__________________

Server web-page: KFPrim

Online Players Statistics

Last edited by steff; 03-12-2011 at 03:14 AM.
Reply With Quote
  #20  
Old 03-12-2011, 06:50 AM
KF-Argentina KF-Argentina is offline
Senior Member
 
Join Date: Oct 2010
Location: Argentina
Posts: 226
Default

it's imposible to know if a weapon was from X player or yours....to make this i think that all the pickups classes must be rewrited.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright Đ2005 - 2013, Tripwire Interactive, LLC