Shotgun Server mission.lvl

Started by Anyder, July 31, 2014, 03:23:44 PM

Previous topic - Next topic
Shotgun Server mission.lvl

http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=1161

This is the mission the UEF Server has for shotgun only.

In case someone wants to do it himself, it's pretty simble (Unless you don't know how to mod a simple LUA...

This is all the important things I've modified.



SetMaxFlyHeight(900); - U can put the number u want here.

--      Alliance Stats
    SetTeamName(ALL, "Alliance")
    SetTeamIcon(ALL, "all_icon")
    AddUnitClass(ALL, "all_inf_pilot",4)
    AddUnitClass(ALL, "all_inf_pilot",4)
    AddUnitClass(ALL, "all_inf_pilot",4)
    AddUnitClass(ALL, "imp_inf_dark_trooper",3)
    AddUnitClass(ALL, "imp_inf_dark_trooper",3)
    SetHeroClass(ALL, "all_inf_lukeskywalker")

--      Imperial Stats
    SetTeamName(IMP, "Empire")
    SetTeamIcon(IMP, "imp_icon")
    AddUnitClass(IMP, "all_inf_pilot",4)
    AddUnitClass(IMP, "all_inf_pilot",4)
    AddUnitClass(IMP, "all_inf_pilot",4)
    AddUnitClass(IMP, "imp_inf_dark_trooper",3)
    AddUnitClass(IMP, "imp_inf_dark_trooper",3)
    SetHeroClass(IMP, "imp_inf_darthvader")


Please, make sure that when you make this fair side you change the  " AddUnitClass(IMP, "imp_inf_dark_trooper",3) "  to     AddUnitClass(ALL, "imp_inf_dark_trooper",3)


--  Attacker Stats
    SetUnitCount(ATT, 3)
    SetReinforcementCount(ATT, 200)
    AddBleedThreshold(ATT, 31, 0.0)
    AddBleedThreshold(ATT, 21, 0.25)
    AddBleedThreshold(ATT, 11, 0.5)
    AddBleedThreshold(ATT, 1, 0.75)
    SetTeamAsFriend(ATT, 3)

--  Defender Stats
    SetUnitCount(DEF, 3)
    SetReinforcementCount(DEF, 200)
    AddBleedThreshold(DEF, 31, 0.0)
    AddBleedThreshold(DEF, 21, 0.25)
    AddBleedThreshold(DEF, 11, 0.5)
    AddBleedThreshold(DEF, 1, 0.75)
    SetTeamAsFriend(DEF, 3)

--  Local Stats
    SetTeamName (3, "locals")
    AddUnitClass (3, "tat_inf_jawa", 14);
    SetUnitCount (3, 2) - the second "2" is the number of jawas (I love killing them lol, that's why I didn't put "0" instead)
    SetTeamAsFriend(3,ATT)
    SetTeamAsFriend(3,DEF)

--  Level Stats
    ClearWalkers()
    AddWalkerType(0, 0) -- special -> droidekas
    AddWalkerType(1, 1) -- 1x2 (1 pair of legs)
    AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
    AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
    SetMemoryPoolSize("Obstacle", 653)
    SetSpawnDelay(2.0, 0.25)  - For FastSpawn
    ReadDataFile("TAT\tat2.lvl")
    SetDenseEnvironment("false")

Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com