Home   Help Search Login Register  

Author Topic: RUG Inventory 0.6 BETA  (Read 21958 times)

0 Members and 1 Guest are viewing this topic.

Offline cervantes

  • Members
  • *
Re: RUG Inventory 0.6 BETA
« Reply #45 on: 20 Aug 2009, 20:48:03 »
hi there i have one last question ^^ all script now working very well one good thing ^^

now i want add a picture visual effect on description and replace a text by picture with text.


Item1 =
[
   ["Your ammo"],
   [{_text = Text "\bagpack\fonts\font1"}],
   ["Size : 0"],
   ["Value : 0"],
   ["Ammo bag"],
   ["\bagpack\ItemPics\ammobag.paa"],
   [{[Player] execvm "\bagpack\ItemActions\magcontrol.sqf"}, "Open"],
   [{ctrlSetText [500, "Cannot be moved from your inventory."]}],
   [{ctrlSetText [500, "Cannot be moved from your inventory."]}],
   [1, 0, 0]
];

but [{_text = Text "\bagpack\fonts\font1"}], d'ont working any idea?

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: RUG Inventory 0.6 BETA
« Reply #46 on: 22 Aug 2009, 15:52:56 »
Hey cervantes,

Sorry for not being so responsive, I've meant to test some things but then I didn't have the time, and had nothing else to say. :-[ Anyway, I'm glad you got it to work with the binoculars!

As to your current problem: you don't need the {} code brackets, nor the text = thing. Pictures are basically put into the same line as text, so at least in principle it should be possible to make the description text into a picture, by just putting the path to it there. E.g., "\bagpack\fonts\font1". Note however that that simply makes the whole text into a picture - AFAIK you can't "mix" pictures and text, you'd have to have a separate text-only area then.

You can always edit the dialog itself of course, move the pictures etc. around to wherever you want. :)

PS: @kju: I tested it just now. Some additions to the controls + disableSerialization in all the scripts = it works! Might release an A2 'version', but only after I've poked around with it for a while in that case. As of now, it's easy enough to do yourself. :)

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline cervantes

  • Members
  • *
Re: RUG Inventory 0.6 BETA
« Reply #47 on: 23 Aug 2009, 14:46:32 »
ok thx i search this ^^

"\bagpack\fonts\font1" d'ont working if i found a solution i you post this ;)
« Last Edit: 23 Aug 2009, 15:41:43 by cervantes »

Offline PunkyPL94

  • Members
  • *
Re: RUG Inventory 0.6 BETA
« Reply #48 on: 27 Nov 2010, 10:01:15 »
Can you upload this script again ?

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: RUG Inventory 0.6 BETA
« Reply #49 on: 27 Nov 2010, 10:23:27 »
Reuploaded.  :good: Thanks for making me aware it had disappeared.

Enjoy!

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"