thenightgaunt Posted October 11, 2012 Share Posted October 11, 2012 I'm a bit disappointed with the laser weapons in XCOM. They lack the characteristic that made them a decent stepping stone to plasma back in X-Com; no ammo. It takes a bit out of them to have laser weapons requiring reloading. So here's a thought for a mod. Would it be possible to alter laser weapons back to the original style? I suppose it could be done by boosting the clip size to 100 or similar somehow. High enough that it wouldn't matter in a normal mission. Any thoughts? Link to comment Share on other sites More sharing options...
Beknatok Posted October 11, 2012 Share Posted October 11, 2012 I'm a bit disappointed with the laser weapons in XCOM. They lack the characteristic that made them a decent stepping stone to plasma back in X-Com; no ammo. It takes a bit out of them to have laser weapons requiring reloading. So here's a thought for a mod. Would it be possible to alter laser weapons back to the original style? I suppose it could be done by boosting the clip size to 100 or similar somehow. High enough that it wouldn't matter in a normal mission. Any thoughts? I think I saw a "no reload" property that could be reused on all laser weapons. This requires tweaking of DefaultGameCore. I'll test that property on an assault rifle later tonight. Link to comment Share on other sites More sharing options...
thenightgaunt Posted October 12, 2012 Author Share Posted October 12, 2012 Cool, thanks.I was looking in there and i noticed that the laser weapons and the plasma pistol all have a unlimitedammo property, but given how they work ingame I'm wondering if either 1) it means something else, or 2)it's supposed to be implemented. Link to comment Share on other sites More sharing options...
BluePaint Posted October 12, 2012 Share Posted October 12, 2012 I think the unlimited ammo attribute doesn't have anything with reload to do. Unlimited ammo probably means that the weapon can be reloaded infinitely. The rocket launcher for example has limited ammo (1 or 2 rockets) but I think all other weapons have unlimited ammo. Link to comment Share on other sites More sharing options...
Beknatok Posted October 12, 2012 Share Posted October 12, 2012 I can't test since I'm at work, but I do have a copy of DefaultGameCore.ini here. There are two different properties, that folks have pointed out thus far. I was referring to "eWP_NoReload". This property is found on the Rocket Launcher: Weapons=(iType=eItem_RocketLauncher,ABILITIES[0]=eAbility_ShredderRocket,ABILITIES[1]=eAbility_RocketLauncher,ABILITIES[2]=eAbility_NONE,ABILITIES[3]=eAbility_NONE,ABILITIES[4]=eAbility_NONE,ABILITIES[5]=eAbility_NONE,Properties[0]=eWP_Explosive,Properties[1]=eWP_Secondary,Properties[2]=eWP_NoReload,Properties[3]=eWP_Heavy,Properties[4]=eWP_MoveLimited,Properties[5]=eWP_None,iDamage=6,iEnvironmentDamage=500,iRange=27,iReactionRange=-1,iReactionAngle=200,iRadius=336,iCritical=0,iOffenseBonus=0,iSuppression=0,iSize=eItemSize_Large,iHPBonus=0,iWillBonus=0) The other property found in some of the Laser and Plasma weapons is "eWP_UnlimitedAmmo". Here is an example of that property: Weapons=(iType=eItem_LaserPistol,ABILITIES[0]=eAbility_ShotStandard,ABILITIES[1]=eAbility_Overwatch,ABILITIES[2]=eAbility_NONE,ABILITIES[3]=eAbility_NONE,ABILITIES[4]=eAbility_NONE,ABILITIES[5]=eAbility_NONE,Properties[0]=eWP_Pistol,Properties[1]=eWP_None,Properties[2]=eWP_UnlimitedAmmo,Properties[3]=eWP_None,Properties[4]=eWP_None,Properties[5]=eWP_None,iDamage=2,iEnvironmentDamage=125,iRange=27,iReactionRange=-1,iReactionAngle=200,iRadius=0,iCritical=10,iOffenseBonus=0,iSuppression=0,iSize=eItemSize_Small,iHPBonus=0,iWillBonus=0) I cannot remember, because I've used 'em maybe three times ever, but Pistols do not need to be reloaded. Therefore, if you want all other Laser weapons to emulate that behavior, you will need to add the eWP_UnlimitedAmmo property. Hmm... on a side note, I wonder if what will happen if you remove "eWP_NoReload" from the Rocket Launcher? *evil grin* Link to comment Share on other sites More sharing options...
thenightgaunt Posted October 12, 2012 Author Share Posted October 12, 2012 (edited) @Beknatok I think you're right on that one. I checked and eWP_UnlimitedAmmo is only found under the pistols. That might be the key. I'm wondering about that eWP_NoReload though because int he game the rocket launcher is a 1 shot weapon. It might be that eWP_NoReload actually stops you from being able to reuse a weapon after it runs out. Interesting though. Thanks. EDIT: I tried adding unlimitedammo to the laser rifles then I loaded up a combat mission. Unfortunately, nothing seemed to change. I also tried this out. Weapons=(iType=eItem_LaserAssaultRifle,ABILITIES[0]=eAbility_ShotStandard,ABILITIES[1]=eAbility_NONE,ABILITIES[2]=eAbility_Overwatch,ABILITIES[3]=eAbility_NONE,ABILITIES[4]=eAbility_NONE,ABILITIES[5]=eAbility_NONE,Properties[0]=eWP_Pistol,Properties[1]=eWP_UnlimitedAmmo,Properties[2]=eWP_None,Properties[3]=eWP_None,Properties[4]=eWP_None,Properties[5]=eWP_None,iDamage=5,iEnvironmentDamage=125,iRange=27,iReactionRange=-1,iReactionAngle=200,iRadius=0,iCritical=10,iOffenseBonus=0,iSuppression=0,iSize=eItemSize_Large,iHPBonus=0,iWillBonus=0) I've changed the Properties[0]=eWP_Rifle to Pistol thinking that maybe the lack of ammo was part of the pistol's basic characteristics or something like that. I loaded up a game, and not change. I also went in and started a new mission rather than loading up a saved one thinking that maybe the weapon properties were saved somewhere. Still no change. So I'm wondering if we're barking up the wrong tree here or if there's some sort of cache that's saved the data making changes to defaultgamecore moot unless your starting a new game. I haven't tested that yet though. Edited October 12, 2012 by thenightgaunt Link to comment Share on other sites More sharing options...
KristmasKthulhu Posted October 12, 2012 Share Posted October 12, 2012 Related to the subject of modding weapons, this made me realize that there are ways of allowing more variety in loadouts even if we can't add more item slots at the moment. You can add a property to the Arc Thrower to have it take up a pistol slot with "eWP_Pistol," and allow it to be equipped along with frag grenades, medi kits, and the like, it just takes up the slot of your pistol, which is something I'm more than okay with. Link to comment Share on other sites More sharing options...
thenightgaunt Posted October 12, 2012 Author Share Posted October 12, 2012 Update: Yeah, Something's up with DefaultGameCore. To test changes I set damage on laser rifles to 50 and the cost on medkits to 1. Loading up some saves, nothing had changed on either item. This kinda fits with the findings over at the "Finding the First Step" thread. I should really read more of the threads on this forum. ^^ Link to comment Share on other sites More sharing options...
KristmasKthulhu Posted October 12, 2012 Share Posted October 12, 2012 Tested eWP_Unlimited Ammo, and it does let you have a bottomless magazine. Just have to start a new game when you change things around in the .exe. Link to comment Share on other sites More sharing options...
snwkill Posted October 12, 2012 Share Posted October 12, 2012 (edited) Tested eWP_Unlimited Ammo, and it does let you have a bottomless magazine. Just have to start a new game when you change things around in the .exe. Hmmm... I made changes to the exe... I made it so the bonus of having sat's adjacent was 2 and I saw it immediately in my save game. Regarding having more than one inventory spot I saw some of this which looks interesting. Nevermind just saw somebody else posted about this. Edited October 12, 2012 by snwkill Link to comment Share on other sites More sharing options...
Recommended Posts