How do i add vehicles to a map?
Moderator: Moderators
- valiant
- 1st Lieutenant

- Posts: 449
- Joined: Fri Sep 16, 2005 6:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
How do i add vehicles to a map?
ok, so i am wondering how to add vehicles to a map. i wanted to add the atxt to a map, but dont know how. can you help?
- Galactic_Marine
- Command Sergeant Major

- Posts: 297
- Joined: Sat Oct 14, 2006 8:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- valiant
- 1st Lieutenant

- Posts: 449
- Joined: Fri Sep 16, 2005 6:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
- valiant
- 1st Lieutenant

- Posts: 449
- Joined: Fri Sep 16, 2005 6:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
- valiant
- 1st Lieutenant

- Posts: 449
- Joined: Fri Sep 16, 2005 6:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Kyross
talking about my memory again, if I recall right they have all the files neededmaybe even in the folders. What you have to do is create a local side for your map and put the assets in there.
Try this for example:
If you are going tobe using an edited republi, copy the folders with the files you would be changeing from the main mod tools' assets >sides> rep folder. Then take the files you downloadedfor the AT-XT and place them in their respective folder (ODF, MSH, req, possibly effects). Now, the rep.req you will have to open with notepad and you will see a list of units. These are actualy file sin the req folder which it will relay to the .lua so you have to hit enter somewhere to make a space in the list and add in a line(exactly the same as the other ones) with rep_walk_atxt of whatever the req name was. Save it. Then go to the common> scripts> modname folder of your project and open the respective lua file(again with notepad).
Where it has this stuff
ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_engineer",
"all_inf_officer",
"all_inf_wookiee",
"all_hero_hansolo_tat")
Again make a space and add in the same line you put in the rep.req
ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_engineer",
"all_inf_officer",
"OMG_WTF_ROFFLECOPTERS"
"all_inf_wookiee",
"all_hero_hansolo_tat")
Then it's set up and you just have to make room in the memory pools, place the spawn module in zeroedit, fill out the proper values...
Try this for example:
If you are going tobe using an edited republi, copy the folders with the files you would be changeing from the main mod tools' assets >sides> rep folder. Then take the files you downloadedfor the AT-XT and place them in their respective folder (ODF, MSH, req, possibly effects). Now, the rep.req you will have to open with notepad and you will see a list of units. These are actualy file sin the req folder which it will relay to the .lua so you have to hit enter somewhere to make a space in the list and add in a line(exactly the same as the other ones) with rep_walk_atxt of whatever the req name was. Save it. Then go to the common> scripts> modname folder of your project and open the respective lua file(again with notepad).
Where it has this stuff
ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_engineer",
"all_inf_officer",
"all_inf_wookiee",
"all_hero_hansolo_tat")
Again make a space and add in the same line you put in the rep.req
ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_engineer",
"all_inf_officer",
"OMG_WTF_ROFFLECOPTERS"
"all_inf_wookiee",
"all_hero_hansolo_tat")
Then it's set up and you just have to make room in the memory pools, place the spawn module in zeroedit, fill out the proper values...
