1. Show Framerate -- is there even a lua command that can do this? It'd be really helpful for locking down how maps run, particularly in split screen. I didn't see it referenced in a search of the forums, but it may still exist on the Xbox XBE.
2. Immediate Victory/Defeat -- I know there's MissionVictory() and MissionDefeat(), but what are the parameters? Just the team ID? I.E. MissionVictory(1)? Do I have to specify defeat for the other team?
3. Invincible -- I've got some ideas, but most of them involve SetProperty() or SetClassProperty(). What I want to do is divide invincibility or psuedo-invicibility (a la the SWBF1 heroes) based on whether they're human or not. That way I can have "Invincible - Humans", "Invincible - AI" and "Invincible - All"
4. Print Debug Output -- I was thinking sortof a hack. Basically this function would just print localization strings based on thing I specify in ScriptPostLoad(). So I may have a boolean I need to check, and I can set a localization string based on that in ScriptPostLoad()... or maybe several strings. If a condition is one way, I set the variable to one string, if it's something else, another string. PrintDebugOutput() would run through those strings, printing one by one until it's done. I'm looking for ideas on how to build that function. I know I could use an array of string I want it to print, then set those, but I'm far from comfortable with LUA, so the implementation is a little fuzzy.
5. Tag Humans -- This might be fairly simple. For multiplayer it would run a loop through all human players, putting the yellow CTF tag above them. This would be used to test for any lag issues, whether people get dropped using certain code, just finding your friends, etc.
6. Disable Offensive Force Powers -- Push/Pull/Choke/Saber Throw. Should be a matter of using SetProperty() to make the force power cost more energy than the player has, no? I would probably do one-off implementations of this, as some folks may want this or that power to still be active. I could maybe even do a "all Jedi have [x] and [y] powers" with SetProperty(), but I'd have to do that before any spawning. Or replace push/pull with boosts, etc.
7. DisableVehicles -- probably another FOR loop that looks for all vehicle spawns, then kills them off.
8. Unlimited Energy -- Probably something like the Invincible. Split by Humans/AI/Everyone, but with vehicles added.
9. Unlimited Ammo -- Split commands like Unlimited energy
10. Disable Effects -- I was planning on using IsEffectActive() for specific effects (like award weapons) and if they are SetEffectActive() to turn it off. It would have to some sort of infinite loop to turn it of any time an effect gets activated. That might end up being a little costly on the CPU, but I wouldn't think so - it's a very simple loop. I just get the name, set it to on or off based on the command, then move on to the next effect. Trouble is, I don't know how those verbs work.
11. Heros Can't Grab Flag -- another semi-simple one, using CanCharacterInteractWithFlag(). Haven't used this verb before either, but getting the hero and using them in that command seems easy enough if I can figure it out.
12. AI Can't Drive Vehicles -- really easy, ForceAIOutOfVehicles(0 or 1)
13. Humans Only -- easy, AllowAISpawn(false). But can I just have one parameter? The instances I have require teams to be specified.
14. Give [x] Bonus -- I would assume this is as simple as ActivateBonus(), but is it usable outside of Galactic Conquest, and what are the parameters?
15. Increase/Decrease reinforcements by 25 -- AddReinforcements(TEAM, 25), right? Could be used per team or for both
16. Disable/Enable Awards -- ScriptCB_SetPlayerAwardsEnabled(0 or 1)
17. Change Two Player Split Mode -- ScriptCB_SetHorizontalSplitScreen(0 or 1)
18. Enable Extra Vehicles -- Simple enough, add vehicle spawns to the physical maps (in ZeroEdit) with only ClassHISAtk and ClassHISDef properties set, then use SetHistorical(0 or 1). Might be fun to add extra vehicles into each map. Uber mode would have them by default, other modes would get them if this was enabled.
19. Classic Flying In Space -- SetGroundFlyerMap(0 or 1). Disables boosting and rolls
20. ... I'm sure there's others, but I can't think of any more. Ideas? I'm looking for both fun cheats and also useful debug stuff that I can build.
I have ideas on most of these, but if someone else has already done it and has code examples, it's a lot faster than rewriting it to the Xbox which has no debug logs.





