Where am I going wrong with my bed mod?

Discussion of editing for the game Kudos
User avatar
rock_chick
Type II Robot
Type II Robot
Posts: 56
Joined: Tue Jun 10, 2008 8:08 pm

Where am I going wrong with my bed mod?

Postby rock_chick » Sat Jun 21, 2008 4:39 pm

This is the code I've used for my bed mod but the game crashes when I try to use it, what do I need to correct so it'll work. The premise is the player can buy a bed and be able to then sleep in it rather than on their sofa and therefore reduce their alcohol and tiredness levels in comparison to using their sofa.

Anyway here's the code I've been using:

assests.csv

Code: Select all

#,,bed,Bed,sleep,Have a comfortable rest on a comfy bed.,ass_bed.bmp,64,64,snore.ogg,110,0,"STEALABLE,SELLABLE,REBUYABLE",bed,#,#,,,,,,



solo_activies.csv

Code: Select all

#,bed,Sleep in your bed,"Sleeping in a bed gives you a more comfortable rest than a nap on the sofa.",play snore.ogg,0,default,0,0,0,-1,-1,1,1,1,1,1,1,1,#,"loneliness,0.15,0.1","tiredness,-0.70,0.5","alcohol,-0.5,0.5",#,,,,
User avatar
Rocky
Supreme Robot
Supreme Robot
Posts: 187
Joined: Tue Mar 06, 2007 8:43 am
Location: Herts. UK
Contact:

Re: Where am I going wrong with my bed mod?

Postby Rocky » Sat Jul 05, 2008 9:23 am

These seem to work OK 8)

assets.csv

Code: Select all

#,,bed,Bed,general,"A better night's sleep.",XXXXXX.bmp,64,64,snore.ogg,110,0,"STEALABLE,SELLABLE,REBUYABLE",bed,#,#,,,,,,

Don't forget to change the bmp !

solo_activities.csv

Code: Select all

#,bed,Bed,"Have a great night's sleep. Keep the sofa for your friends!",play snore.ogg,0,default,0,0,0,-1,-1,1,1,1,1,1,1,1,#,"loneliness,0.15,0.1","tiredness,-0.70,0.5","alcohol,-0.5,0.5",#,"bed,1.0",,,


HTH :lol:


Edit:
If you've used these please change 'sleep' to 'bed' at the end of line for assets.csv
And insert "bed,1.0" just after last #, for solo_activities.csv
Or just re-copy the edited post.
User avatar
rock_chick
Type II Robot
Type II Robot
Posts: 56
Joined: Tue Jun 10, 2008 8:08 pm

Re: Where am I going wrong with my bed mod?

Postby rock_chick » Mon Jul 07, 2008 10:46 am

The code keeps causing the game to crash but thanks for trying.
User avatar
Rocky
Supreme Robot
Supreme Robot
Posts: 187
Joined: Tue Mar 06, 2007 8:43 am
Location: Herts. UK
Contact:

Re: Where am I going wrong with my bed mod?

Postby Rocky » Mon Jul 07, 2008 12:07 pm

You wanna forget it as a bad loss or would like to get it working ?

If the latter ... does the game crash ...
when you start it ? ( New or Saved game ? )
when you go shopping ? ( You have to buy the bed first before you can use it )
User avatar
rock_chick
Type II Robot
Type II Robot
Posts: 56
Joined: Tue Jun 10, 2008 8:08 pm

Re: Where am I going wrong with my bed mod?

Postby rock_chick » Tue Jul 08, 2008 5:23 am

It'd be nice to get it working but it's just a small mod so it's really no big deal.
The game just crashes in the middle of loading.
User avatar
urska
Junior Line Worker
Junior Line Worker
Posts: 2
Joined: Sun Jul 13, 2008 6:51 am
Location: Slovenia
Contact:

Re: Where am I going wrong with my bed mod?

Postby urska » Sun Jul 13, 2008 7:14 am

It works now. :)
I have made some little changes, but nothing special. Have fun :)
Urska

assets.csv :

Code: Select all

 #,,bed,Bed,general,Have a comfortable rest on a comfy bed.,ass_bed.bmp,64,64,snore.ogg,110,0,"STEALABLE,SELLABLE,REBUYABLE",,#,showdetails,#,,,,,


solo_activities.csv :

Code: Select all

#,sleepinyourbed,Sleep in your bed,Sleeping in a bed gives you a more comfortable rest than a nap on the sofa.,snore.ogg,0,default,0,0,0,-1,-1,1,1,1,1,1,1,1,#,"loneliness,0.15,0.1","tiredness,-0.07,0.5","alcohol,-0.4,0.5",#,"_energy,0.1","bed,1.0",#,
User avatar
rock_chick
Type II Robot
Type II Robot
Posts: 56
Joined: Tue Jun 10, 2008 8:08 pm

Re: Where am I going wrong with my bed mod?

Postby rock_chick » Sun Jul 13, 2008 12:35 pm

Thanks for the help but it's still causing the game to crash.
1337.Taco.Master
Junior Line Supervisor
Junior Line Supervisor
Posts: 10
Joined: Mon Feb 01, 2010 10:04 pm

Re: Where am I going wrong with my bed mod?

Postby 1337.Taco.Master » Sun Mar 21, 2010 4:47 pm

Is it possible you changed something else and it's not the bed mod crashing the game?

Did you backup your assets.csv and solo_activities.csv files? If you restore them does the game work?

Return to “Kudos 1 Modding”

Who is online

Users browsing this forum: No registered users and 2 guests