• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

Shell Listbox Questions

Started by General BlackDragon, September 08, 2008, 04:03:17 PM

Previous topic - Next topic

General BlackDragon

Yes, I'm asking a question about .cfgs ...somebody take a picture  :roll:

anyway, I need to know if there's a way to tie in a listbox to open another listbox depending on wich item in the list you click on. And in the 2nd list, u click on something and it brings up a XSI / DES files in respective fields.

Is there a good way to do this without creating dozens of buttons?



*****General BlackDragon*****

Nielk1

IDK. You ask me shell questions all the time, its not new.

Click on the image...

General BlackDragon

#2
true, but most things I already know...

But here's one. How do I make a listbox fill both an XSI preview AND a description file?



*****General BlackDragon*****

General BlackDragon

#3
Okay, I'm going with a new method, and of course have a new problem.

I have the following setup: Window full of buttons > Each button opens a new window ...oh, wait...nope it doesnt work?

Yeah... I dont know why, but for some reason I am having difficulty making a button in a window open another window. The setup is supposed to be this: Window full of buttons looking like a listbox. These would be catagories. Each button in turn opens another window full of buttons. These would be items. Each button in the 2nd window of buttons opens an xsi viewer and des window.

I had a similar issue trying to make a modding tutorial ingame, can anyone help me fix this?

EDIT:

Found something. A combination of things kept interfearing. 1: the onevent was not where it needed to be, aparently it needed to be in a parrelell higherarcy to the button, and it cant be a radio button with a var marking wich item you have selected. :(

EDIT 2:

New problem, How do I make an xsiviewer section come with an xsi in it by default? Not using a var.

   CreateControl("XsiView", "VIEWER")
   {
      ColorGroup("LISTBOX");

      Geometry("LEFT", "TOP");
      Position(0, 0);
      Size(110, 115);
      BorderSize(5);
      BevelSize(3);

      SetAmbientColor(1.0, 1.0, 1.0);
      SetDiffuseColor(1.0, 1.0, 1.0);
      SetDiffuseDir(2.0, -5.0, 1.0);
      SetModelDistance(50.0);
      SetModelInclination(-30.0);
      SetModelRotation(60.0);

      ItemConfig()
      {
         Style("TRANSPARENT");
      }
      FillFromFile("abbarr00.xsi");
   }

Didn't work.

EDIT 3:

Nvm I got it.



*****General BlackDragon*****

TheJamsh

abbarr00.xsi

question... what is that exactly?


BZII Expansion Pack Development Leader. Coming Soon.

General BlackDragon




*****General BlackDragon*****

TheJamsh

oh its for BZC... thats okay lol.


BZII Expansion Pack Development Leader. Coming Soon.

General BlackDragon

And now the easter egg is complete :)



*****General BlackDragon*****