Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Juggernaut without the Juggernaut script?

Featured Replies

Опубликовано:

Is there a script that will make the gamemode Juggernaut not have the actual Juggernaut spawn, but instead, just a normal player? And also, if you post raw code, can you please tell me what to do with it to make it into a script? I have little scripting experience with IW5M.

Опубликовано:

not possible, but you can change juggernault health to 100 and set speed. And what will happen if all players seek for one normal player with radar spotted ?

Опубликовано:
Is there a script that will make the gamemode Juggernaut not have the actual Juggernaut spawn, but instead, just a normal player? And also, if you post raw code, can you please tell me what to do with it to make it into a script? I have little scripting experience with IW5M.

Yes, It's called Free for All.

Console:

/g_gametype dm

Опубликовано:

You can just change the skin of the character

Опубликовано:
Is there a script that will make the gamemode Juggernaut not have the actual Juggernaut spawn, but instead, just a normal player? And also, if you post raw code, can you please tell me what to do with it to make it into a script? I have little scripting experience with IW5M.

Yes, It's called Free for All.

Console:

/g_gametype dm

free for all is everyone kill each other, juggernault is everyone hunt one juggernault

Опубликовано:
  • Автор
not possible, but you can change juggernault health to 100 and set speed. And what will happen if all players seek for one normal player with radar spotted ?

How can i change those? I would like to change Jugg health to 100 and keep player health at 100. And i want the players to run as if they had Juiced and the Jugg run like a regular player. And what i am actually doing is re-creating the Turned Gametype from BOII. I have an alpha created on PS3, but on PC since i have plugin power, i want to balance it and make it as close to Turned as it can possibly be.

Опубликовано:
not possible, but you can change juggernault health to 100 and set speed. And what will happen if all players seek for one normal player with radar spotted ?

How can i change those? I would like to change Jugg health to 100 and keep player health at 100. And i want the players to run as if they had Juiced and the Jugg run like a regular player. And what i am actually doing is re-creating the Turned Gametype from BOII. I have an alpha created on PS3, but on PC since i have plugin power, i want to balance it and make it as close to Turned as it can possibly be.

 

Remove all ammo from players, set speed, change health and find a good way to measure points.

Опубликовано:
  • Автор
not possible, but you can change juggernault health to 100 and set speed. And what will happen if all players seek for one normal player with radar spotted ?

How can i change those? I would like to change Jugg health to 100 and keep player health at 100. And i want the players to run as if they had Juiced and the Jugg run like a regular player. And what i am actually doing is re-creating the Turned Gametype from BOII. I have an alpha created on PS3, but on PC since i have plugin power, i want to balance it and make it as close to Turned as it can possibly be.

 

Remove all ammo from players, set speed, change health and find a good way to measure points.

Okay, well as i said before, i am new to coding in IW5M, so would it be possible for someone to make this for me, or is there a place that i can learn how to code this?

Опубликовано:

Here is the code, for the health, you can set it to lower because 100 is still juggernaut's max health, you can change speed to lower to fit with normal player speed.

public Turned()
	: base()
{
OnJuggernautSpawned();
}

private void OnJuggernautSpawned()
{
OnNotify("juggernaut_equipped", player =>
	{
		player.As().AfterDelay(500, (ent) =>
			{
				player.As().SetField("maxhealth", 100);
				player.As().Health = 100;
				player.As().Call("setnormalhealth", 100);
				player.As().Call("setmovespeedscale", 1.8f);
			});
	});
}

Опубликовано:
  • Автор
Here is the code, for the health, you can set it to lower because 100 is still juggernaut's max health, you can change speed to lower to fit with normal player speed.

Thank you! Now, can i ask how you learned how to code this? And on top of that, how do i compile this into a .dll?

Опубликовано:
  • Автор
Here is the code, for the health, you can set it to lower because 100 is still juggernaut's max health, you can change speed to lower to fit with normal player speed.

public Turned()
	: base()
{
OnJuggernautSpawned();
}

private void OnJuggernautSpawned()
{
OnNotify("juggernaut_equipped", player =>
	{
		player.As().AfterDelay(500, (ent) =>
			{
				player.As().SetField("maxhealth", 100);
				player.As().Health = 100;
				player.As().Call("setnormalhealth", 100);
				player.As().Call("setmovespeedscale", 1.8f);
			});
	});
}

Umm, my compiler is saying there is an error with "public Turned()" and "private void OnJuggernautSpawned()". Is there something missing on those lines?

Опубликовано:

Work with me, if you paste my code into your C# editor, you must create a solution and name space is Turned

Опубликовано:
  • Автор
Work with me, if you paste my code into your C# editor, you must create a solution and name space is Turned

Copying and pasting gives the error "expected class, delegate, enum, interface, or struct" on both the word Turned and on the code void.

Опубликовано:

Here is the dll file, made in 10 mins, you can change health and speed in Turned.cfg

Create new file called Turned.cfg in folder scripts, open with text editor and add this

// Created by fusiondevil
// Turned game mode config file
//////////////////////////////////////////////////////
// Juggernaut config
Health=13
Speed=1.5
// Weapon=rpg_mp,iw5_m4_mp
Weapon=

Health and speed is only for juggernaut, weapon is weapons of juggernaut, if empty, juggernaut will have default weapons (base on type of juggernaut). Name of some weapons:

Juggernaut weapons:
M60: iw5_m60jugg_mp
MP412: iw5_mp412jugg_mp
USP: iw5_usp45jugg_mp
Riot shield: iw5_riotshieldjugg_mp
Regular weapons:
AK47: iw5_ak47_mp
M4A1: iw5_m4_mp

List of all weapon names: http://www.itsmods.com/forum/Thread-GSC ... Names.html

Full name should be like this: [name]_mp_atm1_atm2_camo0x

If you want started weapon is grenade laucher attachment, replace iw5 with alt, like this: alt_ak47_gp25_mp

For the health, I believe juggernaut health is from 1.2k to 1.3k, so [1.2k;1.3k]:100=[12;13], juggernaut speed is about 65% of normal speed, and the normal speed scale is 1, so just do math yourself. Juggernaut have different regen speed, can't pick weapon, and appear as a diamond on minimap, but I can't do anything to change these.

Oh, and don't forget to add loadScript Turned.dll in server.cfg, if you want source code pm me. Buy a book or download an e-book to learn how to code

Опубликовано:
Here is the dll file, made in 10 mins, you can change health and speed in Turned.cfg

Create new file called Turned.cfg in folder scripts, open with text editor and add this

// Created by fusiondevil
// Turned game mode config file
//////////////////////////////////////////////////////
// Juggernaut config
Health=13
Speed=1.5
// Weapon=rpg_mp,iw5_m4_mp
Weapon=

Health and speed is only for juggernaut, weapon is weapons of juggernaut, if empty, juggernaut will have default weapons (base on type of juggernaut). Name of some weapons:

Juggernaut weapons:
M60: iw5_m60jugg_mp
MP412: iw5_mp412jugg_mp
USP: iw5_usp45jugg_mp
Riot shield: iw5_riotshieldjugg_mp
Regular weapons:
AK47: iw5_ak47_mp
M4A1: iw5_m4_mp

List of all weapon names: http://www.itsmods.com/forum/Thread-GSC ... Names.html

Full name should be like this: [name]_mp_atm1_atm2_camo0x

If you want started weapon is grenade laucher attachment, replace iw5 with alt, like this: alt_ak47_gp25_mp

For the health, I believe juggernaut health is from 1.2k to 1.3k, so [1.2k;1.3k]:100=[12;13], juggernaut speed is about 65% of normal speed, and the normal speed scale is 1, so just do math yourself. Juggernaut have different regen speed, can't pick weapon, and appear as a diamond on minimap, but I can't do anything to change these.

Oh, and don't forget to add loadScript Turned.dll in server.cfg, if you want source code pm me. Buy a book or download an e-book to learn how to code

 

Jugs don't have high health AFAIK, they have very low, hardcoded multiplyers. You need to look the multiplyers up and do some math, IF I understood what you said correctly. Anyways nice script. I haven't looked deeper, but I think you forgot to remove player ammo.

Опубликовано:
  • Автор
Here is the dll file, made in 10 mins, you can change health and speed in Turned.cfg

Create new file called Turned.cfg in folder scripts, open with text editor and add this

List of all weapon names: http://www.itsmods.com/forum/Thread-GSC ... Names.html

Full name should be like this: [name]_mp_atm1_atm2_camo0x

If you want started weapon is grenade laucher attachment, replace iw5 with alt, like this: alt_ak47_gp25_mp

For the health, I believe juggernaut health is from 1.2k to 1.3k, so [1.2k;1.3k]:100=[12;13], juggernaut speed is about 65% of normal speed, and the normal speed scale is 1, so just do math yourself. Juggernaut have different regen speed, can't pick weapon, and appear as a diamond on minimap, but I can't do anything to change these.

Oh, and don't forget to add loadScript Turned.dll in server.cfg, if you want source code pm me. Buy a book or download an e-book to learn how to code

 

Jugs don't have high health AFAIK, they have very low, hardcoded multiplyers. You need to look the multiplyers up and do some math, IF I understood what you said correctly. Anyways nice script. I haven't looked deeper, but I think you forgot to remove player ammo.

No need to remove ammo, you can use the default USP Tactical. also the health option doesnt seem to do anything to the Juggernaut. at 13, it still has high health.

Опубликовано:
  • Автор

Managed to fix health, but your script has a major error: it doesn't return the normal players to their original Speed. When they become Jugg, they gain the extra settings, but when they die, they do not return to their original Speed. Can you PM me the source code and i will try and fix this? I need experience with this coding so i will challenge myself to do this.

Опубликовано:

Oops, forgot to reset speed, i was very sleepy when i made this, it was 12pm in my country, hp = 13 works for me, i died when red barrel exploded. Actually jugg health is 100, but they have a bullet proof suit, which reduce >80% damage. I will fix speed and test again when I back from school.

Опубликовано:
  • Автор
Oops, forgot to reset speed, i was very sleepy when i made this, it was 12pm in my country, hp = 13 works for me, i died when red barrel exploded. Actually jugg health is 100, but they have a bullet proof suit, which reduce >80% damage. I will fix speed and test again when I back from school.

OK, and can you send me the Source when you are done instead of the .dll, i want to try to edit my own items.

Опубликовано:
Oops, forgot to reset speed, i was very sleepy when i made this, it was 12pm in my country, hp = 13 works for me, i died when red barrel exploded. Actually jugg health is 100, but they have a bullet proof suit, which reduce >80% damage. I will fix speed and test again when I back from school.

OK, and can you send me the Source when you are done instead of the .dll, i want to try to edit my own items.

I thought there was a way to decompile .dlls

Опубликовано:
  • Автор
Oops, forgot to reset speed, i was very sleepy when i made this, it was 12pm in my country, hp = 13 works for me, i died when red barrel exploded. Actually jugg health is 100, but they have a bullet proof suit, which reduce >80% damage. I will fix speed and test again when I back from school.

OK, and can you send me the Source when you are done instead of the .dll, i want to try to edit my own items.

I thought there was a way to decompile .dlls

Apparently it is not possible to decompile a .dll back into C# or C++. I would like to learn more about this language and be able to write my own. Also, do you know what is wrong with the code that was posted first? From what i can gather, the script needs a class to let the void's work, but i need to learn more about classes.

Опубликовано:

I re-upload my script in my first release post, no new stuff added, just re-write the code to make it more stable, and... fix errors.

I send you source code in pm

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.