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

2 replies
Goto Page
To the start Previous 1 Next To the start
Up
ModJuicer
Super User
Offline Off
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
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
04.04.20 08:47:48 pm
Up
DC
Admin
Offline Off
There's no script command for that?
I guess it's not possible then (unless you change the source code).
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
07.04.20 10:17:40 pm
Up
ModJuicer
Super User
Offline Off
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?

Code:
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.
edited 4×, last 08.04.20 03:13:55 am
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
To the start Previous 1 Next To the start