Game Development Community

Basic and fast question about .cs

by amjr · in Torque Game Engine · 01/30/2003 (10:06 am) · 4 replies

Sorry, my very newbie question.

In tthe following site: http://www.liquid.nq.net/tutorial/tutorial1.htm

Is written about the scripting disadvantages: "Clients can view script code".

Is there a way to compile the .cs in .dso files and distribute just the .dso ?

#1
01/30/2003 (10:07 am)
Short answer:

Yes
#2
01/30/2003 (10:11 am)
Little longer answer:

.dso files are the compiled copies of the .cs files. So just delete the .cs files from the distribution of the game(make sure you leave the .dso's), and the users can no longer see the scripts.
#3
01/30/2003 (11:27 am)
The downside to this approach is it makes it impossible for people to mod your game. :(

On the other hand, for a demo, it's a nice way to encourage people to buy the game. :)

edit: Labrat is right. I forgot about that avenue. :(
#4
01/30/2003 (3:03 pm)
Actually it doesn't prevent someone from modding the game.

It prevents them from easily knowing what your games script looks like.

If you wish to support MOD's to your game and still keep the actual .cs files private you will need to provide a programming reference that will explain what and how your game can be modded.