GTA Modification Forums
Can I do these things with native script? mod player mass, 1st person view,
 |
|
 |
| |
playaindahood  |
|
Cooljunk Productions

Group: Members
Joined: Apr 4, 2008


|
| QUOTE (thaCURSEDpie @ Monday, Apr 9 2012, 13:26) | Change player mass: I don't know how to do this, sorry. I think it's hard-coded.
1st person view: already made, search on google or gtagarage . You'd best use C++ scripthook or .Net scripthook if you wanted to make this, though.
Bullets explode on impact: edit weaponinfo.xml (sorry, don't know a whole lot about that). Have a look on the wiki: gtamodding.com. Or... hook internal functions, find bullet impact, create explosion (very time-consuming and hard, but awesome if you get it to work ^^).
Hope this helps. | Looks like the only thing I will be able to do is first person view, as I want this all to be done with scripts only. no weapon.xml modifying. Thanks tho.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Fantaseb  |
|
One Nation, One Love, But Who? ;)

Group: BUSTED!
Joined: Oct 17, 2011


|
| QUOTE (playaindahood @ Monday, Apr 9 2012, 14:09) | | QUOTE (thaCURSEDpie @ Monday, Apr 9 2012, 13:26) | Change player mass: I don't know how to do this, sorry. I think it's hard-coded.
1st person view: already made, search on google or gtagarage . You'd best use C++ scripthook or .Net scripthook if you wanted to make this, though.
Bullets explode on impact: edit weaponinfo.xml (sorry, don't know a whole lot about that). Have a look on the wiki: gtamodding.com. Or... hook internal functions, find bullet impact, create explosion (very time-consuming and hard, but awesome if you get it to work ^^).
Hope this helps. |
Looks like the only thing I will be able to do is first person view, as I want this all to be done with scripts only. no weapon.xml modifying. Thanks tho. | So let me get this right you want you guns to shoot rockets from your guns like this? http://www.youtube.com/watch?v=-czYDR8ZZsgWell send me your weaponfile.xml for whatever version you are using and I will do it, for offline/online play
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
playaindahood  |
|
Cooljunk Productions

Group: Members
Joined: Apr 4, 2008


|
| QUOTE (Fantaseb @ Monday, Apr 9 2012, 16:12) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 14:09) | | QUOTE (thaCURSEDpie @ Monday, Apr 9 2012, 13:26) | Change player mass: I don't know how to do this, sorry. I think it's hard-coded.
1st person view: already made, search on google or gtagarage . You'd best use C++ scripthook or .Net scripthook if you wanted to make this, though.
Bullets explode on impact: edit weaponinfo.xml (sorry, don't know a whole lot about that). Have a look on the wiki: gtamodding.com. Or... hook internal functions, find bullet impact, create explosion (very time-consuming and hard, but awesome if you get it to work ^^).
Hope this helps. |
Looks like the only thing I will be able to do is first person view, as I want this all to be done with scripts only. no weapon.xml modifying. Thanks tho. |
So let me get this right you want you guns to shoot rockets from your guns like this?
http://www.youtube.com/watch?v=-czYDR8ZZsg
Well send me your weaponfile.xml for whatever version you are using and I will do it, for offline/online play | I'm afraid i'm not talking about rockets being produced. I want an effect similar to the explosive sniper rifle cheat in BOGT, but for original GTA 4, and can be produced by a script. nothing having to do with the weaponinfo.xml. @thaCURSEDpie, I messaged you, explaining what I'm doing with this scripting method. So it's not about challenging myself.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Fantaseb  |
Posted: Tuesday, Apr 10 2012, 03:04
|
One Nation, One Love, But Who? ;)

Group: BUSTED!
Joined: Oct 17, 2011


|
| QUOTE (playaindahood @ Monday, Apr 9 2012, 20:37) | | QUOTE (Fantaseb @ Monday, Apr 9 2012, 16:12) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 14:09) | | QUOTE (thaCURSEDpie @ Monday, Apr 9 2012, 13:26) | Change player mass: I don't know how to do this, sorry. I think it's hard-coded.
1st person view: already made, search on google or gtagarage . You'd best use C++ scripthook or .Net scripthook if you wanted to make this, though.
Bullets explode on impact: edit weaponinfo.xml (sorry, don't know a whole lot about that). Have a look on the wiki: gtamodding.com. Or... hook internal functions, find bullet impact, create explosion (very time-consuming and hard, but awesome if you get it to work ^^).
Hope this helps. |
Looks like the only thing I will be able to do is first person view, as I want this all to be done with scripts only. no weapon.xml modifying. Thanks tho. |
So let me get this right you want you guns to shoot rockets from your guns like this?
http://www.youtube.com/watch?v=-czYDR8ZZsg
Well send me your weaponfile.xml for whatever version you are using and I will do it, for offline/online play |
I'm afraid i'm not talking about rockets being produced. I want an effect similar to the explosive sniper rifle cheat in BOGT, but for original GTA 4, and can be produced by a script.
nothing having to do with the weaponinfo.xml.
@thaCURSEDpie, I messaged you, explaining what I'm doing with this scripting method. So it's not about challenging myself. | You don't need scripts to do that, just make the gun shoot rockets, slow down projectile rate, and make a new explosion in that explosion file, trust me bro I am from the xbox modding scene we where doing this stuff with guns before you guys knew how to alot of things.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
playaindahood  |
Posted: Tuesday, Apr 10 2012, 03:29
|
Cooljunk Productions

Group: Members
Joined: Apr 4, 2008


|
| QUOTE (Fantaseb @ Tuesday, Apr 10 2012, 03:04) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 20:37) | | QUOTE (Fantaseb @ Monday, Apr 9 2012, 16:12) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 14:09) | | QUOTE (thaCURSEDpie @ Monday, Apr 9 2012, 13:26) | Change player mass: I don't know how to do this, sorry. I think it's hard-coded.
1st person view: already made, search on google or gtagarage . You'd best use C++ scripthook or .Net scripthook if you wanted to make this, though.
Bullets explode on impact: edit weaponinfo.xml (sorry, don't know a whole lot about that). Have a look on the wiki: gtamodding.com. Or... hook internal functions, find bullet impact, create explosion (very time-consuming and hard, but awesome if you get it to work ^^).
Hope this helps. |
Looks like the only thing I will be able to do is first person view, as I want this all to be done with scripts only. no weapon.xml modifying. Thanks tho. |
So let me get this right you want you guns to shoot rockets from your guns like this?
http://www.youtube.com/watch?v=-czYDR8ZZsg
Well send me your weaponfile.xml for whatever version you are using and I will do it, for offline/online play |
I'm afraid i'm not talking about rockets being produced. I want an effect similar to the explosive sniper rifle cheat in BOGT, but for original GTA 4, and can be produced by a script.
nothing having to do with the weaponinfo.xml.
@thaCURSEDpie, I messaged you, explaining what I'm doing with this scripting method. So it's not about challenging myself. |
You don't need scripts to do that, just make the gun shoot rockets, slow down projectile rate, and make a new explosion in that explosion file, trust me bro I am from the xbox modding scene we where doing this stuff with guns before you guys knew how to alot of things. | No, because if I do that, then the projectiles will not be accurate. they will bounce off sh*t, and I do not want the rate to be slower. I need an explosion produced on the exact position where there is a bullet hit.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Fantaseb  |
Posted: Wednesday, Apr 11 2012, 23:01
|
One Nation, One Love, But Who? ;)

Group: BUSTED!
Joined: Oct 17, 2011


|
| QUOTE (playaindahood @ Tuesday, Apr 10 2012, 03:29) | | QUOTE (Fantaseb @ Tuesday, Apr 10 2012, 03:04) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 20:37) | | QUOTE (Fantaseb @ Monday, Apr 9 2012, 16:12) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 14:09) | | QUOTE (thaCURSEDpie @ Monday, Apr 9 2012, 13:26) | Change player mass: I don't know how to do this, sorry. I think it's hard-coded.
1st person view: already made, search on google or gtagarage . You'd best use C++ scripthook or .Net scripthook if you wanted to make this, though.
Bullets explode on impact: edit weaponinfo.xml (sorry, don't know a whole lot about that). Have a look on the wiki: gtamodding.com. Or... hook internal functions, find bullet impact, create explosion (very time-consuming and hard, but awesome if you get it to work ^^).
Hope this helps. |
Looks like the only thing I will be able to do is first person view, as I want this all to be done with scripts only. no weapon.xml modifying. Thanks tho. |
So let me get this right you want you guns to shoot rockets from your guns like this?
http://www.youtube.com/watch?v=-czYDR8ZZsg
Well send me your weaponfile.xml for whatever version you are using and I will do it, for offline/online play |
I'm afraid i'm not talking about rockets being produced. I want an effect similar to the explosive sniper rifle cheat in BOGT, but for original GTA 4, and can be produced by a script.
nothing having to do with the weaponinfo.xml.
@thaCURSEDpie, I messaged you, explaining what I'm doing with this scripting method. So it's not about challenging myself. |
You don't need scripts to do that, just make the gun shoot rockets, slow down projectile rate, and make a new explosion in that explosion file, trust me bro I am from the xbox modding scene we where doing this stuff with guns before you guys knew how to alot of things. |
No, because if I do that, then the projectiles will not be accurate. they will bounce off sh*t, and I do not want the rate to be slower. I need an explosion produced on the exact position where there is a bullet hit. | I wish I had that Tutorial to explain, later tommorow I will do a weap.xml for you with the guns like that, or I will paste it and you can modify you weap.xml file for it
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
playaindahood  |
Posted: Thursday, Apr 12 2012, 01:08
|
Cooljunk Productions

Group: Members
Joined: Apr 4, 2008


|
| QUOTE (Fantaseb @ Wednesday, Apr 11 2012, 23:01) | | QUOTE (playaindahood @ Tuesday, Apr 10 2012, 03:29) | | QUOTE (Fantaseb @ Tuesday, Apr 10 2012, 03:04) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 20:37) | | QUOTE (Fantaseb @ Monday, Apr 9 2012, 16:12) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 14:09) | | QUOTE (thaCURSEDpie @ Monday, Apr 9 2012, 13:26) | Change player mass: I don't know how to do this, sorry. I think it's hard-coded.
1st person view: already made, search on google or gtagarage . You'd best use C++ scripthook or .Net scripthook if you wanted to make this, though.
Bullets explode on impact: edit weaponinfo.xml (sorry, don't know a whole lot about that). Have a look on the wiki: gtamodding.com. Or... hook internal functions, find bullet impact, create explosion (very time-consuming and hard, but awesome if you get it to work ^^).
Hope this helps. |
Looks like the only thing I will be able to do is first person view, as I want this all to be done with scripts only. no weapon.xml modifying. Thanks tho. |
So let me get this right you want you guns to shoot rockets from your guns like this?
http://www.youtube.com/watch?v=-czYDR8ZZsg
Well send me your weaponfile.xml for whatever version you are using and I will do it, for offline/online play |
I'm afraid i'm not talking about rockets being produced. I want an effect similar to the explosive sniper rifle cheat in BOGT, but for original GTA 4, and can be produced by a script.
nothing having to do with the weaponinfo.xml.
@thaCURSEDpie, I messaged you, explaining what I'm doing with this scripting method. So it's not about challenging myself. |
You don't need scripts to do that, just make the gun shoot rockets, slow down projectile rate, and make a new explosion in that explosion file, trust me bro I am from the xbox modding scene we where doing this stuff with guns before you guys knew how to alot of things. |
No, because if I do that, then the projectiles will not be accurate. they will bounce off sh*t, and I do not want the rate to be slower. I need an explosion produced on the exact position where there is a bullet hit. |
I wish I had that Tutorial to explain, later tommorow I will do a weap.xml for you with the guns like that, or I will paste it and you can modify you weap.xml file for it | I can't use the weapon.xml file though. it's patched and there has not been a bypass yet.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Fantaseb  |
Posted: Thursday, Apr 12 2012, 17:14
|
One Nation, One Love, But Who? ;)

Group: BUSTED!
Joined: Oct 17, 2011


|
| QUOTE (playaindahood @ Thursday, Apr 12 2012, 01:08) | | QUOTE (Fantaseb @ Wednesday, Apr 11 2012, 23:01) | | QUOTE (playaindahood @ Tuesday, Apr 10 2012, 03:29) | | QUOTE (Fantaseb @ Tuesday, Apr 10 2012, 03:04) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 20:37) | | QUOTE (Fantaseb @ Monday, Apr 9 2012, 16:12) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 14:09) | | QUOTE (thaCURSEDpie @ Monday, Apr 9 2012, 13:26) | Change player mass: I don't know how to do this, sorry. I think it's hard-coded.
1st person view: already made, search on google or gtagarage . You'd best use C++ scripthook or .Net scripthook if you wanted to make this, though.
Bullets explode on impact: edit weaponinfo.xml (sorry, don't know a whole lot about that). Have a look on the wiki: gtamodding.com. Or... hook internal functions, find bullet impact, create explosion (very time-consuming and hard, but awesome if you get it to work ^^).
Hope this helps. |
Looks like the only thing I will be able to do is first person view, as I want this all to be done with scripts only. no weapon.xml modifying. Thanks tho. |
So let me get this right you want you guns to shoot rockets from your guns like this?
http://www.youtube.com/watch?v=-czYDR8ZZsg
Well send me your weaponfile.xml for whatever version you are using and I will do it, for offline/online play |
I'm afraid i'm not talking about rockets being produced. I want an effect similar to the explosive sniper rifle cheat in BOGT, but for original GTA 4, and can be produced by a script.
nothing having to do with the weaponinfo.xml.
@thaCURSEDpie, I messaged you, explaining what I'm doing with this scripting method. So it's not about challenging myself. |
You don't need scripts to do that, just make the gun shoot rockets, slow down projectile rate, and make a new explosion in that explosion file, trust me bro I am from the xbox modding scene we where doing this stuff with guns before you guys knew how to alot of things. |
No, because if I do that, then the projectiles will not be accurate. they will bounce off sh*t, and I do not want the rate to be slower. I need an explosion produced on the exact position where there is a bullet hit. |
I wish I had that Tutorial to explain, later tommorow I will do a weap.xml for you with the guns like that, or I will paste it and you can modify you weap.xml file for it |
I can't use the weapon.xml file though. it's patched and there has not been a bypass yet. | I will make a video and upload to Youtube on how to bypass that, I was part of the X360 modding scene, we bypassed all these files within 10minutes of a patch.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
playaindahood  |
Posted: Thursday, Apr 12 2012, 22:27
|
Cooljunk Productions

Group: Members
Joined: Apr 4, 2008


|
| QUOTE (Fantaseb @ Thursday, Apr 12 2012, 17:14) | | QUOTE (playaindahood @ Thursday, Apr 12 2012, 01:08) | | QUOTE (Fantaseb @ Wednesday, Apr 11 2012, 23:01) | | QUOTE (playaindahood @ Tuesday, Apr 10 2012, 03:29) | | QUOTE (Fantaseb @ Tuesday, Apr 10 2012, 03:04) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 20:37) | | QUOTE (Fantaseb @ Monday, Apr 9 2012, 16:12) | | QUOTE (playaindahood @ Monday, Apr 9 2012, 14:09) | | QUOTE (thaCURSEDpie @ Monday, Apr 9 2012, 13:26) | Change player mass: I don't know how to do this, sorry. I think it's hard-coded.
1st person view: already made, search on google or gtagarage . You'd best use C++ scripthook or .Net scripthook if you wanted to make this, though.
Bullets explode on impact: edit weaponinfo.xml (sorry, don't know a whole lot about that). Have a look on the wiki: gtamodding.com. Or... hook internal functions, find bullet impact, create explosion (very time-consuming and hard, but awesome if you get it to work ^^).
Hope this helps. |
Looks like the only thing I will be able to do is first person view, as I want this all to be done with scripts only. no weapon.xml modifying. Thanks tho. |
So let me get this right you want you guns to shoot rockets from your guns like this?
http://www.youtube.com/watch?v=-czYDR8ZZsg
Well send me your weaponfile.xml for whatever version you are using and I will do it, for offline/online play |
I'm afraid i'm not talking about rockets being produced. I want an effect similar to the explosive sniper rifle cheat in BOGT, but for original GTA 4, and can be produced by a script.
nothing having to do with the weaponinfo.xml.
@thaCURSEDpie, I messaged you, explaining what I'm doing with this scripting method. So it's not about challenging myself. |
You don't need scripts to do that, just make the gun shoot rockets, slow down projectile rate, and make a new explosion in that explosion file, trust me bro I am from the xbox modding scene we where doing this stuff with guns before you guys knew how to alot of things. |
No, because if I do that, then the projectiles will not be accurate. they will bounce off sh*t, and I do not want the rate to be slower. I need an explosion produced on the exact position where there is a bullet hit. |
I wish I had that Tutorial to explain, later tommorow I will do a weap.xml for you with the guns like that, or I will paste it and you can modify you weap.xml file for it |
I can't use the weapon.xml file though. it's patched and there has not been a bypass yet. |
I will make a video and upload to Youtube on how to bypass that, I was part of the X360 modding scene, we bypassed all these files within 10minutes of a patch. | uhhhh. wow. well I just messaged you. also, I would make the video private. people like to abuse the hell out of those mods and spam rockets everywhere.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
iSmokeMeth  |
|
Player Hater

Group: BUSTED!
Joined: Apr 16, 2012

|
returning the targeted ped u will have to figure out but probably 10 different ways u could | CODE | //place in a tick method if ((Player.Character.Weapons.CurrentType == Weapons.BasicSniperRifle || Player.Character.Weapons.CurrentType == Weapons.SniperRifle_M40A1) && GTA.Native.Function.Call<bool>("HAS_CHAR_BEEN_DAMAGED_BY_CHAR", targetedPed, Player.Character)) { World.AddExplosion(targetedPed.Position); } |
this is not tested and probably needs some changes but u CAN do what u want with a script and leave xml files alone, u could even toggle the script to be active when u want, so editing files the game loads to memory would require you to exit out and mess with moving files around... anyways i can already see some bugs that need squashing with my code but regardless u can see it is possible if u get creative also u can mod player mass, just script what u want to happen to car if it hits niko or something, make him proof to all damage when a car is in range to hit him and record collisions and add explosion or apply force to car when it hits you. You probably need to know a thing or two about vector math to apply force in the direction u want scripting isnt tough but being creative is the difficult part because u can literally do anything u want if u think hard enough, that's why i love coding and am addicted to scripting for gta, possibilities are almost limitless ;D This post has been edited by iSmokeMeth on Tuesday, Apr 17 2012, 04:01
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|