Results 1 to 4 of 4

  Click here to go to the first Developer post in this thread.  

Thread: Resources

  1. #1
    In my mission Player is able to control a different numbers of teams by the action command.
    Every time he call the support of a team the script make a check counting how many units are stored in the team itself:

    _num = "count alive _x" foreach ...

    Hint format ["Assault team is %1",_num]

    I would like to improve this line.
    In particular I would like to put the figure of a man (the same one which is in the low of the screen when you're the leader of a squad) inside the hint text. I've read this is possible using "resources".
    Do you know how can I add this feature to my script?

  2. #2
    You can use cutresources, but it will be a little complicated: you can't add any 'dynamic' text to them, like you are doing with the format command. So basically you will have to make 12 different resources, then determine which one to show depending on how many guys are left in the squad.

    To find the picture you are looking for, you will have to depbo one of the game's core .pbo files (data.pbo I think).

    Here is my tutorial on cutresources, temporarily hosted since OFPEC is down. After you read it, feel free to post any Q's you have on how exactly to make what you want:

    http://rapidshare.de/files/13815137/cutrsc1_1.zip.html
    HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP

  3. #3
    Quote Originally Posted by (General Barron @ Feb. 21 2006,21:22)
    You can use cutresources, but it will be a little complicated: you can't add any 'dynamic' text to them, like you are doing with the format command. So basically you will have to make 12 different resources, then determine which one to show depending on how many guys are left in the squad.

    To find the picture you are looking for, you will have to depbo one of the game's core .pbo files (data.pbo I think).

    Here is my tutorial on cutresources, temporarily hosted since OFPEC is down. After you read it, feel free to post any Q's you have on how exactly to make what you want:
    Thank you very much General...
    Now I'm at work so I can't read your tutorial...
    However I have another question:
    why you have said (only) 12 different resources?

  4.   This is the last Developer post in this thread.   #4
    Warrant Officer Sniperwolf572's Avatar
    Join Date
    Feb 23 2004
    Location
    Bosnia & Herzegovina
    Posts
    2,074
    I think he assumed you have only 12 soldiers in your group, because that's the squad limit in OFP.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •