Marcel051182 Posted December 27, 2008 Share Posted December 27, 2008 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 i become one Error message wenn i use your script? whats wrong Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058816572 Share on other sites More sharing options...
aceship Posted December 27, 2008 Share Posted December 27, 2008 My Post Has Been edited, Forgot It Too Much Problem, Not Bug Thought Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058816612 Share on other sites More sharing options...
Marcel051182 Posted December 27, 2008 Share Posted December 27, 2008 (edited) error Message "Unknown Native Get_Player_id Edited December 27, 2008 by Marcel051182 Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058816628 Share on other sites More sharing options...
aceship Posted December 27, 2008 Share Posted December 27, 2008 Maybe You Are Too Much Editing A Script, To Help This Make A new Lua File, Copy Your Lua To The New Lua , Set nAme , Delete The Old One, And Done,Thats My Script Works Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058816999 Share on other sites More sharing options...
Marcel051182 Posted December 28, 2008 Share Posted December 28, 2008 thx its working Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058817037 Share on other sites More sharing options...
Costar Posted December 28, 2008 Share Posted December 28, 2008 (edited) ace- What is this "Alice" folder, I dont have a folder named "Alice" in my games directory.. Are you referring to the "Script" folder ? The following is what I used for the AK47, ofcourse it still fires the same rapid-succession but w/ rockets and I used the HI_OCTANE for explosion type. This is a snap of what the explosion loox like, since vid editor dont display such things.. I simply altered some values in explosionFx.dat http://img84.imageshack.us/img84/521/ak47explosub9.jpg The line in explosionFx.dat HI_OCTANE 500.0 400.0 2.0 1.0 20.0 100.0 -2.0 90.0 0.0080 0.0 0.0 exp_fireball exp_fireball_air 1.0 0 0 0.0 0.0 0.5 EXPLOSION 0 0.8 0.1 4.1 450.0 24.0 1.5 2 _______________________________________________________________ I highlight in red what I altered in Weaponinfo.xml <weapon type="AK47"> <data slot="RIFLE" firetype="PROJECTILE" damagetype="EXPLOSIVE" group="ROCKET" targetrange="900.0" weaponrange="600.0" clipsize="750" ammomax="1600" timebetweenshots="133"> <damage base="30" networkplayermod="2.0" networkpedmod="1.0"/> <physics force="75.0"/> <reload time="1066" fasttime="1066" crouchtime="2066"/> <aiming accuracy="0.5"> <offset x="0.16" y="1.0" z="0.55"/> <crouchedoffset x="0.1" y="1.0" z="0.12"/> <reticule standing="0.6" ducked="0.5" scale="0.3"/> </aiming> <pickup regentime="480000" ammoonstreet="80"/> <controller> <rumble duration="90" intensity="0.1"/> </controller> <flags> <flag>GUN</flag> <flag>CAN_AIM</flag> <flag>CAN_FREE_AIM</flag> <flag>ANIM_RELOAD</flag> <flag>ANIM_CROUCH_FIRE</flag> <flag>2HANDED</flag> </flags> <projectile> <typetocreate type="EPISODIC_2"/> <offset x="180.54" y="0.0" z="0.055"/> <rotoffset x="0.0" y="0.0" z="-1.571"/> </projectile> </data> <assets model="w_ak47"> <anim group="gun@ak47"> <rates firerate="1.2" blindfirerate="1.2"/> </anim> <effects> <muzzle fx="muz_machine"/> <shell fx="weap_ejected_rifle"/> </effects> </assets> </weapon> Now for the "EPISODIC_2" part, I originally entered this at the end of the "Weaponinfo.xml" file doesnt matter where really so long as the format remains consistent that weapons begin and end <weapon type="name"> ..... </weapon> It may be more convenient to enter these near the weapon they belong to.. <weapon type="EPISODIC_2"> <data slot="THROWN" firetype="PROJECTILE" damagetype="EXPLOSIVE" group="ROCKET" targetrange="900.0" weaponrange="500.0" clipsize="750" stattype="RLAUNCHER"> <damage networkplayermod="1.0" networkpedmod="1.0"/> <aiming accuracy="1.0"> <offset x="0.0" y="1.0" z="0.0"/> <crouchedoffset x="0.0" y="1.0" z="0.0"/> <reticule standing="0.65" ducked="0.55" scale="0.3"/> </aiming> <pickup regentime="360000" ammoonstreet="750"/> <controller> <rumble duration="0" intensity="0.0"/> </controller> <flags> <flag>THROWN</flag> </flags> <projectile type="ROCKET"> <explosion type="HI_OCTANE"/> <physics force="300.0"/> </projectile> </data> <assets model="cj_rpg_rocket"> <effects> <trail fx="weap_rocket_player"/> </effects> </assets> </weapon> Edited December 28, 2008 by Costar Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058819069 Share on other sites More sharing options...
aceship Posted December 28, 2008 Share Posted December 28, 2008 (edited) See the first alice forum,And Download that, i heard alex is updatimg the alice, i don't know when finished, but i think its great i think you edited the color of your explosion Edited December 28, 2008 by aceship Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058819242 Share on other sites More sharing options...
Costar Posted December 28, 2008 Share Posted December 28, 2008 O ok, I had read something about "Alice" elsewhere but dint know what it was .. I'll have to check that out then .. Yea, I edited the colors, Res had his "SHIP_DESTROY" have a green flash .. so I jus edited color a lil I've not playt much w/ them but its jus diff to look at. I dont understand why those colors dont show up in your video when you capture ... Thats why I did a pic it loox cooler having the color flashes.. Say, I wondered if you knew or anyone, is there a place we can access our vids on our pc ? I've only captured a few things but dont want to upload to SClub, others load to YT so I wondered how they did it ? If is a place on your pc where the vids are stored and you can extract/alter upload elsewhere stead of to SClub.. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058819322 Share on other sites More sharing options...
aceship Posted December 28, 2008 Share Posted December 28, 2008 You Can Do it but, it will be harder than register in youtube and login and upload the video Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058819334 Share on other sites More sharing options...
resignator Posted December 28, 2008 Author Share Posted December 28, 2008 O ok, I had read something about "Alice" elsewhere but dint know what it was .. I'll have to check that out then .. Yea, I edited the colors, Res had his "SHIP_DESTROY" have a green flash .. so I jus edited color a lil I've not playt much w/ them but its jus diff to look at. I dont understand why those colors dont show up in your video when you capture ... Thats why I did a pic it loox cooler having the color flashes.. Say, I wondered if you knew or anyone, is there a place we can access our vids on our pc ? I've only captured a few things but dont want to upload to SClub, others load to YT so I wondered how they did it ? If is a place on your pc where the vids are stored and you can extract/alter upload elsewhere stead of to SClub.. You can find all your rendered videos under "My Documents\Rockstar Games\GTA IV\Videos\rendered". All movies rendered in the editor will show up there in .wmv format. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058819353 Share on other sites More sharing options...
aceship Posted December 28, 2008 Share Posted December 28, 2008 Where are the explosion forum? i cant search the tutorial of the changing the color, i am only know i have seen it before Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058819408 Share on other sites More sharing options...
resignator Posted December 28, 2008 Author Share Posted December 28, 2008 Where are the explosion forum?i cant search the tutorial of the changing the color, i am only know i have seen it before http://www.gtaforums.com/index.php?showtop...st&p=1058780925 Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058819580 Share on other sites More sharing options...
Costar Posted December 28, 2008 Share Posted December 28, 2008 Ty Res, I guess I dint "render" anything, tis empty.. but I do have them saved atleast, I thought thats all you needed to do but ... ace- I read several pages of the "Alice" topic, its good it seems but I see even you had to get the patch!! I wanted to know, has it caused you any problems, when the patch came out ppl reported lotsa problems, potentially those us thats modded their game files .. I was hoping to NOT have to revert all files back to original and not be able to edit them anymore after the patch ? If thats the case I'd proly soon do w/ out the patch, until I felt that the new scripting idea held enough reason for me to get it .. Invincibility is cool but heck gettin axed is sometimes cool footage.. I dont really have to worry about ppl shootin me cept in missions which I've never died much in missions, I dont have to worry about cops so .. I had some footage from that and I got really messt up las night, I was caught inside an "invisible box" at one of the cops barracades, a place where being able to "die" was necessary aside from reloading my game, so I wonder if Alex has or will institute a provision incase you play a mission, finish then get "stuck" and need to die or you lose all your previous progress from having to reload your game - in which he said the script dont load after reloading the game, only from start .. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058819687 Share on other sites More sharing options...
aceship Posted December 28, 2008 Share Posted December 28, 2008 you should backup your modified then, after that, update, if your modified one gone,copy what you need to the gta 4 folder,or where it was originally Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058819809 Share on other sites More sharing options...
Costar Posted December 29, 2008 Share Posted December 29, 2008 (edited) Welp, I do keep backups of all my files, I'm careful when making changes to keep the originals and then modded files apart from other changes if I'm not sure I can revert .. I think for now I'll hold off on the patch.. I decided to revise my viddy of "neutralized" cops.. http://www.youtube.com/watch?v=SJln0w14EE4 Edited December 29, 2008 by Costar Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058821207 Share on other sites More sharing options...
topeira Posted December 29, 2008 Share Posted December 29, 2008 hey guys do u have any idea how to make all the bullets fired from fire arms into having tracers? it seems like only about 30% of the bullets have tracers. i would like to make the tracers more common. the purpose to to have a better indication of where the bullets are flying. i like seeing a lot of whizzes and trails of bullets. sometimes it seems like bullets have tracers, sometimes they leave a trail of smoke behind and sometimes nothing. how can i control that? any ideas? Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058823136 Share on other sites More sharing options...
Costar Posted December 30, 2008 Share Posted December 30, 2008 (edited) Hi topeira, I havent tried but as I recall seeing the "trail.." effects for the rocket, I was thinkin maybe it'd be possible to use it as an effect.. I havent lookt for "tracers" for bullets so I don know if there is a setting for adjusting these, Edited December 30, 2008 by Costar Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058824569 Share on other sites More sharing options...
Kendeura Posted December 31, 2008 Share Posted December 31, 2008 I don't usually register to forums, Im more of a Lurker, but this thread caught my eye.I want to make the deagle (Or any gun infact) Shoot some Rockets, Is this possible by just editing the WeaponsInfo.xml? Yes, it is very simple. Here you go: <weapon type="PISTOL"> <data slot="HANDGUN" firetype="PROJECTILE" damagetype="EXPLOSIVE" group="ROCKET" targetrange="45.0" weaponrange="50.0" clipsize="17" ammomax="1500" timebetweenshots="333"> <damage base="25" networkplayermod="3.0" networkpedmod="1.0"/> <physics force="50.0"/> <reload time="2000" fasttime="2000" crouchtime="2000"/> <aiming accuracy="0.5"> <offset x="0.15" y="1.0" z="0.55"/> <crouchedoffset x="0.2" y="1.0" z="0.05"/> <reticule standing="0.65" ducked="0.55" scale="0.3"/> </aiming> <pickup regentime="120000" ammoonstreet="30"/> <controller> <rumble duration="110" intensity="0.02"/> </controller> <flags> <flag>GUN</flag> <flag>CAN_AIM</flag> <flag>CAN_FREE_AIM</flag> <flag>ANIM_RELOAD</flag> <flag>ANIM_CROUCH_FIRE</flag> </flags> <projectile> <typetocreate type="ROCKET"/> <offset x="0.54" y="0.0" z="0.055"/> <rotoffset x="0.0" y="0.0" z="-1.571"/> </projectile> </data> <assets model="w_glock"> <anim group="gun@handgun" meleegroup1="firearm_core"/> <effects> <muzzle fx="muz_pistol_small"/> <shell fx="weap_ejected_pistol"/> </effects> </assets></weapon> Have fun I used this, and after doing this my GTA won't boot, why? Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058828344 Share on other sites More sharing options...
MadsHilde Posted December 31, 2008 Share Posted December 31, 2008 WOW, we really need a guide like the one i post #1 just for GTAIV Handling Editor instead. Great job. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058828366 Share on other sites More sharing options...
rebel_36 Posted December 31, 2008 Share Posted December 31, 2008 btw resignator, you should correct the aiming stuff, its not only for auto aim, plus the offsets are for how niko is holding the weapon Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058828393 Share on other sites More sharing options...
aceship Posted December 31, 2008 Share Posted December 31, 2008 need to ask: How many <muzzle fx and <shell fx and <effects>? Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058828754 Share on other sites More sharing options...
resignator Posted January 5, 2009 Author Share Posted January 5, 2009 btw resignator, you should correct the aiming stuff, its not only for auto aim, plus the offsets are for how niko is holding the weapon Thanks, I will update. I havent been able to browse here as often. I just bought a new house and have been busy renovating it Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058848462 Share on other sites More sharing options...
Brayzie Posted January 5, 2009 Share Posted January 5, 2009 I didn't want to open a new topic for this question, so I'm gonna ask it here. How do I make a weapon spawn in certain place? Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058848886 Share on other sites More sharing options...
L0uNGeR Posted January 5, 2009 Share Posted January 5, 2009 That's far from the current topic, you should open a new topic for that, I am also interested in that. Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058849594 Share on other sites More sharing options...
jluk Posted January 13, 2009 Share Posted January 13, 2009 i have a friend which had been able to modify SMG to fire rockets, well the point is that if he press left mouse 1 time it fires one shot BUT the projectile fired divides into about 10 rockets so he makes bigger blast with 1 shot never getting out of ammo.. amazing IMHO.. does anyone knows which part of the XML do i have to modify to get the projectile divided? many thanks Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058875236 Share on other sites More sharing options...
aceship Posted January 13, 2009 Share Posted January 13, 2009 Maybe the projectile Clip Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058875533 Share on other sites More sharing options...
nick007 Posted January 13, 2009 Share Posted January 13, 2009 how do u make mega punch? Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058875903 Share on other sites More sharing options...
skaarlaw Posted January 13, 2009 Share Posted January 13, 2009 i have a friend which had been able to modify SMG to fire rockets, well the point is that if he press left mouse 1 time it fires one shot BUT the projectile fired divides into about 10 rockets so he makes bigger blast with 1 shot never getting out of ammo.. amazing IMHO.. does anyone knows which part of the XML do i have to modify to get the projectile divided? many thanks most likely using two creations i.e. creating a projectile, that shoots projectiles after a certain distance Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058875989 Share on other sites More sharing options...
Anna&I Posted January 15, 2009 Share Posted January 15, 2009 Do you think it will be possible to make exploding bullets ? ( the ammo will look like bullets , but will explode when hit target) Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058882177 Share on other sites More sharing options...
Flamingnun Posted January 16, 2009 Share Posted January 16, 2009 Anyone know how i can fix it so the chopper doesn't get randomly knocked off course when modded to fire rockets? Currently using: <weapon type="MINIGUN"> <data slot="HEAVY" firetype="PROJECTILE" damagetype="EXPLOSIVE" group="ROCKET" targetrange="10000.0" weaponrange="40000.0" clipsize="9999" timebetweenshots="36"> <damage base="1000" networkplayermod="2.0" networkpedmod="1.0"/> <physics force="50000.0"/> <reload time="3000" fasttime="3000" crouchtime="3000"/> <aiming accuracy="1.0"> <offset x="0.0" y="1.0" z="0.0"/> <crouchedoffset x="0.0" y="1.0" z="0.0"/> </aiming> <pickup regentime="0" ammoonstreet="500"/> <controller> <rumble duration="60" intensity="0.3"/> </controller> <projectile> <typetocreate type="ROCKET"/> <offset x="0.54" y="0.0" z="0.055"/> <rotoffset x="0.0" y="0.0" z="-1.571"/> </projectile> <flags> <flag>GUN</flag> <flag>CAN_FREE_AIM</flag> <flag>HEAVY</flag> </flags> </data> <assets> <effects> <muzzle fx="muz_machine"/> </effects> </assets></weapon> Also tried it with Grenade's, which is awesome, although has a tendancy to randomly explode the chopper and kill you when firing Link to comment https://gtaforums.com/topic/383690-doc-weaponinfoxml/page/5/#findComment-1058882728 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