Added: 1 year ago
From: DoomedSpaceMarine123
Views: 3,440
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (43)

Sign In or Sign Up now to post a comment!
  • stipri kurva :D

  • 0:32 - "I am a man of peace" - Said this poor man, while knifing.

  • Download link???

  • @kornej97 No link. Maybe I will release it someday, but there's not much to do. It's only a preview of artificial intelligence.

  • bla.. kaip tuos npc padaryt :/

  • @Oxygh3nz Paprastai, su createPed...

  • @DoomedSpaceMarine123

    Nenorėtum tutorial'ų padaryt skript'inimui? ;D

  • @Oxygh3nz Nežinau... Tingiu :D

  • it's perfect but i will need it to put in my house :D

  • Send me this script please , i need it to create a witch in the forests xD!

  • LMAO!

  • Smartest ped I've ever seen.

  • They aren't path nodes. Path nodes are located in GTA3.IMG and are used for predefined traffic AI paths and pedestrian paths.

  • @MyVideoHubOnDell If they aren't, then what are they? Do you mean that existence of some game data prohibit me from scripting MTA SA elements which have similar function?

  • @DoomedSpaceMarine123 Well they aren't nodes. You can't add, delete, or modify nodes because the game will crash.

  • @MyVideoHubOnDell They are nodes. Nodes are path points which are used for navigation. That's exactly what they do in this video. I scripted, added and joined together these nodes and there's no reason why the game should crash. My path nodes aren't directly linked to the game because GTA SA world is unaware of MTA-specific abstract elements.

  • @DoomedSpaceMarine123 Well, never mind. I really don't care.

  • plzz how can we make we can go inside a house

  • can u make it download able :):)

  • i dont play mta cause if i dont have 100 % no mods i cant connect...

  • How did you make him attack you, and go after you?

    And this guy is TOTALLY not a noob, check is other vids and stuff, he is really awesome!

  • @tinnetju To make him perform actions, I used ped control state and camera rotation functions. The script checks if killer is near, if so, he keeps "pressing" and "releasing" fire control, otherwise it checks if path from killer to target is free of obstacles, if so, then he goes to player, otherwise he finds the path node nearest to him and another path node nearest to player and goes to the node which is the next to reach player's path node.

  • Oh, now that's real danger.

  • You're noob because of two reasons:

    1) Can't kill an NPC without dieing.

    2) You can't have even bound the /killer.

  • @cyklopas261 No, you are noob because:

    1) You probably couldn't even script a bot which would be a real challenge.

    2) Have a difficulty writing /killer so that you need to bind command to a key to spawn killer multiple times.

  • @DoomedSpaceMarine123 Hmm... Oh look how mad we are. Of course I can script something better. But I fucking hate scripting cause it's boring and I know everything about it.

    -cyklopas, DoomedSpaceMarineDestroyer.

  • @cyklopas261 If you are experienced enough, you should know programming is a lot of fun. It's like an art: if you have some good ideas, you won't get bored.

  • @DoomedSpaceMarine123 Zombies are first of all not an art, not a good idea, and not even ORIGINAL idea. And if you think somehow else, GREAT. Keep it going. But you don't win an "idea war" against me. Ever.

  • @cyklopas261 If scripting is boring to you, it means that YOU are out of ideas. My idea was to make a bot which would follow path nodes. As you can see in the video, it was so successful that it's challenging for me to fight it in such a small area. If you can script a better AI than I can, then fine, I agree that you can "win" some kind of "war".

  • @DoomedSpaceMarine123 You can say that again. But yet, that bot does nothing really big yet.

  • @cyklopas261

    He's not noob because of two reasons:

    1) The NPC know he moviments, and its client side, it means, he know your moviments and in the same second execute the rotation to look to you. It means: Perfect

    2. He can't do it because the NPC is perfect, and anyway, you can't even make a 2 lines script...

    But i can give you 100 reasons to call you a noob.

  • does killer 4, mean that the killer will have weapon number 4 and killer 9, that the killer will have weapon number 9?

  • @saunasanttu246 Yes. These are the only weapons killer can be spawned with, though making him use any other melee weapons like he uses knife would take a minute or less :)

  • @DoomedSpaceMarine123 I Have a little question?

    How to set his rotation to you? I Realy suck at Trygonometry ( i don't know the right name, in brazil the name is diferent)

    I Already try the "Peds" resource by 50p but i didn't understand the Cos and Sin part D:

  • @Headshot4Fun Arctangent function is needed to get angle. This is the line from my script:

    local ang = math.deg(math.atan2(destx-kilx­,desty-kily))

    destx,desty are destination coordinates, kilx,kily are killer coordinates and math.atan2 is arctangent function. math.deg converts radians to degrees.

    There was time when I didn't know anything about trigonometry, but it wasn't hard for me to learn about it :)

  • hmm...can u make a leatherface mod for mta? xD

  • @saunasanttu246 Maybe I will, I thought of doing that, because there's nothing as cool as seeing NPCs following path nodes and avoiding obstacles :D

  • u like mta too :D watch my mta video of cod 2 mod xD

  • wow did u made this with sannybuilder...if u did u maybe scripted the speed very high :D

  • @saunasanttu246 No, I didn't. The title clearly says it's MTA SA. It's a Lua script. Killer is sprinting, that's why he's fast. However, the first idea was to make it CLEO. I wanted to make Ghostface who would appear in any safehouse at night and attack CJ. I tried to make AI as good as this killer has, but it was a lot of work because of CLEO3 scripting features. And when CLEO4 was released, I was going to try to make the mod again, but the idea came to my head: why don't I make it on MTA?

  • @silvestrs026 Man, you are so fast that you posted a comment when I hadn't even written the video description and put the annotations :D

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more