Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
You can, however "buzz" other players in Hunt in order to set their text tone off to find out their position. Just press "B" and hit your LM..B on a green name
If you go to your Contagion/contagion/addons/losmuertos_tutorial/ folder there is a whole example of a map with a simple gamemode, if you look at how the scripts work in this it will help you to learn.
The function used it:
Like this:
The function GetNearestPlayerName will return a string with the nearest players name to a specific named entity.
Also the "0, 0, 0" on the end of the Send Objective are wrong, my bad.
It should be one of two functions:
or
The last three numbers are X,Y,Z world positions of the target that the phone will track.
Sorry if this has been addressed elsewhere but am I right in thinking that all messages come from the president?
Also do you have a fuller list of VScript functions for Contagion that we can look over? Or is most of it used in other games too?
1. I don't think that they are somehow related to the "president". I have my own guesses but that's something I asked myself too. You thought because of the "objective" messages? Well, this class can also force zombies to spawn...
So it probably isn't related to the president, more likely they choose the name just as a joke or something. Also, when you play on an official map all the messages come from the characters (depending on who triggered the event that is giving the message) and not someone else.
2. Since Contagion is unique from other source titles for using their own features, they also bring new codes and scripts with it. Commands you find in the vscript like "ThePresident.CreateZombiesConstant( );", "ThePresident.SendObjective" or "ThePresident.CreateWeapon( )" are coded within Contagion itself. You won't find these commands or something similar in other source titles since they have no use for it and cant use them. Also, I'm still learning to code and script but the sourcecode of Contagion, aswell as in all other source games, are encoded, which means you can't find out all the available commands to use, except they released them in a file but I think you can't find them out by yourself. Which means that the devs would have to release a list of all available commands to use, something I've been waiting for a long time already.
Create a mod pack that contains your vscript. There are some tutorials for making custom weapon scripts (limited functionality). The concept is for levels is the same.