on the first line it says:A namespace cannot contain members such as fields or methods
m_BaseWeapons = UnityEngine.Object.FindObjectsOfType(typeof(BaseWe apon));
foreach (UnityEngine.Object Weap in m_BaseWeapons)
{
var curWeap = Weap as BaseWeapon;
if (!curWeap)
continue;
// No recoil, super range
curWeap.WeaponStats.RecoilForce = 0.0f;
curWeap.WeaponStats.ProjectileRange = 1000.0f;
curWeap.WeaponStats.ProjectileSpeed = 100.0f;
// No inaccuracy
curWeap.Accuracy.BaseInAccuracyDegrees = 0.0f;
curWeap.Accuracy.MovementInAccuracyDegrees = 0.0f;
curWeap.Accuracy.RepeatFireInAccuracyTotalDegrees = 0.0f;
curWeap.Accuracy.FireInstantAccuracyDecayDegrees = 0.0f;
// No shake
curWeap.Effects.CameraShakeDuration = 0.0f;
}
just tried it now
unfortunately didn't work
this is the error i get
"Dll injection failed: symbol lookup error"
sorry for awakening such an old topic
So you mean you can inject a dll in to robocraft?
I cant inject any dll
neither mine nor others
Last edited by mehrdad995gta; 09-04-2015 at 10:28 AM. Reason: do you think the same that this field is useless?