Phat Looser Posted March 15, 2008 Share Posted March 15, 2008 I won't post the offsets here, but with some changes in the GTA data, you can change the weapon range, weapon damage, etc. This would be an interesting feature for the future releases, because it would enable the administrator to, maybe, power down the minigun, or power up the desert eagle to a one-shot-killer. Link to comment
Mr.Hankey Posted March 15, 2008 Share Posted March 15, 2008 this sounds scriptable atm you cannot alter things like the weapon range but you can add more damage to all or only a few weapons, disable beeing damaged by a minigun or make the deagle instant killing Link to comment
Phat Looser Posted March 15, 2008 Author Share Posted March 15, 2008 The range is not scriptable atm. Damage, maybe. Link to comment
Morelli Posted March 16, 2008 Share Posted March 16, 2008 Damage, maybe. function DeagleKO ( attacker, attackerweapon, bodypart, loss ) if ( attackerweapon== 14 ) then killPlayer ( source ) end end addEventHandler ( "onPlayerDamage", getRootElement (), DeagleKO ) The above code kills a player if they were hit by a deagle bullet. It is a one-hit kill. Link to comment
Phat Looser Posted March 16, 2008 Author Share Posted March 16, 2008 Damage, maybe. function DeagleKO ( attacker, attackerweapon, bodypart, loss ) if ( attackerweapon== 14 ) then killPlayer ( source ) end end addEventHandler ( "onPlayerDamage", getRootElement (), DeagleKO ) The above code kills a player if they were hit by a deagle bullet. It is a one-hit kill. I know, I know, change it a bit and it heals the player. But, the firing rate could be changed my way, too. With some new script commands, you can write something like: "setWeaponFiringRate", "setWeaponDamage" and "setWeaponRange" and "setWeaponWieldType", so you can make, i.e. the MP5 a dual wield weapon, the DesertEagle a sniper and the Gatling Gun (when you change the model of the gatling) some sort of futuristic impulse cannon which is used first player. Link to comment
Recommended Posts