Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 84 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Hud images at a menu file
zerker
General Member
Since: Nov 15, 2007
Posts: 8
Last: Mar 18, 2013
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Saturday, Mar. 16, 2013 07:45 pm
I'm using alot of itemDef's (more than 1000 :p)
There is no error, because with like 100 itemDef's it works fine, and when I add more it doesn't load in game.

I've already tried your idea, but making another menuDef isn't useful, since the images won't show up in the previous menu, right?
Share |
serthy
General Member
Since: Sep 8, 2010
Posts: 482
Last: Jun 28, 2013
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Saturday, Mar. 16, 2013 07:49 pm
why are you using 1000 itemdefs?!?!?!?!??!?!?!

use like i showed: style WINDOW_STYLE_DVAR_SHADER
so you can do draw an image that is in your dvar!

ui_image_1 white >> the image shown is the "white" image!

also if you really need to have 1000 itemDefs, you can crate like i did before 3 menus next to each other which will fit, there is no problem with it
Share |
zerker
General Member
Since: Nov 15, 2007
Posts: 8
Last: Mar 18, 2013
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Saturday, Mar. 16, 2013 07:55 pm
Do you have Xfire username? if yes you can add me "kf4", it's easier to chat there and explain to you why I need to use that number of them.

I still don't understand, using your #define is the same, isn't it creating an itemDef everytime I use it?
How to use more than one menu but still show all after opening one menu? :/

edited on Mar. 16, 2013 12:55 pm by zerker
Share |
serthy
General Member
Since: Sep 8, 2010
Posts: 482
Last: Jun 28, 2013
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Saturday, Mar. 16, 2013 07:56 pm
xf: serthy
Share |
zerker
General Member
Since: Nov 15, 2007
Posts: 8
Last: Mar 18, 2013
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Monday, Mar. 18, 2013 03:53 pm
Not solved yet, help is still appreciated.
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»