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
With the Net Guns, when a net hits a duck, the duck becomes immobilized. One way to achieve the effect would be to spawn a net on the location of every duck upon firing, but that still has the issue of having the net animation and look. This probably isn't what you're looking for. What would probably be closer to what you want is to create a new ammo type stemming from the net, using its source code as a basis. From there, instead of using the captureDuck/trappedDuck status, use the immobilizedDuck/Ragdoll status. Then, set a timer. Once the timer expires, you can convert those ragdoll'd ducks back into their normal state.
For objects, set a radius effect of a large number to cover the map. Then, just set the velocity, gravity, and etc. of those objects/bullets/grenades to 0. Now, to get it back to where it was originally would be a harder question (to get it moving back at the same velocity it was moving at before).
To be honest, this is kind of a hard thing you're trying to do. But definitely don't give up! Though I don't know much about coding, I hope I was able to help!
Good luck!
d.hspeed = 0;
d.vspeed = 0;
}