Call of Duty: Black Ops 3 => Downloadable Items for Mappers => Custom Maps, Mods & Tools => Scripts => Topic started by: shinged on October 02, 2016, 07:01:37 am
Title: My buildable script
Post by: shinged on October 02, 2016, 07:01:37 am
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
Title: Re: My buildable script
Post by: HitmanVere on October 02, 2016, 06:47:48 pm
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
Done
Title: Re: My buildable script
Post by: shinged on October 02, 2016, 07:44:30 pm
Title: Re: My buildable script
Post by: reckfullies on October 02, 2016, 10:45:36 pm
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.
Title: Re: My buildable script
Post by: shinged on October 03, 2016, 02:27:27 am
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
Title: Re: My buildable script
Post by: shinged on October 03, 2016, 02:29:05 am
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
Title: Re: My buildable script
Post by: M0ul3_G4m3r on October 03, 2016, 05:47:34 pm
Hello ! How I can add this in my custom map please ? :D
Title: Re: My buildable script
Post by: shinged on October 03, 2016, 09:02:50 pm
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
I did end up fixing it since I just went into the pack a punch script and found what includes I needed.
Also, in my buildables script I have the knuckle crack sounds included as well, ill give you stuff to add them to yours if you want.
Title: Re: My buildable script
Post by: MEGALELZ on October 04, 2016, 09:38:41 am
How do we change what item it builds?
This is dope tho, thanks!
Title: Re: My buildable script
Post by: Blink-420 on October 05, 2016, 01:29:13 am
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! :)
Title: Re: My buildable script
Post by: ulraz_viper on October 05, 2016, 02:38:54 am
Could you go more in depth on the models/triggers types and KVPs please?
Title: Re: My buildable script
Post by: reckfullies on October 05, 2016, 09:56:59 am
Thanks for this! BTW loved your minecraft map, could you teach us how to make those cells some day too?
Yep, maybe at some point ill make a tutorial for them, since they are super easy to setup
Title: Re: My buildable script
Post by: Blink-420 on November 19, 2016, 08:13:58 am
Works great solo thank you. But for multiplayer when anyone picks it up, it takes all their weapons and all their points with the samantha laugh. How do I fix this? :(
Title: Re: My buildable script
Post by: AciD_Alcoholic on February 01, 2017, 10:44:51 pm
Can anybody help me out with putting the KVP's in the triggers and the table? :) :poker: :poker: