Vehicles Not Loading

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
DeadSh0t
Posts: 2
Joined: Wed Jan 10, 2018 11:34 pm
Projects :: Recreation of Korriban
Games I'm Playing :: Star Wars BF2 [2005]
xbox live or psn: Blastfire186

Vehicles Not Loading

Post by DeadSh0t »

Hi, so I've been playing around with modding for SWBF2 for about a month now using Zeroeditor, I'm currently working on a test map just to mess around and see what I can do. My first instinct was to add some dope vehicles. So, I created new groups/regions for the com_item_vehicle_spawn. I have 4 Command points, the first 2 are given to Rep/Cis and in the first 2 CP's I have 2 vehicle spawn points the first is set to ClassRepAtk = rep_hover_fightertank ClassCisDef = cis_hover_aat the second vehicle spawn is set to ClassRepAtk = rep_walk_oneman_atst and ClassCisDef = cis_tread_snail

Image

The other 2 neutral Command Points are both set to ClassRepAtk = rep_walk_atte and ClassCisDef = cis_walk_spider. So basically I copied every msh, req, and odf file I could find with the words atte/atst/spider/fightertank/aat. I checked the req files to see if it wasn't listed for some reason and they were. Right now the only vehicle that shows up is an AAT in the left vehicle spawn of the CIS starting Command Point.

Image

If you can think of anything I may be doing wrong, I'll try just about anything. Thanks! :bowdown:
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: Vehicles Not Loading

Post by ARCTroopaNate »

Have you added the vehicles to your lua??
DeadSh0t
Posts: 2
Joined: Wed Jan 10, 2018 11:34 pm
Projects :: Recreation of Korriban
Games I'm Playing :: Star Wars BF2 [2005]
xbox live or psn: Blastfire186

Re: Vehicles Not Loading

Post by DeadSh0t »

ARCTroopaNate wrote:Have you added the vehicles to your lua??
In ABCc_con.lua they are all listed as they should be i believe

EDIT
If anyone else has any input it would be very appreciated.
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Vehicles Not Loading

Post by correctmushroom2013 »

Hey!) Can you show me your ***.lua file? Do you have rep and cis folders in sides?

And about AT-TE walker, it needs in memory pool for command walkers, and number of walkers with 3 pairs of legs.
The same goes for the rest walkers with 2 pairs of legs (spider walker, dwarfspider)
Hidden/Spoiler:
-- Level Stats
-- ClearWalkers()
AddWalkerType(0, 0) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 1) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 2) -- 3x2 (3 pairs of legs)
local weaponCnt = 1024
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("CommandWalker", 2)

SetMemoryPoolSize("CommandFlyer", 3)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 32)
SetMemoryPoolSize("EntityFlyer", 32)
SetMemoryPoolSize("EntityHover", 32)
SetMemoryPoolSize("EntityLight", 200)
SetMemoryPoolSize("EntitySoundStream", 4)
SetMemoryPoolSize("EntitySoundStatic", 32)
SetMemoryPoolSize("MountedTurret", 32)
SetMemoryPoolSize("Navigator", 128)
SetMemoryPoolSize("Obstacle", 1024)
SetMemoryPoolSize("PathNode", 1024)
SetMemoryPoolSize("SoundSpaceRegion", 64)
SetMemoryPoolSize("TreeGridStack", 1024)
SetMemoryPoolSize("UnitAgent", 128)
SetMemoryPoolSize("UnitController", 128)
SetMemoryPoolSize("Weapon", weaponCnt)
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Vehicles Not Loading

Post by Teancum »

Are you sure that you have the Republic set to attackers and CIS to defenders?
Post Reply