Unit not appearing (Solved)
Moderator: Moderators
- Super_Clone
- High General

- Posts: 803
- Joined: Sat Jul 12, 2008 7:58 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Florida
Unit not appearing (Solved)
Ok, so i made a test map to fool around with Rep's HD Clone.msh, i did the usual (copied over common and rep folders) and replaced the stock episode 2 model with Rep's high def one. I put in the env map .tga and .tga.option, and the clone leather.tga, i reference the rep_inf_ep2_rifleman in the lua and munge. But when i test it, the whole unit doesn't appear, but i works perfectly fine in mesh viewer, what could I be doing wrong?
Last edited by Super_Clone on Mon Apr 06, 2009 1:04 pm, edited 1 time in total.
-
theultimat
- Lieutenant General

- Posts: 679
- Joined: Sun Apr 13, 2008 1:39 pm
- Location: UK
Re: Unit not appearing
Did you read it in to the LUA? I know you said you "referenced" it, but what exactly do you mean by that?
- Super_Clone
- High General

- Posts: 803
- Joined: Sat Jul 12, 2008 7:58 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Florida
Re: Unit not appearing
yea, thats what i mean.
-
theultimat
- Lieutenant General

- Posts: 679
- Joined: Sun Apr 13, 2008 1:39 pm
- Location: UK
Re: Unit not appearing
Did you put in the
part of the code, where it is supposed to be?
Code: Select all
dc:- Super_Clone
- High General

- Posts: 803
- Joined: Sat Jul 12, 2008 7:58 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Florida
Re: Unit not appearing
Yup, and i found this in my error log:
But it is also properly referenced in the req...
Code: Select all
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(625)
Team missing class "rep_inf_ep2_rifleman" (check the side's .req file)
uf_updateClassIndex(): Added class: rep_inf_ep3_rocketeer
uf_updateClassIndex(): Added class: rep_inf_ep3_sniper
uf_updateClassIndex(): Added class: rep_inf_ep3_engineer
uf_updateClassIndex(): Added class: rep_inf_ep3_officer
uf_updateClassIndex(): Added class: rep_inf_ep3_jettrooper
uf_updateClassIndex(): Added class: cis_inf_rifleman
uf_updateClassIndex(): Added class: cis_inf_rocketeer
uf_updateClassIndex(): Added class: cis_inf_sniper
uf_updateClassIndex(): Added class: cis_inf_engineer
uf_updateClassIndex(): Added class: cis_inf_officer
uf_updateClassIndex(): Added class: cis_inf_droideka
uf_updateClassIndex(): Added class: cis_hero_darthmaul
uf_updateClassIndex(): Added class: rep_hero_anakin
utility_functions2: ReadDataFile(): This map's code, mode: tst tst_conquest-
theultimat
- Lieutenant General

- Posts: 679
- Joined: Sun Apr 13, 2008 1:39 pm
- Location: UK
Re: Unit not appearing
Could you post your lua? That would help.
- Super_Clone
- High General

- Posts: 803
- Joined: Sat Jul 12, 2008 7:58 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Florida
Re: Unit not appearing
Hidden/Spoiler:
-
theultimat
- Lieutenant General

- Posts: 679
- Joined: Sun Apr 13, 2008 1:39 pm
- Location: UK
Re: Unit not appearing
You don't read in the unit "rep_inf_ep2_rifleman". You still have the Ep-3 one.
- Super_Clone
- High General

- Posts: 803
- Joined: Sat Jul 12, 2008 7:58 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Florida
Re: Unit not appearing (Solved)
Thanks Ultimat! Mods, this can be locked!
