Unit spawn dispencer

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Unit spawn dispencer

Post by Anakin »

Hi,

just read this:
http://www.gametoast.com/forums/viewtop ... 47#p126047

is it right that you can do a dispenser for Sides? If yes i haven't understand everyting there. what are the necessary files for this?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Unit spawn dispencer

Post by DarthD.U.C.K. »

you can make a weapon that dispenses a certain kind of unit which will then belong to a chosen team. as the post says you have to put this section once for each team under scriptpostload and when you add the dispensed units to a third or fourth team, you also have to set up the friends/enemys and goals up for the team like you do it for locals.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Unit spawn dispencer

Post by Anakin »

sounds like exacly what i'm looking for.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Unit spawn dispencer

Post by Marth8880 »

Ugh, I'm having trouble get this stupid thing to work as well... :roll:
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Unit spawn dispencer

Post by Anakin »

can someone show me the important parts of the post? i mean i don't like to read the whole 3 pages because i will not understand everyting. so it would be easyer for me to focus on the important parts.

@ Marth: can you tell me if you get it?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Unit spawn dispencer

Post by DarthD.U.C.K. »

Anakin wrote:can someone show me the important parts of the post?
the important part is exactly the post you linked to, you inly need to read it carfully and understand it
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Unit spawn dispencer

Post by Anakin »

ok what file is this and in what part? i think it's the Lua file. do i only need to copie this part in the Lua (just before the teamsetup?) and add to a unit/building the Sonden waepon. there i change the ControlType from remote to self and change the msh/animation/weapon... and than it works?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Unit spawn dispencer

Post by DarthD.U.C.K. »

yes, this has to go into the mission lua once for each team and you have to make a dispenser weapon drops some dummy odf and use the weapons odfname in the lua.
Post Reply