Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Array elements crashing program [SOLVED]
Post: RE: Array elements crashing program

You can go lazy way and use code like in exercise about avoiding mines, to avoid objects dynamically. Not perfect, but thats probably why modern games use navmeshes, and Colobot don't have navmeshes.
Smok Help 4 8,701 03-20-2018, 09:19 PM
    Thread: Array elements crashing program [SOLVED]
Post: RE: Array elements crashing program

Code:extern void object::Lib(){     float time = abstime();     travel();     time = abstime() - time;     message(time)...
Smok Help 4 8,701 03-20-2018, 08:29 PM
    Thread: Smarter overloading method?
Post: Smarter overloading method?

I made this. 3 simple functions with overloads to cover all possible parameter combinations. The problem is that code lenght scales expotentially with number of parameters. Is there smarter/shorter wa...
Smok Help 1 6,402 02-02-2018, 01:29 PM
    Thread: Gource Live Commit Tracking System for Colobot (BETA)
Post: RE: Gource Live Commit Tracking System for Colobot...

Youtube stream don't works for me. Btw what this tree represents? What diffrent colors represents?
Smok Archive 3 14,767 02-27-2017, 01:13 PM
    Thread: Microsoft Visual Studio Building
Post: RE: Microsoft Visual Studio Building

File found. Just click the damn link.
Smok Game Engine & General Talk 9 28,322 02-05-2017, 10:16 AM
    Thread: CBot - użycie i zmiana licencji
Post: RE: CBot - użycie i zmiana licencji

Skorzystaj z Lua. Chyba nie ma lepszego języka, by zrobić to co chcesz zrobić. Lua jest bardzo popularnym i łatwym językiem, wiele gier, które pozwalają graczom na "doprogramowanie" zawartości...
Smok O wszystkim 12 32,521 01-15-2017, 04:19 PM
    Thread: Custom maps/missions tutorial [request]
Post: RE: Custom maps/missions tutorial [request]

Copy one of existing levels and change it until you have what you want. Check other levels code to copy their features. Here you have guide (little outdated but still helpful): https://colobot.info/fi...
Smok Workshop 3 10,717 12-28-2016, 12:27 AM
    Thread: Stack overflow in Colobot
Post: RE: Stack overflow in Colobot

I rewited my program and now is ok. I probably messed up and made recursion somewere. btw. Its good to know where it is set in game code. Thanks.
Smok General 2 9,834 12-10-2016, 10:59 AM
    Thread: Stack overflow in Colobot
Post: Stack overflow in Colobot

Hi. I was trying my new way to write programs i colobot, but it made me pretty fast face stackoverflow. I decided to write program like this: Code:public void object::smartGrab(point p) {   ...
Smok General 2 9,834 12-09-2016, 09:16 PM
    Thread: Solution
Post: RE: Solution

I made mod that should help you with your task. https://colobot.info/forum/showthread.php?tid=866
Smok Workshop 8 28,889 12-09-2016, 11:48 AM
    Thread: Programming Only Missions
Post: Programming Only Missions

Simple mod that change missions to code battles, so they can by beaten ony by code. There is no Me. Some notes: -Chapter 1 Mission 1 is now about finding blackbox instead of bag. -Chapter 2 Mission...
Smok Workshop 0 5,393 12-09-2016, 11:45 AM
    Thread: CodeMissions
Post: CodeMissions

Colobot code missions. For now only one mission. DOWNLOAD
Smok Workshop 0 4,782 08-16-2016, 02:16 PM
    Thread: Modable bots. Better factory menu.
Post: RE: Modable bots. Better factory menu.

Too bad I can't help. I have some skills in c++ but when it comes to game engines, it seems over complicated to me. It would probably took me years to learn everything needed about model and animation...
Smok Game Engine & General Talk 2 9,177 08-13-2016, 08:31 PM
    Thread: Modable bots. Better factory menu.
Post: Modable bots. Better factory menu.

Lests speak about making game more modable, allowing moders to add new bots to game. This is my proposition. For now factory menu have a lot of icons - icon for every possible combination of bot and ...
Smok Game Engine & General Talk 2 9,177 08-12-2016, 10:40 PM
    Thread: Natural Wasp
Post: RE: Natural Wasp

(08-09-2016, 11:53 AM)krakers Wrote: Maybe you can help me - i don't have any idea what to do: When wasps have stolen all resources, they make a big crowd near "dustbin" point - they all want to gr...
Smok Workshop 12 37,616 08-10-2016, 10:34 PM
    Thread: New programming course
Post: RE: New programming course

It's even important to have plot in exercises? I think it's minor problem. Main purpose of this course is to have the best teaching value, not to make people amazed with plot depth. But... This don't ...
Smok Level Design & Story 120 383,374 04-14-2016, 01:52 PM
    Thread: Microsoft Visual Studio Building
Post: RE: Microsoft Visual Studio Building

My actuall: (tested on MSVC 2013, Win32) https://drive.google.com/file/d/0B-uLg-a...sp=sharing (Note: set BOOST_STATIC to 1 and MUSIC to 0  in CMake)
Smok Game Engine & General Talk 9 28,322 04-09-2016, 10:06 PM
    Thread: User Level: 'Polara' and Sulfuria 2.0
Post: RE: User Level: 'Polara' and Sulfuria 2.0

In first mission of both planets i can just flay away without completing them. In Sulfuria first level you have: Code:EndMissionTake pos=0.00;0.00 dist=25000.00 type=TNT min=5Should be: Code:EndMissi...
Smok Workshop 7 135 03-29-2016, 01:37 PM
    Thread: Space don't work as expected
Post: Space don't work as expected

I'm trying to use goto(space(spaceShip.position)); drop(); to store Titanium Ore in my spaceship. For the first ore it works ok, but for next program ignores existence of first one trying to put secon...
Smok General 4 12,382 03-28-2016, 01:54 PM
    Thread: Colored Cbot syntax for Notepad++
Post: Colored Cbot syntax for Notepad++

Hello! I made colored Cbot syntax for Notepad++ designed to help scenario makers for easier programs editing outside Colobot. I tried to choose colors similar to used in game Cbot editor. Additionally...
Smok Workshop 5 15,477 03-27-2016, 02:03 PM
    Thread: 2nd Revision of the TerranovaTeam & ICC logos
Post: RE: 2nd Revision of the TerranovaTeam & ICC logos

Don't get it wrong. The new logo is actually better, but just "T"s are too bold compared to previous. It's unnecessary radical change. Hmm... Maybe just make it "mathematically perfect" but leave font...
Smok Archive 38 110,172 03-25-2016, 02:35 PM
    Thread: 2nd Revision of the TerranovaTeam & ICC logos
Post: RE: 2nd Revision of the TerranovaTeam & ICC logos

(03-25-2016, 01:57 AM)RaptorParkowsky Wrote: I don't know why you guys don't like those new vectors? [Image: http://i.imgur.com/rPNub9a.png]
Smok Archive 38 110,172 03-25-2016, 08:42 AM