Staredit Network

Staredit Network -> Modding Assistance -> Upgrades and Weapons [SOLVED]
Report, edit, etc...Posted by Voyager7456(MM) on 2005-12-30 at 15:33:02
I have a question about upgrading weapons, thought I'd see if any of you guys knew the answer.

When you research a cooldown/range upgrade (like say, U-238 Shells for the Marine) does it upgrade the range for the Weapon (Gauss Rifle) or for the unit ID (Terran Marine)?

Thanks.
Report, edit, etc...Posted by DT_Battlekruser on 2005-12-30 at 17:45:01
I don't know for sure, but I think it would have to do both, the target aquisition range on the Marine and the actual weapon range on the Gauss rifle. Am I wrong?
Report, edit, etc...Posted by lonely_duck on 2005-12-30 at 18:27:03
I'm guessing it's the weapon since that's what it's supposed to upgrade, but that's my opinion not fact.
Report, edit, etc...Posted by O)FaRTy1billion on 2006-01-01 at 01:03:14
I think somewhere it says what upgrade it uses, I'll poke around a bit and come back.

ADDITION:
In ArsenalIII (Too lazy to dig up DatEdit from my folders right now), go to Weapons Editor, find your weapon, and it says "Upgrade:" That might be it?
Report, edit, etc...Posted by Voyager7456(MM) on 2006-01-01 at 09:30:54
That's only for damage, not for range/cooldown upgrades.
Report, edit, etc...Posted by O)FaRTy1billion on 2006-01-01 at 11:54:56
Would Unit-Specific upgrades be hardcoded?
Report, edit, etc...Posted by Voyager7456(MM) on 2006-01-01 at 11:59:08
Yes, I think they are.
Report, edit, etc...Posted by BroodKiller on 2006-01-01 at 13:11:58
Yup, the upgrades are hardcoded. They should however also have some checks incorporated, ones that checks for the unit/weapon's ID or something.
Report, edit, etc...Posted by Voyager7456(MM) on 2006-01-01 at 17:19:24
I tested other kinds of upgrades (speed, sight range, etc.) and they were all hardcoded to the unit. I'll assume that cooldown/range are the same.
Report, edit, etc...Posted by DiscipleOfAdun on 2006-01-02 at 10:10:07
The upgrades for weapon range are done based off the Weapon ID. What happens is, when the game goes to read the property from the .dat file, it checkes if the upgrade is researched, the changes what is read based on if it is researched or not.
Report, edit, etc...Posted by Voyager7456(MM) on 2006-01-02 at 10:12:33
Oh... this makes it a lot easier. Thanks.
Next Page (1)