1. How do you set memory pools for vechicles?
2. How do you add a local team to yuor map?
3. How do you make to local tem be an allie to the Republic? Like, not just going around and killing anybody.
4. How do you create lighing? Like, when you go near lava your guy has red shined on him.
Noob Questions
Moderator: Moderators
-
sef0907
-
-_-
- Gametoast Staff

- Posts: 2678
- Joined: Sat May 07, 2005 1:22 pm
-
Kaos66
just copy this into ur republic lua file
o and where it shows the sile just put 8 ) but not spaced
and this doesnt help with lighting just some other stuff u asked and i used th wookies for this and for the locals say u put wookies u have to put WOK1Spawn under allypath and make a path called WOK1Spawn and just place it wherevr u want
--Level Stats
--start memorypools
ClearWalkers()
--ADD WOOKIES
ReadDataFile("SIDE\\wok.lvl",
"wok_inf_basic");
SetTeamName(3, "locals")
SetTeamIcon(3, "all_icon")
AddUnitClass(3, "wok_inf_mechanic", 2)
AddUnitClass(3, "wok_inf_rocketeer", 2)
AddUnitClass(3, "wok_inf_warrior", 3)
SetUnitCount(3, 7)
SetTeamAsEnemy(3,ATT)
SetTeamAsFriend(3,DEF)
SetTeamAsFriend(DEF,3)
SetTeamAsEnemy(ATT,3)
--DONE ADDING WOOKIES
ClearWalkers()
SetMemoryPoolSize("EntityWalker", 20)
AddWalkerType(0,
-- 8 droidekas (special case: 0 leg pairs)
AddWalkerType(2, 2) -- 2 spider walkers with 2 leg pairs each
AddWalkerType(3, 4) -- 4 attes with 3 leg pairs each
AddWalkerType(1, 4)
SetMemoryPoolSize("WalkerBlendUnit", 140)
SetMemoryPoolSize("CommandHover", 12)
SetMemoryPoolSize("CommandWalker", 12)
SetMemoryPoolSize("EntityHover", 20)
SetMemoryPoolSize("EntityFlyer", 20)
SetMemoryPoolSize("PowerupItem", 60)
SetMemoryPoolSize("EntityMine", 40)
SetSpawnDelay(10.0, 0.25)
--end memorypools [/u]
o and where it shows the sile just put 8 ) but not spaced
and this doesnt help with lighting just some other stuff u asked and i used th wookies for this and for the locals say u put wookies u have to put WOK1Spawn under allypath and make a path called WOK1Spawn and just place it wherevr u want
--Level Stats
--start memorypools
ClearWalkers()
--ADD WOOKIES
ReadDataFile("SIDE\\wok.lvl",
"wok_inf_basic");
SetTeamName(3, "locals")
SetTeamIcon(3, "all_icon")
AddUnitClass(3, "wok_inf_mechanic", 2)
AddUnitClass(3, "wok_inf_rocketeer", 2)
AddUnitClass(3, "wok_inf_warrior", 3)
SetUnitCount(3, 7)
SetTeamAsEnemy(3,ATT)
SetTeamAsFriend(3,DEF)
SetTeamAsFriend(DEF,3)
SetTeamAsEnemy(ATT,3)
--DONE ADDING WOOKIES
ClearWalkers()
SetMemoryPoolSize("EntityWalker", 20)
AddWalkerType(0,
AddWalkerType(2, 2) -- 2 spider walkers with 2 leg pairs each
AddWalkerType(3, 4) -- 4 attes with 3 leg pairs each
AddWalkerType(1, 4)
SetMemoryPoolSize("WalkerBlendUnit", 140)
SetMemoryPoolSize("CommandHover", 12)
SetMemoryPoolSize("CommandWalker", 12)
SetMemoryPoolSize("EntityHover", 20)
SetMemoryPoolSize("EntityFlyer", 20)
SetMemoryPoolSize("PowerupItem", 60)
SetMemoryPoolSize("EntityMine", 40)
SetSpawnDelay(10.0, 0.25)
--end memorypools [/u]
