Jump to content

hardsty1e

Members
  • Posts

    59
  • Joined

  • Last visited

 Content Type 

Forums

Gallery

Downloads

Tutorials

News Stories

Wiki

Community Guidelines

LSPDFR BOLO Series

GTA5 Native Database

GTA5 Native Parameters

Release Highlights

LSPDFR Mod Showcase

LML User Contributions

Everything posted by hardsty1e

  1. ​if you want to do the work be my guest lol IV:MemBiter - Read and write GTA IV vehicle memory addresses directly from Dot.net. Update 1.1 There is also new feature, that enables you to read/write parameters for other entities as well (peds/objects... ). "You should be able to edit any parameter, as long as you pass the right address and offset to MemBiter." iriedreadlock23
  2. ​oh i'm 12 because i don't agree with the majority of the ppl who say it's impossible or is it because i'm telling you to back your false statements with some real facts? explain your logic why this is impossible instead of saying the logic was solid lmfao. your logic is to agree with the majority like a lemming. i'm done with you little buddy. http://www.gtamodding.com/wiki/TASK_CAR_TEMP_ACTION Tasks: 1: slows down softly 2: slows down hardly and unusable for ever 3: slows down softly and then drive backwards 4: slows down hardly and turns left while slowing down 5: slows down hardly and turns right while slowing down 6: slows down hardly 7: turns (left) 8: turns (right) 9: drive forwards (with a high rpm) 10: soft turn (right) 11: soft turn (left) vehicle[] av = world.getallvehicles(model.fromstring("ambulance")); ped[] pv = world.getallpeds(); for (int i = 0; i < av.length; i++) { if (!exists(av) && av.speed <= 15f) { continue; } gta.native.function.call(get_driver_of_car, av, pv); gta.native.function.call(task_car_temp_action, pv, av, 1, 1000); //av.speed = 10f; } emergencycall sco decompiled. GET_CHAR_COORDINATES( sub_1061(), ref l_U115._fU0, ref l_U115._fU4, ref l_U115._fU8 ); GET_NTH_CLOSEST_CAR_NODE( l_U115._fU0, l_U115._fU4, l_U115._fU8, 40, ref l_U121._fU0, ref l_U121._fU4, ref l_U121._fU8 ); GET_NTH_CLOSEST_CAR_NODE( l_U115._fU0, l_U115._fU4, l_U115._fU8, 5, ref l_U118._fU0, ref l_U118._fU4, ref l_U118._fU8 ); if (l_U139 > 15) { l_U102 = 6; } if (l_U103 == 1) { if (CREATE_EMERGENCY_SERVICES_CAR_RETURN_DRIVER( l_U262, l_U118._fU0, l_U118._fU4, l_U118._fU8, ref l_U273, ref l_U280, ref l_U277 )) { if (IS_VEH_DRIVEABLE( l_U273 )) { if (NOT (IS_CHAR_INJURED( l_U280 ))) { SET_CHAR_AS_MISSION_CHAR( l_U280 ); SET_LOAD_COLLISION_FOR_CHAR_FLAG( l_U280, 0 ); TASK_CAR_DRIVE_TO_COORD( l_U280, l_U273, l_U118._fU0, l_U118._fU4, l_U118._fU8, 8.00000000, 0, l_U262, 2, 5.00000000, 20 ); SWITCH_CAR_SIREN( l_U273, 1 ); SET_INFORM_RESPECTED_FRIENDS( l_U280, 999, 999 ); FORCE_CAR_LIGHTS( l_U273, 2 ); SET_HAS_BEEN_OWNED_BY_PLAYER( l_U273, 0 ); LOCK_CAR_DOORS( l_U273, 1 ); sub_12865(); } if (NOT (IS_CHAR_INJURED( l_U277 ))) { SET_CHAR_AS_MISSION_CHAR( l_U277 ); SET_LOAD_COLLISION_FOR_CHAR_FLAG( l_U277, 0 ); SET_INFORM_RESPECTED_FRIENDS( l_U277, 999, 999 ); } } GET_GAME_TIMER( ref l_U133 ); l_U102 = 3; } .... if (NOT (IS_CHAR_INJURED( l_U280 ))) { CLEAR_CHAR_TASKS( l_U280 ); SET_CHAR_KEEP_TASK( l_U280, 1 ); if (l_U102 == 3) { if (IS_VEH_DRIVEABLE( l_U273 )) { TASK_CAR_DRIVE_WANDER( l_U280, l_U273, 10, 6 ); } } if (l_U102 == 4) { if (IS_VEH_DRIVEABLE( l_U274 )) { TASK_CAR_DRIVE_WANDER( l_U280, l_U274, 10, 6 ); } } if (l_U102 == 5) { if (IS_VEH_DRIVEABLE( l_U275 )) { TASK_CAR_DRIVE_WANDER( l_U280, l_U275, 10, 6 ); } } MARK_CHAR_AS_NO_LONGER_NEEDED( ref l_U280 ); l_U280 = nil; }
  3. lol... lets see your research about how this is impossible then report back to me when you have the proper info.
  4. ah ok but editing the hardcored memory with cheat engine would mean it isn't impossible to change/improve. I could even change the game's sco script for "emergencycall" which sets up ambulance event.
  5. you just contradict yourself lol, improving ai is impossible but slight improvement could work, yeahhh makes sense .
  6. Maybe JulioNIB scripted traffic lights to turn green in his watchdog mod could work but why do that when you can make it how they do it nowadays by having peds slow down to a stop at traffic lights when siren is on, would make alot more sense lol...
  7. the animation name would be some where along "take bank money from atm" i think... trying to remember where i've seen that animation before. Edit: i think i found it. [ amb@atm.wad - f_insertcard ] nvm Shekure found it.
  8. should be a real simple mod to create, ill see if i can come up with something better for myself lol.
  9. had kung fu mod installed one day then went online to try out a sick combo
  10. here's a snippet of ghostriders chain weapon source code. will help you with native parameters - http://pastebin.com/h5Qnbsgd
  11. if you wanted to make it rope like then have a look at JulioNIB's ghost rider mod. he has some nice physics for his chain weapon. his blog explains about how he does it . http://gtaxscripting.blogspot.com/2013/02/script-ghost-rider-my-second-script.html JulioNIB has alot of good tutorials that might be useful to you and came across this tut about creating WDR object & adding collision to them. http://gtaxscripting.blogspot.com/2014/11/tut-gta-iv-wdr-object-with-custom-name.html gl
  12. Native.Function.Call("DRAW_CURVED_WINDOW", 0.1, 0.11, 0.2, 0.25, 200) (can't change window color only its size and offsets use "DRAW_RECT" instead) Native.Function.Call("DRAW_RECT", 0.5000, 0.5000, 1.0000, 1.0000, 0, 0, 0, 167) Native.Function.Call("PRINT_STRING_WITH_LITERAL_STRING_NOW, "string", text, 5000, true) void Text() { Function.Call("SET_TEXT_FONT", 1); Function.Call("SET_TEXT_BACKGROUND", 0); Function.Call("SET_TEXT_SCALE", 0.35, 0.65); Function.Call("SET_TEXT_COLOUR", 255, 0, 0, 255); Function.Call("SET_TEXT_EDGE", 1, 0, 0, 0, 0); Function.Call("SET_TEXT_RIGHT_JUSTIFY", 0); Function.Call("SET_TEXT_DROPSHADOW", 0, 255, 255, 255, 255); } no need for lcpdfr advanced api http://gtaxscripting.blogspot.com/2013/07/tut-drawing-shapes-and-text-on-screen.html
  13. this was one of my old projects but is still unfinished. i've made two versions, one is if vehicle is speeding then you shoot one of the front tires and other is if the vehicles engine starts to smoke also traveling at high speed. alpha demo the idea was from gtav alpha gameplay trailer 1:45 https://www.youtube.com/watch?v=Tjxo_0GKEY8
  14. Could you please add a toggle for "System.Speech.Synthesis" because this causes memory leaks for everyone.
  15. Nice release gangrenn, your menu style & functions looks great. I also included "System.Speech" namespace into my project but after a lot of testing, i've saw that there was memory leak issue. The memory usage gets bigger over time until it reaches the limit then crashes for everyone, but I couldn't find a fix although there is another alternative using sapi.dll. Memory leak in .Net Speech.Synthesizer? http://stackoverflow.com/questions/10707187/memory-leak-in-net-speech-synthesizer Hope that helps, public void Helper(object sender, GraphicsEventArgs e) { e.Graphics.Scaling = FontScaling.ScreenUnits; e.Graphics.DrawText("Memory: " + (Process.GetCurrentProcess().PrivateMemorySize64 / 1024).ToString() + " KB", 0.63f, 0.8f); }
  16. that's true, unless you add some type of plot twist for some situations idk...
  17. how would it be impossible to search for DNA(custom object / vehicle / gun? ), fingerprints(custom object / gun / vehicle), & suspects to investigate? also when was the last time GTAIV pedestrians didn't make facial expressions... this isn't impossible but could be time consuming making alot of random custom events for dynamic situations and replayability. GTAIV Natives TASK_PLAY_ANIM_FACIAL START_CHAR_FACIAL_TALK STOP_CHAR_FACIAL_TALK SET_PLAYER_MOOD_NORMAL SET_PLAYER_MOOD_PISSED_OFF
  18. I could make this script if someone knows how these two network natives work. NETWORK_GET_PLAYER_ID_OF_NEXT_TEXT_CHAT NETWORK_GET_NEXT_TEXT_CHAT
  19. hopefully this time the console dev's don't release open source freeze mods https://www.youtube.com/watch?v=UgdGKx7S_hU
  20. I am also doing a small project awhile back for speech recongnition with "system.speech.recognition" but I am getting memory leaks... Did you have issues like this?
×
×
  • Create New...