adding vehicles

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
-hcbk-mjrldr.killer

adding vehicles

Post by -hcbk-mjrldr.killer »

i do wat it says put its team set wat cp and give it like rep_walk_atte or all_hover_combatspeeder wher it gose and the vehicle wont show up
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: adding vehicles

Post by ryukaji »

Are the vehicles loaded in your .lua?
-hcbk-mjrldr.killer

Re: adding vehicles

Post by -hcbk-mjrldr.killer »

idk.....meaby...noo...idk how
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: adding vehicles

Post by trainmaster611 »

Download Boeing's ODF Guide for dummies. Its either in the released or the assets section. Not sure.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: adding vehicles

Post by ryukaji »

Example:

Code: Select all

    ReadDataFile("SIDE\\rep.lvl",
                      "rep_walk_atte)
What vehicle are you trying to add
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: adding vehicles

Post by trainmaster611 »

Dude, there's quite a few things that he could be doing wrong. It might not just be the LUA thing. Like I said, read Boeing's doc (its better than the getting_started).
-hcbk-mjrldr.killer

Re: adding vehicles

Post by -hcbk-mjrldr.killer »

trying to add a atte and spiderwalkers and give me a link wher the boeing guide is
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: adding vehicles

Post by ryukaji »

thats easy you dont need the odf guide you just need to load them in your lua

Did you put what I showed above in?
under ReadDataFile("SIDE\\rep.lvl", put "rep_walk_atte") at the bottom of the list
and under ReadDataFile("SIDE\\cis.lvl", put "cis_walk_spider") at the bottom of the list
Then munge keeping common box checked and then tell me if your vehicles work
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: adding vehicles

Post by Aman/Pinguin »

Walker always need a WalkerType Memorypool, add this under your team setups:

Code: Select all

    AddWalkerType(2, 3) -- 2 spider walkers with 2 leg pairs each
    AddWalkerType(3, 0) -- 2 attes with 3 leg pairs each
and an AT-TE is a commandwalker (you can spawn at it) so you need to add this MemoryPool:

Code: Select all

    SetMemoryPoolSize("CommandWalker", 5)
(this would be for 5 AT-TE's, but you can have a higher MemoryPool than you need)
-hcbk-mjrldr.killer

Re: adding vehicles

Post by -hcbk-mjrldr.killer »

so i put it under C:\BF2_ModTools\data_WRW\Common\scripts\WRW??????????
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: adding vehicles

Post by elfie »

WRWc_con.lua
-hcbk-mjrldr.killer

Re: adding vehicles

Post by -hcbk-mjrldr.killer »

how
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: adding vehicles

Post by Aman/Pinguin »

Open it with a text editor and put it in.
-hcbk-mjrldr.killer

Re: adding vehicles

Post by -hcbk-mjrldr.killer »

dont have it...:( i think
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: adding vehicles

Post by Taivyx »

First off, learn more about the Windows operating system :P

Right-click, choose Open, select "Select the program from a list" and click "OK".
Choose Wordpad, check the box at that says "Always use the selected program to open this kind of file", and hit OK.
It'll open then, and from then on you just have to double click the icon to open it in Wordpad.

Just for future reference, any file in the modtools you don't know how to open, use that method first to check if it can be opened with Wordpad.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: adding vehicles

Post by MercuryNoodles »

Well, you can open just about anything with a text editor (depending on your system's capability :P), so I'll add that if you see what looks like complete gibberish (random characters strung together in giant blocks) when you open the file or it takes forever to open (not instant), then it's likely not meant to be edited with a text editor.

Just as a quick general list, these files are what you'll most often be editing with a text editor:

lua
req
odf
combo
sky

There are more, but I don't have the time to chase them all down.
Post Reply