Freedom Reborn Archive

Freedom Force Forums => Mods => Topic started by: bearded on December 07, 2008, 02:28:14 AM

Title: danger room script
Post by: bearded on December 07, 2008, 02:28:14 AM
is there a tutorial for making a danger room level?  how is it compared to making a mission level, can i use mission levels in some way?
would fakemissionwin() work in the danger room?  how about pulling up the mission win hud?
Title: Re: danger room script
Post by: GogglesPizanno on December 07, 2008, 10:15:17 AM
With the exception of a few extra functions handling spawning of villains, a danger room script will work just like any other mission script. Look at 'skirmish/battle.py' as a starting template for one. That's the basic run of the mill "Pick Heroes/Pick Villains fight till dead" mode.

Mission_Win() should work just like normal. It currently gets fired when all the bad guys are dead, but you could easily re-script that to have it end whenever and however you wanted.
Title: Re: danger room script
Post by: bearded on December 07, 2008, 06:50:29 PM
if you have ever looked at furie's rumble script, you might notice that you never actually truly win the mission.  but he managed to pull up the hud so you can level your character.  mainly i'm just wondering if that might be possible in the danger room.  normally, i'd think not, but with the rumble script i think it might.