Strs Posted July 28, 2017 Share Posted July 28, 2017 (edited) 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 August 16, 2017 by David Thapa Link to comment Share on other sites More sharing options...
Strs Posted July 30, 2017 Author Share Posted July 30, 2017 Non of you can do this ????????? Link to comment Share on other sites More sharing options...
guard3 Posted July 30, 2017 Share Posted July 30, 2017 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 More sharing options...
kosticn101 Posted July 30, 2017 Share Posted July 30, 2017 (edited) 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 July 30, 2017 by kosticn101 Frank.s 1 Link to comment Share on other sites More sharing options...
DragonSC7601 Posted July 30, 2017 Share Posted July 30, 2017 This won't useful IMO. Why you don't want some mods that improve gameplay? Link to comment Share on other sites More sharing options...
madleg Posted August 1, 2017 Share Posted August 1, 2017 ...like this? Strs 1 Link to comment Share on other sites More sharing options...
Strs Posted August 7, 2017 Author Share Posted August 7, 2017 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 More sharing options...
Frank.s Posted August 11, 2017 Share Posted August 11, 2017 (edited) 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 August 11, 2017 by Frank.s Link to comment Share on other sites More sharing options...
madleg Posted August 11, 2017 Share Posted August 11, 2017 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 More sharing options...
Natso Posted August 14, 2017 Share Posted August 14, 2017 ...like this? What opcode help you do it?? Link to comment Share on other sites More sharing options...
Guest Posted August 14, 2017 Share Posted August 14, 2017 (edited) 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 August 15, 2017 by Guest Link to comment Share on other sites More sharing options...
Strs Posted August 15, 2017 Author Share Posted August 15, 2017 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 More sharing options...
Guest Posted August 15, 2017 Share Posted August 15, 2017 (edited) 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 August 15, 2017 by Guest Link to comment Share on other sites More sharing options...
Strs Posted August 15, 2017 Author Share Posted August 15, 2017 (edited) Sorry No one Edited August 16, 2017 by David Thapa Link to comment Share on other sites More sharing options...
Strs Posted August 16, 2017 Author Share Posted August 16, 2017 Ok i think no one can do this Link to comment Share on other sites More sharing options...
Strs Posted August 16, 2017 Author Share Posted August 16, 2017 (edited) Edited August 17, 2017 by David Thapa Link to comment Share on other sites More sharing options...
Strs Posted August 26, 2017 Author Share Posted August 26, 2017 (edited) Edited September 1, 2017 by David Thapa Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now