Request for ifs_sp_era.lua [Solved]
Moderator: Moderators
-
- Posts: 3
- Joined: Fri Oct 19, 2012 7:24 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Request for ifs_sp_era.lua [Solved]
Hello, I was wondering if anyone here had the ifs_sp_era.lua? If anyone has it I would very much appreciate them uploading it and posting a link here. Thanks
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Request for an LUA script
You should be able to find at the link below. I only was ever given a few files, but hopefully the topic below helps.
http://www.gametoast.com/forums/viewtop ... 78#p482678
http://www.gametoast.com/forums/viewtop ... 78#p482678
-
- Posts: 3
- Joined: Fri Oct 19, 2012 7:24 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Request for an LUA script
Hmm well, I see ifs_missionlist and ifs_missionselect and I see you mentioned ifs_sp_era but I can not find a link to it any where in that thread. If you still have I'd really appriciate you reuploading it.
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Request for an LUA script
Code: Select all
--function ifs_sp_era_fnDidDifficulty()
-- ScriptCB_SetIFScreen("ifs_sp_briefing")
--end
ifs_sp_era = NewIFShellScreen {
movieIntro = nil,
movieBackground = nil,
-- title = NewIFText {
-- string = "ifs.sp.pick_era",
-- font = "gamefont_large",
-- textw = 460,
-- ScreenRelativeX = 0.5, -- center
-- ScreenRelativeY = 0.5, -- top
-- },
buttons = NewIFContainer {
ScreenRelativeX = 0.5, -- center
ScreenRelativeY = 0.5, -- top
y = 20, -- go slightly down from center
},
Enter = function(this, bFwd)
gIFShellScreenTemplate_fnEnter(this, bFwd) -- call default enter function
if(bFwd and ScriptCB_IsSPStateSaved()) then
ifs_movietrans_PushScreen(ifs_sp_briefing)
end
end,
Input_Accept = function(this)
-- If base class handled this work, then we're done
if(gShellScreen_fnDefaultInputAccept(this)) then
return
end
ifelm_shellscreen_fnPlaySound(this.acceptSound)
ifs_sp_briefing.era = this.CurButton
if( bFwd ) then
ScriptCB_PushScreen("ifs_sp_briefing")
else
ifs_movietrans_PushScreen(ifs_sp_briefing)
end
end,
}
ifs_sp_era_vbutton_layout = {
-- yTop = -70,
xWidth = 350,
width = 350,
xSpacing = 10,
ySpacing = 5,
font = "gamefont_medium",
buttonlist = {
{ tag = "new", string = "common.era.cw", },
{ tag = "classic", string = "common.era.gcw", },
},
title = "ifs.sp.pick_era",
rotY = 35,
}
ifs_sp_era.CurButton = AddVerticalButtons(ifs_sp_era.buttons,ifs_sp_era_vbutton_layout)
AddIFScreen(ifs_sp_era,"ifs_sp_era")
-
- Posts: 3
- Joined: Fri Oct 19, 2012 7:24 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Request for an LUA script
Thank you!