76
Add-Ons / Re: Advanced Weapon pack [5/16/15]
« on: May 16, 2015, 12:13:46 AM »
Mini-bump for update :D
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Why can only the Main pack be downloaded off of your Onedrive link?
why do you randomly update w/o a changelog :(
changes for next update
*Removed all functions from individual weapons, all scripts related to adv weapons are now called when a weapon has "usegenericscripts =true" in its image. this saves TONS of time when trying to script new weapons/ edit universal functions, and removes around 230 lines of script from each of 26 cs files and a few datablocks.
*edited the hud (example Gif below, sorry for stuff quality)
*Akimboed guns can be reloaded and dry fired
*Added new "mystery" weapon.
*Added "player->AddAmmo" event.
*Fixed distant sound audio not playing due to typo in scripts.
*Creating a fancy algebraic equation for the boosts that scopes and other accessories give weapons, instead of the arbitrary ones hard coded into the weapons now.
*slower forward movement speed while firing.
*added bullet holes with randomised sizes.
host a new master serverwith blackjack, and hookers!
%obj.client.setControlCameraFov(%obj.client.defaultZoom);
function gc_BullpupImageScoped::onUnMount(%this,%obj,%slot) { parent::onUnMount(%this,%obj,%slot); gc_displayAmmo(%this,%obj,%slot,-1); %obj.client.setControlCameraFov(%obj.client.defaultZoom); }
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] = NameOfYourGunFlashEmitter;
stateEmitterTime[2] = 0.05;
stateEmitterNode[2] = "muzzleNode";
stateSound[2] = NameOfYourGunShot1Sound;
stateEjectShell[2] = true;
stateName[3] = "Smoke";
stateEmitter[3] = NameOfYourGunSmokeEmitter;
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";
You really just need to find a reliable website to host your stuff.