Ambient_sounds Still Not Work
#10514 posted by Futur4 on 2010/11/17 20:05:13
I simply put ambient_drone,wind,.. entities in my Worldcraft map 4 times at cardinal points around the player.. compiled and.. NOTHING
-Do I have to "precache" them ? And how?
-what's the command line for launching them manually in Quake ?
-Maybe do I have to trigger them(already done)but.. as you know ambient_ entities have no keys/flags ..
#10515 posted by necros on 2010/11/17 20:29:53
could it be enough to just add Zerstorer progs with my mod ?
you could do that, but then you'd need to include all the models and sounds for the progs to work correctly. at that point, you're just bundling the zerstorer mod with your map so it's easier to just link to a download of zerstorer at that point.
Quake Is Not Half-Life. Period
#10516 posted by negke on 2010/11/17 20:36:29
If you want to add cutscenes to your mod, you can incorporate the code from the corresponding qc files of course, or better yet, refer to the CCK from the level Vision of Hatred (at Quaddicted).
The ambient_ sounds don't have to be triggered or anything. Just place them and done. If they don't play for you, there must be something wrong on your end, accidentally spawnflagged out, possibly a modified pak0/wav, or something you're not telling us. Note that the ambient sounds can't be heard throughout the map, only when the player is relatively close to the source.
#10517 posted by rj on 2010/11/17 20:36:39
could it be enough to just add Zerstorer progs with my mod ?
i don't think that would be a problem in all honesty. it was free in the first place and i doubt any of the team would mind (not that they'd still be about in the quake scene anyway!)
info_intermission is unfortunately a pretty simple entity that can't be configured much. it just shows the engine where to look when the end screen comes up
as for the sounds... i can only suggest uploading a .map so i (or someone else) can see what's going wrong. the precaching is done in the entity code in the qc, so isn't something you have to worry about unless messing with the qc yourself. again though, they can't be triggered.. you plonk them in without a targetname and they simply play continuously. this is really where a mod like quoth comes in handy, as you can have play_sound_triggered, which enables you to set any sound at any volume and have it triggered on & off. zer has something like this too though i think.. check the devkit file
also i don't know of a command for playing sounds manually in-game. there might be one but i can't really imagine a practical use for it...
I Must Add..
#10518 posted by rj on 2010/11/17 20:39:55
If you want to add cutscenes to your mod, you can incorporate the code from the corresponding qc files of course, or better yet, refer to the CCK from the level Vision of Hatred (at Quaddicted).
^ this is the best way when it comes to adding stuff in general. it just involves getting familiar with quake c, even if it does just involve copying & pasting bits from other mods :)
#10519 posted by negke on 2010/11/17 20:42:52
Of course you can also ask yourself if the cutscene is really that important for the level, crucial to the story etc., or if maybe the introduction could be done by other means, a few centerprint text messages, for instance. Because the thing is, setting up cutscenes in Quake is huge pain in the ass, and probably a waste of time if it's not going to be a real cinematic event or anything substantial.
Rj
#10520 posted by negke on 2010/11/17 20:44:29
Command to play sounds: "play"
Well I'll Be Goddamned
#10521 posted by rj on 2010/11/17 21:57:44
Thanks To Ya All
#10522 posted by Futur4 on 2010/11/17 22:31:56
Negke: yes you're right but what entity should I use for multiple text messages ?
My goal is to link/sync plot text-messages with different frames of my map while the player is frozen.. so I hoped info_intermission be handy : )
..anyway I guess I'll stick with Quoth
#10523 posted by rj on 2010/11/17 23:01:28
why freeze the player? they'll stop to read the messages when they come up anyway :)
for multiple messages you just want several different trigger_relay ents with the same targetname but different 'delay' values on them, eg. one with 0, the next with 3, then 6, etc...
Yeah
#10524 posted by negke on 2010/11/17 23:46:30
Just have message scripts at key positions and the player will stop to read them, as rj said. You can even make centerprints with linebreaks by putting \n between the lines - not recommended, though, unless the second line is very short. You could `freeze` the player by putting such messages in front of locked doors or bars that only open afterwards.
Yes & No
#10525 posted by Futur4 on 2010/11/18 02:23:28
Yes.. I agree with ya all, but :
1)in Quake there's no a game_text entity
rj: trigger_relay ?! can you explain me better?
2)my maps are sp not multiplayer so there's only 1 player to be frozen (anyway frozen is not so important)
Point is I want to create some intro for my map.. also static pictures could do the trick BUT I don't want to touch qc code if possible :)
----------------------------------------
If I got it right you say only Zerstorer and Vision(DarinMcNeil) have attempted to do cutscenes ?
-------------------------------------------
Is it possible to start my map with a
non-playable demo(Nehahra style)exiting to my playable map .. so I'd have a damn intro ;)
----------------------------------------
Futur4
#10526 posted by generic on 2010/11/18 02:52:41
You really should experiment with each of the available entities first. Then you will see all of their lovely limitations ;)
Trigger_once contains a (centerprint) message that you can set.
Check out the intro to Vondur's new map for an example.
Keeping the player 'frozen', however, is going to be more trouble than it it worth, IMHO.
Zerstorer Progs
#10527 posted by RickyT33 on 2010/11/18 03:11:08
That's the answer. There are some speedmaps....
http://www.celephais.net/board/view_thread.php?id=60162
I wonder how easy it would be to get some zerstorer mapsources?
Generic, Rickyt23,..
#10528 posted by Futur4 on 2010/11/18 03:56:33
..What is max length(characters) of a message with trigger_once ?
-------------------------------------
How do I implement cutscenes portion code from Zer or Vision in my mod? Copy/paste in the progs.dat? Or need to modify other files ?
-------------------------------------
Why nobody has created a simple camera entity for Worldcraft/Quake yet ? (eheh)
They Have Created The Entity
#10529 posted by RickyT33 on 2010/11/18 04:13:10
info_camera. And if you do want to create your own mod then there's inside3d.com. I have zero QuakeC ability. You can map for Zerstorer (it's very similar to Quake, just a few entities added!
The mod comes with documentation and the source for the progs.dat! Inside the .zip you will find DEVKIT.txt and DEVKIT.zip. There lies the key!
#10530 posted by RickyT33 on 2010/11/18 04:13:29
Read And Understand
#10531 posted by madfox on 2010/11/18 07:41:50
The CutsceneCameraKit has all you need.
You don't need to bunch Zerstorer.
http://members.home.nl/gimli/cck.txt
And as I couldn�t find the level on Quake addict...,
http://members.home.nl/gimli/VISION.ZIP
Visions
#10532 posted by madfox on 2010/11/18 07:43:34
Darrin MacNeal was so good to make this level and add the CCK in 1-15/97.
Great level, I couldn�t find it on QuakAddicted.
#10533 posted by necros on 2010/11/18 07:48:05
i feel i should warn you... even if you get the camera thing working, you will not get good results from panning the camera. stick to a still camera or at the most slide the camera itself.
if you must pan the camera, do it quickly.
low angles resolution means a slow pan will be very jerky.
Good Luck
#10534 posted by ijed on 2010/11/18 13:00:49
Aderlass Source
#10535 posted by generic on 2010/11/18 13:36:10
#10536 posted by roblot on 2010/11/18 14:56:16
trigger_once max characters is just under 40 I think, with 3 lines and 2 linebreaks (/n)
I remember seeing good panning results on newer GL game engines, not sure though. Always worth watching for me.
Ok I Got Vision By DarinMcNeil
#10537 posted by Futur4 on 2010/11/18 16:30:43
..actually I've just completed my big dvd(9gb)with all(I mean all!) Quake single-player stuff(but also dm)ever created..all sorted by author! a 4 years work! :(
..I know I'm crazy.. now little by little start playing !
Relays
#10538 posted by rj on 2010/11/18 19:10:20
1)in Quake there's no a game_text entity
rj: trigger_relay ?! can you explain me better?
trigger_relay is your standard generic point entity trigger. by point entity i mean it doesn't have a brush; it cannot be activated by touching; only by another entity targeting it.
so for a sequence of messages on the screen, you would have a trigger_once (or trigger_multiple) that the player would pass through, then that might have a target of 'gametext1'. you can then have three trigger_relay ents, all with a targetname of 'gametext1' but with different delay values like i described before. then you would simply edit the 'message' field in each one to display your text on the screen. you can even use the trigger_relay ents to target other things, which makes them far more useful than a plain game_text trigger :)
for alternative intro ideas without cameras or demos, you could have the player suspended in an invisible clip box above a special area, or moving slowly through a trigger_push, before being teleported to the start location...
|