Jump to content

anUser

Members
  • Posts

    261
  • Joined

  • Last visited

Nexus Mods Profile

About anUser

anUser's Achievements

Community Regular

Community Regular (8/14)

  • First Post
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. I think I didn't anything special to get the snap shot perk working with rockets, maybe that was when I had the rocket launcher in the Assault class in the small item slot... or removing the backpack or secondary property in the ini. Definitively I did it editting the ini file, no hex edit. If the scatter formula or function could be called from GetDamageRadius iirc you could get this "boiling water" effect, with the blue bubble showing the actual radius but moving constantly from one place to another to show where it might be placed. If combined with random radius it's totally boiling water, but if not it's only the real blast area moving slightly but swiftly around the cursor.
  2. ... this made me think that I've never noticed any issue replacing a 2C 00 or a 24 00 for a 25... can we confirm it's safe to operate with those alike? ie a la (24 00 == 25) && (25 == 2C 00)...
  3. I like it, it seems it'll be easier and a lot more clearer this way for the final user to edit the ini file. May I suggest a little tweak? Could it be possible that instead of automatically upgrading the aliens instead it picked a random upgrade from those available due to date? And could that be done on a per-alien basis? I think that'd help making things a bit easier and also it'd bring a bit of variety. It even could be used right from the begining, there could be 3HP sectoids that regenerate and 5HP sectoids that don't. Is there any problem in making the upgrades non-accumulative so only 1 applies per alien?
  4. I love it! Thinking about visualizing the effect in-game... ¿could it be possible to apply the same scatter formula to display that blue bubble randomly poping up at different places around the mouse cursor, according to *possible* scatter values? I've come fond of the trembling bubble that shows with explosives random radius, it's kind of it feels less certain than a number, even if you know the numbers. Not sure how it could feel that in game though, it may end looking like a mass of boiling water with all this bubbles poping around the target. Another idea I've had is to alter the rocket radius *before* shooting so it displays the area where the explosion can be centered, depending on distance and soldier's skill, so the further it aims the bigger it's. This way there's no telling of the possible area of the explosion, so you have to guess that. Then on using the ability and once the center of the explosion has been established, the radius could revert back to it's value in order to calculate the actual blast radius. Testings with explosives random radius have confirmed that radius gets re-calculated upon using the ability, so the last displayed radius isn't necessarily the one applying in game, ergo we can display a radius (and hopefuly a position) and actualy use another one. So this way you'd have a steady blue circle that would grow larger as you aim it further, but that would only tell you where the rocket may fall, so you'd got to picture the blast area in your mind (and this combined with big randomness factor like up to radius x2 can be pretty interesting) so no certainty at all about the possible outcome And last, since you're meddling with this matters, and as I know you have plans regarding weapon damage customization... could shotguns be tweaked so their radius increases with distance and the damage gets reduced? Maybe the AoE increase can be small, just covering 3 tiles wide at max range wich can deal 1 dmg or 2, but having shotguns do greater damage when closer would be very nice. In fact maybe every ballistic weapon could do extra damage at close range, perhaps a constant +1... Any possibility to apply this same principles to hand grenades? Maybe using a lower scatter value, or the same one because they're thrown closer so they'll get more accurate. A perk or an equipment a la "Laser-guided rockets" that grants 100% accuracy? Only on enemies that have been holo-targeted? (so you'd need both, the laser or thermic rocket-guide device and holo-targetting an alien)... Some sort of magnetic device that increases accuracy agains robotic units? What about the blaster launcher? The animation suggest it's pretty accurate... maybe it could have some other sort of drawback, ... maybe instead of having greater range and lower accuracy it could require squadsight (if it were a targeted ability) so it requires visual contact for at least one xcom unit; or make it cannot be used after moving while regular rocket launcher do; or since it's so slow it could trigger the "flush" animation so the aliens around rush for cover, so big explosion but only those really close to the center get damaged... that'd be hilarious Anyway you're doing a great job, I'm sure I'll love any final form this mod takes
  5. What about adding a 1 turn cooldown to fire rocket? The space is tight in buildAbilities but maybe youmay find a way to free a couple of bytes. btw, has anyone found where this "link" between ability and weapon is stablished? Is it just the ini property like eWP_FireRocket?
  6. I seem to recall there are several possible hex values for == and some mathematical operators. Can it be that each one is meant to be used with a specific data type? And is some of them more flexible than others? I can tell you I once had to change the + hex, I don't remember the exact value, maybe it was 78 and then I changed it to a 90 or 92, don't recall right now, and after the change it worked, when before I was getting ctd's. So maybe the same is true for comparison tokens, and instead of converting the values you can just use the right operator, if there is a "right" operator for each data type.
  7. Excellent progress. If I may suggest, ive gota couple of ideas regarding ammoitems 1. Soldiers have like 6 inventory items and they can equip as many ammo items they want, on reloadingan ammoitem is removed, if no ammo item is present, firing the weapon depletes its ammo, causing it to have to reload. It is an extreme option but I think it can be cool as it disencourage taking low percent shots and planning offensive actions more carefuly and not just returning fire 2. Only 1 ammo item is allowed. Depending on its price and tech needed to develop it, it grants certain bonus. Explosive ammo could have heat ammo bonus, tracer bullets, etc. Bigger magazines of regular bullets could be at the same level, forcing the player to choose between powerful ammo or the foundry bonus in the form of a bigger ammo item. There are 2 possible implementations i foresee with this option, 1 making ammo items consumible so its a financial choice, or with infinite items make them available through research. In the later case theres still the choice of equipping another item or ammo items that grant bonus
  8. Good! Does it affect at all the file size limit or is that still constrained?
  9. I think stealth is one of those "state" perks. What I've done is making the invisibility module grants ghost charges but then I had to add the ghost property to armors in the ini. It isn't optimal because the ability is still displayed in the tactical game even if no charges are present, but it works. I was planning on investigating if editting the visual properties of the ghost ability (in BuildAbilities) it could be done so it only displays under certain circumpstances (when the item is present, like grenades), but that's near the bottom of my long to-do list.
  10. ok so that's why I couldn't get smoke grenades, battle scanners or extra rockets... only those 6 items are allowed with ini stats? I like this idea of items granting perks that grant extra charges. What sort of mechanism have you thought about for this? On(Un)Equip grants/removes perk, and UpdateItemCharges sets charges according to number of times each perk is present? I'm just thinking of making this compatible with vanilla perk trees, given that item-related perks don't appear at all as selectable perks. I guess ApplyActionCost would need a rework as well to remove perks as they're used. Speaking of which, I tried the code I posted in the previous page but it didn't remove the item from inventory. Unless something's wrong there and I'm attempting to remove an item that it isn't the right one or I've mistaken somewhere else, or just setting an inventory item to 0 doesn't work as I expected. I'd appreciate if someone could take a look at that code, or if someone found a way to call that TInventorySmallItemsRemoveItem function from there, that seemed to work.
  11. I'm sry I wasn't clear. I think the code I was looking for is kTarget.kChar.kCharacter.aStats[0] += 1;to make so HP isn't reverted when the effect ends. I like the idea of temporary boosts to DR and regen. Regeneration would act as a delayed extra HP, I think it could be very interesting as it forces the player to push a bit more and kill the aliens on that same turn or the next they'll have regained big health. And damage reduction clearly makes for an offensive move. I wonder if both regular and greater mind merge could be given to both regular and psi sectoids alike, and make them 2 different abilities, not just a better and a worse version of the same. If doable I vote for the one with bigger crit chance go with DR + small instant healing, and the other with huge regen at the end of turn. edit: I just assumed the regen mod would "regen" HP at the beginning of the turn, but I've got to admit I'm not aware of the latest version of that mod...
  12. Nice finding. I did once some testing with this but that was inconclusive, thanks for the clarifications. A bit off topic, but I just want to point out that ammo re-balancing can be approached in a different manner, editting the dgc.ini and re-assigning classes. Giving the eWP_Heavy to rifles and pistols makes them have to reload more often that MG, snipers and shotguns. I *think* the code that sets which class uses which weapon property is in SetClass, m_kSoldier.kClass.eWeaponType = X;but I haven't tested that, I'm fine moving the mg to another class other than Heavy, and let the heavy keeps the rocket launcher + assault rifle. That could be used to make each ability of the Arc Thrower consistently takes an appropiate amount of ammo, thus enabling it for different abilities. It could also make the iArcThrowerCharges variable obsolete because that could depend on ammo, thus freeing it for any other purpouse
  13. Good! I've just got a crazy idea that may isn't that crazy in the end ... could it be done so that the extra given HP become permanent? I quite don't get what's that m_aInventoryStats[0], I assume it's some sort of temporal stuff, so if we increase the HP in this function we don't need to change the HP removed elsewhere, right? Could we attack unit stats instead? I'm wondering what'd be the gameplay effect, specially by the beginning and at impossible difficulty... take 'em fast or see 'em growing...
  14. As always it's bad to have another limitation but it's good to know how it works, good point guys. While this limits the number of items that need ini stats in the tactical game, that's not all the new items there could be. Rockets for example, they only need to have price, time and min engis (strategic game) and be present in the inventory so it can be checked if the unit's got them equipped and so they can be removed. And many other items that may grant a perk or just increase the charges of abilities won't need ini settings on tactical game... maybe on that regard if we are short on ini-sensitive items we could re-use standard items such battlescanners that actually don't need to read ini settings during the tactical game, and place them onto other items.
  15. Yeah, it didn't make much sense to me at first that you couldn't regain a country you'd lost, I think though it's a probelm of presentation, the "withdrawn" stuff is missleading, imo it should say instead something like "{Your Country} has been invaded by aliens, every major city has been completely devastated, most of the population has been exterminated or has been enslaved. Comunications are completely lost within the borders, and no single institution stands to hold the resistance against the invading forces. {Your Country} does no longer exist". It makes much more sense to me :P
×
×
  • Create New...