Game Modding | Call of Duty: Black Ops 3 | Scripting
Sleepy216:
Title pretty much describes it. I'm getting into client side scripting, and so I don't know a lot about it(getting better, I can actually make stuff happen haha).
In radiant there is a drop-down option on an ent called "client_server", so I'm guessing it's a one or the other type situation correct?
Thanks in advance for answering my obvious question.
Harry Bo21:
Client side means you can only reference it in csc and each player has their own copy of it
Dynamics in cod are individual, each person sees ragdolls and stuff differently ( you may see a zombie body somewhere, player 2 might see it elsewhere )
Sleepy216:
Client side means you can only reference it in csc and each player has their own copy of it
Dynamics in cod are individual, each person sees ragdolls and stuff differently ( you may see a zombie body somewhere, player 2 might see it elsewhere )
Spiki:
you can with clientfields if you want something preprogrammed to happen to the ent in csc
Sleepy216:
you can with clientfields if you want something preprogrammed to happen to the ent in csc
Harry Bo21:
Thats what I have been using, I just wasn't sure if there were better options for certain things that you need to use server and client functions on.
For example in Panic Center(the map from waw) there is a vent you have to shoot to get to the pharmacy.
I wanted to make it an easier find, so I used DR to give it an outline. However I needed to be able to "launch" it as well.
When I tried launch and physicslaunch in csc it crashed. I assumed that'd be the case because scriptapi said it's a server function(sorry if "function" isnt the proper term, I don't know all the scripting terminology). However some "server" marked functions still work in csc so I tried it out. I couldn't get DR to work on dynamic ents so that was out of the question(plus now that I know dynamic ents are instanced, that wouldn't have been an elegant solution)
I ended up doing some jank method that deletes the client side model at the same time as I launch one from the gsc side, but I feel like there has to be a better way to do it.
eDeK:
Thats what I have been using, I just wasn't sure if there were better options for certain things that you need to use server and client functions on.
For example in Panic Center(the map from waw) there is a vent you have to shoot to get to the pharmacy.
I wanted to make it an easier find, so I used DR to give it an outline. However I needed to be able to "launch" it as well.
When I tried launch and physicslaunch in csc it crashed. I assumed that'd be the case because scriptapi said it's a server function(sorry if "function" isnt the proper term, I don't know all the scripting terminology). However some "server" marked functions still work in csc so I tried it out. I couldn't get DR to work on dynamic ents so that was out of the question(plus now that I know dynamic ents are instanced, that wouldn't have been an elegant solution)
I ended up doing some jank method that deletes the client side model at the same time as I launch one from the gsc side, but I feel like there has to be a better way to do it.
Sleepy216:
It “crashed” because the model didn’t have a valid physics preset set in ape
Does the "outline" work for you?
Just im trying to put a "outline" to the players always "activated", but i have all the body painted and i only want a "outline".
eDeK:
Got it! Thanks. I put this and work.
Now I need edit various things to get exactly what i want.
By the way, if you have the cellbreaker of Spiki, look the "brutus_helmet.physpreset" in APE and look the CSC, maybe can help you with your model, idk.
Harry Bo21:
Gsc launch prob used some default
eDeK:
Harry how can i get in CSC the "player 1, player 2, player 3, player 4"?
Like this, but this is GSC.
Harry Bo21:
Harry how can i get in CSC the "player 1, player 2, player 3, player 4"?
Like this, but this is GSC.
eDeK:
Im trying this...
Player 1 with "outline green".
Player 2 with "outline blue".
Player 3 with "outline red".
Player 4 with "outline yellow".
All players now have the "outline green".
How can i put the "player 2" with the "outline blue" ?
How can i put the "player 3" with the "outline red" ?
How can i put the "player 4" with the "outline yellow" ?
Harry Bo21:
Im trying this...
Player 1 with "outline green".
Player 2 with "outline blue".
Player 3 with "outline red".
Player 4 with "outline yellow".
All players now have the "outline green".
How can i put the "player 2" with the "outline blue" ?
How can i put the "player 3" with the "outline red" ?
How can i put the "player 4" with the "outline yellow" ?
Players = getplayers(0)
eDeK:
Harry in mode "update_dr_troll", ok!
Harry Bo21:
That’s literally the answer
Use a variable on that line instead of setting “green_outline”
eDeK:
Solved!
Thanks for reply Harry, anyways.