Topic for Supercharged Clash

hello sciguy242 welcome to the discorce!
i have a problem that i win in red but lose in blue

there are the issue that Xcoordinate are not mirrored in only collectorHandler. so, we have to consider it.
the issue must be fixed, but there are no time by the end of ladder.

are you planning to fix this issue?
@Venneth

I believe he did something yesterday, are you able to check if the mirroring problem still exists on direct.codecombat.com/play/ladder/supercharged
image

SkyeNXT here (lost my old email, hence name change). How exactly does hero idling work? I’m currently assuming that the env runs your code until it finds something to do, and if nothing is available does nothing. However, if two actions become available at the same time, can we determine what happens first (and no, it’s not whatever is written earlier—in a past version of my code, two defence scripts located in different parts of my code with the same condition triggered in different sequences)? Is there a way to know definitely which line of your program is running at a certain point in time?

Additionally (not quite as important, though I would like to know this for collector scripting) how far does a collector have to be from an item/spawn location to pick up/drop off an item? Additionally, it seems that if a collector is killed with an item NOT IN THE ZONE it picked the item up in, the item will disappear (whereas if it is in the zone, it will be dropped). Is this intentional?

2 Likes

I belive that there is no distance limit for item pickup + drop off. Soime people use their collectors to even steal the enemies items across the map.

I meant how far away a collector has to be from an item to pick it up. I’ve noticed a collector doesn’t quite have to reach an item before picking it up.

The collector must be at most 2 meters away from the item to pick it up

3 Likes

the mirroring issue is not fixed. Xcoordinate in collectorHandler of blue side must be mirrored.

test code result in blue side

collectorHandler: 99.15159243011281
hero: 16.69514120290711
3 Likes

@Venneth I believe this should be fixed. If it helps I believe it may be connected to lines 1069 to 1096 in the editor

1 Like

Whats’ the difference between System-Shock and Supercharged Clash?

Supercharged Clash is the ā€œrealā€ arena so to speak. System-Shock is the practice arena.

i dont like it when i spawn all my soldiers i can then they completely ignore the enemy

The view range is 15, if it isn’t within 15 meters, they just continue their route

1 Like

oh thanks :+1: :+1: :+1:

In the event of a tie is there a tiebreaker?

Whoever collected more value worth in mana fruits and batteries

1 Like

Thanks! 20charssssssssss

Hey guys, I was wondering if there was any way around the mirroring issue I can use for my code.

can someone link the documentation for all available methods / variable names? i recall using them for past arenas but i forgot where it was located
feeling a bit restricted w simulation rn