Cebra: Did you check if it's also triggered when the person triggering it (e.g. by throwing a grenade) is NOT the server or a bot? Forum
General
CS2D Bug Reports
Cebra: Did you check if it's also triggered when the person triggering it (e.g. by throwing a grenade) is NOT the server or a bot?
DC: yes, it is just triggered for the "fire in the hole" if you are the server, but e.g. the "teammate down" message, also an automated message?, triggers the hook spawnnpc 1 -54 -56
Shows the error
ERROR: spawnobject - wrong tile properties!
It should say
ERROR: spawnnpc...instead.
Mami Tomoe: It isn't the bug, it's due to the netting of classes with extends maybe. Like "object" is everything can be seen and spawned on map, and "npc" extends the "object" spawnobject.
Mami Tomoe: Like
Devil-Thanh said this is because NPCs are "objects" in CS2D.
spawnnpc is basically just a shortcut for
spawnobjectThe documentation even says that.
I understand however that the error can be quite misleading. Can fix it and will do so
1
Physics:destroy()
This doesn't seem to remove the entire platform, rather it seems to just remove it's image? Leaving it's obstacle and wheels behind...
Either this is a bug or I'm missing something.
Would be nice to know ^.
EDIT:
Bots move improperly when physics are enabled! Please fix that!
edited 1×, last 17.05.19 02:23:12 pm
Mami Tomoe: It removes specific physics object. Vehicle is made of many physics objects, you have to call it for the wheels separately.This is useful when you want to explode remove a certain part of vehicle for example.
debug_aiset to
1: https://i.imgur.com/STjJH2m.png
Related to physics:
Using the sample given, I've changed the return to this:
1
return { controller, wheelFL, wheelFR, wheelRL, wheelRR, physObject, platform }
Then I try to run an
ipairsloop through each one of them calling
v:destroy(), the walls remain.
More problems:
It's possible to run/walk on top of barricades and it causes you to die instantly.
Bot's can't move/aim properly.
Walking still makes sounds.
Running doesn't sound the same, it might call the sound more often? Not sure if intended.
Maybe add
debug_physicswhich will color physic walls/obstacles.
edited 1×, last 18.05.19 07:37:58 pm
Mami Tomoe has writtenPretty sure molotov does that too, I thought it was intended (?)
Yeah, when you have a script (
mrc: Which patch version?This was already reported/fixed. Not sure if released with patch.
This should be fixed! Thanks!
edited 1×, last 04.01.20 11:00:19 am
DC: The game is crashed when using
tween_frame with cs2d_dedicated. Im make sure that i put the right code for the animation but when using
tween_frame with cs2d_dedicated then the game crashed, but
imageframe is fine
Danilwra &
Joni And Friends both of these issues have already been reported earlier and have been fixed for the upcoming release
CS2D Bug Reports


Offline