Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release CIAddon - MW3 Admin Tools
#11
@Guigle

It is DVAR
Code:
g_TeamIcon_Allies
g_TeamIcon_Axis
g_TeamIcon_Spectator
standart icon's
Code:
faction_128_pmc
faction_128_af
full list dvar's
full list Icon's (by @Yamato )


PHP Code
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Addon;
  5. namespace TeamIcon
  6. {
  7. public class Main : CPlugin
  8. {
  9. public override void OnMapChange()
  10. {
  11. //Card icon's list <a href="http://www.itsmods.com/forum/Thread-Tutorial-MW3-Cardicon-list.html" target="_blank" rel="noopener" class="mycode_url">www.itsmods.com/forum/Thread-Tutorial-MW3-Cardicon-list.html</a>
  12. //Team Icon's
  13. SetDvar("g_TeamIcon_Allies", "iw5_cardicon_elite_04");
  14. SetDvar("g_TeamIcon_Axis", "iw5_cardicon_elite_05");
  15. SetDvar("g_TeamIcon_Spectator", "iw5_cardicon_elite_02");
  16. }
  17. }
  18. }

OMA
[Image: One_Man_Army_Bag_render_MW2.PNG]
Reply

#12
You need to precache them also.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#13
(03-16-2014, 18:57)SailorMoon Wrote: You need to precache them also.

Tongue hmm wherefore? for me it works good
OMA
[Image: One_Man_Army_Bag_render_MW2.PNG]
Reply

#14
Some images are already loaded into the game. Cardicons/playercards should always be loaded... things like a texture from another map or some bullshit would need to be precached.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#15
(03-16-2014, 19:16)DidUknowiPwn Wrote: Some images are already loaded into the game. Cardicons/playercards should always be loaded... things like a texture from another map or some bullshit would need to be precached.

So can you use models from one map to another if you precache it, even if its not in the map.
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
Reply

#16
(03-16-2014, 19:28)Casper Wrote:
(03-16-2014, 19:16)DidUknowiPwn Wrote: Some images are already loaded into the game. Cardicons/playercards should always be loaded... things like a texture from another map or some bullshit would need to be precached.

So can you use models from one map to another if you precache it, even if its not in the map.

No. Not every image.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#17
in my first plugin I've used for the caching feature icon on Hud, but here it is not necessary ... Apparently @server loads dvar yourself xD

Who knows how the server uses the addon? hmm, why the server uses it? that makes it do that?
OMA
[Image: One_Man_Army_Bag_render_MW2.PNG]
Reply

#18
Item must exist in the fastfiles loaded //end
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#19
@DidUknowiPwn - Thanks
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
Reply

#20
... Would it be too bad if I actually didn't know what DVAR is, or how it works with MW3 servers?
I set up a server, and it runs just fine, with plugins, commands, and stuff, but... I just tried, and tried, and tried in so many ways, it eventually worked.
I had got a bunch of errors, and problems, when I started, and now I don't, but... I still don't know what DVAR is, and, yeah. Could someone please, please tell me what I am supposed to do with this? I mean... DVAR. And that file. I just tried to run it as a plugin, but, really, I don't know.

EDIT:
I opened the dll file you attached to your post with .NET Reflector, and I think I know what you were talking about.
I'll edit it, and set my icons, so, thank you.
But is there any way I could add my own icon to the Teams? Like, using a custom iwd/iwi file? Using DDS?

New EDIT:
Okay, so, I tried it, and... Why am I getting squares? Like... chess, y'know. The error square.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help, server Admin largosik 0 2,286 02-02-2019, 18:09
Last Post: largosik
Rainbow [Release] CIAddon - MW3 Admin Tools v1.12.64.1743 iRoNinja 11 14,516 06-15-2014, 08:08
Last Post: sunnyp_343

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.