• Multi Theft Auto: DayZ
    1,000 replies, posted
Well, I found my way atop of the UFO, and the force of the landing killed my patriot. So, seems I am stranded up there. [t]http://i.imgur.com/ttdxHM4.png[/t] [t]http://i.imgur.com/GV4LpAt.jpg[/t]
Releasing this script. Do anything you want with it. It's in a working state with the provided image. It's a GIF animator. But, you have to split the GIF into 1 big JPG with each frame being on it. See the image at the bottom for example. test.lua [code]-------------------- -- --Animator script by Woovie --Only and final release. Feel free to fuck with it. --If no note is next to the line, you'll most likely leave it alone unless you want to ruin the whole script -- -------------------- local gif = dxCreateTexture ( "gif.jpg" ) local size_x, size_y = 281, 500 local grid_x, grid_y = 5, 6 --Width and height in pixels, divided by width and height in frames. For this, we have a 5x6 array of images, each sized 281x500. So the actaul image size is 1405x3000. But we need to know how many rows and columns the image contains. local frame_count = 0 local frame_total = grid_x * grid_y local start_x, start_y = 0, 0 local started = false local framerate = 0 delay_counter = 4 --frames until it switches image frame. So for this, it waits 4 ingame frames until the image frame changes. function renderClient() if frame_count == frame_total then started = false end if not started then started = true frame_count = 0 end dxDrawMaterialSectionLine3D ( 119.85, 1024.1, 19, 101.8, 1024.1, 19, start_x*size_x, start_y*size_y, size_x, size_y, gif, -8.5, tocolor( 255, 255, 255, 255 ), 110, 1045, 19 )-- Read comment block below for this --[[ The first 6 values represent the coordinates of where it's being drawn. Next 2 values are the position on the image it's drawing, leave these alone. Next 2 are width and height. Once again, leave alone. This is the image name, see line 9. Height of the image. It's negative here because I fucked up. Color of the image, you can ignore unless you want to render it another color. Look at point. Generally, keep the same Z and just use some coords in front of it. ]]-- if framerate == delay_counter then framerate = 0 if start_y == grid_y - 1 and start_x == grid_x - 1 then start_y, start_x = 0, 0 elseif start_y == grid_y - 1 and start_x ~= grid_x - 1 then start_y = 0 start_x = start_x + 1 elseif start_y ~= grid_y - 1 and start_x == grid_x - 1 then start_y = start_y + 1 elseif start_y ~= grid_y - 1 and start_x ~= grid_x - 1 then start_y = start_y + 1 end else framerate = framerate+1 end end addEventHandler ( "onClientRender", root, renderClient )[/code] meta.xml[code]<meta> <script src="test.lua" type="client"/> <file src="gif.jpg" type="client"/> </meta>[/code] [URL="http://i.imgur.com/1wPGDZb.jpg"]gif.jpg[/URL] It renders column 1, top to bottom, then goes to column 2, etc.
[QUOTE=eddy-tt-;39743178]Massive. Fucking. UFO. Shoots lasers and shit. [editline]28th February 2013[/editline] [img]http://horobox.co.uk/u/Reag_1362045167.jpg[/img] Help.[/QUOTE] Shit, now they know about the gloryhole
Got my first Sanchez up and running, needed two tires and fuel, took me an hour to gather the resources but damn it feels good to be mobile. Now I've got a spare engine, two spare tires and a ton of gas and a tool box, I'm not loosing this mobility, and god damn it feels nice to drive.
[t]http://i.imgur.com/A13x6fy.jpg[/t] I am having quite a bit of fun with this script. Just imagine what it can do when someone thinks of a clever use for it.
I keep finding bicycles i cant ride, do i need to fix them?
they've been exploded or something
[QUOTE=TCB;39748420]they've been exploded or something[/QUOTE] This, bikes don't show damage visually but if you can't get on it and it looks fine, it's likely been shot to shit or part of a suicide explosion.
So will there ever be a script to add more zombies or at least make them a lot more dangerous? Game is starting to get a little stale.
[QUOTE=BenJammin';39749077]So will there ever be a script to add more zombies or at least make them a lot more dangerous? Game is starting to get a little stale.[/QUOTE] Not really possible DayZ MTA is closed source. Some of us are working on an open source variant with better features and usability :)
hopefully you don't [I]break the database with a spray script[/I] again :v:
Helpful people can spray coordinates for car spawns or something similar, or arrows pointing to their spawns Dicks could create fake coordinates and then camp there, wait for some poor guy come check it out and get ambushed
Fucking hell, those two clanfags on a bike just drive-by'd me with no provocation. I signalled them with a road flare to pull over, then I saw their nametags and fucking ran for my life.
[QUOTE=TurtleeyFP;39749785]Fucking hell, those two clanfags on a bike just drive-by'd me with no provocation. I signalled them with a road flare to pull over, then I saw their nametags and fucking ran for my life.[/QUOTE] Didn't mean to rate you dumb, was trying to hit reply with the ipod. If its the people i played with earlier they ate most likely friendly, keep a lookout though.
[QUOTE=BenJammin';39749947]Didn't mean to rate you dumb, was trying to hit reply with the ipod. If its the people i played with earlier they ate most likely friendly, keep a lookout though.[/QUOTE] They're not. Right after I started running, both of them were shooting. As I was running, they pursued me and kept shooting! They cornered me into a parking structure, now I have a broken bone and have no food or water.
I haven't encountered a single player which didn't try to kill me in my few hours of gametime.
[QUOTE=TCB;39749474]hopefully you don't [I]break the database with a spray script[/I] again :v:[/QUOTE] He actually broke it by spawning a car. Get the facts right. :v: DayZ MTA uses some fucked up custom spawn system and custom db layout, using the standard MTA spawn commands inserts the wrong data into the db, thus corruption.
[QUOTE=Manneh;39743991]Well, I found my way atop of the UFO, and the force of the landing killed my patriot. So, seems I am stranded up there. [t]http://i.imgur.com/ttdxHM4.png[/t] [t]http://i.imgur.com/GV4LpAt.jpg[/t][/QUOTE] mothership zeta
[QUOTE=eddy-tt-;39750239]He actually broke it by spawning a car. Get the facts right. :v: DayZ MTA uses some fucked up custom spawn system and custom db layout, using the standard MTA spawn commands inserts the wrong data into the db, thus corruption.[/QUOTE] he spawned the car to show me how sprays are made onto a vehicles collision box, when we got in it we noticed the car didn't move and then shit was on fire yo
Sometimes my character just goes sitting, I can't do anything when he does that. What key is it?
you have to press . twice, for some reason the sitting animation is bugged and you cant stand up again unless you play another animation
How do you join a group? I'm tired of playing alone without being able to talk to anyone.
[QUOTE=Ajacks;39751705]How do you join a group? I'm tired of playing alone without being able to talk to anyone.[/QUOTE] Someone has to send you an invite, then you accept it through the F1 menu.
How many are on the FP server right now? Thinking of hopping on in a bit.
[QUOTE=Derp Y. Mail;39752055]How many are on the FP server right now? Thinking of hopping on in a bit.[/QUOTE] I would like to ask the same question, for I would like to join soon as well.
[QUOTE=Derp Y. Mail;39752055]How many are on the FP server right now? Thinking of hopping on in a bit.[/QUOTE] 6 and Ajacks you dick, you didn't have to kill nana, now we've gotta move due to your tent removal shenanigans.
Well my name is ajacks on the server and I'd love to join a group, it's getting boring alone.
[QUOTE=Ajacks;39752436]Well my name is ajacks on the server and I'd love to join a group, it's getting boring alone.[/QUOTE] I would invite you into ours but you've pissed me off, you're now KOS for us.
Thanks for not stealing my stash, guys. You truly are princesses <3 Also I'm moving it for the sake of safety. Sorry. [sp]PS: I left a free Bobcat with an engine, all tires and full fuel - along with a pistol, food, water and a medic kit - in the houses on the West side. If you need a car and supplies, look for the "FREE TRUCK ->" graffiti on the side of the wall. Thanks again.[/sp]
[QUOTE=eddy-tt-;39752563]I would invite you into ours but you've pissed me off, you're now KOS for us.[/QUOTE] I wouldn't mind joining, my name is Rayboy in game.
Sorry, you need to Log In to post a reply to this thread.