Hey, unfortunately, Kodu no longer supports one of the main commands I used (the ability to reset a single score to zero) to handle both player switching AND AI page switching (which enabled the NPCs to decide between attack and defense and move on their paths). I haven't worked with Kodu in a while but last I checked that command was still missing (Xbox version). Sorry
@larjohnson oops. didn't see your message until now. sorry. player switching was done using a score that tracked which player was currently under your control. each of your four kodus was coded to look at that score and if the score matched what that kodu was looking for, the kodu switched pages to the "human controlled" page. If it wasn't a match, the kodu switched back to the root page for the AI decision making. Make sense?
Sure. If you have access to the Xbox version, send me a friend request (gt:Baaad Dad) to get the file. Basically, there is a field of invisible stars above the pitch, and when they see the ball they set a score. Each player responds to that score by either chasing the ball or moving to a point on the pitch marked by a path. That's how positions are played - they move to different paths and only respond to the ball in certain parts of the pitch.
Hey, unfortunately, Kodu no longer supports one of the main commands I used (the ability to reset a single score to zero) to handle both player switching AND AI page switching (which enabled the NPCs to decide between attack and defense and move on their paths). I haven't worked with Kodu in a while but last I checked that command was still missing (Xbox version). Sorry
BaaadDadKodu 3 months ago
I'm curious as to the commands you've set all the kodus. I've been trying to emulate it for player switching and it's been a failure so far lol.
jackyfan 3 months ago
is very nice and perfect :)
polda602 7 months ago
could you please share how did you implement players swirching?
larjohnson 9 months ago
@larjohnson oops. didn't see your message until now. sorry. player switching was done using a score that tracked which player was currently under your control. each of your four kodus was coded to look at that score and if the score matched what that kodu was looking for, the kodu switched pages to the "human controlled" page. If it wasn't a match, the kodu switched back to the root page for the AI decision making. Make sense?
BaaadDadKodu 8 months ago
@BaaadDadKodu
Yeah pretty much! Well, I implemented that using a flying saucer, but it is slower in fact. Thanks anyway!
larjohnson 8 months ago
I love what you're doing with kodu! Looks awesome!
TriggerHappy560 1 year ago
hey man.
please could you walk me through some of the programming you used on these bots! i tried making a football game but it just failed!
thanks
QMANOULTON 1 year ago
Sure. If you have access to the Xbox version, send me a friend request (gt:Baaad Dad) to get the file. Basically, there is a field of invisible stars above the pitch, and when they see the ball they set a score. Each player responds to that score by either chasing the ball or moving to a point on the pitch marked by a path. That's how positions are played - they move to different paths and only respond to the ball in certain parts of the pitch.
BaaadDadKodu 1 year ago