Jump to content

Insane Limits V0.8/R2: Melee/Knife Death Shame From Message List


ImportBot

Recommended Posts

Originally Posted by PapaCharlie9*:

 

Doh, that's what I get for trying to code from memory. I corrected all my previous posts where plugin.SendPlayerYell had the wrong parameter order. Good catch LCARS!

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 132
  • Created
  • Last Reply

Originally Posted by LCARSx64*:

 

Doh, that's what I get for trying to code from memory. I corrected all my previous posts where plugin.SendPlayerYell had the wrong parameter order. Good catch LCARS!

Thanks Papa :smile: But I really only caught that because I've been doing a lot of test limits and having them yell at me in game, rather than minimizing all the time to look at the PRoCon chat/console. If not for that, I would be looking the usage up in the Insane Limits post lol.

 

I also have a quick question that isn't really Insane Limits only related. I created a Photoshop template that I use when setting up in-game messages (chat only not yells), it consists of a *.psd and a outline font pack (a group of *.otf files). I want to share this so that others can use it, would I share that in the Plugin Enhancement sub-forum or should I PM you a link so that you can share it and verify it's all legit?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

I also have a quick question that isn't really Insane Limits only related. I created a Photoshop template that I use when setting up in-game messages (chat only not yells), it consists of a *.psd and a outline font pack (a group of *.otf files). I want to share this so that others can use it, would I share that in the Plugin Enhancement sub-forum or should I PM you a link so that you can share it and verify it's all legit?

I'm not clear on what that is used for. Do you use it to figure out the formatting of a chat message, by mocking it up in Photoshop? That's amazing, if true. I never would have thought of that. How did you get the OTFs?

 

If you sure it's legit and doesn't violate anyone's copyright, just post it in Procon 1.0 Frostbite/General, with a full explanation and instructions on how to use. Screenshots of the PS screen and in-game screen, as a before/after of some test message, would be highly recommended. Be sure to mention which version of PS it works on, also, unless you can convert it to a universal type without losing anything, like a TIFF or a PNG?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LCARSx64*:

 

I'm not clear on what that is used for. Do you use it to figure out the formatting of a chat message, by mocking it up in Photoshop? That's amazing, if true. I never would have thought of that. How did you get the OTFs?

 

If you sure it's legit and doesn't violate anyone's copyright, just post it in Procon 1.0 Frostbite/General, with a full explanation and instructions on how to use. Screenshots of the PS screen and in-game screen, as a before/after of some test message, would be highly recommended. Be sure to mention which version of PS it works on, also, unless you can convert it to a universal type without losing anything, like a TIFF or a PNG?

Yeah, I basically do a mock up of the chat text to set it out correctly, of coarse player names are difficult, but I just use long made up names to try to fill it out. I found the font online, it is a free font so no dramas there, if I can find what I did with the original link I'll just link it instead.

As for converting to a TIFF or PNG, I don't think that'd be usable because the PSD uses 2 layers (background & text), but I'll experiment a little with it. :smile:

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by trans-am*:

 

/* Version: V0.8/R1-Random-yell OMG */

List shame = new List();

shame.Add("%k_fn% just sliced %v_n%'s throat, what a shame, bro!");

shame.Add("%v_n% was shanked by %k_fn%!");

shame.Add("%k_fn% just took %v_n%'s tags and made him cry!");

// Add additional messages here with shame.Add("...");

 

//Randomize

Random rand = new Random();

int next = rand.Next(shame.Count); // Choose random index bounded by list count

String msg = plugin.R(shame[next]);

 

//Send message

plugin.SendGlobalMessage(msg);

 

return false;

For the one in red, if i want say & yell to all player, how do i change it?

I try adding these 2 but it doesn't work

Code:

plugin.SendGlobalMessage(msg)
plugin.ServerCommand("admin.yell", msg);
What should be the correct one?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LCARSx64*:

 

For the one in red, if i want say & yell to all player, how do i change it?

I try adding these 2 but it doesn't work

Code:

plugin.SendGlobalMessage(msg)
plugin.ServerCommand("admin.yell", msg);
What should be the correct one?
Add the line in red (note: change the 5 in the yell to the require duration in seconds):

Code:

/* Version: V0.8/R1-Random-yell OMG */
List<String> shame = new List<String>();
shame.Add("%k_fn% just sliced %v_n%'s throat, what a shame, bro!");
shame.Add("%v_n% was shanked by %k_fn%!");
shame.Add("%k_fn% just took %v_n%'s tags and made him cry!");
// Add additional messages here with shame.Add("...");

//Randomize
Random rand = new Random();
int next = rand.Next(shame.Count); // Choose random index bounded by list count
String msg = plugin.R(shame[next]);

//Send message
plugin.SendGlobalMessage(msg);
plugin.SendGlobalYell(msg, 5);

return false;
* Restored post. It could be that the author is no longer active.
Link to comment
  • 4 months later...

Originally Posted by PapaCharlie9*:

 

what is the difference between %k_n% and %k_fn%

 

THX

%k_n% is the killer's name without a clan tag, for example, PapaCharlieNiner

 

%k_fn% is the killer's name with a clan tag, for example, [LGN]PapaCharlieNiner.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Level*:

 

%k_n% is the killer's name without a clan tag, for example, PapaCharlieNiner

 

%k_fn% is the killer's name with a clan tag, for example, [LGN]PapaCharlieNiner.

is it the same way at v_n and v_fn?
* Restored post. It could be that the author is no longer active.
Link to comment

Archived

This topic is now archived and is closed to further replies.




×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.