Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

5v3n

66
Posts
107
Followers
81
Following
A member registered Sep 20, 2021 · View creator page →

Creator of

Recent community posts

hey

I added second download for this project..
It has mouse buttons now..
also removed variable name and added bool for locked /unlocked.

For interact key use MBL or MBR for mouse buttons left/right
For interact key you can also use NONE- so door cant be interacted directly.

if door is locked by default then you dont have key for it..
..to give player a key variable must be set to 1..
..to open /close door with variable then you must set remote variable to 1..

Each door must have unique name so if your door name is for example GarageDoor1
then its KEY variable name will be GarageDoor1_key
and its remote variable name will be GarageDoor1_remote

Now you can use SetOrChange variable that is default action in Coppercube to set those variables to 1 to give key or control door with variable.

Make sure to delete old script and replace it with new script in scripts folder.

(1 edit)

I actually have this possibility added to the current version.

There is special variable that you can use  "_remote"

So if you have door with name DOOR1 then variable that you can use is DOOR1_remote

What you can do with it is: add behaviour to the door:
IF klicked then do something..
SetChangeVariable DOOR1_remote to 1
Now door should open if you klicked on it.

With same method you can make buttons to open door and many more things.

Anyways i update this project so it can be used with mouse klick directly.

Yes its good to have these options- somewhere i have script with these options-will update this project soon.

Without knowing javascript its impossible to add commands to it.
This script made long time ago so there is better way to do that but at current version works like this..

You see line in i_in file :something like this:

1,-309.30,0.01,-112.74,155.23,stand,null&

its the player ID ,positionXYZ,rotationY,animation, COMMAND

ends with & symbol -then next player data will continue if any other player there.

command is not one parameter command as animation name or pos data,

command can be with parameters -separator is |


it reads string from file,
string res

command part starts from res[6]

to check what command it is :(for invisible command)
command name is Inv:
Is it inv?? check:
if res[6].substr(0, 4)=="Inv:"

if yes split it : separator is | for parameters:

var cres = res[6].split("|");

then do whatever needed and use parameters

var m=ccbGetSceneNodeFromName(cres[1]);
ccbSetSceneNodeProperty(m, "Visible", false);

splitted from | then dont count 0 (its the command name itself)
cres[1] for invisible is str nodename.



command line looks like this:

myCommandName:|param1|param2|...and so on.

by script you can use those as needed.

Yes its possible.. needs some scripting to add new command for this..
if you know scripting then you can easily add commands to it.. all it needs is after each change (similar to open door or turn light on/off) you need to send command out to other players so they can update theyr game.

hamachi shows you IP  adress that should be used near to power off button.
(server should print ip adress also-dont know why it doesnt show ip adress (should actually show 2 adresses if hamachi online (one is correct to use another not) .. run it with "Run as administrator" may fix it.)

(1 edit)

Two computers must be at same network to be able to play this multiplayer.. i dont remember exactly .. but there was program named hamachi that did create connection between computers and was able to use this multiplayer.
server.exe displays IP adress that should be used by client.

hi , you can email me : [email protected]

(1 edit)

Hi, you can ask irrelavant questions of this itch project topic by using email. Anyways you cant use KeyDown for setting animation directly.. it spams function set animation and it wont allow model to play animation, to prevent this you can use variable..
[animation must be set one time only on each keypress]

Also you can use my action that sets animation [simple scripts] -it wont set animation if animation is already set (so it cant be spammed by keydown)
https://5v3n.itch.io/coppercube-simple-scripts










Sometimes if you have 3d model that uses same texture for multiple obj groups..
then it shows as one texture slot in coppercube.

In tools/options --untick checkbox that says : group similar materials in materials window

(this may work)

also it depends how obj exporter works.. it may group similar materials also.

(so if you use textures that has different filenames it cant do that)

This is how it looks on my screen.. i have resolution 1920/1080

Hi ,this is very nice ..  with sounds you have added and car texture it looks and sounds cool.
NB! i had problems to run the game because i had no idea how to start the game :D
Add this line to your main meny -"maybe you have this there but scale of overlay makes it invisible on my screen":
Press "R" to restart the game

Nice work, ambience feels and looks good.. Tank model is from CC prefabs (i wrote script that moves tank on terrain)

You are welcome- i added HIT animation to the AI as you suggested- it needs some work but sometimes it looks good.. i will relase update soon so its easier to setup animations and timers and other parameters that are needed for use of this scripts.

targetname is player name who gets damaged.. man in this case.
damage val is value of damage that happens if attack action executed 10 in this case.
use random if enabled puts additional damage to the damage val..damageVal+random(number)
random max 10 is in range between 0 to 9...
so if random val is 9 and damageVal is 10 -total will be 19

ifRND0miss hit.. if random is 0 ..player gets no damage at all.if enabled.

critical hit not enabled in this script-- it will be used to freeze player if hit is 19 (means total) in this case. so player hit animation + maybe some camera shake or something i will figure out.


i have 6.7.1 also- works fine.
What you can try : clean up your scripts folder-C:\Users\Lenovo\Documents\CopperCube\extensions
(make backup of files there then empty that folder.. then run ccb that is with download )



Hi, Its not possible to teleport with physics on.. 

player gets stuck if there is wall between two points.. even if i use command 

ccbSetSceneNodePositionWithoutCollision

Thank you very much. If you need some script  or editing on exsisting scripts then let me know will try to return back. I wish you best too.

(1 edit)

Enemie health you can set (it uses built in health system) -download includes only scripts. muzzle script you can take from my weapon script.

You can use your own AI script.. no need to use what i included. Main part of this share is trigger behavior. 

Inside action input as usual.

Project updated.

Currently its for lowering weapon.. next weapon will be set visible after current is low..

With animation blending it looks like lowers current and then rises next weapon.

Its easy to add both animations -if i have more time i might consider adding it.

I accidently set price to it..its free to download..so you can see it in action.

Landmine example: https://drive.google.com/file/d/1TkNKTZ5zBMmxavLNWh2HHPpy02ggWdgE/view?usp=shari...

Hi, i lost it.. i will make new and post it

Hi, with scripting its doable.. my example is made for player vs player. -to make it work to update AI positions  needs scripting , i made for my own use simple AI update script (if i find it then i post it here- but still for custom game its all about scripting)

Hi, coppercube writes file .. client program sends it to server.. server sends ot to client programs.. client writes it to a file .. coppercube read it from file- then in script it parses the string: string looks like - command_name, value,value ..

i dont currently have second computer so its not possible for me to test and make fixes  properly.

Player positions are sent out with interval..minimal event action sends commamd only if action is made and should be update something..for example remove node or create one or set visible or invisible something.

Commamds to parse you can add in script ..

In my example i dont have many of them but can be added as many as needed.

Hi.. for 3d model (half in the ground) make sure its pivot point is set to the floor just like sleepwalker have it. Probably i make new version for networking (its very old project of mine so its simpler to make new version than repair old one ) 

Cant share ccb file .. i use and add more models that i did buy from cgtrader.  Maybe i make version with free dummy models and share that version in future.

Hi, i havent used CC physics ..just once i played with it.  Will check it out later..

i dont have studio version so cant see the code but probably its fixable.

I am glad you like it.

Thanks

Thanks, this healthbar is meant for being used on AI players to display health (game actor with health) but with some simple edits it can be used anywhere.. but there are also script made
https://hadoken-records.itch.io/coppercube-power-bars

Its not free but worth its price and its probably exactly what you need.

Very cool

You need to setup command for this.. its actually simple. if object picked up you send out command so object will set invisible for others -object can be idenified by its name.. so command can be "oVisible,nodename,false" 
Script will parse this line as 3 parameters..
command:oVisible
par1:nodename
par2:value
setScenenodeProperty(getNodebyname(par1) ,"Visible",par2);

I have example for this actually .. i will upload example with many commands soon.

Yes this project will get update ..i have many ideas in my mind and i add these ideas into code. If you have ideas what to add or what to change then let me know ..feedback always welcome and helps me improve it.

Thank you very much

You already did support-you dont have to support each project. I am thankful for your support.. i will keep doing stuff for sure.

Thank you very much.. its a big amount -too big.

OSZAR »