General tip - Should I re-code ODFs or make new ones?

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
mrcluster
Private First Class
Posts: 80
Joined: Thu Sep 01, 2016 3:41 pm
Projects :: Tatooine - Jundland Wastes
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set

General tip - Should I re-code ODFs or make new ones?

Post by mrcluster »

Didn't really know how to phrase this 100% accurate, but I've been curious about what to do in the following situation.

- I'm creating a custom class that is similar to the basic Clone Trooper, which already has a stock ODF coded for it.
- However, I planned to add some differences (it's a Clone Scout Trooper, like on Kashyyyk). I wanted to change his arsenal and give him a different model, obviously.
- The role he'd fill would still be the "rifleman" class for the team.

In the above case, is it better/a tad more organised to create a new ODF for this class, or should I just re-code the base rifleman ODF instead as a way of saving space?
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: General tip - Should I re-code ODFs or make new ones?

Post by Samee3 »

You could make many of the changes through LUA with SetClassProperty.
Check this tutorial for how to change the model with LUA.
Post Reply