Electrostaff not working

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

MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Electrostaff not working

Post by MandeRek »

Please don't



Take the whole freaking cis folder, and add ALL electrostaff files to it. Then just in magnaguard odf:


Change weaponsection 1 to name-of-electrostaff.odf

Make sure the other weaps will work with a jedi (just remove them :P )


make Skelletonname and the rest with skel the animation or skelleton name which works with the anims
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Electrostaff not working

Post by t551 »

Please, people!

The solution to every problem is not to copy over the entire frikking side folder. You need to create a new side, with just the things that you need. It's really not that hard, and your maps won't have a gigantic size on disk.
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Electrostaff not working

Post by MandeRek »

I know, but because he had a lot of difficulties i though i'ld spare him creating the req etc.


Eagle_Eye, everything you need is in the Jedi_Creation.doc It really is, it's also user-friendly, and I'm able to mod because of it and i'm dumb so u must understand it as wel ;)
User avatar
Eagle Eye
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Nov 01, 2007 12:44 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: Belgium
Contact:

Re: Electrostaff not working

Post by Eagle Eye »

Thanks for the tip MandeRek, I followed the BF2_jedi Creation, but I didn't find how to fix my problem

Here is the question: where do I need to add the missed code; in the dro_inf_magnaguard.odf/dro_inf_default_magnaguard.odf/dro_inf_default
or
the sat_weap_magnastaff

dro_inf_magnaguard.odf:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "dro_inf_default_magnaguard"


[Properties]

GeometryName = "cis_inf_magnaguard"
GeometryLowRes = "cis_inf_magnaguard_low1"

AnimationName = "maul"



// no head offset for this guy, unlike all other droids
CollisionHeadOffset = "0.0 0.0 0.0"

FirstPerson = "CIS\cisoff;cis_1st_magnaguard"

CAMERASECTION = "STAND"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.0 0.0 4"
TiltValue = "10.0"

CAMERASECTION = "STANDZOOM"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.4 0.05 2.8"
TiltValue = "3.5"

CAMERASECTION = "CROUCH"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.0 0.15 3.5"
TiltValue = "10.0"
CameraBlendTime = "0.75"

CAMERASECTION = "CROUCHZOOM"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

CAMERASECTION = "SPRINT"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.0 0.0 5.0"
TiltValue = "10.0"
CameraBlendTime = "0.75"
dro_inf_default_magnaguard.odf:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "dro_inf_default"


[Properties]
PointsToUnlock = 1

ExplosionName = "cis_inf_droid_exp"
UnitType = "support"

WEAPONSECTION = 1
WeaponName = "sat_weap_magnastaff"
WeaponAmmo = 0



VOUnitType = 093

// the foot height where footstep sounds are played
MinFootHeight = 0.3

VOSound = "cis1_inf_pc_com_hostile SpottedVO"
VOSound = "cis1_inf_pc_com_bacta NeedMedicVO"
VOSound = "cis1_inf_pc_com_mechanic NeedRepairVO"
VOSound = "cis1_inf_pc_com_ammo NeedAmmoVO"
VOSound = "cis1_inf_pc_com_transport NeedPickupVO"
VOSound = "cis1_inf_pc_com_backup NeedBackupVO"
VOSound = "cis1_inf_pc_com_clear_area AttackPositionVO"
VOSound = "cis1_inf_pc_com_defend DefendPositionVO"

VOSound = "cis1_inf_pc_com_hostile_inVehicle SpottedVO +InVehicle"
VOSound = "cis1_inf_pc_com_bacta_inVehicle NeedMedicVO +InVehicle"
VOSound = "cis1_inf_pc_com_mechanic_inVehicle NeedRepairVO +InVehicle"
VOSound = "cis1_inf_pc_com_ammo_inVehicle NeedAmmoVO +InVehicle"
VOSound = "cis1_inf_pc_com_transport_inVehicle NeedPickupVO +InVehicle"
VOSound = "cis1_inf_pc_com_backup_inVehicle NeedBackupVO +InVehicle"
VOSound = "cis1_inf_pc_com_clear_area_inVehicle AttackPositionVO +InVehicle"
VOSound = "cis1_inf_pc_com_defend_inVehicle DefendPositionVO +InVehicle"
dro_inf_default.odf:
Hidden/Spoiler:
[GameObjectClass]

// Base class for all CIS soldiers, inherits from com_inf_default
ClassParent = "com_inf_default"
GeometryName = "cis_inf_bdroid.msh"

[Properties]
ExplosionName = "cis_inf_droid_exp"
HealthType = "droid"

// most droids have funky posture, easiest to put it here
CollisionHeadOffset = "0.0 -0.11 0.05"


ChunkFrequency = 0.6

CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "bdroid_chunk1"
ChunkNodeName = "bone_neck"
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunksmolder"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = 8.0

CHUNKSECTION = "CHUNK2"
ChunkGeometryName = "bdroid_chunk2"
ChunkNodeName = "bone_l_upperarm"
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunksmolder"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = 8.0

CHUNKSECTION = "CHUNK3"
ChunkGeometryName = "bdroid_chunk3"
ChunkNodeName = "bone_l_calf"
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunksmolder"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = 8.0

CHUNKSECTION = "CHUNK4"
ChunkGeometryName = "bdroid_chunk4"
ChunkNodeName = "bone_r_thigh"
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunksmolder"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = 8.0

CHUNKSECTION = "CHUNK5"
ChunkGeometryName = "bdroid_chunk5"
ChunkNodeName = "bone_a_spine"
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunksmolder"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = 8.0


HurtSound = "cis_inf_com_chatter_wound"
DeathSound = "droid_death"
DamageRegionSound = "cis_inf_com_chatter_wound"
ShockFadeOutTime = ""
ShockFadeInTime = ""
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
LowHealthSound = ""
//LowHealthThreshold = ".25"
FoleyFXClass = "cis_inf_droid"
sat_weap_magnastaff.odf:
Hidden/Spoiler:
[WeaponClass]

ClassLabel = "melee"

[Properties]
IconTexture = "HUD_sat_magnastaff_icon"


GeometryName = "sat_weap_magnastaff"
ComboAnimationBank = "human_sabre melee cis_hero_darthmaul"

MuzzleFlash = "arccaster"
Discharge = "arccaster"

RoundsPerClip = "0"
ReloadTime = "1.0"

LockOnRange = "1.0"
LockTime = "0.4"
AutoAimSize = "1.0"

MinRange = "0"
OptimalRange = "1.5"
MaxRange = "3"


FirePointName = "hp_fire_lightsabre"

HitSound = "com_weap_inf_grenade_bounce"
SwingTime = "0.9 0.4 com_weap_throw"
CanDeflect = 0
The ARBc_con.lua script:
Hidden/Spoiler:
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep2_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper_felucia",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hero_anakin")

ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul")



ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower",
"tur_bldg_chaingun_tripod")

ReadDataFile("dc:SIDE\\dro.lvl",
"dro_inf_magnaguard")

SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep2_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper_felucia",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},

},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"dro_inf_magnaguard",1, 4},
special = { "cis_inf_droideka",1, 4},
},
}

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")
Also Silas said:
Silas wrote:k i added the elextro staff odfs mshs and the common file in, but it cuases a crash.....i get this error:

Code: Select all

Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation magnaguard_sabre_stand_attack2c(_upper)
First: i do not have a weap com file for the sat_weap_magnastaff, do i need to make/cope one? where i can find it?
second: never heard about the magnaguard_sabre_stand_attack2; is that a animation? do i need to add that file or more of that files? and where?
And the last thing is as u can see on the image: i dont have the electro on the staff

Maybe these question solve my problem
Here is a image of the problem:
Image
Can someone help me please? I tryed like everything to fix this
Thanksss in advance!!!!
Post Reply