Cotaks
(- Click for (UP)Bge resources)
December 20, 2016, 6:29am
1
This page shows the resources that i share for BGE and UPBGE.
Terms of usage:
All resources are free to use.
Do whatever you like with it.
– But do NOT sell the resources as it is (create your own resources if you want to sell something).
– You may use any of my resources in your game, and sell your game.
Credits are appreciated, but not needed.
All things below should work in BGE from version 2.6+ and in UPBGE .
One of the blends not working? feel free to send me a pm.
If you can use it, use it.
(Please do not post anything in this topic, use the topic of the resource itself to reply)
ADDONS:
I could not find anything that moves an object with the keyboard, so i made an addon for it.
This does the same as using ctrl and dragging one of the axis with the mouse.
Added:
a converted version for Blender 2.80 beta
upgraded to v1.1 added:
a property to set the units for each axis x2 (x, -x, y, -y, z, -z)
– move the object on the axis first then the property will show up in the transform menu (T key), once you set a new value it will move the object directly by the missing distance. …
BLENDS/SCRIPTS:
Roll the dice, grab the score and do stuff with it. 1 dice not enough? duplicate it as many times you want.
Here is a .blend :
dobbelsteen.blend (566.7 KB)
Works in upbge 0.2.5 and in 0.30.0, should also work in legacy bge 2.79(not tested).
Hello,
Here it is, a tile based A* path finding based on breadth-first search
>>> YOU NEED TO HAVE PYTHON KNOWLEDGE FOR THIS!!!
The setup i share is basically a ready to go setup for a hexagon tile and turn based game. 2 characters to move with different path lengths, no (end)turn mechanic, This is a stripped down verion to showcase the A* in use with a character to walk among the path.
Video:
[UP BGE tile based A* pathfinding]
(what you see is what you get)
Download: upbge 0.2…
Hello,
Here is an example with some comments explaining how to load new textures on an object while running the game engine. Good for LOD or just to reuse a building during runtime with other looks(textures)
A few years ago someone shared the base code with me, not sure who it was thought it was sdfgeoff. Anyway i adapted it and thought to share it with everyone. Why share it now? because people asking it more often and others say that it isn’t possible, so to proof them wrong here it is:
cha…
Hello,
This is an xp system that also calculates levels.
you can level up and delevel, you can also get overloaded xp or into the negatives.
It shows a notification while leveling up or down.
A video says more then words so here it is:
[Blender Xp / (de)level system]
and the .blend
xp system.blend (526.6 KB)
Hello,
I had this script laying around and thought to share it with you.
It’s has arms with a sword doing a combo.
It works in BGE, for it to work in UPBGE you need to redo the animation. But this is all about the combo script and not about my badly created animations so you should be fine to use it in either one.
Single pulse = manual left click for the combo within the reset time.
True pulse = full automated swings trough the combo list by holding down the mouse button. …
Hello,
added new version (2020)
– added sound
– an object will spawn at the end of the dialog (use this to spawn a button or to close your dialog)
Some simple typewriter effect with the option to skip to other lines.
You can simply expand the number of lines
The always sensor sets the type speed, e key to skip to the next line/speed up the placing.
.zip with sound and .blend
skippable typewriter dialog effect.zip (92.0 KB)
Credits:
Sound included in this .zip file comes from http://s…
Hello,
* New version * (18-5-2018)
4.3 changes
Huge bug fix, the GD itself was not restored properly.
Every one who is using v4.1 or v4.2 should download v4.3
It saves:
position
orientation
properties
Linear velocities
Angular velocities
color
scale
states
and the whole globalDict
How it works:
Every scene that gets saved needs an object(any name) with a property: spawner. This to define the object spawner in the scene (best is just an empty).
Objects u want to save needs a property …
I made a soundless tutorial on how to create a texture out of a font ready to be used in the game engine.
[BGE Texture as font]
Files you need (if you want to create your own images):
create font image.zip (157.1 KB)
(If winzip can’t extract it then download winrar )
An example to create slow motion, or even fast motion (by increasing the timescale)
[bge slow motion]
blend:
slow motion.blend (1.7 MB)
(only works in Bge v2.74+ due to the timescale is added in/from that version and in UPbge)
Hello,
This is a txt dialog/book/quest system, you load in a txt file, the first line will be the title, every other line acts like a page out of a book and we are then able to skip trough the pages/lines and load other txt files on the fly.
v2.1 changes
working in upbge
Altered unsave/outdated logic storage to globaldict storage
v2 changes— it needed some cleaning.
nothing runs in true pulse anymore
added page numbers
added a line break to new line option
added auto. visibility toggle fo…
it creates a procedural front and last name on load, then either l_click to change front name or r_click to change the last name.
name generator.blend (471 KB)
grabs random names on load and when clicking on the button (pre made names)
name generator (full names).blend (487 KB)
Have fun with it.
Cotaks
Hello,
I made a prototype for a project of mine, and i’m willing to share it with you all.
It’s a RTS building placement system with pre requirements, rotatable buildings, collision checks… so the buildings can be any size you like (0.1x0.1 or 1000x1000 it won’t be a problem), an option to zoom/look around, and it’s very easy to add more buildings/pre requirements(only 2 steps (1. create building, 2. put it’s name into the script)).
[blender RTS building placement]
I will not pos…
Hello,
I combined a few new and old assets of mine to get a ready to go FPS engine.
It includes:
assets spawner (all objects are spawned)
fps setup (shoot/reload/pickup ammo)
light manager (5 lamps will be moved around to lit the closest light spots)
save and load (save and load the whole generated world, ESC to open menu)
keybindings (set your own key’s, K key to open keybindings menu)
teleporters (they are on an hidden layer, put them in layer 1, when standing on it press e key to use it)
…
Hello,
Added v3,
- removed the property align
added align to the script (still select able for each object)
added max_spawn to the script (global max, and per object max)
set the right physics for objects
reduced the amount polygons of the stone
I have created a random assets placer.
What it does? it spawns objects that you have defined on random locations(with random orientation) on the terrain. It does an 8 directions ray check for each object before it gets placed, so you should not fin…
Hello,
New version (7-1-2019)
a ready to go fully working setup
I have been creating a game launcher with settings that saves into an .ini setup.
this version has check-boxes and lists to skip through.
And here is a video to see it in action:
[Blender game launcher with settings]
The .blends have comments that you need to read.
Once you are done with building the launcher to your likings. You create a .exe from it.
Now you place the ‘game’ folder and the settings.ini in that…
Hello,
I have made an inventory that uses globalDict to store the items.
items are stored into categories that you can define for each object.
This will make it easier to implement a crafting system, sorting object, or what ever you like.
What can you do?
- grab items and place it in an inventory
- show/close inventory
- drop items on the ground
- drag the inventory around
- see what item you have dropped/picked up
- stack items
- create categories
inventory will restore to last known posi…
Hello,
First Person movement script with Key and mouse bindings v2
added a converted build for UPBGE (5-1-2019)
What this new version can do:
It lets you or the player set his own key and mouse bindings
There is no sliding down on slopes (player friction is set to zero as well)
Slope detection to alter forces and speeds
No more getting launching in air when you walk/run on/of a slope
The character can climb allot of angles at different speeds depending on the angle.
High physics substebs …
Hello,
You get the third person movement system (8 directional) including my keybindings script.
Added:
a converted version for UPbge (28-2-2019)
Controls:
K - open the keybindings menu
WSAD - move
SPACE - jump
mouse - lookaround
scrollwheel - zoom
left shift - run
BGE:
Tera movement system.blend (762 KB)
UPBGE:
8 directional movement system(upbge).blend (785.4 KB)
- For upbge 3.0 download upbge version and change player_camera.py line 27 to 31 into: …
Hello,
Someone needed an endless runner setup.
So i made a simple setup that has a max. of 3 floor planes on screen at any given time.
V1.2 changes:
max_distance changed into spawn_distance
added_before changed into a list and has its own distance check called remove_distance
added 2 more ground planes and parented objects to it, it now uses random.choice to select one
added a tiny bit of comments at the things you can change
player jump height changed and set to tap mode (no flying anymore…
Hello,
Added: a mini + world map without an background (so just showing icons)(15-03-2019)
[22-09-2016] -> new version v2.0
World map overview added
variables easier to set (top of the script)
some properties have changed
corrected the mini map ratio compared with the output render
new video
This is a Mini and world map that shows location and orientation of objects as planes
Options:
show objects with a property.
switch camera/map modes
zoom in and out (in all modes)
set detection range…
Hello,
- Added: a converted build for UPBGE (4-3-2019)
Let the user/player set his own key and mouse bindings.
How it works:
On a press of a button the script listen to our keyboard and mouse, once we get an input we put it into the global dict.
The global dict is used to save, load and use all the keybindings.
How to use:
Hit K to open the keybindings menu.
Click on a button to set a new key or mouse button.
Hit save or the close button to save and close the menu
How to port it to your…
Hello,
I have made a simple light manager script, it moves the lamps to empties at the nearest locations around the player.
script will explain itself, have fun with it.
#
# Light manager by Cotax
#
# on lamp(s) add property: light
# on placeholders(empties) add properties:
# - light_source -> boolean -> True (on/off)
# - energy -> float -> 1.0
# - distance -> float -> 4.0
# - color -> string -> 111 (rgb)
#run scriptname.place_light from any object you like wi…
Hey,
Today is the day that i didnt have anything to do.
Sooo i made you a simple but effective click to move / point and click setup.
What does it do?
you click somewhere with your mouse and the player walks to it.
you can also use WSAD (not build in, ive build 1 keyboard actuator in it with all keys(just to see if it works, and for you to see how too make the WSAD)
it navigates through a navmesh, but this is not needed, just put the steering actuator at seeking and u can remove the navmesh…
Hello,
It’s getting time to put an human model on the net, for the ones that can use it.
It is a low poly human model without a face (i didnt need a face for my project).
Info:
1390 faces.
No modifiers active or used, besides mirror modifier.
Full model, hands, feet, head, chest, legs, but no face/ears.
Uv’ed, ready to texture.
Not rigged, that is something u may do on ur own.
Screenshots:
[image]
[image]
Download .Blend
human_model_by_cotax.blend (763 KB)
I hope you like it, chee…
Teleport script for blender 2.6+
New version:
I have changed it a bit, now u got an empty that is set as an end location, meaning you dont have to mess with coordinates anymore. I have also included a movement script, so u can actually walk around and try the teleporters.
This version includes:
teleport to an end location (can be placed where you want)
make the teleporters teleport you to a random or fixed location
turn teleporters on or off
easy to add more telporters
Download(bge/upbge):…
#
# LoD by cotaks
#
# Place a property on the object that needs LoD, call it lod_mesh and put the origional object name in it.
# Make a low poly mesh, call that mesh: origionalname_far (so put _far behind the name that you used in last step).
# Add the origional mesh name to the dict in get_distances(cont)
# Only 1 object type needs a property, either the high one or low one depending on what you place in the main scene.
# Use the update_lod_list(cont) to update the list when needed
def …
Key event strings to readable/showable text. (from ZEROKEY to 0, ONEKEY to 1, etc)
*** @monster made me aware of the fact that we can’t map special keys (ä,ü, ç, etc.) so keep in mind that this is basically only useful for qwerty (us) keyboards, other keyboards will work as well, but not all keys would be recognized, due to blender can’t read out the keyboard mappings ***
def key_event_readable(key_event_name):
text_to_number = {
#keyboard
…
If you readed it all and still have nothing to do try my Crazy flipper(pinball) game:
THIS PROJECT HAS BEEN ABANDONED
Hello,
This will be my first project that is available to the public.
What is it about? It is about a pinball machine.
I followed some german tutorials to get me started and from there i made it better and added some things, of course there will be more to add, and more to do in a later version, but for now i released an alpha version.
I could use some feedback about how it plays, do you like it, what would you see changed and all those stuff.
Also if you …
15 Likes
Cotaks
(- Click for (UP)Bge resources)
March 4, 2019, 4:12pm
7
Everyting is converted, all should work in BGE and UPBGE now!
Have fun with it!
Cotaks.
2 Likes
mataii
(mataii)
March 5, 2019, 5:36pm
8
Thanks a lot Cotaks! very useful resources
1 Like
Cotaks
(- Click for (UP)Bge resources)
May 8, 2020, 5:15pm
9
The support of BGE resources has been stopped. From now on i only support UpBGE 0.2.5.
Reason for it is upbge fixed a few issues that i had, and is now working better then bge (for me). And while bge blends can be used in upbge, this does not count for the other way, so upbge is not compatible with BGE. Thus i stop with supporting the BGE completely.
Files that are here are still working in both and can be used.
3 Likes
Villi89
(Viktor)
June 16, 2020, 12:04pm
10
Hello Mr.Cotaks! do you have a YouTube channel or video tutorials for UPBGE?
Cotaks
(- Click for (UP)Bge resources)
June 16, 2020, 1:32pm
11
Hello.
Yes i do have youtube. Under the same name and icon. Cotaks
However this is only used to showcase the videos that i have used in my resources here. And some other things that i have created.
I do not do/have tutorials. I tried a few years back and with it you get so much questions that i dont have time to do anything for myself anymore. So i decided to stop with that.
1 Like
Villi89
(Viktor)
June 17, 2020, 4:07am
12
I understand you, thank you for your answer, then I will search for your tutorials here, I liked your version of saving and loading the game - it is made very professionally
1 Like
CG_Sky
(Leander Burger)
June 17, 2020, 1:12pm
13
This is a very extensive list of scripts. Thanks for sharing!
1 Like