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...
Also
#10539 posted by ijed on 2010/11/18 19:46:24
If you give a teleporter a name then it won't teleport the player until you activate it.
..nice Idea !
#10540 posted by Futur4 on 2010/11/19 04:38:42
Oh interesting .. the player suspended, so one could create sequences such when Gordon was captured in HL..
though free look is a problem for an intro..
----------------------------------------------
Thanks for all suggestions..
Someone can explain(I'm a novice of qc code) step by step the implementation of camera code by DarinMcNeil ? -i've read the .txt-
What files specifically do I need from it?only the progs? Cutscenes must be configured in Worldcraft or not ?
Carefull With Parms
#10541 posted by madfox on 2010/11/19 04:54:42
The included level show most of the noted parms. I've extruded the vision.bsp to a mapfile with winqbsp. Then you can see the chosen entities, and how they act.
I tried out some of the events, and most are usefull. But the options are somewhat tricky so I copied parts of the map file to my own to identify the different use of the info_script.
If you're not familiar with quake.qc it's easier just to use the included progs.dat.
At least it is not as heavy as the whole zerstorer progs.
..MadFox (or Others)
#10542 posted by Futur4 on 2010/11/19 05:07:05
I know the entities involved.. but I need help with the progs:
example: so I have to put Vision progs in my mod folder and create cutscenes editing the code in it ?? or camera entities can appear in Worldcraft ?
----------------------------------
what about camera code included in CUSTENTS by generalWart ?
#10543 posted by negke on 2010/11/19 10:46:16
You put the progs.dat in your mod folder and create the cutscene in Worldcraft with the new info_camera and info_script entities as per the instructions in cck.txt.
Fgd File Entries
#10544 posted by RickyT33 on 2010/11/19 11:35:35
If you load your fgd file into a text editor, you can add the new entities there, then you can use the smartedit feature to set them up. The fgd is the "forge game data" file, and you will find it's location by looking in the options menu in Worldcraft. The syntax is fairly easy to understand, I would just make the info_camera entity based upon copy and pasting the entry for an "info_notnull", then changing the necessary info.
Thank.. That's What I Needed To Know
#10545 posted by Futur4 on 2010/11/19 13:01:15
One last thing..
from the Vision.zip(DarinMcNeil) I need progs.dat only? cause he included many files.
-------------------------------------------
So I copy entities code from Darin in my fgd and the new entities should appear in Worldcraft ? Is all that simple ?
Urgent ! Sorry For So Many Posts But..
#10546 posted by Futur4 on 2010/11/19 14:05:01
My other issue was with ambient_sounds..
..Atlast I got them to work! But in order to be audible ingame I had to place these ambient sounds really close to the player!
My error was to place them at the 4 cardinal points(as in HalfLife) of my map.
So now they work.. but useless! cause my goal is to have a looping ingame music constantly audible wherever player is !
..suggestions ?
Use Quoth Mod...
#10547 posted by JPL on 2010/11/19 15:53:40
.. or die ;)
Ambient Music
#10548 posted by RaverX on 2010/11/19 16:02:07
This map has something has it.
http://www.quaddicted.com/reviews/fmb_bdg.html
And you can even start/stop the music using buttons in the map.
But I think you need a custom engine for it - fitzquake works (from what I remember)
#10549 posted by rj on 2010/11/19 18:01:00
from the Vision.zip(DarinMcNeil) I need progs.dat only? cause he included many files.
that's all you need to play the map with the cutscene entities. but you will need the qcs (as well as the rest of the source - available from inside3d as linked by me above) if you want to modify the code any further. say, to add ambient sounds...
So now they work.. but useless! cause my goal is to have a looping ingame music constantly audible wherever player is !
..suggestions ?
modify the qc code ;)
if you open up misc.qc and bung the following in somewhere after the normal ambient entities...
void() ambientsound_start =
{
ambientsound (self.origin, self.noise, self.volume, self.distance);
};
void() fx_ambientsound =
{
if (self.noise == string_null)
objerror ("fx_ambientsound without noise!");
precache_sound (self.noise);
// Default volume to 1.0 if not specified
if(self.volume <= 0)
self.volume = 1.0;
// Default to ATTN_STATIC if out of range
if(self.distance < ATTN_NONE || self.distance > ATTN_STATIC)
self.distance = ATTN_STATIC;
if (self.targetname)
self.use = ambientsound_start;
else
{
self.nextthink = time + 0.1;
self.think = ambientsound_start;
}
/*
// start right away if not triggered
if(self.targetname == string_null) {
// Need to start on the second frame since that's when entities not called in world_spawn are created
self.nextthink = time + 0.1;
self.think = ambientsound_start;
}
else// wait for trigger
self.use = ambientsound_start;
*/
};
then paste this in your fgd:
@PointClass base(Sound)= fx_ambientsound : "Ambient Sound"
[
targetname(target_source) : "Name"
noise(string) : "Sound"
volume(string) : "Volume"
distance(choices) : "Attenuation" : 0 =
[
0 : "Play Globally"
1 : "Large Radius"
2 : "Medium Radius"
3 : "Normal Radius"
]
]
then you *should* have a new entity capable of playing the sound file of your choice at the volume of your choice, with distance set to 0 if you want it playing throughout the map. hopefully anyway...
So I copy entities code from Darin in my fgd and the new entities should appear in Worldcraft ?
well not exactly as FGD uses its own code/format as i'm sure you are aware. have a look in the fgd and figure it out; you should be able to add the entities yourself based on the information in cck.txt
Ah
#10550 posted by ijed on 2010/11/19 18:02:39
Ambient sounds in Quake are just used for that. Custom stuff is needed for ingame music.
Some mods, like Qouth, let you set attenuation -1 which means they're heard globally, but only while you're looking in their direction. That's where putting them at the cardinal points comes in.
#10551 posted by metlslime on 2010/11/19 20:35:36
..Atlast I got them to work! But in order to be audible ingame I had to place these ambient sounds really close to the player!
My error was to place them at the 4 cardinal points(as in HalfLife) of my map.
Ah... yes, you mentioned this earlier but i think we assumed you meant you placed 4 in the same room as the player. Quake ambients are localized, you have to scatter them through out the rooms and hallways of your map.
NOTE: you only can have 116 of them if you are using a standard quake engine. And torches/flames count towards this total too.
Like I Said 40 Posts Above....
#10552 posted by negke on 2010/11/19 20:41:06
As for the soundtrack, the easiest solution would be to supply an mp3 which people can play in the background while playing the map. Or not, if they don't like it.
..ok Negke, Rj(your Verbosity Appreciated), Ijed, Metlslime
#10553 posted by Futur4 on 2010/11/20 00:55:36
Thank for all suggestions.. now my brain is melting..
As I stated I'm a not too bad mapper and musician.. but ignorant in qc code
I got my own songs ready but maps are not done yet.
------------------------------------
ps: I tried MikeWoodham "ThisOnion" it's really a nice work but soundtrack is the real winner!
I Dont Think Making
#10554 posted by RickyT33 on 2010/11/20 05:06:22
your own progs.dat will be so hard. People here have done similar to what you are talking about, if you try as much as you can and keep asking here you will succeed :)
Yeah
#10555 posted by rj on 2010/11/20 11:29:44
i'm no coder at all. but qc is pretty simple once you try and familiarise yourself with it, especially seeing as all you need to do is copy & paste the right bits in the right places. definitely worth looking at
It Is Simple
#10556 posted by ijed on 2010/11/20 13:40:00
But save it for the next project. One step at a time :)
- Request For FuncMsg Regulars -
#10557 posted by Futur4 on 2010/11/23 20:53:53
1)Please somebody could upload a Quake progs.dat complete with cutscenes code and in-game music code ?
2)And the suitable *.fgd for Worldcraft/Qadapter ?
ehm.. I feel embarassed, but I really need those for my projects(I know nothing of qc!)
Bye
Your Options
#10558 posted by gb on 2010/11/23 21:23:48
1. Custents
http://www.quakewiki.net/quake-1/mods/custents-custom-entities
http://wartrench.telefragged.com/
This is a custom progs.dat called custents. In the download, there is a doc folder with an index.htm. Please look at that in a web browser and read the descriptions of the new entities.
There is a camera entity, an actor (npc), and sound playing entities that can be triggered.
It also comes with example maps.
2. Extras
http://quake.chaoticbox.com/downloads/extras_r4.zip
That is another custom progs.dat which also comes with a lot of documentation. I don't remember if this one has cameras. Has example maps as well.
3. Zerst�rer
http://www.quaketastic.com/upload/files/single_player/mods/zerdevkit_gbpackdit.zip
And this last one is the Zerst�rer progs.dat, source etc. Please read devkit.txt, it tells you which entities to use and how. You should be able to do the same kind of cutscenes that you see in the mod, Zerst�rer. I found this on my disk.
4. Quoth
Quoth has sound playing entities, but no cutscene stuff.
5. RMQ
I will create a webpage soon that explains how to use RMQ as a mapping toolkit. It has very nice cameras that can lerp from one to the other, rotate and be daisy chained etc.
I think we will release the code (and progs.dat) either with the next demo or at least around the same time, I hope it'll be before the end of this year.
There is an older progs.dat at the RMQ blog, but the cameras aren't so advanced. I advise against using that.
Take a good look at custents and extras, please. If you still have problems after doing that, contact me and we might be able to solve them.
Gb
#10559 posted by rj on 2010/11/23 22:34:49
i have a feeling your advice is kinda wasted on this guy...
|