Hey guys, i decided to try to script my first script in black ops 3 and started with a buildable script. I'm sure this script could be improved greatly and would love for someone to critique my code. Heres the script itself ( i copied the knuckle crack from the pack-a-punch script ).
Spoiler: click to open...
Here is a video of the script
Not sure if the script is worth copying if you wanna use the script go ahead and just credit me, thanks
Double Post Merge: October 02, 2016, 02:57:13 pmi cant edit my post, but can a mod or someone delete everything with "raygun_model" from my code. Or comment it out because it was something i tried that didn't work but forgot to take it out, thanks
Last Edit: October 02, 2016, 06:47:30 pm by HitmanVere
i cant edit my post, but can a mod or someone delete everything with "raygun_model" from my code. Or comment it out because it was something i tried that didn't work but forgot to take it out, thanks
If you don't mind me asking, how did you get playfx to work? I was trying to use it for one of my custom traps and for some reason I couldn't get it to play any fx. Double Post Merge: October 02, 2016, 11:29:13 pmAlso you get this error when trying to compile: Compiler Internal Error : Unresolved external 'util::waittill_any' Double Post Merge: October 02, 2016, 11:32:42 pmJust make sure you tell people what scripts to include into this script so it works.
Last Edit: October 02, 2016, 11:32:42 pm by reckfullies
If you don't mind me asking, how did you get playfx to work? I was trying to use it for one of my custom traps and for some reason I couldn't get it to play any fx. Double Post Merge: October 02, 2016, 11:29:13 pmAlso you get this error when trying to compile: Compiler Internal Error : Unresolved external 'util::waittill_any' Double Post Merge: October 02, 2016, 11:32:42 pmJust make sure you tell people what scripts to include into this script so it works.
i scripted this in my mapname gsc so it would be easier to thread, im not sure which ones are required .
please let me know if you get more errors, i cant believe i forgot to include which scripts i used
If you don't mind me asking, how did you get playfx to work? I was trying to use it for one of my custom traps and for some reason I couldn't get it to play any fx. Double Post Merge: October 02, 2016, 11:29:13 pmAlso you get this error when trying to compile: Compiler Internal Error : Unresolved external 'util::waittill_any' Double Post Merge: October 02, 2016, 11:32:42 pmJust make sure you tell people what scripts to include into this script so it works.
oh and i assume i got playfx to work because i scripted it inside my mapname gsc and i had all the scripts pretty much available to me
Sorry might be dumb to ask...but I've read the replies and your post and through the script you've posted. I'm not very comfortable with scripting much yet..I'm a little confused on what I'm supposed to do exactly to add this to my map. If you don't mind could you explain with even more detail on how to add it. Thanks in advance! Script looks great!
If you want it to be a different weapon, go into his script and find:
and replace "ray_gun" with one of the weapons from this list(If it is a custom weapon just use whatever name you set that as): Link
However if you want to make it a non-weapon item you would need to script that your self obviously then use what ever way you want to give it to the player.
Last Edit: October 05, 2016, 09:58:12 am by reckfullies