I was working on the mania mod (and this will spoil it some) and I was trying to change the geometry of the remote droid to a commander cody prop. It crashed when I tried to use the remote droid. Heres the .odf of the remotedroid:
[spoiler][WeaponClass]
ClassLabel = "remote"
[Properties]
IconTexture = "HUD_com_probedroid_health_icon"
MuzzleFlash = "small_muzzle_flash"
Discharge = "small_smoke_effect"
GeometryName = "cody_prop_helmet"
RoundsPerClip = "1"
ReloadTime = "0.0"
LockOnRange = "80.0"
LockTime = "0.4"
ZoomMin = "0.0"
ZoomMax = "0.0"
ZoomRate = "0.0"
AnimationBank = "grenade"
SwitchImmediately = "1"
TrackingSound = ""
OrdnanceName = "all_weap_inf_remotedroid_ord"
ShotDelay = "1.4"
MinSpread = "0.0"
MaxSpread = "0.0"
AutoAimSize = "1.0"
SalvoCount = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.3"
FireSound = "com_weap_inf_remotedroid_fire"
ReloadSound = "all_weap_inf_equip_med"
ChangeModeSound = "all_weap_inf_equip_med"
WeaponChangeSound = "all_weap_inf_equip_med"
[/spoiler]
All I did was change the geometry names. Here's the ord file that I also changed the geometry names in:
[spoiler][GameObjectClass]
ClassLabel = "droid"
GeometryName "cody_prop_helmet.msh"
[Properties]
ImpactEffectWater = "watersplash_ord"
FLYERSECTION = "BODY"
VehicleType = "light"
PilotType = "remote"
MapTexture = "troop_icon"
HealthTexture = "HUD_com_probedroid_health_icon"
MapScale = 1.0
ExplosionName = "all_weap_inf_remotedroid_exp2"
GeometryName = "cody_prop_helmet"
CollisionScale = 10.0
MaxHealth = 40.0
AddHealth = 0.0
SetAltitude = 1.75
GravityScale = 1.0//2
LiftSpring = 10.0 //10Lighter the veh the high the number
LiftDamp = 3.0
ScanningRange = 30.0
TransmitRange = 300.0
Acceleration = 2.0
Deceleration = 6.0
Traction = 22.0
ForwardSpeed = 3.5
ReverseSpeed = 2.0
StrafeSpeed = 0.25
SpinRate = 1.5
TurnRate = 1.5
TurnFilter = 5.0
PitchRate = 2.0
PitchFilter = 5.0
BankAngle = 0.0
BankFilter = 0
MoveTension = "20.0"//how much swim the craft has from the center of the screen
LevelSpring = 5.0
LevelDamp = 3.0
EyePointOffset = "0.0 0.5 0.0"
TrackOffset = "0.0 -0.25 1.5"
TiltValue = "5.0"
PitchLimits = "-50.0 50.0"
YawLimits = "-0.0 0.0"
AimerPitchLimits = "-90 90"
AimerYawLimits = "-90 90"
WEAPONSECTION = 1
WeaponName = "all_weap_inf_remotedroid_blaster"
WeaponAmmo = 0
WeaponChannel = 0
WEAPONSECTION = 2
WeaponName = "all_weap_inf_remotedroid_destruct"
WeaponAmmo = 1
WeaponChannel = 1
AmbientSound = "remotedroid_engine_lp"
Ambient2Sound = "remotedroid_radio"
HurtSound = ""
DeathSound = ""
AISizeType = "SMALL"
\\\\\\\\\\\\ Collision \\\\\\\\\\\\\\
BuildingCollision = "p_buildingsphere"
VehicleCollision = "p_buildingsphere"
OrdnanceCollision = "p_sphere"
SoldierCollision = "p_sphere"
[/spoiler]
If anyone sees a problem let me know.
I haven't tested this but you labeled it :GeometryName = "cody_prop_helmet": and then :GeometryName "cody_prop_helmet.msh": it might be causing the game to crash
hmm I'll check the original remotedroid files for that
--EDIT
That wasn't the case, however I did try changing it back to com_weap_inf_grenadethermal_ord or whatever it was but it still crashed when only the ord file had any referance to cody_prop_helmet so I have no idea whats wrong.. Actually it might have something to do with the salvo...
--EDIT
Okay wow.. I replaced all the files related to the remotedroid with the stock Alliance files and it still crashes..!?!
Tried sptest yet?
Dont have it, nor do I know how to use it. But If all else fails I will just take the remotedroid out completely. :confused:
It's possible the cody helmet mesh is damaged and that would cause a crash without any sptest error logs. You should test the mod with sptest anyway and see what the cause of crash is. I have attached sptest and battlebelk's sptest loader for you
sptest+sptestLoader.7z.
You cannot upload that type of file. The only allowed extensions are doc,gif,jpg,mpg,pdf,png,txt,zip,rar.
Thanks Phobos, I just took the remote droid out which may end up being better.