Jump to content

NeryK

Members
  • Posts

    5
  • Joined

  • Last visited

NeryK's Achievements

Squaddie

Squaddie (1/5)

0

Reputation

  1. Do not use a comma to separate parameters : > add_experience -1 1000 for instance works fine from the strategic view, but the amount of experience is divided between your soldiers. On the other hand I couldn't use a specific soldier id, I thought perhaps it would be the one found in the strat_game file extracted from a saved game, but it doesn't seem to work. ... StratUnit RECORD id INT 488 name STR "Tola Brightstar" nick STR "VABvAGwAYQA=" isInActiveSquad BOOL TRUE ... Maybe from tactical game again ?
  2. Well, turns out you're right about the "Reticulan power cell"... Actually I failed to summon any kind of (human or not) energy batteries, which is quite strange since. But it is not about them being unbuildable since alien weapons and other ammo are spawnable. Must be yet another sublety. As for the "9x19mm" ammo (mind the absence of space) it works fine so you should be able to throw ammo clips around instead of knives . And anyway energy weapons suck until later in the game (plasma anyone ?).
  3. Okay I tried it and... Let's just say I've got both good and bad news. The good news : summoning ammo works just fine, but you have to really pay attention to the name of the item, since it is case-sensitive, space-sensitive, and whatever sensitive you might think of - an exact match is required. The bad news : as documented in the '?' command, the second (count) parameter of the command is unimplemented (note the fateful 'TODO' comment)... Means that for each and every single bullet you want to add, you have to input the command. Fortunately the console shell keeps track of the recent commands, so you just have to press the up arrow to navigate through your past commands. It even works with the 5.56 AP rounds, which are tricky... SubEquipment RECORD id INT 188 name STR "5,56x45mmNATO AP" ... model STR "tactical/models/weapons/humans/5-56x45ap.txt" iface_model STR "tactical/models/weapons/humans/5-56x45ap.txt" ... Ammo Ammo RECORD caliber INT 0 ;"5.56x45 mm" Note the difference in the names, and beware of the dot / comma. For this one the right syntax is of course : >add item "5,56x45mmNATO AP" * times the number of bullets you want. I hope you are trying to summon explosives or energy ammo, otherwise you'll soon wish you had built those ordnance factories. Also note that the add_item command has to be entered in the console while in the default strategic earth view, it won't work ('???' is returned) from the squad equipement view for instance. If it still doesn't work, tell me what you are trying to summon and I'll check it out.
  4. You're welcome . I wasn't too sure about posting the actual file since it is part of a copyrighted material... But hey, it's just a lil' text file I used this command at one point in the game where you have to manufacture certain items to move on. Even with many factories the delay was so long I felt the game was going to get very repetitive for a while. So I sped it up a bit to avoid getting bored. Of course there is the full_stores command but it completely breaks the strategic gameplay, so...
  5. Well, took a bit of tinkering, but looking back it was quite easy, although I couldn't figure out this supposed "lookup command" for items. Basically the item names expected by the command are not the ones displayed in the game interface. Sometimes they match, sometimes they don't. The names used by the command are those found in the \strategic\configs\stratgame\equipment\equipment.txt file extracted from gamedata.vfs (see the guide to modding for beginners for instructions). This file has a tree-like structure for all items, and for each one there is a 'name STR' line, which simply is the name we are looking for. bottom line : 1. "vfstool.exe se gamedata.vfs strategic\configs\stratgame\equipment equipment" or download it 2. look for "name STR" strings in equipment.txt 3. add_item and enjoy Example: equipment.txt: ... SubEquipment RECORD id INT 15 name STR "M82A1 Barrett" equipslot STR "Hand" sortcode STR "Firearm" hit_points INT 100 building STR "Basic human factory" ... console: >add_item "M82A1 Barrett"
×
  • Create New...