Rickyz1992 Posted January 18, 2008 Share Posted January 18, 2008 is the script from this video released yet? or could someone make it. or could someone just make something that creates Paintspots, then i can make it comeout of an weapon. please help. Link to comment
Magus1724 Posted January 20, 2008 Share Posted January 20, 2008 I actually played on a server with exploding bullets last night (was hella fun ) and it reminded me of the paintball tutorial. I would like to see this too, is the source for that script available? I don't think it was ever part of the scripting tutorials, but I'd love to get the sample for it Link to comment
Rickyz1992 Posted January 20, 2008 Author Share Posted January 20, 2008 me 2, exploding bullets are easy Link to comment
norby89 Posted January 20, 2008 Share Posted January 20, 2008 me 2, exploding bullets are easy it's the same deal, you don't create explosions but a small corona (you might wanna attach it if the element is moving, for example a player) Link to comment
Rickyz1992 Posted January 20, 2008 Author Share Posted January 20, 2008 thx, i am gonna try this ^^, edit: it kinda worked but the limit just let me shoot 64 Link to comment
norby89 Posted January 20, 2008 Share Posted January 20, 2008 thx, i am gonna try this ^^, edit: it kinda worked but the limit just let me shoot 64 you can shoot more but GTA limits the visible coronas to 64 Link to comment
Rickyz1992 Posted January 20, 2008 Author Share Posted January 20, 2008 me 2, exploding bullets are easy it's the same deal, you don't create explosions but a small corona (you might wanna attach it if the element is moving, for example a player) how could i attach it i tryed alot of ways, but it never worked Link to comment
norby89 Posted January 20, 2008 Share Posted January 20, 2008 me 2, exploding bullets are easy it's the same deal, you don't create explosions but a small corona (you might wanna attach it if the element is moving, for example a player) how could i attach it i tryed alot of ways, but it never worked you can try with onClientWeaponFire, it has a hitElement argument, if that exists you need to calculate the offsets ( a bit tricky ) and attach the marker to it Link to comment
Rickyz1992 Posted January 21, 2008 Author Share Posted January 21, 2008 thanx, i am trying it. Link to comment
Hell_Demon Posted January 23, 2008 Share Posted January 23, 2008 getElementPosition the element it hitted offsetx=elementx-hitx offsety=elementy-hity offsetz=elementz-hitz then you set XYZ of corona to elementz+offsetx Link to comment
norby89 Posted January 23, 2008 Share Posted January 23, 2008 getElementPosition the element it hittedoffsetx=elementx-hitx offsety=elementy-hity offsetz=elementz-hitz then you set XYZ of corona to elementz+offsetx I believe it's not that easy because of the way attachElementToElement works, for example if you attach an orb to a player with the ( 0 -1 0 ) offsets, the orb will always be positioned to the back of the player regardless of his rotation however you can calculate the right offsets using trigonometry Link to comment
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