Jump to content

EnemyChad

Members
  • Posts

    14
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by EnemyChad

  1. That was definitely a reason. Though I switched to createWeapon quite early so I didn't think much about it. It's also fun to be able to play around with weapon properties. They have a lot of custom attributes depending on ped type and random chance. I guess setPedAimTarget being a bit of a wreck was a blessing in disguise. I never played around with server peds so I can't be certain, but I'd be surprised if most of the issues you mentioned hasn't been fixed. Nothing wrong with being a perfectionist! I wanted to make a server of my own and launch it before it's too late, so I've been getting better at compromising and settling with a little less than what I'd consider to be perfect. Whether it's better or worse is up debate, haha. Sounds interesting! I'd love to see what you might come up with. I appreciate the feedback as well. I might play around with synced peds sometime in the future. Best of luck with whatever you do next
  2. My kind of "weird stuff" is mostly technical if that's the right word for it. My favorite example is probably weapon pickups. Something that should've been so easy. I'm using createWeapon and attach to weaponise my peds. Turns out you can't disable collisions for them (not sure if that's still the case) which means when they are equipped with a weapon, you aren't able to shoot them. Their weapons will block your bullets. Not only that, but they will also attempt to jump over their own weapons since their collision is still there, resulting in extremely buggy behavior. I replaced weapon collision files with empty files in order to fix this. It worked, but there is now another problem. Empty .col files apparently make weapon pickups invisible. So I had to make my own client-side pickups, which is no big deal. The problem is I'm using a lot of weapon pickups on my server for deathmatch events and hidden weapons on the map. Eventually I had to make a very small collision file and use that one instead, which seems to solve the problem and it works perfectly fine. It's something very unassuming, but it was a headache. Had to deal with a lot of similar annoyances that I didn't expect. Some of them are pretty funny looking back. Other than that I'm quite content with its current state, and I think it's great at what it was intended to do. Which was something that can fill up the world and offer some life without littering other aspects. A good example is how peds will panic and start running when there is player conflict around them (including cops), and no new ones will spawn until pvp has stopped in that area. They are mostly absent when there is hostile player activity going on nearby. They are there to fill up the world and offer something when there isn't much player activity going on, so client-side peds are perfect for what I wanted this script to be. It saves a lot of headache. Traffic is synced and based on the traffic script that comes with mta, so that's a different story of course. I'd like to improve path finding eventually and give peds a bit more freedom, but I think I'll pass on that since it might cause performance issues for low-end computers. I'd rather keep it accessible. Everyone seems happy with how it is at the moment. Currently the script optimizes itself depending on client performance by reducing ped count, adding delay between spawns, reducing despawn distance etc., maybe I could add some settings for players to play around with. All things considered I think I'm done with major updates to peds. Anyway sorry for rambling. I'm just excited to talk about peds with someone who knows them and inspired me to make my own. Scripting for MTA is definitely nostalgic in a way. I always feel the urge to make something even if I know I'll never release, use or showcase it. No other game has that effect for some reason. I'm excited to see what you can come up with if you get back to scripting. It's fun to play around with stuff nobody else wanted to touch, haha.
  3. Thank you. I'm really surprised to see you here. Your scripts were definitely a big inspiration. They blew my mind when I first came across them. I don't think I'd have created this script without seeing yours first. I was really surprised more people weren't working with peds. Though my experience with them hasn't exactly been relaxing and I had to work around a lot of weird stuff I never even considered, so I can see why not many people wanted to go through the hassle, haha. I always thought MTA needed some life in it. The video is quite old and I've done some major work since then. With server-side vehicle traffic and some major improvements and attitude diversity, I'm extremely happy with how it feels at the moment. Here is a short video from when I first started working on traffic. I should really update these I guess. Thanks again for the kind words. It means a lot coming from you. Feel free to pay a visit and play around with it.
  4. Unfortunately I can't give away the resource, but feel free to join my server with your friends and play the updated version. You might have a good time with added vehicle traffic and other players to help you out. It's called Forseti. Cheers.
  5. Thank you! Glad you like it! It's definitely possible. Dimensions and interiors are quite easy and my ped script allows us to add pathing anywhere easily. Traffic is a lot more complicated though. Dim/int configuration is very easy, but I believe it uses the original game's pathing which seems to be converted into a huge table. It can definitely be done but it's much harder compared to how I wrote pathing for my peds.
  6. Hi. With the most recent update we are now able to hijack vehicles and take npc peds out of vehicles. I took the opportunity to edit MTA's traffic resource and add a working traffic system to MTA! I'm planning on using it in my own server once it launches. What can we do with it? * How many traffic vehicles will spawn depends on the online player count. * Each player will add a few vehicles to global vehicle limit. * You can set a hard cap so that even if we have too many players, we won't exceed a certain vehicle count. * Vehicles will spawn in locations where there are players. * Vehicles will automatically despawn when there is nobody near them, and new ones will spawn. * You can hijack vehicles from driver peds. * You can enter the passenger seat, they will take you around San Andreas. * They work wonderfully with my NPC ped script and they'll be careful not to run over any peds, and my peds will get out of the way when there is a vehicle coming towards them. * Driver peds can be killed, there will be chaos though. * It can be a bit draining on the client side at times, but it won't cause server-side lag in any way. * More stuff that I'm too lazy to list The resource itself is quite impressive and those edits make it suitable for big and small servers alike. Also check out my NPC ped script which is quite detailed and even introduces civilians, gangs, mafia, cops and the swat: Here is a video which also shows my npc peds for a little bit: Cheers!
  7. Definitely a possibility! Despite it's near-zero minimal performance impact, the script is absolutely huge and it took a long time to make. I'll have to see if my buddies agree to release it in the future. They helped me a lot during it's development. ? It never seemed to get much attention so we aren't really sure if releasing it is a good idea.
  8. Video: https://www.youtube.com/watch?v=nC3NjUqIiWY&feature=emb_title Download: https://bit.ly/forseti-fishing -------------------------------------- Hello! This is a fishing script that was originally used in our own server and it was beloved by our players, quickly becoming the most popular way of gaining money. It was inspired by Stardew Valley and Don't Starve, as it works in a very similar way. Steps are simple: You need to find a fisherman on the map. They are very common and they can be found pretty much anywhere that has water nearby.- If you have a fishing rod you can go near water and the game will give you a prompt. If you click or press 'B', you will throw your hook into the water. You will wait a little until a fish bites the bait, then you click again to reel. While you are reeling in the fish you need to complete a minigame. The green rectangle must be on top of the fish for a few seconds and if you can manage that by clicking and releasing, you will catch it. Every fish has it's own price per pound, minimum weight, maximum weight and rarity. Less common fish are usually worth far more than common ones. The pearl is the ultimate treasure, as it's very rare and can be worth up to $80.000. Your inventory is saved and you will not lose your loot upon logout. (as long as you configured the script for your own saving system. See below) You can press 'I' to open your fishing inventory to see what you currently have and how much they are worth. This screen also includes credits. After you are satisfied with what you have, you can always go back to fishermen around the map and sell your loot. Fishermen can be found pretty much anywhere on the map near the sea. You can add, change and remove fisherman locations. ------------------------------------------------------------------------------------------------------------------ Here is a list of changes that can be made: You can add more fish You can remove fish You can change fish names You can change fish prices You can change weight ratio for fish You can change their rarity You can change their icons You can change inventory color You can change what buttons to press for fishing You can change how much you need to wait for fishing You can disable the minigame at the end, which results in instant catching You can add/remove fishermen or change their locations For server owners looking to add this script, please read: s.lua has a few functions you need to change, which should be quick. isPlayerLoggedIn, setPlayerData, getPlayerData, getMoney, takeMoney, giveMoney These functions must be changed and edited to suit your own server. It's quick work and shouldn't cause issues. Lastly, you need to find line 129 and line 136 so you can change onPlayerLogin and onPlayerLogout events if needed. Line 98 also includes a line where you get exp every time you get a catch, depending on what you caught. You can enable this if you have a level system. Lastly, how the price is calculated and most other settings can be found in fishlist.lua. You can change fish attributes there. Download link can be found at the top, as well as a video illustrating how the script works. Enjoy!
  9. Thank you. :) I originally made this only for my own project, but I will definitely release it when I feel like it's ready. It's perfectly playable at the moment with only a few minor bugs, but I still have some stuff I want to add.
  10. Thanks! There is simply not enough stuff to make this server-side without causing very noticable lag, and that's assuming you can replicate all the features. It's a pipe dream and I highly doubt you'll be seeing that anytime soon without causing massive lag. Zombies and NPC HLC (really well made and well known server-side scripts) are the biggest example of this. That being said, the peds will still respond to what other players do in your screen. The script's main purpose is to fill the space and make the world feel alive, not to roleplay with 300 other fake players. Another reason I have no plans to even attempt server-side sync is that some players might want to change certain things such as reducing maximum ped count in a certain area, change their spawning radius, despawn radius, chase duration, panic distance, police chance and attitude, gang attitude etc. etc. which can give them a performance boost if their computer can't handle the script. The script is optimised from head to toe but after a point you will feel the performance impact of having so many peds on your screen with their own brains.
  11. Hello everyone. Before anything else, this script works client-side and it will not disrupt the server-side balance and it will NOT cause lag. It's a showcase, download is not available yet but there is a test server you can join. Explanation: This is a script we've been working on. It introduces peds all around the map with custom attitudes of their own. All killed peds will drop some amount of cash, and their weapon if they have one. When you alt tab, the "game" will pause like the single player. The bullets and the peds will freeze. When you alt-tab back on, everything will continue from the last second you left it on. Peds: Peds will be minding their own business and they are not hostile unles provoked. They will react to world events such as someone walking past them, gunshots, explosions, vehicles near them and obstacles. They will put their hands up when threathened and start running or fight back. Some of them will defend when attacked,ome of them will run. Some of them will even defend others from trouble. A few of them have some custom behaviors but I won't spoil that. Most of them will be unarmed but some of them will carry weapons. They prefer melee weapons such as a bat or a knife, but there are some paranoid nutjobs who can't go outside without a gun. Cops: If the police is near, commiting a crime will alert them and your wanted level will increase. As your wanted level goes up, more dangerous cops will start chasing you. You can stay away the police in order to reduce your wanted level, or find bail pickup I put around the map. All of them can be found in their original San Andreas locations, as well ass some I have added to suit the gamemode. That's not all though! If a ped kills another ped, the police will be agressive towards them instead. If a ped punches another, they will respond back. Some of them will defend their friends, some of them will bail etc.- This makes the world feel alive. Military/Swat: They will be introduced when your wanted level is above 4 stars. They will carry more dangerous weapons such as Deagle, M4 and MP5. They will reward you with really good EXP when killed, but they are really challenging. Gangs: In suitable ares, gang members will spawn as groups. They will all carry weapons and they will defend their group when one of them is attacked. Mafia: The mafia will spawn in certain areas, mostly being San Fierro. They are not agressive unless provoked, and they are REALLY dangerous. They will grant good loot and experience if you have the balls to mess with them. There are more features I couldn't show off because I don't want to make the video too long to sit through. Check the description in the video if you want to play-test the script. Have a good one! Screenshots:
×
×
  • Create New...