Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Happy Holidays from the GTANet team!

3D text on player


Strs
 Share

Recommended Posts

i want to make 3D text on player like name on head it should move z angle with player not like other text that always face on screen please help me thanks in advance... i need it for single player.......God Bless

Edited by David Thapa
Link to comment
Share on other sites

I don't think I can help you, but I also don't understand what you want from the way you describe it. Please explain. This may bring more users that know how to help you :)

Link to comment
Share on other sites

I think that he wants this (it's a gif, wait a little bit), but with text (player name) instead of doors.

 

My only idea is to create a new (text) model and add object to the game.

Someone will know how to add new object to SA, but this looks like a not very clever idea to me.

 

 

 

{$CLEO}0000: const    OBJECT = [email protected]    ANGLE = [email protected]    X = [email protected]    Y = [email protected]    Z = [email protected] 0107: OBJECT = create_object #AD_FLATDOOR at 0.0 0.0 0.0 :placewhile true    wait 0        0256: player $PLAYER_CHAR defined    jf continue        0172: ANGLE = actor $PLAYER_ACTOR Z_angle    0889: store_actor $PLAYER_ACTOR center_of_body_position_to X Y Z        ANGLE -= 90.0    Z += 1.3        01BC: put_object OBJECT at X Y Z    0382: set_object OBJECT collision_detection 0    0453: set_object OBJECT XY_rotation 90.0 0.0 angle ANGLEend 0A93: end_custom_thread

 

Edited by kosticn101
Link to comment
Share on other sites

DragonSC7601

This won't useful IMO. Why you don't want some mods that improve gameplay? :colgate:

Link to comment
Share on other sites

Yes Mr Kosticn101 And Madleg Got my point Like That i want cleo to make name text like that Will You HELP ME Please

Link to comment
Share on other sites

Nice idea kosticn/david, i may use this in a TC i'm working on.... :) (i cannot offer any alternate way to implement it other than kosticn's method so i will probably use that)

A more "correct" method pobably requires some custom memory modifying stuff to force specific text to float at the correct 3d rotation/location etc, that's out of my abilities.

Edited by Frank.s
Link to comment
Share on other sites

obviously, the "right way" is to use directx for rendering text to texture and rendering simple quad mesh, or what ever, with this texture. I dont think there is brave enough people to do stuff like this in a script

Link to comment
Share on other sites

It will be only possible using Direct3D/RenderWare API because will be needed draw a "3D text" what's not easier like draw a "2D text". To use Direct3D API, I believe it will not be viable by CLEO. To create a simple 3D text are needed create a font sprite (from open/true type font), have the correct handle of interface, etc... DirectX is low level API and does disencourages its own usage. Any simple thing can be turned complex just by use DirectX API.

 

There is still the possibility of transforming a 2D text in order to deceive the one who sees. By transforming the position and scale of the text, it simulate an angle effect, but would be incomplete by the absence of rotation. It needs a very hard calculation code.

Edited by Guest
Link to comment
Share on other sites

Yes its true Veryzon but i have some script that can help us it has some count down number that is attached to traffic lights and when you see it from left or right looks realistic it doesn't move like other text it stay same straight

Link to comment
Share on other sites

That mod do not draw a 3D text, it draw a particle. It's possible attach a particle to anothers entities because it's also placeable in 3D world. The logic to draw a 3D text is exactly the same used by that mod, wich uses the particle texture as font sprite.

Edited by Guest
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.