1. Post #1
    Salmonman's Avatar
    September 2010
    79 Posts
    The current system for making SNPC's isnt really meant for large creatures, and the dinosaur NPC's that have been made in the past suffer greatly because of this. My request is for a set of 2-3 Dinosaur SENTS/SNPCS that will use the dinosaur ragdolls found in this pack http://www.garrysmod.org/downloads/?a=view&id=3675 and use applyforce to make them walk around, while still maintaining a physical body. Ideally, I would ask for one bipedal carnivore, one sauropod, or four-legged long neck dinosaur, and one hadrosaur, or the duck-billed dinosaurs, because those should be able to walk on four legs and run on two. The aim here is making them as lifelike as possible. Thorough commenting of the code would also be appreciated, as I plan to modify these heavily later.

    If anyone can produce these to my satisfaction and give them to me, I am prepared to offer that person $50.00, transferred via PayPal or redeemed in steam game gifts.


    Some useful tips to anyone who might attempt this:

    - Walking might be accomplished by converting Sestze's walker code over for use with LUA and modifying it. (I got his permission for this)
    - Ragdolls don't collide with the world properly, props might need to be welded to feet in order to make it walk on the surface properly.
    - Use welds or ball sockets between different bones to limit movement, which may help make it less spazzy or more lifelike.
    - Nogravving all the neck, head, tail, (and arms for carnivores), will make them less of a hassle. They should be moveable later so don't just weld the whole body together. Carnivore arms can be welded since typically they wont be used.
    - Dinosaurs only need to be able to walk forward, backward, and turn. No strafing is necessary.
    - By default, they should walk around randomly, but please section the code that tells them to do things off so I can modify or remove it later. Eventually they will be able to be taken over by players, which I will code myself.
    - Making the head look around and the tail swish would be nice, and though not necessary, it would save me some hassle.
    - Each species (each ragdoll) will likely have vastly different requirements and characteristics, so each one should be its own entity in its own folder.
    - Here I am only asking for 3 base templates, which I can later scale and apply to the other species's. The width and height of the stance, as well as step length and step speed should be easily changeable (such as in Seszte's code) to accomodate easy modification later.


    If there are any further questions that need clarification, you need only ask. If I forgot anything here, tell me and I will correct it.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 7 (list)

  2. Post #2
    Gromitooth's Avatar
    April 2011
    101 Posts
    Wouldn't some modelling knowledge be needed beforehand to rig the Dinosaurs so that they can be, "As lifelike as possible?"

  3. Post #3
    Salmonman's Avatar
    September 2010
    79 Posts
    Umm, I hadn't thought of that, but I suppose it's possible. I don't know how to model (though I will need to learn in order to do what I want with these ents) so I can't say.

  4. Post #4
    Callinstead's Avatar
    November 2011
    411 Posts
    The same thing can also be done with the Turok pack, they are a bit more high res.

  5. Post #5
    J-Dude's Avatar
    December 2007
    1,416 Posts
    They'd already be rigged (aside from controllers, but that's another story) and unless you go for the Turok ones, those models aren't especially detailed for re-rigging.

    Thing is, you'd need all those creatures to be animated. I animated the TRex in Silverlan's TRex snpc, and I'll tell you that animating entire npc's is no walk in the park. It's long and tedious work, and it's unlikely if you find someone to do it that they'll be able to code the things as well. I always team up with Silverlan in this sort of thing, but he's a busy guy with his own serious projects.

    One way or another, it's unlikely you'll be hiring less than two guys, this project will take potential months, and if you ask me, 50 bucks is a bit low for the kind of work and commitment it will take. Don't forget either, aside from animating, the guy doing the animating will need to find audio as well.

    I know you're proposing a code-based system to make them into moving puppets rather than snpc's, but you also said you wanted them "as lifelike as possible", and code just isn't going to do that for you. You want lifelike, then you need true animations.

  6. Post #6
    I call in friends to rate KatNotDinner dumb (lol)
    nick_9_8's Avatar
    December 2011
    1,393 Posts
    There was a great Dino NPC on Garrysmod.org, you should grab that one and save yourself some money xD

  7. Post #7
    Salmonman's Avatar
    September 2010
    79 Posts
    I don't want standard NPC's they just don't work the way I want, and I don't think that animations will do what I want. I didn't ask for 100% lifelike, I asked for them to be as lifelike as possible within the confines of the system as I have defined it.

  8. Post #8

    January 2012
    33 Posts
    i want this as well, it would be kewl if there was a tylosaurus too, thats in the pack.
    Reply With Quote Edit / Delete Reply Windows Vista Canada Show Events Dumb Dumb x 7 (list)

  9. Post #9

    July 2012
    8 Posts
    Dinosaur Ragdolls into real animal. WILL PAY $50!!!
    Too much jurassic park?
    Reply With Quote Edit / Delete Reply Windows 7 United Kingdom Show Events Agree Agree x 3Zing Zing x 1 (list)

  10. Post #10
    EthanTheGreat's Avatar
    September 2010
    186 Posts
    I think it's a full-time job to monitor the forums for extremely wasteful threads

    Why can't people just read the sticky and use the pre-made thread like everyone else?

    Maybe it's just me, but when I was a kid I actually would fucking read shit and figure it out on my own. You'd think, with the mass amount of knowledge put on internet it would be common to look something up, but you'd be wrong. Kids today are so fucking lazy and lack a large chunk of common sense.

    Next time, read a thread that says in caps "READ BEFORE POSTING"
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 3Optimistic Optimistic x 1Dumb Dumb x 1 (list)

  11. Post #11
    Salmonman's Avatar
    September 2010
    79 Posts
    Uhhhh, i abandoned this method quite a while ago anyway, going for a half and half currently, ragdoll for the body which will be a lot easier to control, and using good ol animations for the legs.

    Also, EthanTheGreat... Dafaq you on about bro?
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 1 (list)

  12. Post #12
    Gold Member
    Feihc's Avatar
    October 2006
    1,016 Posts
    There's no way to really do this how you're describing. You can't effectively move ragdolls around with "applyforce" like you are saying.
    The only way to get models moving in any kind of efficient manner and ESPECIALLY to make them look lifelike, you HAVE to have the animations built into the model. I'm sure you could create some kind of stupidly complicated system to move the bones in sequence, but that would be a hell of a lot of work, for a very sketchy output.
    Also, you don't "weld" or "ballsocket" different parts of the same model together. You CAN weld a ragdoll to itself to lock bones in place, but you shouldn't be using too many constraints on just one entity, they're meant to be used between entities (or an entity and the world)

    tl;dr - your approach is impractical and you should NOT every code any kind of SENT/SNPC like this. Use base models with the animations built in, and code them with the built in SNPC API (I know it sucks, but it's what we have right now)

  13. Post #13
    kp3
    Gold Member
    kp3's Avatar
    January 2008
    2,985 Posts
    There's no way to really do this how you're describing. You can't effectively move ragdolls around with "applyforce" like you are saying.
    The only way to get models moving in any kind of efficient manner and ESPECIALLY to make them look lifelike, you HAVE to have the animations built into the model. I'm sure you could create some kind of stupidly complicated system to move the bones in sequence, but that would be a hell of a lot of work, for a very sketchy output.
    Also, you don't "weld" or "ballsocket" different parts of the same model together. You CAN weld a ragdoll to itself to lock bones in place, but you shouldn't be using too many constraints on just one entity, they're meant to be used between entities (or an entity and the world)

    tl;dr - your approach is impractical and you should NOT every code any kind of SENT/SNPC like this. Use base models with the animations built in, and code them with the built in SNPC API (I know it sucks, but it's what we have right now)
    Making ragdolls move have been done in wiremod e2's before and they've looked pretty good in some cases too. If someone is dedicated they should be able to make it look and work nice.
    Honestly this could be done with wiremod only so I don't see why you think it's impossible or too hard to do. Maybe it's not worth the money or whatever but it's still possible.
    Converting an e2 to lua shouldn't be to hard if you are willing to call yourself good at lua. I mean all the logic and structure is basically the same.

  14. Post #14
    Gold Member
    Feihc's Avatar
    October 2006
    1,016 Posts
    I don't know the capacity of e2, I've never messed with it. Not a fan of mega-mods.
    That being said, if you wan't to go the e2 route, please post this on the wiremod forums. This isn't really a good Lua based request.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 1 (list)

  15. Post #15
    Gold Member

    August 2010
    225 Posts
    Also, EthanTheGreat... Dafaq you on about bro?
    He means you're supposed to use the Lua Scripter Hire/Recruitment Thread to hire people for things like this.

    The sticky states this.
    Reply With Quote Edit / Delete Reply Windows 7 Canada Show Events Agree Agree x 2 (list)

  16. Post #16
    Salmonman's Avatar
    September 2010
    79 Posts
    Ah. I understand now that this is in the wrong place. But this thread is outdated anyway so it might as well sink back into oblivion.

    Also, I am NOT trying to make an e2... at least not in the long run. Since I know e2, I figured I could flesh out my system ingame with e2 and then once I have a good finished product I would translate it to LUA to create a SENT. So at least this certainly shouldn't be in the wiremod forums.

    Noone took up the offer anyway so I explored methods for doing it myself and have come up with at least 1 rudimentary method that I can make work, though its pretty ugly at the moment and I'm working on a more lifelike alternative.

    Also, I realized that the dinosaurs in that model pack just wouldn't work for my purposes, so I'm modelling my own.


    Current method built using custom models and E2 ingame. Pretty bad but it's a start:
    http://www.youtube.com/watch?v=gsdwwPgmLc8&feature=plcp

  17. Post #17
    gardian90's Avatar
    June 2007
    263 Posts
    Good luck turning a ragdoll into a real life animal, dinosaurs have been extinct for like 65 million years..
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Funny Funny x 1 (list)

  18. Post #18
    LUA? is that some kind of vegetable?
    Angry pepper's Avatar
    July 2010
    361 Posts
    Good luck turning a ragdoll into a real life animal, dinosaurs have been extinct for like 65 million years..
    Or is that what the government WANT you to think?
    Reply With Quote Edit / Delete Reply Windows 7 United Kingdom Show Events Artistic Artistic x 1 (list)

  19. Post #19
    Salmonman's Avatar
    September 2010
    79 Posts
    Christ on a pony, I didn't say I wanted people to clone dinosaurs for me, I wanted SENTs in Gmod. Nowhere did I use the phrase "Real Life Animal".
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Informative Informative x 1Dumb Dumb x 1 (list)