Programming & Scripting

View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 30.03.2012, 21:59Posts: 22 Likes: 0
 

 Post Topic: I want to roll back the sample project a few.
PostPosted 30.06.2012, 20:55 
I want to roll it back to a point where there is no weapon/items system and actors yet. Is there a best way to do it or do I randomly hop into it and weed out through code?

The reason simply being, I want to implement my own.


Image

User avatar   Trained Modder Trained ModderMember since: 20.08.2011, 05:40Posts: 204 Likes: 6
 

 Post Topic: Re: I want to roll back the sample project a few.
PostPosted 01.07.2012, 08:13 
Create a new folder (Game becomes GameNew) and in system.cfg put in..

sys_game_folder=GameNew

you'll need to put some scripts and extract some stuff from gamedata.pak in there, not sure what exactly. For ocean materials put in the materials.pak
User avatar   Trainee TraineeMember since: 22.09.2008, 10:33Posts: 195Location: Norway Likes: 1
 

 Post Topic: Re: I want to roll back the sample project a few.
PostPosted 02.07.2012, 04:44 
As for weeding out code, I've tried to do this myself and it kinda works, but when I try to connect the game crashes. Singleplayer works fine though. (might as well make your own networking code as well I guess)

There's a basic actor and player with next to no code. It might be lacking something extremely important, but it could at least give you some pointers to where you should start.

*old link*see post below*old link*

It was based on some stripped down gamedll code from angryboids the crymono sample game. I just stripped it down further and tried to improve some code.


Last edited by CapsAdmin on 03.07.2012, 16:49, edited 1 time in total.
  Beginner BeginnerMember since: 19.08.2011, 13:32Posts: 5 Likes: 0
 

 Post Topic: Re: I want to roll back the sample project a few.
PostPosted 03.07.2012, 07:26 
can you add project files and correct name to folders to extract inside SDK folder? i added classes to project but i cant compile it and run (yeah do have not much knowledge how to set it up)
User avatar   Trainee TraineeMember since: 22.09.2008, 10:33Posts: 195Location: Norway Likes: 1
 

 Post Topic: Re: I want to roll back the sample project a few.
PostPosted 03.07.2012, 16:48 
I've updated it to include premake. To use it, drop the minimal_gamedll folder in your crysis sdk folder and run make_project_files. It will then create project files for a bunch IDE's in the same folder, so just choose the one you want. vs2011 should also work. (just open the vs2010 project and convert it)

You can change premake.lua around if you want to change the solution name and or definitions and such.

https://dl.dropbox.com/u/244444/minimal_gamedll.rar
  Beginner BeginnerMember since: 30.03.2012, 21:59Posts: 22 Likes: 0
 

 Post Topic: Re: I want to roll back the sample project a few.
PostPosted 04.07.2012, 09:36 
Thank you, you've given me very good information and I appreciate it ;p


Image