Forum

> > Stranded II > Scripts > Can't figure out how to change colxr/colyr in map
ForenübersichtStranded II-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Can't figure out how to change colxr/colyr in map

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Can't figure out how to change colxr/colyr in map

ModJuicer
Super User Off Offline

Zitieren
I just want to change this in a single unit in a single map. Not the whole game. I can't figue out how to do so. I have spent hours reading up on the codes and trying to figure this out. I am working on improving tower defense map. Plz help. thx

alt Re: Can't figure out how to change colxr/colyr in map

ModJuicer
Super User Off Offline

Zitieren
well, there might be a script command for that. I don't know for sure. Can def_override change the properties of the unit? ex. speed=5 or colxr=30

It worked for the speed of the units on tower defense. I just don't completely know how. I tried it for colxr and colyr but it didn't work. It's confusing.

is there only a few codes that work for def_override, or am I just doing it wrong?

EDIT:is there only a few codes that work for addstate or statevalue, or am I just doing it wrong?

1
def_override "Class", Type, "Source"

The code also used addstate and statevalue but specified states that do not exist, like state 60, which led to further confusion.

trying to understand script is like trying to understand pig latin

EDIT: I modified the tower defense map so that the towers shoot the first unit (in its radius) instead of the closest unit. That way the towers don't shoot at the last units while the ones in front make it through the map and kill the player.

I also increased the scale of all the units by 1.5. That should make it easier for the arrows to hit the units instead of missing half the time.

Also planning to add a zombie/haunted mode tower defense (after the scary sheep round), with creepy effects and everything.

Planning to upload the map later. Don't really need colxr or colyr as much anymore.

EDIT: It's also fun to mess around with the drag script. Putting in negative values like drag=-5 will make projectiles do loops in the air. fun stuff.
4× editiert, zuletzt 08.04.20 03:13:55
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht