aceship Posted December 21, 2008 Share Posted December 21, 2008 So is My Knife Hit People But Not Knocks Them Down? ,Is There Any Thing To Bring The Projectile to Bullet Damage To ppl? Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058792342 Share on other sites More sharing options...
Costar Posted December 21, 2008 Share Posted December 21, 2008 ace- I'd say that your knife wont knock ppl down cuz it doesnt have sufficient "weight" "mass".. Jus like in reality, a brick is heavier than a knife.. So unless you can find a way to edit the knife's properties to act like a HEAVY object then ... Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058792462 Share on other sites More sharing options...
lessthan3 Posted December 21, 2008 Share Posted December 21, 2008 It says projectile and bullet, shouldn't it be a physics object? Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058792468 Share on other sites More sharing options...
aceship Posted December 21, 2008 Share Posted December 21, 2008 (edited) So ,Can Be The Knive Acts Like A bullet? It Cannot Only Push Ppl But Add some Damage Like Bullet edit: I found The mass and Weight In Object.dat ,i don't Know If it Right or not I found this on the object.dat ; (A) Object Name [256 chars max] ; (B) Mass [kilograms 1 to 50000] ; © TurnMass [kg m^3 or some such dimension] ; (D) Air Resistance [scale 0 (total resistance) to 1 (zero resistance)] ; (E) Elasticity [scale 0 (no bounce) to 1 (full bounce)] ; (F) Percent Submerged [percentage 10 to 120] ; (G) Uproot Limit [force magnitude required to uproot] ; (H) Collision Damage Multiplier [0.1 - 5.0 ish] ; ; (I) Collision Damage Effect ; 0:none ; 1:change_model ; 20:smash_completely ; 21:change_then_smash ; 200:breakable ; 202:breakable then removed (ie. never regenerated after destroyed) ; ; (J) Special Collision Response Cases ; 0:none(default) ; 1:lampost ; 2:smallbox ; 3:bigbox ; 4:fencepart ; 5:grenade ; 6:SWINGDOOR ; 7:LOCKDOOR ; 8:HANGING ; 9:OB_COL_POOLBALL ; ; (K) Camera to avoid this object (0) for no (1) for yes ; ; (L) Causes Explosion - if this is no zero then an effect must be specified which is played when this object explodes Edited December 21, 2008 by aceship Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058792509 Share on other sites More sharing options...
Costar Posted December 21, 2008 Share Posted December 21, 2008 Well heck, edit it to do so & see if it does ace .. I jus tried puttin a cop in the gun, lol he fires out of it too BUT you can't see him, you jus see his blood spatter on somethin, you can see that his body impacts ppl or objects but jus cant see his body yet ... Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058792852 Share on other sites More sharing options...
aceship Posted December 21, 2008 Share Posted December 21, 2008 It likely You To much add physic force in the projectile or weapon range on the weapon ,This can Add some Strengh To the Projectile To push ,But it seems Your Projectile Are Too Fast That Can Push Someone Into The Space I Already Tried To Change The object .dat But it Seems Nothing Chance After All If Anyone Tried That And Got A success Please tell "We" how to do it Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058793180 Share on other sites More sharing options...
lessthan3 Posted December 21, 2008 Share Posted December 21, 2008 I found a value for GunshotFired in the ShockingEvents.dat file, now I just need help finding where exactly this is mentioned in the weapon files, so I can change it for each separate weapon. The xml file doesn't mention that. Theoretically I would then just be able to switch the gunshot to something that isn't a gunshot and isn't threatening unless watched, such as SeenMeleeAction and that would effectively make the weapon suppressed. Anyone know where I might want to look for that one? Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058793661 Share on other sites More sharing options...
Costar Posted December 21, 2008 Share Posted December 21, 2008 lessthan - There are some behaviors you can see in pedpersonality, arent so much worded like that but generally it lists what individual peds/cops do, like "murderattack" so they see a murder they attack you or whoever did it. "murdercallpolice", "watchfight" etc .. I was thinkin of a way to alter the values in shockingevents so that w/ each event you can decide what ppl react to or dont or how they react.. The fuzzy thing is, alotta the things in the file pretty much anyone can react to by running away like gunshot, helioverhead, seencarstolen, gunfight, explosion, I mean all of those I've seen peds run away.. Some (as defined in ped personality I guess) will do something different, ram into you or your car w/ theirs, fight you, shoot you etc .. I can say this, I did manage a few weeks ago to get the cops to kinda runaway so they dont chase or shoot me but I've edited quite abita stuff I'm not 100% on ATM. I wish they woulda put more details in SHevents, cuz I can only speculate what H W G A F stands for.. I wonder if for now the "watch times" can be set high to generally make ppl stand and watch, then again, I wondered if that leaves random ppl cuz the others in the pedpersonality will run away regardless. hmm.. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058793751 Share on other sites More sharing options...
The_Serion Posted December 22, 2008 Share Posted December 22, 2008 I have to say Guys, I think Im going to become a permanent resident here, you guys are very helpful and friendly. Thanks for posting the whole rocket pistol code, with this, I shall add it to my MP5 and the cops wont be able to touch me. Bwahhahahah. Until that is, they start shooting Reason I wanted it for the deagle, is because cops don't use deagles Thanks so much guys, Hours of fun with this new code. I'm sure you'll see me posting in other areas around the forum aswell. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058794178 Share on other sites More sharing options...
JostVice Posted December 22, 2008 Share Posted December 22, 2008 Hey there, I though it would be a good idea to start cleaning info around here, so I made a page about this file on the wiki: Weaponinfo.xml on gtamodding.com You can log in with your GTANet account and edit the page as you want. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058795585 Share on other sites More sharing options...
Costar Posted December 22, 2008 Share Posted December 22, 2008 ace- I dint realize, I thought you found somethin diff.. I only found I think "knifecur" in object.dat but that dint seem to affect it so unless someone knows where to find the weapon-knife properties.. As for the force, its not that, I'm simply not able to implement the "skin" for lacka better word.. I can alter certain values where the cop shoots out like a "bullet" fast/far or where the body just practically falls outta the gun, I can hear when I fire, the body plop on the ground beside me... Otherwise I can shoot it into somethin, see blood spats & hear it fall or whaever and ofcoruse it then explodes.. You can also see people get knocked down, cars move etc when he is fired into them, I've just not figured out how to make the body visible yet .. Serion, its cool havin you here, I really liked your MP5, its the funniest watchin ppl shoot off like rockets & such, lol Only thing I've seen is sometimes doesnt want to fire from inside the car.. Yea so why not put the rocket into the Deagle and keep your MP5 as it is ? THe code I posted was using the DEAGLE! Heck put a rocket into the AK47, thats where I had put Res's rocket w/ "ship_destroy" explosion, after someone suggested it. That explosion is HUGE, largest of all, but it does require abit more work to create that one. I then tried others like HI_OCTANE I think .. somewhat smaller explosions.. Jost - that loox really neat, well-organized! Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058797135 Share on other sites More sharing options...
aceship Posted December 22, 2008 Share Posted December 22, 2008 (edited) i got something,if you use sniper rifle and change the timebeetwenshot,it can be faster than uzi ,m4 ,mp5. It Just some Tweaking When I killed by another enemies weapon that i tweaked, so i choose sniper and delete the first person flag,it just like m4 but faster and better. Btw How to Use The Sniper While I'm Walking? Edit: Costar:sorry For making A trouble ,And What is action_table.xls for? Edited December 22, 2008 by aceship Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058797158 Share on other sites More sharing options...
lessthan3 Posted December 22, 2008 Share Posted December 22, 2008 Where is the information about accuracy? I saw the chouchoffset and those but they're really just for the crosshair, right? Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058797960 Share on other sites More sharing options...
aceship Posted December 23, 2008 Share Posted December 23, 2008 there are script now, so can anyone build the weapon spawner? my computer gta4 crash when load it, so not for me i guess. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058799449 Share on other sites More sharing options...
Mcwaffle Posted December 23, 2008 Share Posted December 23, 2008 How would you successfully edit the pistol to shoot rockets like in Opium_addicts videos on youtube? I always end up with some weird results. Can somebody write me the code? Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058799559 Share on other sites More sharing options...
aceship Posted December 23, 2008 Share Posted December 23, 2008 I made a nailgun That previously crashed,it use amb_nailgun and use small pistol animation Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058801864 Share on other sites More sharing options...
Costar Posted December 24, 2008 Share Posted December 24, 2008 How would you successfully edit the pistol to shoot rockets like in Opium_addicts videos on youtube? I always end up with some weird results. Can somebody write me the code? McWaffle, check back to Resignators post, he posted the code for the pistol rocket, page (5) 6th post, down ... Be warned when you do this using the pistol, you know that any ped w/ the handgun or cop will have the same ability as you ... Your other option is to use the Deagle its the handgun in the Weapons Tier 1, its unique to you . I am not sure if later in the game during certain missions a drug dealer or someone might have it.. I've only been doin some modding not so much playing missions .. ace- I havent lookt at action_table " wonders where Res is ", he's good w/ this stuff .. Yea it seems like only certain things can be used as weapons, I'm not an expert tho .. I've tried diff tools/objects but they dont work, cept that dogon brick6, odd .. I kinda gave up on the cop bullet, lol .. I had even tried spawning a car at one point and it spawned sorta "on top" of Niko, not so much it appeared on top of his body as if he lay under it but more like it became his head, lol .. All you could see was the dash of the car and the gun appeared inside it. O well .. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058805901 Share on other sites More sharing options...
resignator Posted December 25, 2008 Author Share Posted December 25, 2008 How would you successfully edit the pistol to shoot rockets like in Opium_addicts videos on youtube? I always end up with some weird results. Can somebody write me the code? McWaffle, check back to Resignators post, he posted the code for the pistol rocket, page (5) 6th post, down ... Be warned when you do this using the pistol, you know that any ped w/ the handgun or cop will have the same ability as you ... Your other option is to use the Deagle its the handgun in the Weapons Tier 1, its unique to you . I am not sure if later in the game during certain missions a drug dealer or someone might have it.. I've only been doin some modding not so much playing missions .. ace- I havent lookt at action_table " wonders where Res is ", he's good w/ this stuff .. Yea it seems like only certain things can be used as weapons, I'm not an expert tho .. I've tried diff tools/objects but they dont work, cept that dogon brick6, odd .. I kinda gave up on the cop bullet, lol .. I had even tried spawning a car at one point and it spawned sorta "on top" of Niko, not so much it appeared on top of his body as if he lay under it but more like it became his head, lol .. All you could see was the dash of the car and the gun appeared inside it. O well .. Ace...action_table.csv looks like it contains hit reaction animations for Niko and the AI. You can use it to do things like make the AI react like they are getting cut by a knife when Niko is kicking them. Costar...I remember you talking about your cop bullet. I dont have time to check atm but my big guess is you have added impact data to the weapon and not the cop model to the projectile. If that isnt the case, then I bet projectiles and thrown weapons have to have an entry in another file somewhere to define their flight characteristics and such. Perhaps, objects.dat holds the key. You could add your cop model there and define it to test. Hope this helps... Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058807768 Share on other sites More sharing options...
aceship Posted December 25, 2008 Share Posted December 25, 2008 so we can use it to make projectile To Hit People Like Being Cut?! It will Be Perfect For My KnifeUzi! Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058807802 Share on other sites More sharing options...
resignator Posted December 25, 2008 Author Share Posted December 25, 2008 so we can use it to make projectile To Hit People Like Being Cut?!It will Be Perfect For My KnifeUzi! I didnt see any projectiles such as bullets being defined in there. If they were you would be able to make people act like they are being hit by a knife when they are shot. It has nothing to do with making the bullet model a knife one if that is what you are getting at....it only alters the reaction. That file looks like it also contains attack move data. So you could change Niko's normal punch to a kick, etc. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058807885 Share on other sites More sharing options...
aceship Posted December 25, 2008 Share Posted December 25, 2008 I didn't Say About Changing Model ,All i Say is To Change The Reaction Of People To Not Ducking And Rolling Because projectile Are Force Them To Do That ,But Reacting Like hitted By bullet Is That Can Be Done? Edit: I already Make that , so only The reaction Is Not Done Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058807919 Share on other sites More sharing options...
resignator Posted December 25, 2008 Author Share Posted December 25, 2008 I didn't Say About Changing Model ,All i Say is To Change The Reaction Of People To Not Ducking And Rolling Because projectile Are Force Them To Do That ,But Reacting Like hitted By bullet Is That Can Be Done? Edit: I already Make that , so only The reaction Is Not Done Didnt see any projectile impact reaction types in there. Also, after looking at it for the third time I think it only contains Niko's reactions, moves, attacks, etc. There is no ped data in there at all. Will check it again later when I am not so tired Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058807966 Share on other sites More sharing options...
aceship Posted December 25, 2008 Share Posted December 25, 2008 (edited) What is CrackHead Anyway? And How To change all Car into A taxi(All Car Can Be A Taxi Like) Edited December 25, 2008 by aceship Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058807987 Share on other sites More sharing options...
resignator Posted December 26, 2008 Author Share Posted December 26, 2008 What is CrackHead Anyway?And How To change all Car into A taxi(All Car Can Be A Taxi Like) Crackhead just means I post here very often. Making all cars able to taxi wont be easy. First, you are going to have to figure out how to get the taxi dash in every car or at least provide a way to select different waypoints. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058811674 Share on other sites More sharing options...
Stone-D Posted December 26, 2008 Share Posted December 26, 2008 As this thread is about weapons editing primarily, I'd just like to point out my thread on playing with fire. I've successfully created incendiary bullets - any bullet can be made incendiary, but it gets ridiculous so the sample I posted only alters the deagle. Its admittedly more fun doing drivebys with the MP5, though... Download and extract to your base GTAIV directory (where the exe is). In case of problems, there is only one file : bloodfx.dat This file goes in \Grand Theft Auto IV\common\data\effects Incendiary Bullets Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058811966 Share on other sites More sharing options...
Costar Posted December 27, 2008 Share Posted December 27, 2008 Ace...action_table.csv looks like it contains hit reaction animations for Niko and the AI. You can use it to do things like make the AI react like they are getting cut by a knife when Niko is kicking them. Costar...I remember you talking about your cop bullet. I dont have time to check atm but my big guess is you have added impact data to the weapon and not the cop model to the projectile. If that isnt the case, then I bet projectiles and thrown weapons have to have an entry in another file somewhere to define their flight characteristics and such. Perhaps, objects.dat holds the key. You could add your cop model there and define it to test. Hope this helps... I had put the cop model in the projectile section I think it was &/ or at the asset section .. It still dint make the body appear, I can't be sure how reliable it was as I kept changing things so much to get the body to appear and I was having lockups so.. I think in that one version it was proly reliable where you could jus see the blood splats and ppl get knocked down, cars move upon impact etc.. Thats still kinda bad cuz as you can imagine, it'd be like throwing invisible grenades around, not sure exactly where they're at .. I even tried "create_ordnance" anything to get the body to be visible but no luck .. I wish we could more easily use objects as projectiles, make laser weapons just cool things. Frankly I wish we could destroy more of the environment, they atleast added better damage to vehicles/glass and even damage/cracks to impacted objects but still lacking.. Stone D, the human torch lol I'm guessin that is only temporary according to a "weapon" you have selected, otherwise I spose gettin in a car would pose a definite health hazard, as would an attempt to be intimate w/ your date LOL .. It all sounds pretty cool, so I'm guessin you basically made them using properties of molotovs ?! The weapon in the vid is the same as SWAT has tho isnt it ? I'll have to try the bullets when I have time. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058813778 Share on other sites More sharing options...
averybign00bert Posted December 27, 2008 Share Posted December 27, 2008 omg thank you so much for that unaltered link... it sure saved me Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058814255 Share on other sites More sharing options...
resignator Posted December 27, 2008 Author Share Posted December 27, 2008 omg thank you so much for that unaltered link... it sure saved me Some people never learn Kidding of course, glad I could help. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058815691 Share on other sites More sharing options...
Costar Posted December 27, 2008 Share Posted December 27, 2008 It seemt to me you'd have had to do more than this but I switched out the bloodfx Stone but the result produced was that of frags of "paper", no "flame bullets" .. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058816285 Share on other sites More sharing options...
aceship Posted December 27, 2008 Share Posted December 27, 2008 (edited) My Best ten Original Weapon With Spawner. Link http://www.mediafire.com/?sharekey=da1cee2d35c6be9fd2db6fb9a8902bda Copy Weaponinfo to Common/Data Folder And Copy Weapon Spawner To Alice Folder Edit: Must! Add This () On if (IsKeyPressed(96) == 1) then ExSkeletonBaseballBat Wait(2000) end OnExSkeletonBaseballBatAdd It After ExSkeletonBaseballBat Edited December 27, 2008 by aceship Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/4/#findComment-1058816542 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now