• Fishing Mod
    335 replies, posted
Fishing mod is a sandbox addon, not a gamemode! With the fishing mod you can do the following main things: - Catch fish - Store fish - Level up - Buy bait You can catch fish using various bait and and fish at different depths and you can only catch this and that when you reach certain levels. The table structure for catch look like this: [lua] fishingmod.AddCatch{ friendly = "Junk", --Friendly name type = "prop_physics", --The entity type models = { --Models "models/props_junk/Shoe001a.mdl", "models/props_junk/garbage_coffeemug001a.mdl", "models/props_junk/garbage_coffeemug001a_chunk01.mdl", "models/props_junk/garbage_glassbottle001a.mdl", "models/props_junk/garbage_glassbottle001a_chunk01.mdl", "models/props_junk/garbage_glassbottle003a.mdl", "models/props_junk/garbage_metalcan001a.mdl", "models/props_junk/garbage_milkcarton001a.mdl", "models/props_junk/garbage_metalcan002a.mdl", "models/props_junk/garbage_milkcarton001a.mdl", "models/props_junk/garbage_milkcarton002a.mdl", "models/props_junk/garbage_newspaper001a.mdl", "models/props_junk/garbage_plasticbottle001a.mdl", "models/props_junk/garbage_plasticbottle002a.mdl", "models/props_junk/garbage_plasticbottle003a.mdl", "models/props_junk/garbage_takeoutcarton001a.mdl", "models/props_junk/GlassBottle01a.mdl", "models/props_junk/glassbottle01a_chunk01a.mdl", "models/props_junk/glassjug01.mdl", "models/props_junk/glassjug01_chunk02.mdl", "models/props_junk/PopCan01a.mdl", "models/props_junk/PropaneCanister001a.mdl", "models/props_junk/propane_tank001a.mdl", }, size = 10, --Size relative to its bounding radius (this means if you make all catch this size, they will all be the same size no matter how big they normally are) rareness = 2000, --The rareness of the catch. The higher it is, the lower the changes are that you might catch it. yank = 1000, --Yank power of the bobber force = 2000, -- Weld force mindepth = 0, -- Minimum depth it can be caught at maxdepth = 20000, -- Maximum depth it can be caught at expgain = 20, -- How much experience you'll get for catching this levelrequired = 0, --The minimum level required for catching this remove_on_release = true, --Remove it if it hits the water } [/lua] If you come up with a catch, I'll review it and add it to the svn. To access the menu, press B while using the fishing rod. To release bait, press e To release catch, press r To reel faster, hold shift To reel slower, hold alt To get the rod, spawn it in the weapons tab. To get the shelf, spawn it in the entities tab. [img]http://dl.dropbox.com/u/244444/pictures/fishingmod/1.jpg[/img] [img]http://dl.dropbox.com/u/244444/pictures/fishingmod/2.jpg[/img] [img]http://dl.dropbox.com/u/244444/pictures/fishingmod/3.jpg[/img] [img]http://dl.dropbox.com/u/244444/pictures/fishingmod/4.jpg[/img] [media]http://www.youtube.com/watch?v=0BkFgotkTnM[/media] (old video) [b]SVN Link[/b] [highlight][noparse]http://fishingmod.googlecode.com/svn/trunk/[/noparse][/highlight]
Haha, oh wow. I like this. Someone use some CSS fish models.
Cool! I will try it ASAP
Why not CSS Fi :ninja:
I forgot to mention that things you store in a shelf will be there forever until you remove it from the shelf. This is only on the server you're on though. [editline]09:54PM[/editline] I guess I can make a sent. I was worried that people didn't have css.
Server is up soon :) CapsAdmin, please add me to steam: source1373 - thanks
This looks neat, makes me think of Go Fish!. You might want to have a setting for people to choose the measurement system between units, feet, and meters for convenience's sake.
[QUOTE=Kogitsune;20237359]You might want to have a setting for people to choose the measurement system between units, feet, and meters for convenience's sake.[/QUOTE] I was trying to figure out what the hell source measures in and how to convert but I couldn't figure it out.
That's really awesome. It would be interesting if you had different rods that fished at different lengths/depths or caught different things.
Desperately needs different weight catches. Everyone knows a 9lb angry baby is a way better catch than a scrawny 6lb'er. Plus it'd struggle more and puts more strain on the line when trying to haul it up.
[QUOTE=CapsAdmin;20237496]I was trying to figure out what the hell source measures in and how to convert but I couldn't figure it out.[/QUOTE] 16 units = 1 foot. [url=http://developer.valvesoftware.com/wiki/Dimensions]Source[/url]
Server UP: steam://connect/root3.gmod.biz:27044 [img]http://cache.www.gametracker.com/server_info/78.46.19.132:27044/b_350x20_C323957-202743-F19A15-111111.png[/img] Enjoy fishing :)
So would this work if I just wanted a zombie ragdoll, or I would I need a prop_ragdoll? [lua]fishingmod.AddCatch{ friendly = "Dead Zombie", type = { "models/Zombie/Classic.mdl", }, size = 10, rareness = 1300, yank = 300, force = 0, mindepth = 400, maxdepth = 20000, remove_on_release = false, friendlybait = "Body Parts", bait = { "models/Gibs/HGIBS_scapula.mdll", "models/Gibs/HGIBS.mdl", "models/Gibs/HGIBS_spine.mdl", }, }[/lua] Also, error when trying to spawn the shelf a second time after putting things in there: "fishing_mod/sh_init.lua:15: attempt to perform arithmetic on local 'amount' (a nil value)" Which is derived from: [code]entity:SetColor(fishingmod.FriedToColor(data.fried))[/code] I never cooked any of my food, so I assume that would be the problem. Also, it's a little unclear how you detach the catches from the rod. I would put some instructions in the SWEP.Instructions. And lastly, if someone wanted to make a working boat this would go great with your weapon seats.
[QUOTE=Entoros;20239456]So would this work if I just wanted a zombie ragdoll, or I would I need a prop_ragdoll? [lua]fishingmod.AddCatch{ friendly = "Dead Zombie", type = { "models/Zombie/Classic.mdl", }, size = 10, rareness = 1300, yank = 300, force = 0, mindepth = 400, maxdepth = 20000, remove_on_release = false, friendlybait = "Body Parts", bait = { "models/Gibs/HGIBS_scapula.mdll", "models/Gibs/HGIBS.mdl", "models/Gibs/HGIBS_spine.mdl", }, }[/lua] Also, error when trying to spawn the shelf a second time after putting things in there: "fishing_mod/sh_init.lua:15: attempt to perform arithmetic on local 'amount' (a nil value)" Which is derived from: [code]entity:SetColor(fishingmod.FriedToColor(data.fried))[/code] I never cooked any of my food, so I assume that would be the problem. Also, it's a little unclear how you detach the catches from the rod. I would put some instructions in the SWEP.Instructions. And lastly, if someone wanted to make a working boat this would go great with your weapon seats.[/QUOTE] I should make another paremeter there for model so you can do that. You can provide an npc though.
Good idea. So we can fish zombies :P
That's really neat.
Committed the angry baby in. It wasn't committed for some reason. I also added the dumb fish. It will swim around and eventually dumb itself up on land. I might make it smarter, but at the moment I'm very tired and I don't know what I'm doing. I fixed some other things too which I forgot.
A dumb fish.. what is the difference with a real fish?
It has an object avoider, but it doesn't work that well. It sometimes ends up on land. That is if you release it into the water after you catch it. (you can also recatch it) or if you spawn it from the fishing mod category.
Hey can you use the fish ragdolls of the dinosaur pack?
[QUOTE=leeetdude;20238111]Server UP: steam://connect/root3.gmod.biz:27044 [img]http://cache.www.gametracker.com/server_info/78.46.19.132:27044/b_350x20_C323957-202743-F19A15-111111.png[/img] Enjoy fishing :)[/QUOTE] Updated!
Seems fairly nice, but If I may, I would like to suggest different types of baits as well as a leveling system for how fast/well you catch fish.
A levelling system sounds like fun. Or not? I dunno, if anyone would want this explain how it would work.
Like, the fishing root could become stronger and stronger? So you can catch bigger fish?
Agree to the posts above.
Depending on the catch you should gain further xp, like angry baby = 50xp, whereas junk = 10xp or something.
Catching babies is hilarious. I convinced my friend to have it on his server, many lols were had.
When is next update coming? this is epic ;)
[QUOTE=CapsAdmin;20256920]A levelling system sounds like fun. Or not? I dunno, if anyone would want this explain how it would work.[/QUOTE] Depending of the rareness of the item, when you catch stuff, it gives you experience. That experience would go to a level and you can get new skills like "Quick Fisher" etc etc Or you can add unfriendly NPCs to the gamemode and you can also convert the experience to cash and purchase weapons to defeat the unfriendly NPCs
I remember someone who did this with SExtender
Sorry, you need to Log In to post a reply to this thread.