Page 1 of 1

Bunch of questions

Posted: September 12th, 2010, 5:07 pm
by snkey31
since people told me to put all in 1

How to do Mutiplayer on RPG
Quests Cant do more then 1 time
Riding horses- How do i make it were you can like buy a scroll click on it and u can ride a horse
How to make it were game saves inv items and location ur standing etc
In RPG making ur char a human
Changing Start up game music
Play a sound when you talk to a npc

Re: Bunch of questions

Posted: September 12th, 2010, 5:45 pm
by owenisred
Good man - this will be easier to keep track of, and itll stop the board from getting spammed out :)
Phew ok here I go:

1. Multiplayer in RPG - impossible I think unless you can script like crazy - I don't have a clue... anyone else have any ideas


2. Quests Cant do more then 1 time - chocolatepie answered this well: viewtopic.php?f=15&t=1720


3. Riding horses - The best I could come up with was here: viewtopic.php?f=15&t=1717


4. How to make it were game saves inv items and location ur standing etc - IDK what you mean?


5. In RPG making ur char a human - Ok - if you just want a human type /mapmodel 8 if you want your own model:

Simply replace the character of the ogro with your own animated md3 and type /playermodel 7 or whatever at the start of the .cfg of your gametype, i.e. If your in RPG mode, open the data/game_rpg.cfg file and type in /playermodel 7 at the top.



6. Changing Start up game music - Ok music get executed like so, when the gametype (rpg, fps, ssp etc.) you want is launched, game_gametype.cfg is executed. We'll take game_rpg.cfg as an example. If you open it up (its found inthe data folder) you will see that it directs you to music.cfg

open this and you will see a list of
Artificial-World
Home
Sense-of-Happiness
Last-Flight
Transition
traveling_minstrels
Rusted-Toys
Island-Shores-at-Night
Silent-Tears
Valley_of_the_Wind
All you need to do is get you music (it can be of filytype .ogg .mp3 .wav .mod or .mid) and put it into your packages/music folder. Let's pretend its called testtrack.mp3.

Then in the music.cfg file that I showed you, you have to comment out the songs you dont want, and include testtrack. The start of your file should look like this now:

//Artificial-World
//Home
//Sense-of-Happiness
//Last-Flight
//Transition
//traveling_minstrels
//Rusted-Toys
//Island-Shores-at-Night
//Silent-Tears
//Valley_of_the_Wind
testtrack

now testtrack.mp3 will be executed when you open the rpg game :)



7. Play a sound when you talk to a npc - ok I'll assume you know about level triggers? If not just ask - in with the level trigger, that causes the chat gui, type in
sound N
Plays sound N, see data/sounds.cfg for default sounds, and use registersound to register your own. for example, sound 0 and sound (registersound "aard/jump") both play the standard jump sound.


Hope I helped,
Owen.

Re: Bunch of questions

Posted: September 13th, 2010, 10:39 am
by Runescapedj
@Owen
4. He means just like rs, after you log in after you've been offline, you have the same inv and you're standing at exactly the same place as where you was when you logged out, sorry snkey, idk how 2, you need a playerstart for it, but idk how 2 do that, and about the items, it is poss (TGC has it I think), but you've 2 code 4 that
1. I think Owen is right, it's close to impossible, hopefully in a next release of sandbox

Re: Bunch of questions

Posted: September 13th, 2010, 12:40 pm
by owenisred
4. Well then its probably possible - I think I could do it for you... Ill come back to you on this if I have time a bit later on :)

(Ill post a tutorial if I get it )

Re: Bunch of questions

Posted: September 13th, 2010, 3:15 pm
by daltonds1
can you help me with it?

Re: Bunch of questions

Posted: September 13th, 2010, 3:24 pm
by owenisred
sure - ill see what I can do

Re: Bunch of questions

Posted: September 13th, 2010, 5:21 pm
by daltonds1
i sent you a message