Page 1 of 2 12 LastLast
Results 1 to 10 of 12

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

Thread: Player markers and names on maps in game

  1. #1
    Chief Warrant Officer
    Join Date
    Sep 6 2001
    Location
    British Columbia, Canada
    Posts
    3,458
    Since OFPEC is down can some one help with the player names on the map in game

    we have Commander and Alpha to Foxtrot, i would like to change these to the players actuall name

    the markers start out in the missions sqs where you set the test, but the UpdatePlayerMarkers.sqs updates it
    [im]http://www.roughnecks.org/malboeuf/pissonTKC.gif[/img] >100kb
    Roughneck Whore House - rn1.roughnecks.org
    AMD 64x2 4400 2200@2450 Mhz- 2 gig dual DDR PC4000 - SATA HDs

  2. #2
    Cannot change marker names ingame.

  3. #3
    Chief Warrant Officer
    Join Date
    Sep 6 2001
    Location
    British Columbia, Canada
    Posts
    3,458
    Author of the Thread
    CTI alows you to change the marker type, so the name should be changable

  4. #4
    As far as I know you can't change the text part of a marker. It must have been done with some workaround in that CTI.

  5. #5
    Chief Warrant Officer
    Join Date
    Sep 6 2001
    Location
    British Columbia, Canada
    Posts
    3,458
    Author of the Thread
    whe the map reads the mission.sqs it sets the marker to dot and the text to a string value from the strintable.csv

    now while CTI is running and a player dies the dot becomes an X (marker) in the UpdatePlayersMarker.sqs

    so this is the scripting that makes it changable, now we just have to figure out what formula to use to for the text

    i could try using the chat format, or have the stringtext update to the chat format

    its a night mare with out OFPEC

  6. #6
    Unfortunately, in OFP, the marker text cannot be changed while a mission is running. It was requested time and again way back but never added to OFP. (In VBS-1, however, such scripting commands have been added and existed long before the last patch to OFP was issued. Make of that what you will...)

    CTI changes just the marker type (using setMarkerType) after a unit is killed/destroyed.
    The confidence of ignorance will always overcome indecision of knowledge.

  7.   This is the last Developer post in this thread.   #7
    What KS says.

    Well you could create some custom markers which would be letters of the alphabet. And then use those with setmarkertype to form words.


    Have fun
    "Peace can not be kept by force. It can only be achieved by understanding." Albert Einstein

    Please report Arma 3 bugs in the Bug Tracker

  8. #8
    Chief Warrant Officer
    Join Date
    Sep 6 2001
    Location
    British Columbia, Canada
    Posts
    3,458
    Author of the Thread
    joy

  9. #9
    Quote Originally Posted by [b
    Quote[/b] ]Well you could create some custom markers which would be letters of the alphabet. ***And then use those with setmarkertype to form words.
    But how would you break the player names down to individual characters?

    I suppose you could add a list of predefined player names, would at least work for your clan and regulars.

  10. #10
    Just a passing thought...

    Can you use the 'format' command within the text box of a marker ?

    If so, then couldn't you store the player/AI name in array and have the marker text obtain it's displayed text from that array ?

    e.g.

    Initialization:
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    _Alpha = 5
    PlayerNames = &#91;&#34;John&#34;,&#34;Fred&#34;,&#39;Bob&#34;,& #39;Spot&#34;,&#34;Tom&#34;,&#34;Richard&#34;,&#34 ;Harry&#34;&#93;
    [/QUOTE]

    Marker Text Box:
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    Format &#91;&#34;%1&#34;,&#40;PlayerNames select _Alpha&#41;&#93;
    [/QUOTE]

    Again just a passing thought whilst browsing forums...




Page 1 of 2 12 LastLast

Posting Permissions

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