Forum

> > CS2D > Mods > Is it possible to create "new" Objects?
ForenübersichtCS2D-Übersicht Mods-ÜbersichtEinloggen, um zu antworten

Englisch Is it possible to create "new" Objects?

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

verschoben Is it possible to create "new" Objects?

DeLiXx
User Off Offline

Zitieren
So I was thinking about creating a Tower defence like mod for cs2d, but first I would like to ask - as I have never seen it before -, if it were to be possible to create new Structures and hostile AIs, or maybe edit the Turrets/AIs to change their Bullets, dmg, fire rate and hp.
Same counts for all other structures.

I was thinking about something like a F2 Build / F3 Upgrade scheme.

Thank you for your help

alt Re: Is it possible to create "new" Objects?

DC
Admin Off Offline

Zitieren
Unfortunately modding in CS2D is quite limited. You can't create new objects/weapons/characters etc you can only (partially) modify existing ones.

Also see this recent thread about weapons thread cs2d Creating new guns?. The same applies for basically everything in CS2D.

However you can simulate buildings/npc by simply drawing your own graphics. You can't create your own ones using the existing building/NPC system but you can do a lot of stuff with scripting nevertheless.

Some commands for a custom turret would be:
• cs2d lua cmd image
• cs2d cmd spawnprojectile

alt Re: Is it possible to create "new" Objects?

ohaz
User Off Offline

Zitieren
For turrets you may just make them normal walls and put images above them. Then save what kind of turret it is yourself and do all the projectile stuff yourself (there is spawnprojectile as user DC has already mentioned)
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Mods-ÜbersichtCS2D-ÜbersichtForenübersicht