Here is my edited version of the Fairy.
I have removed all the "talk" functions and added the function to go into it and control it.
Use the "use"-key (normally "e") to go in and out of it.
Use the "Jump"-key (normally space) to stop, and "Run"-Key (normally "Shift") to fly faster.
Robbis_1 original fairy: [url]http://www.facepunch.com/showthread.php?p=7765074[/url]
[b] Download: [/b] [url]http://www.garrysmod.org/downloads/?a=view&id=69546[/url]
[b]Installation:[/b] Extract to garry's mod addon folder
Any errors or ideas for new functions/things that should have been done, just post them in this thread or PM me.
[b]Changelog:[/b]
[list][*]1.1
Added stop and speed functionality.
[*]1.0
First release
[/list]
[b]Image:[/b]
[img]http://s3.garrysmod.org/img/dl/68661_1.jpg[/img]
[b]Functions I'll add in the future[/b]
[list][*]door opener
[*]light and sound functions[/list]
I am certain you didn't ask for robbis_1's permission and i will bet he is [u]not[/u] amused.
Although I agree that you probably didnt ask permission etc. this is a good idea as long as when you come out of the fairy you appear wherever you flew the fairy to. But you still should have asked!
Yes, I know. I should have asked. I have sent him a PM now, but I should have asked before.
Btw. are there anyone who knows how to make you spawn with the same weapons which you had when you went into it?
Robbis isn't a dick, and since you clearly stated that you just edited it, he won't mind at all.
Besides, its nice that he left in some of my code too. Lol
[quote]
local function PlayerInitialSpawn(Ply)
-- Mod by Baaleos
if (Settings.SpawnWithPlayer and gmod.GetGamemode().Name == "Sandbox") or ((Ply:IsAdmin()) and Settings.SpawnWithPlayerAdminOnly) then
SpawnFairy(Ply, Ply:GetShootPos())
end
end
[/quote]
(was a comment I left in referring to the start of a code block I added to remove some lua errors)
Love it dude!
Only thing I would like to say is maybe add mouse one to "use" while in the fairy? Means you can get though doors ect.
Also could you make space stop the fairy totally? Means you can navigate tight areas by starting and stopping and you can also "sit" in one place without having to spend 10 minuets trying to counter the forces :)
Good job, loved the original too Robbis, this is just as good :D
Yeah, I've actually used them now and they are definitly awesome and fun, but I do agree with kaffo about the extra controls which would be handy.
[QUOTE=knarf;15145935]Yes, I know. I should have asked. I have sent him a PM now, but I should have asked before.
Btw. are there anyone who knows how to make you spawn with the same weapons which you had when you went into it?[/QUOTE]
You spelt his name wrong...it's Robbis_1 not robbus_1
Killergam: Thank you for pointing it out, I was in a hurry and didn't notice I had written it wrong.
Kaffo: Good ideas. I'll look into it when I have time and then upload a new version of it when it is finished.
Ah good, thank you for reading ^^
Per chance is this the first time you have done any sort of gmod release (and are you new to lua)?
knarf.
I have just formatted and reinstalled the computer, and if I got time I will fix the new functions tomorrow and then upload the new version.
And Flamin362, yes it's the first time I have made anything in lua.
[b]Edit[/b]
New version out. I have added the stop function, but I havn't got the "use" function to work jet. Still working on it. I'll upload a new version if/when I have made it work.
Any other Ideas for the Controllable Fairy?
Nice one dude :)
I know it seems a little silly, but maybe a light funcion like the one in the orignal? Where it REALLY glows to catch people's attention. I use this for beta testing maps you see along with Shadowsand, we grab a fairy each and we show people around maps, it's fantastic for it's uses!
Oh and maybe some sound to make people look? Something screaming though the mic doesn't work ;)
Just some ideaz dude :D
So you’re planning on using the fairy as a tour guide. Cool. That shouldn't be a problem; I'll add the function as soon as possible.
It'd be nice if you could still change the color of it like the original fairy. Also, I agree with the primary fire=use thing, and what Kaffo said about making sounds and glowing more brightly.
Hehe, indeed, also you CAN Still change the colours and the name, use the console commands fairy_colorb
fair_colourg and fairy_colorr to change the colours, ok I don't remeber if it's that EXCATLY but something like that, and the name is fairy_name.
Hope that helps ^^
[QUOTE=knarf;15310167]
And Flamin362, yes it's the first time I have made anything in lua.
[/QUOTE]
Thats really odd,
The first thing i did in lua was edit and improve the fairy and i did it and released my attempt on the 20th of April 2008.
And you did the same on the 20th of April 2009.
I wonder who will do it next year.
can Some one make this work for gmod 10?
[url]http://www.garrysmod.org/downloads/?a=view&id=3914[/url]
[QUOTE=mvr;16357340]can Some one make this work for gmod 10?
[url]http://www.garrysmod.org/downloads/?a=view&id=3914[/url][/QUOTE]
Oh look a troll
[QUOTE=InUndenial;16425731]Oh look a troll[/QUOTE]
I like it's hairstyle, tough.
[QUOTE=Kaffo;15333518]Nice one dude :)Oh and maybe some sound to make people look? Something screaming though the mic doesn't work ;)
Just some ideaz dude :D[/QUOTE]
Left click: "Hey!"
Right click: "Listen!"
[QUOTE=m2pt5;16447670]Left click: "Hey!"
Right click: "Listen!"[/QUOTE]
Haha, i love Ocarina of Time.
[QUOTE=m2pt5;16447670]Left click: "Hey!"
Right click: "Listen!"[/QUOTE]
I want this.
[QUOTE=m2pt5;16447670]Left click: "Hey!"
Right click: "Listen!"[/QUOTE]
Ok, I did this, and I also added 'Reload: Hello!' and the "fairy alarm" sound from Majora's Mask to the crouch button.
However, I don't know if it's okay to release. Knarf, did you ever hear back about whether this modded addon was okay in the first place?
You could just post what you need to add to the code.
Then, you aren't posting his modified code, and so you aren't "stealing his credit"*
*not saying Knarf is that uppity, but some people are
Yes m2pt5 I heard back with Robbis_1 if it was okay, and it was okay.
Ok, since it's okay with both you and Robbis, here you go:
[url=http://www.garrysmod.org/downloads/?a=view&id=76136][img]http://www.garrysmod.org/img/?t=dll&id=76136[/img][/url]
-snip-
I'm too late :(
Sorry, you need to Log In to post a reply to this thread.