#18904 posted by Baker on 2017/09/12 10:54:27
Round and hollow? example
#18905 posted by Baker on 2017/09/12 11:06:36
Duke of Ontranto
https://www.quaddicted.com/reviews/fc1.html
In pak, see ---> progs/barrel.mdl
Live action -game fc1 +map fc1m2
Pritchard
#18906 posted by Qmaster on 2017/09/12 13:48:55
In JACK, create cylinders stacked, in vertex mode use CTRL+E (or maybe it was ALT+E), scale edges as needed. It helps to have both mating brushes selected...this works for donuts as well as cylinders.
#18907 posted by PRITCHARD on 2017/09/12 14:33:50
I don't remember reviewing fc1... It's been a while since I played through any maps in quake actually.
Those barrels are decent, actually. I ended up figuring out how to make them out of brushes by looking at the wireframe in qme.
@qmaster
#18908 posted by PRITCHARD on 2017/09/12 14:36:09
I use TB2, but I was able to achieve a (probably) similar effect with the basic vertex manipulation there. :)
Now i just have to cut my beautiful new barrel up into little chunks so it looks cool when you shoot it to bits!
@Pritchard
I'm not sure if you know this but a protip i recently found from Sleepwalker was: You can use CSG Merge to merge faces in Tb2! Make the diff sections of your geo then use merge to quickly extrude the brushes. Try it.
Also there are barrels in Hexen 2 that could probably be used as a template. I wonder if the map source is available?
AD Entity Models In TB
#18910 posted by Kim Smoltz on 2017/09/13 12:24:28
Hey, I loaded up the AD .fgd file and made a symlink of the "progs" folder into Trenchbroom's root directory assuming it would be able to find the models there, but it seems that it can't, where do I need to place it so that Trenchbroom will find them?
#18910
#18911 posted by PRITCHARD on 2017/09/13 14:02:06
You don't need to symlink anything. Just make sure that TB knows where your Quake directory is and select the mod's folder here!
There are essentially two places where you need to set up your mods (at minimum): Under the map tab, where you select the mod folder, and under the Entities tab, where you select your entity definition file such as a .fgd or a .def
Hope that helps :)
If I wanted to take away a players weapons after the end of a map, like what happens at the end of each episode in quake, what's the best way to do that?
Also is there a way to change the name of the start map that is automatically loaded when quake starts, or does it always have to be called "START" ?
best way to do that is to give the player a rune and use the info_player_start2 entity
also I'm pretty sure that you can set the start map in the autoexec.cfg... not certain though.
#18914 posted by ericw on 2017/09/18 00:43:12
"map start" is hardcoded in the engine for when you start a new game through the menu
There's A Way To Take Weapons
#18915 posted by Qmaster on 2017/09/18 03:05:24
Preach might remember better but I believe a trigger hack with negative items might do the trick to act as a weaponstrip.
info_notnull:
think InitTrigger
nextthink 0.2
touch weapon_touch
items -2048 (add weapon numbers here)
Hmm
#18916 posted by Qmaster on 2017/09/18 03:06:57
Actually I don't think that would work, not sure how bitwise | treats negatives.
Hmm interesting, thanks guys. We will probably use the rune method unless we can work out a hack (this is for QUMP)
Hint
#18918 posted by Preach on 2017/09/18 08:07:41
Try looking at DecodeLevelParms in client.qc. This is entirely a QC controlled thing, you don't need a hack.
#18912
#18919 posted by Spike on 2017/09/18 10:36:32
some engines (ie: fte+dp+qss) have startmap_sp and startmap_dm aliases, which can be set eg:
alias startmap_sp "map foo"
which should normally be done in your mod's default.cfg file.
the engine then goes and executes those aliases instead of directly loading the regular start map.
an alias instead of a cvar allows you to reset various other cvars before the map loads (or plays a demo/intro first or whatever).
as far as the engine is concerned, map start isn't otherwise special.
as far as the vanilla qc is concerned, players will always spawn with default weapons on start.bsp, the qc prevents any weapons from other maps from being restored on the new map.
It should be relatively simple to create a trigger to remove items, but it'll still need custom QC.
If you're looking for a hack to remove the player's weapons+ammo+armour without using start.bsp and without custom QC, you might be able to achieve that by killing the player with an insta-gib trigger_hurt overlapping a trigger_changelevel. Both triggers need to be touched within the same touchlinks call - otherwise the player will become non-solid and be unable to trigger the other trigger (teleporting the player into a room containing both triggers should do it reliably enough).
(obviously this requires a map change)
Corps_removal
#18920 posted by madfox on 2017/09/18 22:07:18
I need a reminder here.
corps_removal added to the death_frames, and an update to defs.qc.
I forgot how, anyone who can light up my little light?
Coding Help: Are You Wanting To Remove Corpses?
#18921 posted by Qmaster on 2017/09/18 22:37:27
You could create a body_fade function and adjust the alpha.
body_fade = {
self.alpha = self.alpha - 0.1;
if (self.alpha < 0.1) {SUB_Remove (self); return; }
self.think = body_fade;
self.nextthink =time + 1.00;
};
Then in the death function of a monster you could add something like this:
void() madfox_die8 = [89, madfox_die8] {
// Fade slowly
if (cvar("fade_corpse") == TRUE) {
self.think = body_fade;
self.nextthink = time + 0.1;
} else {
// Just remove after 30s
if (cvar("fade_corpse") == 2) {
self.think = SUB_Remove (self);
self.nextthink = time + 30;
}
}
};
Hey Yeh.
#18922 posted by madfox on 2017/09/19 04:42:08
Thanks for your guesture, qmaster.
After digging deep this came up:
Add to defs.qc
void () CorpseThink =
{
self.think = SUB_Remove;
self.nextthink = time + 30 + random() * 30;
};
All death frames monsters
void() sham_death11 =[ $death11, CorpseThink ] {};
I knew it was something simple.
Thanks anyway.
Issues With QUARK
#18924 posted by A Dude on 2017/09/21 08:25:59
Hey everybody,
I'm having issues using Quake Army Knife. It's giving me an error regarding the palette whenever I try to open a WAD for Quake 1, and says that it could not find the palette.lmp file. I don't know exactly how to fix this, but all the textures are unreadable until I do. If anybody could help me figure out how to fix this, that would be great! thanks!
A Dude
Sounds like Quark cannot find/read your id1/pak0.pak So check your paths.
Maybe you are using the wrong version of the proggie? IIRC you need a specific version to use it with Quake 1.
#18926 posted by ericw on 2017/09/21 19:51:32
yeah, the only thing you should need to do is set the path for Quake 1. Similar to this screenshot except Q1 instead of Q2: http://quark.sourceforge.net/infobase/intro.configuration.games.specificgames.html
once the game path is set correctly, the texture browser should automatically load all of the textures from the base game.
Custom Quake 1 Model Doesn’t Show Up Correctly.
#18927 posted by Shambler on 2017/09/23 23:36:53
Custom Quake 1 Model Doesn’t Show Up Correctly. [EDIT]
Posted by Rizzoislandgame [204.96.25.221] on 2017/09/23 21:47:56
First post yay!
Anyways, I put a static model into the game and no matter how many times I try to make the texture work it has 1 side that shows up, but the other side is completely black. I used blender, used the Smart UV map creator function, used gimp to make the texture, and exported using a MDL plugin for blender. It just doesn’t want to display correctly! I’m at work right now so I can’t post pics, but if it’s necessary to show them I’ll get them out tomorrow. 1 more thing, I made sure the texture was compatible with the quake palette.
Thank you!
Flood Fill
#18928 posted by Preach on 2017/09/24 00:02:14
One thing that can ruin your day with skins (especially placeholder skins) is the floor fill feature. Some engines attempt to replace the bright blue background some original Quake models had on their skins, because it looks ugly when seams show. They do this by flood-filling the skin with black, starting from the top left corner of the skin.
This can wipe out actual visible portions of the skin if they are painted with a continuous block of colour which extends to the top-left corner. A reasonable workaround is to paint just the top left pixel in a different colour to the adjacent pixels, so that the flood fill is contained.
|