Double Post for Double Awesomeness:
Today my friend i show you an recreation. ohh wait i mean the Grandfather of MapMirror.
Original öhh i mean the paid one: [url]https://scriptfodder.net/scripts/view/388[/url]
And the recreation öhh i mean the old one:
[QUOTE=Jvs;41293079]
[lua]
local MirrorRT = GetRenderTarget( "MirrorTexture", ScrW(), ScrH(), false )
local FlippedVertical = CreateConVar( "r_flip_vertical", 1, { FCVAR_ARCHIVE } )
local FlippedHorizontal = CreateConVar( "r_flip_horizontal", 0, { FCVAR_ARCHIVE } )
local function GetBaseTransform()
return string.format( "center .5 .5 scale %i %i rotate 0 translate 0 0", ( FlippedVertical:GetBool() and -1 or 1 ), ( FlippedHorizontal:GetBool() and -1 or 1 ) )
end
local MirroredMaterial = CreateMaterial(
"MirroredMaterial",
"UnlitGeneric",
{
[ '$basetexture' ] = MirrorRT,
[ '$basetexturetransform' ] = GetBaseTransform(),
}
)
/*
--Doesn't work :(
local function UpdateTransform()
MirroredMaterial:SetString( "$basetexturetransform", GetBaseTransform() )
end
cvars.AddChangeCallback( "r_flip_vertical", function( cvar, prev, new )
UpdateTransform()
end )
cvars.AddChangeCallback( "r_flip_horizontal", function( cvar, prev, new )
UpdateTransform()
end )
*/
local view = {}
hook.Add( "RenderScene", "Mirror.RenderScene", function( Origin, Angles )
view.x = 0
view.y = 0
view.w = ScrW()
view.h = ScrH()
view.origin = Origin
view.angles = Angles
view.drawhud = true
// get the old rendertarget
local oldrt = render.GetRenderTarget()
// set the rendertarget
render.SetRenderTarget( MirrorRT )
// clear
render.Clear( 0, 0, 0, 255, true )
render.ClearDepth()
render.ClearStencil()
render.RenderView( view )
// restore
render.SetRenderTarget( oldrt )
MirroredMaterial:SetTexture( "$basetexture", MirrorRT )
render.SetMaterial( MirroredMaterial )
render.DrawScreenQuad()
render.RenderHUD(0,0,view.w,view.h)
return true
end )
hook.Add( "InputMouseApply", "flipmouse", function( cmd, x, y, angle )
local pitchchange = y * GetConVar( "m_pitch" ):GetFloat()
local yawchange = x * -GetConVar( "m_yaw" ):GetFloat()
angle.p = angle.p + pitchchange * ( FlippedHorizontal:GetBool() and -1 or 1 )
angle.y = angle.y + yawchange * ( FlippedVertical:GetBool() and -1 or 1 )
cmd:SetViewAngles( angle )
return true
end )
hook.Add( "CreateMove", "flipmove", function( cmd ) -- Override player movement
local forward = 0;
local right = 0
local maxspeed = LocalPlayer():GetMaxSpeed() * ( FlippedHorizontal:GetBool() and -1 or 1 )
if cmd:KeyDown( IN_FORWARD ) then
forward = forward + maxspeed
end
if cmd:KeyDown( IN_BACK ) then
forward = forward - maxspeed
end
if cmd:KeyDown( IN_MOVERIGHT ) then
right = right - maxspeed
end
if cmd:KeyDown( IN_MOVELEFT ) then
right = right + maxspeed
end
cmd:SetForwardMove( forward )
cmd:SetSideMove( right )
end )
[/lua]
This one works fine, I don't know how it handles custom huds though.[/QUOTE]
Just use it as an clientside script and it will work flawlessly (tested on Sandbox, TTT and DarkRP. All Vanilla without ANY Modifications.)
Just one flaw. it was made by JVS not by me :P
[url]https://scriptfodder.net/scripts/view/379[/url]
[url]http://www.facepunch.com/showthread.php?t=1416843[/url]
Just saying
[editline]26th October 2014[/editline]
Also Exho you should update your thread. And I think a Github page with all the clones is a good idea
Yeah +1 to Tommy I really can't be stuffed to go through all of these and put them into a Google docs especially with having to sift through layers of arguments.
You could set it up so people just ticket/request there addons go up in a director titled "New Clones"?
Alright I'll see about doing that today
So what's being cloned right now? I'm thinking about attempting a clone of a TTT Weapon I saw on SF today.
[editline]26th October 2014[/editline]
It seems what I wanted to clone has been taken off ScriptFodder. Most likely going to do it anyway.
[url]https://scriptfodder.net/scripts/view/218[/url]
I overcame my laziness and redid the OP. Its now got a fairly up to date list of most all the cloned addons and a link to Eloquence's Google Docs (btw, you should allow edits to it). And a silly little clip art picture of a dude coding.
Enjoy!
I made it, then thought about this thread and then realized that Exho had already made it but yeah, here's my version of [URL="https://scriptfodder.net/scripts/view/352"]DeathHUD[/URL].
[URL="http://pastebin.com/tHVcAhfp"]http://pastebin.com/tHVcAhfp[/URL]
It's not a perfect clone but it does the job
Clone
[IMG]http://i.gyazo.com/93814bf719b6ac2ee723a5f1f698d98a.png[/IMG]
Original
[IMG]http://i.gyazo.com/b2f3a66950d2ffa183b60549452c5961.png[/IMG]
Your version is even better than the original one. Way to go, dev's!
i already cloned a traitor cloak for TTT, and so far mine is of higher quality except for a few lua errors here and there. Also made a death station clone (health station for traitors that explodes when a non traitor uses it)
[QUOTE=Atomsk.;46350946]heh[/QUOTE]
Do some aligment with text
I'm thinking of making a website to organize all of this stuff, it would be easier, but ya'll would have to provide download links :P
[QUOTE=GGG KILLER;46379089]I'm thinking of making a website to organize all of this stuff, it would be easier, but ya'll would have to provide download links :P[/QUOTE]
Theres some stuff in the OP and a link to the Google Docs. We can always organize it better
Yeah I will give out some perms to the Google docs if you want them. Originally I was going to make a website called Open Scripts and organise it there but my workload picked up.
[editline]1st November 2014[/editline]
Will also make an attempt at updating it
[editline]1st November 2014[/editline]
[B]All addons to date[/B]
[url]https://docs.google.com/document/d/17EwwglmGMz6TVsmYlkOhZYRGTvHotWGy8f2Xlx8NeQc[/url]
[QUOTE=Eloquence;46380985]Originally I was going to make a website called Open Scripts and organize it there but my workload picked up.[/QUOTE]
This is actually a pretty awesome idea.
Yeah wouldn't take much to bootstrap one and I have Christmas break in 3 weeks but I have been contracted to do some payed web design jobs and they take priority :-P.
[QUOTE]Server Hopper
Credits: Tomelyr (read thanks.txt)
[/QUOTE]
i lol'd :)
But regarding the website idea, i got the idea to make an Github Account, where i would upload all the script that aren't at github an Forking all Script that are on Github.
But an Website Idea would be nice too, i could offer EU-GER Mirror, so not everything is US based.
This was the basic plan.
* Creators submit their addons under a free account
* Free to download
* Creators have a donate button on their scripts where they can link a PayPal.
* Featured items scroll bar
* Creator profile pages that lists their mods and reputation
* Addons have a download/click off counter and popularity rating
* Catagories
* Different types of creative commons/open source licenses.
* Description, Visuals, FAQs, Support and Comment tabs.
* I was going to host it on my hosting for free with no ads however if it gets overloaded I might need to put ads up to support new hosting costs.
* I was going to look into only accepting links to content that is hosted on GitHub to promote community development
[editline]1st November 2014[/editline]
My hosting is US based I think XD not great for me in AUS though
[QUOTE=Eloquence;46382645]This was the basic plan.
* Creators submit their addons under a free account
[/QUOTE]
I would suggest Steam OpenAuth or Github OpenAuth
[QUOTE=Eloquence;46382645]
* I was going to look into only accepting links to content that is hosted on GitHub to promote community development
[/QUOTE]
Not sure about this point. Maybe an Checkbox like "I do not want to work on this addon anymore and i allow the Team of XXX to reupload this addon on Github", so this Script could get their own repo without forcing the addon creator to create an account.
Tl:dr: A website portal to github links to promote community collaboration.
[B]Edit:[/B] Logged onto my PC to do a wire frame of my idea for a script page to generate interest.
I could add a feature that allows the owner of a script to toggle a message "This script has been discontinued (get date)" and display a message, e.g. "A new coder has taken the burden "URL to Open Script Page"
[QUOTE=Eloquence;46382657]Tl:dr: A website portal to github links to promote community collaboration.[/QUOTE]
so b2t:
[url]https://scriptfodder.net/scripts/view/448[/url]
just saw this script. Funny enought, as exho could tell you, i worked on something simmilar a while ago.
I think i will finish it and release it as an addon later next week.
Looks like a cool script/idea to use in a HUB server. Was thinking of making a Cinema Server that is like a HUB to the rest of the community I help develop on (Transfer points, exchange DarkRP cash, server portals and chill.)
Not that good with lua but I am pretty good with trouble shooting and web design XD
[QUOTE=Eloquence;46382687]Looks like a cool script/idea to use in a HUB server. Was thinking of making a Cinema Server that is like a HUB to the rest of the community I help develop on (Transfer points, exchange DarkRP cash, server portals and chill.)
Not that good with lua but I am pretty good with trouble shooting and web design XD[/QUOTE]
because of that idea i was working on an Lobby Gamemode. And there i worked on an simmilar system.
you could hit me up on steam if you wanna, but now some breakfast.
Here is the wire frame of what was in my head feel free to suggest what should [not] be there. I will definitely attempt (yes I always say attempt because things tend to crop up) at building it over my holiday break.
[IMG]http://i.imgur.com/UWvgrzc.png[/IMG]
tbh that layout seems [URL="http://puu.sh/cyD0I/b411f9e2b3.jpg"]familiar[/URL]
Eh it is different enough. I knocked that up in 20 mins keeping in mind of bootstrap boxes so the final might be different.
[editline]1st November 2014[/editline]
A report button would be good as well as a sidebar for similar scripts etc. (Still thinking of ideas)
Maybe you should open an Trello for it. Currently we are spamming the Thread a bit too hard for me.
T'is true we better stop XD. I will make amendments to the design tonight after I get back from an engagement party and post the wire frame in a new thread with a general outline. Then I will have the bench it until after exams XD. #EducationLife
[QUOTE=Tomelyr;46382776]tbh that layout seems [URL="http://puu.sh/cyD0I/b411f9e2b3.jpg"]familiar[/URL][/QUOTE]
What on earth is this...
Eagle Eye Gaming shut down before Scriptfodder even existed lol
[editline]1st November 2014[/editline]
[QUOTE=Tomelyr;46382793]Maybe you should open an Trello for it. Currently we are spamming the Thread a bit too hard for me.[/QUOTE]
Yeah, get a room!
I fixed up icejjfish's disguise suitcase; the code is no longer terrible and I'm not quite sure if the original still works.
[url]https://github.com/zerfgog/disguisesuitcase[/url]
(original: [url]https://github.com/GraphicKet/disguisesuitcase[/url])
[QUOTE=zerf;46385804]I fixed up icejjfish's disguise suitcase; the code is no longer terrible and I'm not quite sure if the original still works.
[url]https://github.com/zerfgog/disguisesuitcase[/url]
(original: [url]https://github.com/GraphicKet/disguisesuitcase[/url])[/QUOTE]
Okay, I have to know, what is an Icejjfish Disguiser Suitcase?
Sorry, you need to Log In to post a reply to this thread.