Author Topic: Faster Destructogun  (Read 2017 times)

Can someone edit the destructogun to shoot fast rounds such as the minigun for deleting wide-spread builds? I've messed with it but unfortunately I am not as skilled as others in such projects.

Will do when I'm on computer.

That also was in my mind,but I thought it wouldn`t matter.

Well, I would most likely just use Mission Editor but Putfile is under site maintenance or something.

O crap, forgot about this, sorry.

Alright, I made the minigun destroy bricks but (seeming as I am not skilled in the ways of modding or scripting) I still can't figure out what makes it shoot rapid fire.

This is the states I have for a rapid fire gun, and will probably be of use to you.
Code: [Select]
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] = gunFlashEmitter;
stateEmitterTime[2] = 0.05;
stateEmitterNode[2] = "muzzleNode";
stateSound[2] = gunShot1Sound;
stateEjectShell[2]       = true;

stateName[3] = "Smoke";
stateEmitter[3] = gunSmokeEmitter;
stateEmitterTime[3] = 0.05;
stateEmitterNode[3] = "muzzleNode";
stateTimeoutValue[3]            = 0.01;
stateTransitionOnTimeout[3]     = "Ready";

stateName[4] = "Ready";
stateSequence[4]                = "Ready";
stateTransitionOnTriggerUp[4]     = "Ready";
stateSequence[4] = "Ready";

thankies :D
wonder why i didn't think of just replacing the states before....

 :cookieMonster:

« Last Edit: September 29, 2007, 10:57:52 PM by Dread »

Sorry, real life got in the way.

Ah, it's ok. I don't have a life, so I took care of it.

(thanks again, Grim)
« Last Edit: September 30, 2007, 09:11:02 PM by Dread »

could you post a dl for finished product

You bumped and YEAR OLD THREAD that had what you wanted right ABOVE YOU!?

People these days....

He's lazy and wants it made into a nice downloadable file rather than spending a minute figuring out where to put the code.

I made a destructo minigun by editing the minigun script but I can't be bothered to post it....

edit: I posted it but I got flamed like hell so it's fail now.
« Last Edit: June 30, 2008, 07:35:51 PM by King Lol »