Switch Rebel snipers through ODF? [Solved]
Moderator: Moderators
- Alexrd
- Lance Corporal
- Posts: 99
- Joined: Fri Nov 06, 2009 1:42 pm
- Projects :: Phase I Clone Trooper Mod
- Location: Portugal
Switch Rebel snipers through ODF? [Solved]
Is there a way where I can switch the sniper girl by the sniper man (Tantive IV), through the .odf files?
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Rebel snipers
Yes open the male snipers odf and replace the females with the males odf.
- Alexrd
- Lance Corporal
- Posts: 99
- Joined: Fri Nov 06, 2009 1:42 pm
- Projects :: Phase I Clone Trooper Mod
- Location: Portugal
Re: Rebel snipers
Didn't work.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Rebel snipers
did u munge and put the new lvl in game?
- RED51
- Jedi

- Posts: 1024
- Joined: Sun Sep 07, 2008 6:25 pm
Re: Rebel snipers
This is actually very simple to do. The male and female snipers are different entitles, which can be summoned by the LUA through their REQ files.
Here is the male sniper REQ:
"all_inf_sniper_fleet"
Call him through your LUA, and you now have a male sniper, ya sexist(just messing around,
)!
edit:
Just realized that you meant through the ODF, but the REQ is much more sufficient, unless you require ODF changes, but even then, just edit the "all_inf_sniper_fleet" ODF files.
Here is the male sniper REQ:
"all_inf_sniper_fleet"
Call him through your LUA, and you now have a male sniper, ya sexist(just messing around,
edit:
Just realized that you meant through the ODF, but the REQ is much more sufficient, unless you require ODF changes, but even then, just edit the "all_inf_sniper_fleet" ODF files.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Rebel snipers
Hang on, now. What exactly are you trying to do? Switch which unit is used for the stock map and era? Switch the unit in a custom era/map? What?
- Alexrd
- Lance Corporal
- Posts: 99
- Joined: Fri Nov 06, 2009 1:42 pm
- Projects :: Phase I Clone Trooper Mod
- Location: Portugal
Re: Rebel snipers
I munged, but it didn't worked. I wouldn't put the new lvl in game if it doesn't work in my map.skelltor wrote:did u munge and put the new lvl in game?
Both. If it works on my map, I just have to change the lvl of the alliance side for the in game lvl.Fiodis wrote:Hang on, now. What exactly are you trying to do? Switch which unit is used for the stock map and era? Switch the unit in a custom era/map? What?
Through the REQ, will it change the in game units?RED51 wrote:This is actually very simple to do. The male and female snipers are different entitles, which can be summoned by the LUA through their REQ files.
Here is the male sniper REQ:
"all_inf_sniper_fleet"
Call him through your LUA, and you now have a male sniper, ya sexist(just messing around,)!
edit:
Just realized that you meant through the ODF, but the REQ is much more sufficient, unless you require ODF changes, but even then, just edit the "all_inf_sniper_fleet" ODF files.
- hunting shadow
- Private First Class
- Posts: 79
- Joined: Sun Jan 18, 2009 11:37 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the wilderness of Mandalore
- Contact:
Re: Rebel snipers
@1: do you call for the edited side in your lua? like this:
@2: doing so may break your online compatibility, because your female sniper would call for a diffrent .msh than the one of the other players. I say may because I'm not sure about it and i already made the experience that you can do quite a lot of stuff to your sides without braking compatibility. Imho the best way: deleting the female mesh, copying the male mesh and rename it so that it has got the same name as the former female mesh. This way, you would definitly keep your Compatibility and you wouldn't need to bother with the req, lua or odf.
@3: Supposing you mean the units on the stock maps with "in game units" then the answer is no. You would need to call for the req in the missions lua, and calling for a diffrent unit as stock on stock maps will definitly prevent you from playing online. it is much easier to do like i described above, to replace the meshes.
Hidden/Spoiler:
@3: Supposing you mean the units on the stock maps with "in game units" then the answer is no. You would need to call for the req in the missions lua, and calling for a diffrent unit as stock on stock maps will definitly prevent you from playing online. it is much easier to do like i described above, to replace the meshes.
- Alexrd
- Lance Corporal
- Posts: 99
- Joined: Fri Nov 06, 2009 1:42 pm
- Projects :: Phase I Clone Trooper Mod
- Location: Portugal
Re: Rebel snipers
Got it done. Forgot to add "dc:" on the lua.hunting shadow wrote:@1: do you call for the edited side in your lua? like this:Hidden/Spoiler:
So, I copied the whole male sniper .odf content, and pasted it over the girl sniper .odf content, added the "dc:" on the .lua, munged, replaced the all.lvl of my map by the all.lvl of the game and it works on the whole game, multiplayer included.
Thanks for the help.
EDIT: Now I can't delete my map. It says the folder is open in another program... Any tips?
Last edited by Alexrd on Tue Mar 30, 2010 9:35 am, edited 1 time in total.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Rebel snipers
Reboot, then delete.
- Alexrd
- Lance Corporal
- Posts: 99
- Joined: Fri Nov 06, 2009 1:42 pm
- Projects :: Phase I Clone Trooper Mod
- Location: Portugal
Re: Rebel snipers
Done. Thanks. 
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
