Forum

> > CS2D > Mods > Is it possible to create "new" Objects?
Forums overviewCS2D overview Mods overviewLog in to reply

English Is it possible to create "new" Objects?

3 replies
To the start Previous 1 Next To the start

moved Is it possible to create "new" Objects?

DeLiXx
User Off Offline

Quote
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

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

DC
Admin On Online

Quote
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

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

ohaz
User Off Offline

Quote
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)
To the start Previous 1 Next To the start
Log in to reply Mods overviewCS2D overviewForums overview