Gungan Problem *SOLVED*

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
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Gungan Problem *SOLVED*

Post by Aman/Pinguin »

Well,
It's a very easy question but:
How do i create a Sniper with the Model of a Gungan?
I copied all gungan files in my rep side folder and added him to rep.req
I created a new ODF which looks like this:

Code: Select all

[GameObjectClass]
ClassParent         = "com_inf_default"
GeometryName        = "nab_inf_gungan.msh"

[Properties]
UnitType            = "Scout"

GeometryName        = "nab_inf_gungan"
GeometryLowRes      = "nab_inf_gungan_low1"
SkeletonName        = "gungan"
SkeletonRootScale   = "1.1"

OverrideTexture     = "gungan03"

NumTentacles        = "2"
BonesPerTentacle    = "3"
TentacleCollType    = "0"

//this keeps the player from entering first person with this char
forcemode                       = 1

MaxHealth       = 300.0
MaxSpeed            = 8.0       // base forward speed
MaxStrafeSpeed      = 6.0       // base right/left speed

WEAPONSECTION = 1
WeaponName         = "rep_weap_inf_sniper_rifle"
WeaponAmmo         = 7

WEAPONSECTION = 2
WeaponName         = "rep_weap_inf_pistol"
WeaponAmmo         = 2

WEAPONSECTION = 3
WeaponName         = "rep_weap_inf_thermaldetonator"
WeaponAmmo         = 2
WeaponChannel      = 1

WEAPONSECTION = 4
WeaponName         = "rep_weap_inf_autoturret_dispenser"
WeaponAmmo         = 1
WeaponChannel      = 1

WEAPONSECTION = 5
WeaponName         = "rep_weap_award_sniper_rifle"
WeaponAmmo         = 6

WEAPONSECTION = 6
WeaponName         = "rep_weap_award_pistol"
WeaponAmmo         = 6

CAMERASECTION           = "STAND"

EyePointOffset          = "0.0 2.0 0.0"
TrackOffset             = "0.0 -0.0 3.75"
TiltValue           = "7"

CAMERASECTION           = "CROUCH"

EyePointOffset          = "0.0 2.0 0.0"
TrackOffset             = "0.0 -0.0 3.75"
TiltValue           = "7"

CAMERASECTION           = "SPRINT"

EyePointOffset          = "0.0 2.0 0.0"
TrackOffset             = "0.0 -0.0 5.0"
TiltValue           = "7"
CameraBlendTime         = "0.75"

VOUnitType              = 171
HurtSound               = "gungan_hurt"
DeathSound              = "gungan_die"
ShockFadeOutTime        = ""
ShockFadeOutGain        = ""
ShockFadeInTime         = ""
ShockSound              = ""
ClothingRustleSound     = ""
LowHealthSound          = ""
LowHealthThreshold      = "1.1"

VOSound = "gungan_inf_chatter_AcquiredTarget    AcquiredTarget"

FoleyFXClass            = "wok_inf_soldier"


AISizeType          = "SOLDIER"


I added the gungan to the lua too
But the unit doesnt appears ingame...

Is something wrong with the ODF?
Or do i have to add something else to the lua?


- Pinguin


ps.: sorry if my english isn't easy to understand ;)
Last edited by Aman/Pinguin on Fri Jul 20, 2007 6:19 am, edited 1 time in total.
Master Fionwë
Rebel Colonel
Rebel Colonel
Posts: 598
Joined: Wed May 30, 2007 3:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: At RCTC
Contact:

RE: Gungan Problem

Post by Master Fionwë »

Did you add a .req to the req folder?
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Post by Aman/Pinguin »

Yes, of course. :?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Post by Caleb1117 »

Did you prep a new side in:
C:\BF2_ModTools\data_ABC\_BUILD\Sides?

Or are you just modifying the rep side?
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Post by Aman/Pinguin »

modifying rep side ^^

I clean and munge everything right now... maybe it works then
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Post by Aman/Pinguin »

It still dont works... any ideas?
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Post by Snork »

It would be easier to just copy the republic weapons you want to use to the gungan side and then give them to one of the gungans.
User avatar
phazon_elite
Rebel Colonel
Rebel Colonel
Posts: 597
Joined: Tue Jan 16, 2007 9:10 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
Contact:

Post by phazon_elite »

Off Topic: Oh noes, first Majin had a Gungan special sniper unit, and now we have another one! LOL

On Topic: Do you have all the models for the Gungan and Weapons? Without models nothing exists in the game world (except for sprites. Curse you sprites!).

- EP-782
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Post by Aman/Pinguin »

On Topic: Do you have all the models for the Gungan and Weapons? Without models nothing exists in the game world (except for sprites. Curse you sprites!).
I have all files for the Gungan but not for the weapons, because i dont use them...

EDIT: LOL, IM DUMB!!!! I've controlled again every files and found in rep.req this:

ucft
{
REQN
{
"lvl"
"rep_fly_anakinstarfighter_sc"
"rep_fly_arc170fighter_dome"
"rep_fly_arc170fighter_sc"
"rep_fly_assault_dome"
"rep_fly_cat_dome"
"rep_fly_gunship"
"rep_fly_command"
"rep_fly_gunship_sc"
"rep_fly_gunship_dome"
"rep_fly_jedifighter_dome"
"rep_fly_jedifighter_sc"
"rep_fly_naboo_starfighter"
"rep_fly_ride_gunship"
"rep_fly_vwing"
"rep_hero_oddball"
"rep_hero_oddball_con"
"rep_inf_ep3_engineer"
"rep_inf_ep3_jettrooper"
"rep_inf_ep3_officer"
"rep_inf_ep3_pilot"
"rep_inf_ep3_rifleman"
"rep_inf_ep3_marine"
"rep_inf_ep3_rocketeer"
"rep_inf_ep3_sniper"
"rep_inf_gungan_sniper
"rep_veh_remote_terminal"

}

}

It should be "rep_inf_gungan_sniper"!!!!!
SRY ^^
And thanks for the help :)
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Post by Snork »

You figured it out on your own? Good! A modder who isn't totally helpless and quits after 1 week!
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Post by Aman/Pinguin »

Snork wrote:You figured it out on your own? Good! A modder who isn't totally helpless and quits after 1 week!
hehe thanks :D
Post Reply