Page 1 of 1

Darktrooper problems

Posted: Sun Apr 26, 2009 11:58 am
by destos
well im editing the darktrooper to be more like the phaseII darktrooper but im having a few problems

1. i edited the jet pack to be exactly like the republic jettrooper but i cant go up... heres a video of what i mean http://www.xfire.com/video/ac6bf/ i want to go up but it only arcs me kinda like gravity is pulling me down heres my darktrooper's odf
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "imp_inf_default"
GeometryScale = 2.0

[Properties]
PointsToUnlock = 12

AISizeType = "HOVER"

MaxSpeed = 4.0
MaxStrafeSpeed = 2.0
MaxTurnSpeed = 2.0


JetJump = "5.0" //The initial jump-push given when enabling the jet
JetPush = "8.0" //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration = "30.0"
JetEffect = "imp_sfx_jetpack_darktrooper"
JetFuelRechargeRate = "0.12" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.16" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.25" //initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "0.24" //minimum fuel to perform a jet jump(fuel is 0 to 1)

MaxHealth = 800.0

CollisionScale = "0.0 0.0 0.0"
any ideas on how to make the jet pack just like the republic one?

2. im trying to make my dark trooper 2 times bigger but it just doesnt seem to be working, all i could find in the bf2log was this
Hidden/Spoiler:
Message Severity: 2
.\Source\EntitySoldier.cpp(10471)
Soldier imp_inf_darktrooper has geometry collision
heres my option msh for the dark trooper and darktrooper none default odf.
Hidden/Spoiler:
-scale= 2.0
[GameObjectClass]
ClassParent = "imp_inf_default_dark_trooper"


[Properties]
GeometryName = "imp_inf_darktrooper"
FirstPerson = "IMP\impdark;imp_1st_darktrooper"
GeometryLowRes = "imp_inf_darktrooper_low1"
SkeletonRootScale = "2.0"
yes i did read fragme's scaling up animations tut... but the darktrooper doenst have a animation file in the mungefolder. or is the munge.bat hes talking about not in the sides folder?

Re: darktrooper problems

Posted: Sun Apr 26, 2009 12:03 pm
by Fiodis
1. Copy lines from the Repulic Jettrooper's ODF.

2. You made a typo, it should be -scale 2.0 in the msh.option file instead of -scale= 2.0. There's no =.

Re: darktrooper problems

Posted: Sun Apr 26, 2009 12:49 pm
by destos
for number 1 i did copy and paste from the jettrooper odf.... and the video is whats happening since i changed it..

also it did make the darktrooper bigger once i fixed my typo.... but now its walking through the terrain, its legs go under the terrain as if the terrain was a illusion and its not the real ground, any one know how to fix this?

Re: darktrooper problems

Posted: Sun Apr 26, 2009 1:27 pm
by da_great_ghost
The vid is kinds laggy so its hard to see what you mean. It looks like he just doing the same old jump. Try a clean and remunge and look and see of this line is in your odf.

Code: Select all

JetType             = "hover"

Re: darktrooper problems

Posted: Sun Apr 26, 2009 2:35 pm
by Fiodis
destos wrote:also it did make the darktrooper bigger once i fixed my typo.... but now its walking through the terrain, its legs go under the terrain as if the terrain was a illusion and its not the real ground, any one know how to fix this?
Look in the MSH section of the FAQ thread, "Working with TRANS in MSH Files." You'll need to edit some TRANS bits to raise him up.