Author Topic: need some help with wep  (Read 3889 times)

hey my wep wont show i enabled it in addons and stuff and i read masterlegosdude tutorial and when you hit brick with wrench i look for it and its notthere please help


Loading compiled script base/server/scripts/DamageTypes.cs.
Loading compiled script base/server/scripts/allGameScripts.cs.
... Shape with old version.
Loading compiled script base/data/shapes/player/player.cs.
Executing Add-Ons/ADD_ON_LIST.cs.
Add-Ons/Weapon_Ultima weapon.cs Line: 4 - Syntax error.
>>> Advanced script error report.  Line 7.
>>> Some error context, with ## on sides of error halt:
/ultima weapon.cs



//audio

datablock AudioProfile(ultima weaponSound)##
##
{

   filename    = "./sound/death";

   description = AudioClose3d;
>>> Error report complete.

Executing Add-Ons/Weapon_Ultima weapon.cs.
Add-Ons/Weapon_Ultima weapon.cs Line: 4 - Syntax error.
>>> Advanced script error report.  Line 7.
>>> Some error context, with ## on sides of error halt:
/ultima weapon.cs



//audio

datablock AudioProfile(ultima weaponSound)##
##
{

   filename    = "./sound/death";

   description = AudioClose3d;
>>> Error report complete.

Executing Add-Ons/Weapon_Sword.cs.
Executing Add-Ons/Weapon_Spear.cs.
Executing Add-Ons/Weapon_SniperRifle.cs.
Executing Add-Ons/Weapon_Rocket Launcher.cs.
Executing Add-Ons/Weapon_Push Broom.cs.
Executing Add-Ons/Weapon_Minigun.cs.
Executing Add-Ons/Weapon_KewlWep.cs.
Add-Ons/Weapon_Kewl wep.cs Line: 4 - Syntax error.
>>> Advanced script error report.  Line 7.
>>> Some error context, with ## on sides of error halt:
/kewl wep.cs

You've got some syntax errors. The reasons being i think because at the start you've tryed commenting and you;ve only put one / comments are //.

/ultima weapon.cs
/kewl wep.cs

should be:

//ultima weapon.cs
//kewl wep.cs

That's probably just being cut off in the console, if it was causing a problem, it would be highlighted. The real problem is that you cannot have a space in dataBlock names.


hey randy i just tried that it still wont work but your right about one thing i highlighted the part that was the error forget the kewl wep focus on ultima_weapon

okay this is pissing me off cmon someone has to know this.

Randy told you what was wrong.

well i didi that still doesnt work i says it the imge ill post code



ParticleEmitterData(ultimaweaponTrailEmitter) unable to find particle datablock: ultima
ParticleEmitterData(ultimaweaponTrailEmitter) unable to find particle datablock: weaponTrailParticle
ParticleEmitterData(ultimaweaponTrailEmitter) unable to find any particle datablocks
Add-Ons/Weapon_ultimaweapon.cs (0): Register object failed for object ultimaweaponTrailEmitter of class ParticleEmitterData.
ParticleEmitterData(ultimaweaponExplosionEmitter) unable to find particle datablock: ultima
ParticleEmitterData(ultimaweaponExplosionEmitter) unable to find particle datablock: weaponExplosionRingParticle
ParticleEmitterData(ultimaweaponExplosionEmitter) unable to find any particle datablocks
Add-Ons/Weapon_ultimaweapon.cs (0): Register object failed for object ultimaweaponExplosionEmitter of class ParticleEmitterData.

yeah.so also  i think its the image how in milkshape do you shade the model THIS IS SO CONFUSING >.<

I suggest you give up.

well i gave my other wep to masterlegodude and he changed it alot not the script but the wep he made it look like a wep

HEY I FOUND UP WHATS UP! alright i need particleemmiter frfom particles i typed in bubble but dont work =(

Hmm I think it's cause the datablocks are ultima_ and it's referancing ultima...

EDIT: You posted :P

dude stop doing gay jokes this is serious okay well
datablock ParticleEmitterData(bubbleTrailEmitter)
{
   ejectionPeriodMS = 3;
   periodVarianceMS = 0;
   ejectionVelocity = 0.0;
   velocityVariance = 0.0;
   ejectionOffset   = 0.0;
   thetaMin         = 0;
   thetaMax         = 0;
   phiReferenceVel  = 0;
   phiVariance      = 0;
   overrideAdvance = false;
   particles = "./particles/cloud3";
};


so yeah what do i put for particles if i get that then IM COMPLETE