jyrno42 Posted October 7, 2010 Posted October 7, 2010 Something i'm making for Phoenix. It consists of a module which can create a texture archive from png sources with lua, and two scripts, one of them is just a container for images and the other does the work. The module is a compilation of TexureWriter and helper classes by me & JorX and gd libary for the image creation part. I also used a libary called squish to compress the textures in archive to DXT1. Anyways heres the video of what i already have...
dzek (varez) Posted October 7, 2010 Posted October 7, 2010 nice one! and its rare thing NOT to hear some ©rap or something-that-ppl-call-techno-but-it-isnt-techno in mta video Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
djlobo Posted October 10, 2010 Posted October 10, 2010 This is very creative O_o will you ever share the source with us? losd
Dark Dragon Posted October 13, 2010 Posted October 13, 2010 Loads of fun for free! Also a lot of fun for free!
dzek (varez) Posted October 13, 2010 Posted October 13, 2010 unbelieveable! first video not working in Germany but working here, in Poland! You can try sites such as hidemyass.com to walk around this. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Faw[Ful] Posted October 13, 2010 Posted October 13, 2010 wow ! make them random or in an order after will be great =Benox50= My Youtube Channel
Castillo Posted October 30, 2010 Posted October 30, 2010 very nice script. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
NeedSumHelp Posted November 6, 2010 Posted November 6, 2010 Wow, awsome, very unique -- Sorry for nonenglish eestlane eks ? kas oleks võimalik su serveri nime teada saada ?
SugarD-x Posted November 8, 2010 Posted November 8, 2010 Is it just text on blank images, such as the one in your video, or can any image be used? This is pretty awesome, and honestly could even lead to some pretty interesting new systems. I've heard of companies paying to advertise in video games, so this could open up something similar to that for server owners that wish to make a little money to help pay for the upkeep of their server. This could also be very useful for certain gamemodes and events, not to mention helpful in RP servers. Very nice work man. That's impressive! Join #mta3vc and #Project-Redivivus on IRC! .:. Project Redivivus Discord .:. Project Redivivus Public GitHub Repository MTA 0.x File Archive #1 .:. Multi Theft Auto 0.5r2 for GTA III and VC .:. MTA 0.x File Archive #2 Project Redivivus Founder .:. Multi Theft Auto Supporter .:. Asshat Gaming Founder
jyrno42 Posted November 11, 2010 Author Posted November 11, 2010 GD libary offers various functions to deal with images so you could indeed use various background images and even drawing or etc. So to answer your question, yes, any image can be used to create the ad... But since i haven't ported all the functions the module only has the following ones... bool/int createTxdContainer( void ) bool txdContainerAddImage( int container, string name, string filePath[, bool compress, string alphaname] ) bool saveTxdContainer( int container, string fName ) bool/userdata imageCreateTrueColor( int w, int h ) bool/userdata imageCreateFromPng( string File ) bool imagePng( userdata im, string fPath ) bool/int imageColorAllocate( userdata im, int red, int green, int blue) bool/int imageColorAllocateAlpha( userdata im, int red, int green, int blue, int alpha) bool/int imageTtfText( userdata im, int size, int angle, int x, int y, int color, string fontFile, string text) bool/int imageTtfBBox( int size, int angle, string fontFile, string text) bool/int imageFill( userdata im, int x, int y, int color ) bool/int imageDestroy( userdata im ) PS: Im hoping to upload another video at the end of this week which will show the first usable version of my Advertisement Script. TO NeedSumHelp: Eestlane jah, serveriks on Fööniks mis veel küll arendusjärgus.
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