Blockland Forums > Modification Help
Supers Weapon Qestions
SuperFlaminninja:
Hey this is just a post im making so instead of making 6 post make them all in one so yea thank you for looking here and if you know how to make this please tell me by a:
Typed Tutorial
Youtube Video
_____________________________ _____________________________ __________
Thank you very much
* How do i make a pull out animation(i do no how to make animations but now for weapons)
* Whats the script for the weapon to be on your back and where dose the script go?
* How do i add colors?
* How do i make it have ammo?
* How do i change the recoil?
* How do i change rate of fire?
* How to add aim down sight?
* How do i make 2 bones 1 key?
Thank you very much. :cookieMonster:
TheKhoz:
For colors: Assign a material to that part of the mesh. Name it whatever. Then when you package, make a png that is 16x16, name it whatever you named your material, and color it whatever color you want.
For RoF: It's in the script, where it is stating all of the sound names and the firing sequences. For your Famas, it would be this part:
--- Code: --- // Initial start up state
stateName[0] = "Activate";
stateTimeoutValue[0] = 0.15;
stateTransitionOnTimeout[0] = "Ready";
stateSound[0] = weaponSwitchSound;
stateName[1] = "Ready";
stateTransitionOnTriggerDown[1] = "Fire";
stateAllowImageChange[1] = true;
stateSequence[1] = "Ready";
stateName[2] = "Fire";
stateTransitionOnTimeout[2] = "Smoke";
stateTimeoutValue[2] = 0.14;
stateFire[2] = true;
stateAllowImageChange[2] = false;
stateSequence[2] = "Fire";
stateScript[2] = "onFire";
stateWaitForTimeout[2] = true;
stateEmitter[2] = FamasFlashEmitter;
stateEmitterTime[2] = 0.05;
stateEmitterNode[2] = "muzzleNode";
stateSound[2] = FamasShot1Sound;
stateEjectShell[2] = true;
stateName[3] = "Smoke";
stateEmitter[3] = FamasSmokeEmitter;
stateEmitterTime[3] = 0.05;
stateEmitterNode[3] = "muzzleNode";
stateTimeoutValue[3] = 0.01;
stateTransitionOnTimeout[3] = "Reload";
stateName[4] = "Reload";
stateSequence[4] = "Reload";
stateTransitionOnTriggerDown[4] = "Fire";
stateTransitionOnTriggerUp[4] = "Ready";
stateSequence[4] = "Ready";
--- End code ---
1st question: Elaborate.
SuperFlaminninja:
--- Quote from: TheKhoz on July 23, 2011, 06:05:29 PM ---For colors: Assign a material to that part of the mesh. Name it whatever. Then when you package, make a png that is 16x16, name it whatever you named your material, and color it whatever color you want.
For RoF: It's in the script, where it is stating all of the sound names and the firing sequences. For your Famas, it would be this part:
--- Code: --- // Initial start up state
stateName[0] = "Activate";
stateTimeoutValue[0] = 0.15;
stateTransitionOnTimeout[0] = "Ready";
stateSound[0] = weaponSwitchSound;
stateName[1] = "Ready";
stateTransitionOnTriggerDown[1] = "Fire";
stateAllowImageChange[1] = true;
stateSequence[1] = "Ready";
stateName[2] = "Fire";
stateTransitionOnTimeout[2] = "Smoke";
stateTimeoutValue[2] = 0.14;
stateFire[2] = true;
stateAllowImageChange[2] = false;
stateSequence[2] = "Fire";
stateScript[2] = "onFire";
stateWaitForTimeout[2] = true;
stateEmitter[2] = FamasFlashEmitter;
stateEmitterTime[2] = 0.05;
stateEmitterNode[2] = "muzzleNode";
stateSound[2] = FamasShot1Sound;
stateEjectShell[2] = true;
stateName[3] = "Smoke";
stateEmitter[3] = FamasSmokeEmitter;
stateEmitterTime[3] = 0.05;
stateEmitterNode[3] = "muzzleNode";
stateTimeoutValue[3] = 0.01;
stateTransitionOnTimeout[3] = "Reload";
stateName[4] = "Reload";
stateSequence[4] = "Reload";
stateTransitionOnTriggerDown[4] = "Fire";
stateTransitionOnTriggerUp[4] = "Ready";
stateSequence[4] = "Ready";
--- End code ---
1st question: Elaborate.
--- End quote ---
Thnx :D
SuperFlaminninja:
--- Quote from: TheKhoz on July 23, 2011, 06:05:29 PM ---For colors: Assign a material to that part of the mesh. Name it whatever. Then when you package, make a png that is 16x16, name it whatever you named your material, and color it whatever color you want.
For RoF: It's in the script, where it is stating all of the sound names and the firing sequences. For your Famas, it would be this part:
--- Code: --- // Initial start up state
stateName[0] = "Activate";
stateTimeoutValue[0] = 0.15;
stateTransitionOnTimeout[0] = "Ready";
stateSound[0] = weaponSwitchSound;
stateName[1] = "Ready";
stateTransitionOnTriggerDown[1] = "Fire";
stateAllowImageChange[1] = true;
stateSequence[1] = "Ready";
stateName[2] = "Fire";
stateTransitionOnTimeout[2] = "Smoke";
stateTimeoutValue[2] = 0.14;
stateFire[2] = true;
stateAllowImageChange[2] = false;
stateSequence[2] = "Fire";
stateScript[2] = "onFire";
stateWaitForTimeout[2] = true;
stateEmitter[2] = FamasFlashEmitter;
stateEmitterTime[2] = 0.05;
stateEmitterNode[2] = "muzzleNode";
stateSound[2] = FamasShot1Sound;
stateEjectShell[2] = true;
stateName[3] = "Smoke";
stateEmitter[3] = FamasSmokeEmitter;
stateEmitterTime[3] = 0.05;
stateEmitterNode[3] = "muzzleNode";
stateTimeoutValue[3] = 0.01;
stateTransitionOnTimeout[3] = "Reload";
stateName[4] = "Reload";
stateSequence[4] = "Reload";
stateTransitionOnTriggerDown[4] = "Fire";
stateTransitionOnTriggerUp[4] = "Ready";
stateSequence[4] = "Ready";
--- End code ---
1st question: Elaborate.
--- End quote ---
Wait is this it?????
TheKhoz:
--- Quote from: super flamimninja on July 23, 2011, 06:23:04 PM ---Wait is this it?????
--- End quote ---
Yep, just name it 'blue' or whatever color you want.
And, what is a 'pull out animation'?