Перейти к содержимому
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.

Featured Replies

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

I'm running momo5502's Welcome Message==>http://fourdeltaone.net/forum/viewtopic.php?f=40&t=10822

 

I want to place the icon at the bottom right-hand corner of the screen. The source for the placement looks like this:

//Icon
                       var icon = HudElem.CreateIcon(entity, config[3], 60, 60);
                       icon.SetPoint("CENTER", "CENTER", 0, 30);
                       icon.Alpha = 1;

 

Now am I right in thinking I need to change the ... 0, 30); to something like ... 1200, 944); ??

Then I want it to stay there throughout the duration of a given map but I don't know how to do that part either. :mrgreen:

 

Or maybe my guessing is completely off.

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

Guessing completely off then...ha ha. 10-4, preciate it.

How do I make it not disappear?

 

After

//Hide everything after 7 seconds

Change

icon.Alpha = 0;

To

icon.Alpha = 1;

 

Maybe? I don't know how to right this stuff obviously and am only shooting in the dark...but fun learning.

Опубликовано:
Guessing completely off then...ha ha. 10-4, preciate it.

How do I make it not disappear?

 

After

//Hide everything after 7 seconds

Change

icon.Alpha = 0;

To

icon.Alpha = 1;

 

Maybe? I don't know how to right this stuff obviously and am only shooting in the dark...but fun learning.

I would just remove icon.Alpha = 0; and leave icon.Alpha = 1; as I believe that's what keeps it from disappearing.

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

Compiled and tested...works.

The "icon.Alpha = 1;" works.

Prolly right Joey, will try that on the next compile, after I get a working icon...thanks.

 

Now I just gotta figure out the proper icon names.:) or how to get them to show

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

As far as the icon files go. I know I have to use an existing .iwi file from the iwd's...but that doesn't mean that I can't change the image, right?

 

I mean, if I 'iwi2dds' and open in CS6, erase the existing file, replace it with something I want, like my avatar for instance. Then save it under the same name, convert it back and drop it into a new .iwd file like some sort of mod.....wouldn't that work? Much like the camo's or skins, the game will call the z_whatever.iwd last?

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

Got it working, thanks for the help guys.

screen.png

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

I tried the above method and it still did not work the icon keeps showing up under the greeting I set center to bottom right and I adjusted 30 to 0 please help any ideas

 

//Icon

var icon = HudElem.CreateIcon(entity, config[3], 60, 60);

icon.SetPoint("BOTTOMRIGHT", "BOTTOMRIGHT", 0, 0);

icon.Alpha = 1;

 

//Hide everything after 7 seconds

entity.AfterDelay(7000, Momo5502 => //Momo5502 as parameter^^

{

elem.SetText("");

text.SetText("");

text1.SetText("");

icon.Alpha = 1;

});

});

};

}

}

}

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

Hey Murdak, I'll try my best to help you, don't know if it'll do any good, but worth a shot.

PM me your source code (.cs) file and your .txt file

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

where you take the icons?

Опубликовано:
where you take the icons?

If you mean where are they located...their in iw_00.iwd and they all start with 'cardicon_'

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.