Love your mod...
Too bad RP_Downtown_v2 isn't noded :(
looks awesome, you got my download, gold star for you =D
Dude, this is AWESOME!
hey, nice job but when i type /follow into the chat bar my pet antlion wont follow me, but it will do everything else fine, if there is a solution then please tell me.
[QUOTE=Spacetech;9477337]Type /spm in chat for a list.[/QUOTE]
you can only make another one mod that being able to adopt two pets?
I don't have the adopt command!
Hey, nice mod! ^.^ I have just two requests, to reverse the hail-then-flail organization...
Well, when I crack open my egg with my crowbar so I can make an omnomlette (I can't help it >.>) I get the console error "entities/spm_egg/init.lua:66: attempt to index field '?' (a nil value)". In said lua file, line 66 reads, "SPM.Players[self.Player].Egg = false". Which explains why I can't adopt another pet after the egg is broken. I tried to fix the problem myself, but it just unwrapped a slew of other errors having to do with the apparent fact that field 'ply' is a nil value in various lua files. @.@ And I don't really wanna overhaul your mod... I'd rather not cook eggs. =S Could you someday try to fix this? And, am I the only one with this problem?
Secondly, the attack command is for players only. Could you possibly apply an attack command to attack AI? I've been working on my own, but I don't know lua coding very much, and I'm rather lazy. I've just been looking at SNPC lua files and trying to get a shallow comprehension of how sections of interest work, then trying to duplicate & modifying those sections. Anyhow, I don't want to change anything myself; I didn't make the mod.
Now for hail! Seriously, other than those two things, I love this mod! It's fun to add NPCs to the adoption list, such as the Citizen. The manhack's an annoying pet, I'll admit. ^.^" The stalker is pretty good with certain enemies. The original pets listed with the mod are pretty well-chosen as well, though the only admin pet I can use is the Vortigaunt because npc_antliongaurd is an invalid entity for my GMod and I don't have Episode 2 (>.<). Feeding, age, death, & gender were realistic things to include. I always laugh when I see my Vortigaunt or male Citizen listed as a female, for obvious reasons.
Before I go on and on, I'm just going to sum up the hail in the overused but still valid word, "EPIC!"
Thanks for the mod!
Edit: By the way, in response to Retarded Monkey at the top of the page, yes, you can make them not die. You can also shorten or expand their lifetime. Go to the folder you extracted the mod to (mine is E:\Program Files\Steam\steamapps\alexpm7\garrysmod\garrysmod\addons\Spacetechs Pet Mod), go into the lua folder, then the SPM folder, now the Shared folder. You should see a file called "Config.lua". Open it with Notepad or your preferred text-editing program. I think everything in there is self-explanitory, but, to get rid of death, go to the line under "-- Pet Year when the pet dies" and put -11 as the value. This will make it so your pet will die anywhere between age -21 and -1; ages we should know that pets can never have. XD
[QUOTE=Amps192;16778182]npc_antliongaurd is an invalid entity for my GMod and I don't have Episode 2 (>.<).[/QUOTE]
The guard should be included with gmod :P
EDIT: Is it because you're spelling it as "Gaurd" when it's a "Guard"?
Which servers have this on, I wanna play multiplayer cos this is really awesome!
EDIT:ilikewaffl3s, are you playing on an AI noded map? try another map, I think Gm_Bigcity is Noded.
thanks for this, i needed pets for my roleplay to make it more cool.
hi there i got this and got myself a headcrab pet and type in /follow pet (pet was her name) and she wouldnt move she would just stay still a turn around.
Stop bumping this, it's old.
this is fucking awsome (the game whahahah)
Is there a way to modify this for DarkRP so that only people with a certain job can use this. Also how could you make this sellable? As you could add it to /addentities but then who would it belong to?
help , my pet attacks me when I smack it with a crowbar... I don't know why.
Hey Spacetech, I have a few things i thing should be added upon your next release of this mod.
I noticed there was no Antlion Worker on the list of chooseable pets.
I was also wondering if we could convert much of this into a swep, a swep that can leash your pet, heal it, make it follow, make it stay, feed it.
Possible swep layout
R - Release pet.
E - Name pet.
Right-click - Shuffle of commands: feed/heal/leash/follow/move/stay/attack(player/npc(where ever your looking))/TAME.
Left-click - Follows out command given.
Instead of having to just type some stuff up, i think you should have to find one in game and tame it!
When you look at your pet it should also display % of health.
Increase damage of antlion, antlion worker, and all zombies by 50%.
When pressing R to release your pet you should have to be looking at it.
Because you are now taming them in th wild, there will be no more egg, and so when tamed, their age should be randomly selected.
The area in utilities should just tell people the current version, aswell as what npcs you can adopt.
I have a personal interest in using a pet to assist me in combat and so i can rely upon it to deal a good amount of damage.
Please write back Space, I'm eager to see what you think about this.
I got a big question:
is it possible to got more than one pet please give me a code or something because i think it would be cooler. but normal clients can have maximal 3 pets and admins 10 or how much ever you want but, please incrase the numbers of pets you can have !
Good addon! I don't care if it is old, its good!
I also did my first bit of Lua with it just now, to make the strider, antlion worker, antlion grub, stalker, fast zombie, fast zombie torso and poison zombie adoptable. :) It was easier than I imagined.
[editline]06:01PM[/editline]
[QUOTE=Illegal Danish;19203761]Hey Spacetech, I have a few things i thing should be added upon your next release of this mod.
I noticed there was no Antlion Worker on the list of chooseable pets.
I was also wondering if we could convert much of this into a swep, a swep that can leash your pet, heal it, make it follow, make it stay, feed it.
Possible swep layout
R - Release pet.
E - Name pet.
Right-click - Shuffle of commands: feed/heal/leash/follow/move/stay/attack(player/npc(where ever your looking))/TAME.
Left-click - Follows out command given.
Instead of having to just type some stuff up, i think you should have to find one in game and tame it!
When you look at your pet it should also display % of health.
Increase damage of antlion, antlion worker, and all zombies by 50%.
When pressing R to release your pet you should have to be looking at it.
Because you are now taming them in th wild, there will be no more egg, and so when tamed, their age should be randomly selected.
The area in utilities should just tell people the current version, aswell as what npcs you can adopt.
I have a personal interest in using a pet to assist me in combat and so i can rely upon it to deal a good amount of damage.
Please write back Space, I'm eager to see what you think about this.[/QUOTE]
I followed the advice of someone back on another page. You go into the Lua files: SPM, shared, and open config in notepad. At the bottom it has a list of adoptable NPCs, just add the antlion worker and anything else. :)
[QUOTE=Timenova;19379023]I followed the advice of someone back on another page. You go into the Lua files: SPM, shared, and open config in notepad. At the bottom it has a list of adoptable NPCs, just add the antlion worker and anything else. :)[/QUOTE]
I am completely inexperienced with lua : (
[QUOTE=Illegal Danish;19398846]I am completely inexperienced with lua : ([/QUOTE]
So am I. Thats the first thing I ever did and it happened yesterday. :) all you have to do is add npc names onto the list. So when you finish (The line you are editing is the bottom one that says *admin only*) it should say something like this: {"npc_strider", "npc_antlion_worker", "npc_fastzombie_torso"}.
Basically you would type this immediately after the last one, so you would type: , "npc_antlion_worker"
within the {} signs. Hope I helped.
Can you adobt a helicopter or alyx too?
[QUOTE=Maku220;21082297]Can you adobt a helicopter or alyx too?[/QUOTE]
I really doubt the helicopter would work, but i'll try.
that sucks, my pet gets old in 10 minutes and dies
[QUOTE=Maku220;21124050]that sucks, my pet gets old in 10 minutes and dies[/QUOTE]
lol aging fail much?
[QUOTE=Flubadoo;21124595]lol aging fail much?[/QUOTE]
You are trying to say that it isn't normal? I want to know if its bug or sth.
Sry for my english i'm estonian
[QUOTE=Maku220;21126409]You are trying to say that it isn't normal? I want to know if its bug or sth.
Sry for my english i'm estonian[/QUOTE]
No its not a bug, as a pet that would live for 7 years on gmod would be dumb.
[QUOTE=Flubadoo;21137643]No its not a bug, as a pet that would live for 7 years on gmod would be dumb.[/QUOTE]
Thats true, but 10 minuttes is'nt much.
It's not that hard to change though.
They should live about an hour I think
[QUOTE=Spacetech;9387337]This is a complete rewrite of my old petmod.
In this mod you pretty much adopt a pet and hang out with it. You can feed it, tell it to attack players, tell it to stay, put it on a leash, and heal it if it's getting attacked. Their is also an age system so your pet can die if it's really old. Your pet can also die if you don't feed it. You could also color the pets egg so once it hatchs your pet will have the same color.
[url=http://www.garrysmod.org/downloads/?a=view&id=34406][img]http://www.garrysmod.org/img/?t=dll&id=34406[/img][/url]
Temp fix for a problem: [url]http://forums.facepunchstudios.com/showpost.php?p=9469228&postcount=28[/url]
:siren: If you have an old version, delete the old version before installing the new version :siren:
[b]Pictures[/b]:
[img]http://img223.imageshack.us/img223/4509/78869455mn0.jpg[/img]
[img]http://img223.imageshack.us/img223/3392/54798204le4.jpg[/img]
[img]http://img401.imageshack.us/img401/7738/28890515wo7.jpg[/img]
[img]http://img228.imageshack.us/img228/1165/95148677ab9.jpg[/img]
[img]http://img410.imageshack.us/img410/7890/35059097gr0.jpg[/img]
[b]Pet Commands[/b]:
[list=1]
[*][b]/spm[/b] - Shows the version info + available commands.
[*][b]/petinfo[/b] - Shows you your pets name, age, hp, gender, and type
[*][b]/adopt[/b] pet - You receive a pet egg
[*][b]/adoptinfo[/b] - Shows you a list of pets you can adopt
[*][b]/name[/b] name - Renames your pet to name
[*][b]/follow[/b] - Your pet will follow you (Toggle).
[*][b]/move[/b] - Your pet will move to the spot you are looking at.
[*][b]/leash[/b]
[list=1]
[*]/leash radius - Your pet will be leashed in a radius of radius
[*]/leash hide - Hides your pets 3d leash radius
[*]/leash show - Shows your pets 3d leash radius
[/list]
[*][b]/feed[/b] - Feeds your pet so it won't die. You must be near your pet when using this command.
[*][b]/stay[/b] - Your pet will stay in its current location.
[*][b]/heal[/b] - Heals your pet (Can be used once every couple seconds).
[*][b]/attack[/b] player - Your pet will attack / not attack player (It's a toggle).
[*][b]/release[/b] - Releases your pet.
[/list]
[b]Admin Only[/b]:
[list=1]
[*][b]/givepet[/b] player pet - Gives player a pet egg.
[*][b]/reloadcommands[/b] - Reloads all chat commands.
[/list]
[b]Installation[/b]: Drag and Drop the Spacetechs Pet Mod folder into your addons folder.
[b]Configuring[/b]: Open "Spacetechs Pet Mod\lua\SPM\Shared\Config.lua" and edit variables.
[b]Change Log[/b]:
[list]
[*][u]2.0[/u]
-Rewrote the whole mod
[/list]
:siren: The follow and move commands might not work on maps that don't have npc nodes :siren:
Special thanks to G3X and Boofy for letting me use their servers for testing.
Also thank LuaPineapple for the leash 3d radius thing.[/QUOTE]
it ruined my add-ons and my no-c;ip FU
Sorry, you need to Log In to post a reply to this thread.