Перейти к содержимому
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.
Опубликовано:

Fixed the sniper damage Now i just need help with the IW3 Style You killed text:

6ntc9c.png

I need the text where the yellow is and I have no idea how to get it into the correct position. Help? :)

Featured Replies

Опубликовано:
just set your hp to super low?

Seeing that he wants all the 'none sniper' guns to have normal damage, setting HP to super low would fuck up the gameplay.

 

@OP what you want is basically just this i think:

	if( getWeaponClass( sWeapon ) == "weapon_sniper" )
	iDamage = 800;

on Callback_PlayerDamage_internal.

 

So try this _damage.gsc:

 

http://pastebin.com/yvnExpx9

Опубликовано:
  • Автор
just set your hp to super low?

Seeing that he wants all the 'none sniper' guns to have normal damage, setting HP to super low would fuck up the gameplay.

 

@OP what you want is basically just this i think:

	if( getWeaponClass( sWeapon ) == "weapon_sniper" )
	iDamage = 800;

on Callback_PlayerDamage_internal.

 

So try this _damage.gsc:

 

http://pastebin.com/yvnExpx9

 

Thank you it works like a charm!

Still need help with placement of "You Killed" text though!

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

Uhm, get a _hud.gsc and find this part:

 

	else
{
	level.lowerTextYAlign = "CENTER";

	level.lowerTextY = 70;
	level.lowerTextFontSize = 1.6;
}

 

change it to something like:

	else
{
	level.lowerTextYAlign = "CENTER";

	level.lowerTextY = 160; //70 default...
	level.lowerTextFontSize = 1.6;
}

Опубликовано:
  • Автор
Uhm, get a _hud.gsc and find this part:

 

	else
{
	level.lowerTextYAlign = "CENTER";

	level.lowerTextY = 160;
	level.lowerTextFontSize = 1.6;
}

 

change it to something like:

	else
{
	level.lowerTextYAlign = "CENTER";

	level.lowerTextY = 70; //160 default...
	level.lowerTextFontSize = 1.6;
}

 

 

I figured it out, the default is set to 70. I had to change the value to 160 to get the outcome I was looking for. Thanks for all the help Banz!

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

I figured it out, the default is set to 70. I had to change the value to 160 to get the outcome I was looking for. Thanks for all the help Banz!

 

Oh yeah sorry, i copied it in the wrong order...

Join the conversation

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

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

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

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

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

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

Account

Navigation

Поиск

Поиск

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.