Mission Screen -1 reply

Please wait...

jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#1 9 years ago

Hi! I want to count something in my mission screen. For example what was in the t2_rancor:

Spoiler: Show
"You have saved %d of %d prisoners and %d additional."
But I don't know, how can I set, what variable is the %D? Or how is this working? I can make variable and objective in script too, but I don't know how can I write a variable in the mission's text, please if you can help me, then do it, it's quite important for me;)



NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#2 9 years ago

It looks like that's a hard-coded feature of the game for that particular mission. I highly doubt it's changeable... :/




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#3 9 years ago

Okay, thanks. Btw tell me if you can to do it;)




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#4 9 years ago

The SP SDK isn't released, so unless there's a guide somewhere, I don't think anybody knows.




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#5 9 years ago

I think the only things you could try is to declare the variables "ui_prisonerobj_currtotal", "ui_prisonerobj_mintotal", and "ui_prisonerobj_maxtotal" and edit those particular t2_rancor objectives to suit your level, and then pray for the best. You might also try to name your bsp to override that particular Raven bsp, maybe it would make a difference as well. Beyond that, without the source like Nab said, I don't think there's a whole lot you can try.

Although if you don't need to count a huge amount of items, you could always just use a bunch of individual objective entries to keep track of them, with an increasing number from one objective to the next. With the number of levels JA had, you certainly have lots of entries at your disposal.




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#6 9 years ago

[COLOR=Navy]Okay, thanks to you both;)[/COLOR]