My Cloaking device

Releasing the source files for your mod or map? Post em' here. (Applies to both SWBF1 & SWBF2)

Moderator: Moderators

Post Reply
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:

My Cloaking device

Post by Master Fionwë »

I don't know if this would qualify to be in here, but it's a source file.

This is a cloaking device made by me, it gives complete invisibility, running, jumping, sprinting, rolling, no flickering for at least five minutes unless hit or damaged, or standing by a health droid while hurt. I haven't tested it through an entire battle yet, so I don't know if it will flicker at all through the course of a whole battle.
Please credit me if you use this.
If I get a better one working, I'll post it here.
Enjoy modders!
[WeaponClass]
ClassLabel = "invisibility"

[Properties]
Label = "Invisibility Field"

GeometryName = ""
HighResGeometry = ""
HUDTag = "hud_stealth"

AnimationBank = "tool"

//ChargeUpEffect = "com_sfx_chargeup"
//MuzzleFlash = "med_muzzle_flash"
FlashColor = "80 80 255 255"
FlashLength = 0.025
FlashLightColor = "220 220 255 175"
Discharge = "med_smoke_effect"

//RoundsPerClip = "32"
ReloadTime = "0.0"

HeatPerShot = "5.0" // only allow player to fire every 5 seconds
HeatRecoverRate = "1.0"
HeatThreshold = "0.01"

InitialEnergyDrain = "0.0"
EnergyDrain = "0.0"
//EnergyDrainRate = "0.0"
InitialSalvoDelay = "0.3"

InvisibilityTrigger = "Toggle"
InvisibilityPersistTime = "1000.0"
InvisibilityMax = "1.0"
InvisibilityMin = "0.3"
SpeedForInvisibilityMax = "9.5" // normal run
SpeedForInvisibilityMin = "40.5" // full sprint
InvisibilityIncRate = "0.6"
InvisibilityDecRate = "0.9"
FlickerAmplitude = "0.0" // decrease invisibility by 0.5
//FlickerTimeMin = "5.0" // randomly every 5 to 10 seconds
//FlickerTimeMax = "10.0"

//ThrustFactor = "0.5" // when firing, move at half speed
TargetLock = "1" // when firing, activate target lock

//ZoomMin = "2.0"
//ZoomMax = "2.0"
//ZoomRate = "0.0"

//FirePointName = "hp_fire"

ModeTexture = "HUD_weap_semiauto"
//ModeTextureColor = "42 235 42 100"
ReticuleTexture = "reticule_rifle"
ScopeTexture = "weapon_scope2"

OffhandWeapon = 0
InstantPlayFireAnim = 1
TriggerSingle = "1"

LockOnRange = "64.0"
LockTime = "0.0"
AutoAimSize = "2.0"

TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0"

ChargeRateLight = "1.0"
MaxChargeStrengthLight = "1.0"
ChargeDelayLight = "0.0"
ChargeRateHeavy = "1.0"
MaxChargeStrengthHeavy = "0.5"
ChargeDelayHeavy = "2.2"

RecoilLengthHeavy = "0.25"
RecoilStrengthHeavy = "2"
RecoilDecayHeavy = "0.0"

FireSound = "all_weap_invisibility_fire"
//ReloadSound = ""
WeaponChangeSound = ""
ChangeModeSound = ""
FireEmptySound = ""
ChargeSound = ""
ChargeSoundPitch = "0.05"
OverheatSound = ""
OverheatSoundPitch = "0.5"
OverheatStopSound = ""
JumpSound = ""
LandSound = ""
RollSound = ""
ProneSound = ""
SquatSound = ""
StandSound = ""

//NextCharge = 0.25
//HeatPerShot = "0.6"
//AmmoPerShot = 1

//NextCharge = 0.5
//HeatPerShot = "0.65"
//AmmoPerShot = 2

//NextCharge = 0.75
//HeatPerShot = "0.8"
//AmmoPerShot = 3

//NextCharge = 0.99
//HeatPerShot = "1.0"
//AmmoPerShot = 4
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Post by Maveritchell »

Not to burst your bubble, but that's all of a change of two lines of .odf code. All you need to change is the SpeedForInvisibilityMin (to something high) and the FlickerAmplitude (to 0) and you get a non-flickering, non-deceasing invisibility.
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:

Post by Master Fionwë »

I was messing with it for quite some time, so it seemed like more was done to it. But yeah, I just compared it with the shipped one. Boy do I feel dumb....
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Post by Maveritchell »

There's nothing wrong with that, I'm sure someone'll at least learn something from this. If you want, though, I can merge this into the other thread on the invisibility weapon. (Besides, I know when I'm looking for this kind've solution to a modding issue, I usually search the modding forum anyway.)
Alpha-17
Master Sergeant
Master Sergeant
Posts: 165
Joined: Mon Jan 22, 2007 2:26 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Alpha-17 »

Nice done Fionwe and Maveritchell :D I'll try this in my new map ... Should I give credits to you two ?
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:

Post by Master Fionwë »

Okay, thanks Maveritchell. Thanks for the complement Alpha-17.
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

Post by wazmol »

sweet as!

fionwe always helping out as usual and same with mave'
CommanderShaun

Post by CommanderShaun »

sounds interesting :bobba:
Post Reply