How to make Stormtroopers behave like Wampas

Started by Eldelnas, August 02, 2016, 04:12:10 AM

Previous topic - Next topic
Quote from: Ascertes on August 03, 2016, 06:30:13 AM
Could we see your ODF files? That would probably be the fastest way to identify the problems

This is my ODF

[GameObjectClass]
ClassParent             = "com_jedi_default"
GeometryName            = "imp_inf_stormtrooper"

[Properties]
HUDTag                  = "hud_wampa"
AISizeType              = "HOVER"

GeometryName            = "imp_inf_stormtrooper"
GeometryLowRes      = "imp_inf_stormtrooper_low1"
SkeletonLowRes      = "wampalz"

SkeletonName            = "wampa"

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

// well, they can't use technology!
NoEnterVehicles = 1

// do NOT kneel when dead
FleeLikeAHero   = 0

// one jump animation for this dude
UseDirectionalJumps = 0

JetJump             = "00.0"    //The initial jump-push given when enabling the jet
JetPush             = "0.0"     //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration     = "0.0"    // for characters with jet jump, use this acceleration for in air control
JetEffect           = ""
JetShowHud          = 0

CollisionScale      = "0.0 0.0 0.0" // don't take damage from collisions

WEAPONSECTION = 1
WeaponName1           = "hot_weap_lightsaber_wampa"
WeaponAmmo1           = 0

//HEALTH
HealthType              = "person"
MaxHealth               = 1800.0

// Movement defaults
// These are values for an average class - some soldiers will override these
MaxSpeed                = 7.0       // base forward speed
MaxStrafeSpeed          = 5.25       // base right/left speed
MaxTurnSpeed            = 5.0       // base turn speed
JumpHeight              = 2.5      // base jump height in meters
// Speed multipliers for various actions
JumpForwardSpeedFactor  = 1.3       // boost forward part of velocity by this factor when jumping
JumpStrafeSpeedFactor   = 1.0       // boost side/backward part of velocity by this factor when jumping
RollSpeedFactor         = 1.5       // in forward arc, boost speed by this factor when rolling
// Apparently contant for all or most classes:
Acceleration            = 70.0      // accelerate to full run in about 7/70 = 0.1 seconds
SprintAccelerateTime    = 0.35      // accelerate from run to sprint in this time

// ControlSpeed = "<stance> <thrustfactor> <strafefactor> <turnfactor>"
// For grounded states (stand, crouch, prone, sprint) and jet state,
//  in which the thrust/strafe stick controls the player's velocity,
//  these values are multipliers on the max speed and acceleration.
// For flying states (jump, roll, tumble), in which the thrust/strafe stick
//  applies an acceleration, these values only multiply the acceleration.
ControlSpeed            = "stand  1.00 1.00 1.00"
ControlSpeed            = "crouch 0.70 0.60 1.00"
ControlSpeed            = "prone  0.30 0.20 0.50"
ControlSpeed            = "sprint 3.00 0.50 0.35"
ControlSpeed            = "jet    0.30 0.30 1.00"
ControlSpeed            = "jump   0.03 0.03 0.35"
ControlSpeed            = "roll   0.02 0.02 0.35"
ControlSpeed            = "tumble 0.00 0.00 0.10"

///SOUND
SndHeroSelectable           = ""
SndHeroSpawned              = ""
SndHeroDefeated             = ""
SndHeroKiller               = ""

SoldierMusic        = ""
HurtSound           = "wampahurt"
DeathSound          = "wampadeath"
LowHealthSound      = "wampa_chatter"
LowHealthThreshold  = "1.1"

FoleyFXClass        = "wok_inf_soldier"
SWBF2 player since 2005 but noob modder.

Mod projects:
-Battle of Jakku
-Malachor
-Death Troopers

Quote from: Ascertes on August 03, 2016, 09:20:47 AM
I haven't done much editing with either wampas or Jedi, but after a quick glance at their respective ODF's I'd have to say no. They function very much the same, however.

EDIT: Eldelnas, I have a link for you that might help you out a bit. http://gametoast.com/viewtopic.php?f=27&t=31914  (the topic relevant to you is at the bottom of the post.)

I can't access gametoast  :confused: I think it's blocked in my country or something...
SWBF2 player since 2005 but noob modder.

Mod projects:
-Battle of Jakku
-Malachor
-Death Troopers


Quote from: Sereja on August 05, 2016, 02:04:20 AM
Some proxy sites may help you.

Thanks! At last I can look on gametoast :D
SWBF2 player since 2005 but noob modder.

Mod projects:
-Battle of Jakku
-Malachor
-Death Troopers

Quote from: Ascertes on August 03, 2016, 09:20:47 AM
Eldelnas, I have a link for you that might help you out a bit. http://gametoast.com/viewtopic.php?f=27&t=31914  (the topic relevant to you is at the bottom of the post.)

Okay, I looked at the link, but it's to make Wookies attack like Wampas and they both have the same skelleton so maybe that's easier than making a stormtrooper move and attack like a wampa because of the different skelletons...
SWBF2 player since 2005 but noob modder.

Mod projects:
-Battle of Jakku
-Malachor
-Death Troopers

Quote from: Eldelnas on August 05, 2016, 04:10:37 AM
Okay, I looked at the link, but it's to make Wookies attack like Wampas and they both have the same skelleton so maybe that's easier than making a stormtrooper move and attack like a wampa because of the different skelletons...

Perhaps the Skeletons and the Geometry are linked? Try changing the SkeletonName and SkeletonLowrRes to that of the stormtrooper and see if that does anything helpful.

Maybe also try editing the stock stormtrooper WeaponSection ODF so it has the wampa claw. Just an idea.
"Birth, pain, fear, death; the cycle of existence." -Dread Master Calphayus.

SWBF1 Maps: Tatooine: Mos Anek, Kashyyyk: Village, Naboo: Province, Tatooine: Gulch.

SWBF2 Maps: Space Carida.

If I just edit the weaon on the stormtrooper odf it crashes... that's why I think I need the wampa skeleton to make it work.
SWBF2 player since 2005 but noob modder.

Mod projects:
-Battle of Jakku
-Malachor
-Death Troopers

Quote from: Eldelnas on August 08, 2016, 06:22:25 AM
If I just edit the weaon on the stormtrooper odf it crashes... that's why I think I need the wampa skeleton to make it work.

Wish I could be of more help but I'm out of ideas :\ Sorry for the late reply I was out on vacation. Hopefully someone else knows enough to help you out with this...
"Birth, pain, fear, death; the cycle of existence." -Dread Master Calphayus.

SWBF1 Maps: Tatooine: Mos Anek, Kashyyyk: Village, Naboo: Province, Tatooine: Gulch.

SWBF2 Maps: Space Carida.