Forum posts

Posted 4 hours ago2019-04-19 12:52:11 UTC
in Changing max health/suit power? Post #342495
I believe it's got something to do with this: (cl_dll/battery.cpp)
rc.top  += m_iHeight * ((float)(100-(V_min(100,m_iBat))) * 0.01);
So replace 0.01 with 0.02. I haven't tested this, but it should be that. It's around line 103, right after the #else line. Either way, the code for drawing that stuff on the HUD is there, so change it as you need.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 18 hours ago2019-04-18 22:24:52 UTC
in Changing max health/suit power? Post #342489
You're welcome. :)
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 day ago2019-04-17 17:52:18 UTC
in Changing max health/suit power? Post #342480
I recall doing something similar (increasing it to 200) in 2015. Basically, you'll have to change a line in weapons.h, in the HL DLL project.

Around line 95:
#define MAX_NORMAL_BATTERY 100
Set the number to something else you'd like. It will affect battery pickups.

For the chargers, you'll have to go to h_battery.cpp and manually change some stuff: (starting at line 164)
// charge the player
if (m_hActivator->pev->armorvalue < 100)
{
    m_iJuice--;
    m_hActivator->pev->armorvalue += 1;

    if (m_hActivator->pev->armorvalue > 100)
        m_hActivator->pev->armorvalue = 100;
}
I think that's about it.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 week ago2019-04-06 20:52:04 UTC
in Grind rails like in Sunset Overdrive? Post #342425
I got you covered: Creating new entities

Also, here's a bit of material to understand the SDK itself:

Looking at a simple entity class
Creating a new entity class (my tutorial up there is this, but far simpler - I should port it to TWHL soon)
Finding your way around the SDK
Printing to the console with ALERT()
Engine functions
String handling in GoldSrc

The specific entity that you'll wanna make will need these three:
  • traces
  • some func_train code (imagine that our player is a func_train)
  • some vector maths and logic
Admer456 Admer456Lean, mean, mapping machine :3
"QuArK can open .bsp as well"
I wanted to check this. It is true. :D
User posted image
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-04-05 12:50:55 UTC
in Post Your Photos Post #342411
Thank you. :)
If I hadn't gone out more, I wouldn't have even taken these photos.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-04-04 18:09:11 UTC
in Post Your Photos Post #342403
BUMP uwu
I haven't posted in almost a year here.
User posted image
User posted image
User posted image
User posted image
User posted image
Remember this photo?
User posted image
Here's the view from the other side (there's a bridge there too, you just can't see it in this photo xd):
User posted image
Ever since my 2nd year of high school, I've been going outside more, and I've been walking more. So I thought I'd take photos of things along the way:
Someone walked into the shot, didn't see until I saw the man. Then I ran away. :vSomeone walked into the shot, didn't see until I saw the man. Then I ran away. :v
User posted image
User posted image
User posted image
User posted image
User posted image
Green river Bregava. :3

Also, a bonus one:
User posted image
R.I.P. resistor, as part of a demonstration of power ratings, for my classmates.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-04-04 16:09:52 UTC
in Grind rails like in Sunset Overdrive? Post #342402
And I thought I was presenting something complex. :P
But yeah, having 50 entities or so, each doing a part in the entire thing, it can take up more entity data in the BSP, entity slots, and it might have an impact on performance too.
Either way, can you program this, or should I provide you all the code?
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-04-01 20:25:09 UTC
in A Utopia At Stake Post #342388

ADM v0.1 tech demo

Today I am releasing v0.1 of the mod base of Utopia At Stake, called ADM (Admer's DevMod). It has got the following features:
  • vehicle support
  • FMOD sound system implementation
  • Bullet physics engine implementation
  • bump-mapping (I never thought I'd reach this point)
User posted image
Download the tech demo right now:
ADM v0.1
Installs like any other HL mod, just extract the .zip into steamapps/common/Half-Life.
Should not work with pre-Steampipe versions, or rather anything lacking updated SDL2 and VGUI2 libraries. (sorry pirates and WON HL players)

The source code will be released some time later. :D
Have a good day/night, everyone.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-04-01 18:43:29 UTC
in Post your screenshots! WIP thread Post #342387
RB-DOOM3-BFG?
Hot damn, very close. RBDOOM3-BFG has shadow mapping IIRC, and this one has it too. Buuut, it's not RBDOOM3.

@abbadon
But I don't like MS3D. :/

@Screamernail
Because I never worked in the Cafu engine and I don't know what it's like yet. I know Source and GoldSrc workflows but they're proprietary engines. :/
I was thinking if I should use Quake 2's idTech 2, or Quake 3's idTech 3, but then I realised, idTech 4 is so damn powerful yet so damn rapid for development. :D

Edit: now, onto the weapons...
User posted image
I haven't modeled weapons in a while. This Zastava M57 will probably be done by the end of the week.
Also, hooray, I finally made the switch to Blender. UwU
Now my Free Development Arsenal is even more complete. :3
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-04-01 18:30:21 UTC
in Grind rails like in Sunset Overdrive? Post #342386
"I think the best way to define grindable rails is point entities that define the rails like path_track does. When a player comes close enough you snap them to the rail and move them relative to the lines between points."
This. Except I had an idea about checking whether the player is touching the line between the two points. "Close enough" is a bit harder to do. :D
"Speaking of triggers, I believe with zhlt_noclip they wouldn't work because clips are their essence."
I was talking about the illusionaries. :(
User posted image
User posted image
And here's the concept.
rs1 checks traces between pt1 and pt2. If the player, for example, jumps on it, then rs1 will take that player and check the velocity. It'll determine the direction of movement according to the velocity, and accordingly, it'll snap the player to that traceline, and move the player smoothly to either pt1, or pt2, depending on the direction.

As you can see, the minimum keyvalues required for the entity to work are the start and end path entity. It's quite simple. :)

Now, in this case, three things can happen:

1. Player jumps off the rail
This is really simple. Check pev->buttons and dismount the player, maybe add a number like 50 to velocity.z.

2. Player arrives at pt1
Same thing as case 1. We have no neighbouring railslide node, so dismount the player (also, don't forget to 'lose' the pointer that points to the player entity, cuz' the player no longer belongs to rs1).

3. Player arrives at pt2
This is where things get interesting. The entity loses control of the player, and tells rs2 to handle the player. Then rs2 will move the player to rs3, and if the player reaches pt3, they will be dismounted.

Now, I believe that this specific way won't work for multiplayer. :/
It'd take some extra work to optimise this for multiplayer, since you have to take multiple players into account and thus somehow point to multiple entities at once, usually done with a for loop iterating until it hits the max player count.

On another thought, maybe you could just take one func_railslide and let it take on an entire group of path entities? Kinda like a func_train.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-04-01 14:57:27 UTC
in Grind rails like in Sunset Overdrive? Post #342382
I believe you can do that without triggers.
Instead of trigger_railslide, let's imagine a point entity called func_railslide. It sends a trace between one path_corner and the other. If the player is in the trace, it starts working just like trigger_railslide would.

I drew the concept on paper today, I'll explain it in detail when I get home.
400 illusionaries eat up 22.2% of clipnode limit
Even with zhlt_noclip 1? Hmm.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-04-01 11:08:09 UTC
in Post your screenshots! WIP thread Post #342375
Doom 3's engine
You got a cookie! :crowbar:
Now guess the fork and you'll get a cake. :P
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-03-31 23:34:37 UTC
in Post your screenshots! WIP thread Post #342371
After 22 photos of my left hand, I managed to do it:
User posted image
User posted image
Here are some earlier renders:
User posted image
User posted image
Did the mesh in 3ds Max, did the texturing in GIMP, and the last touches in Blender. :D
This is gonna be used in my game about the Bosnian War. I had to make something to replace these hands which came with a starter asset pack:
User posted image
( Guess the engine and you'll get a cookie. :) )
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-03-31 23:27:02 UTC
in Grind rails like in Sunset Overdrive? Post #342370
SoHL can be pretty unstable to work with sometimes, at least in the latter releases, as far as I've seen.
Not doable unless you code it into the engine, and I don't see that being an easy task either.
into the game*
We don't have access to the engine. XD

BUT, it's possible. And here's one of my ideas. Defining an entrance trigger for the slide, and using path_corner entities to slide between. Then simply interpolate the player's position to the next path_corner, depending on what they're facing, and what they're closest to. It'd take some maths and time, but it's certainly possible.

Essentially, you'll get some sort of trigger_railslide entity, which detects whether a player is inside, and when the player enters it, it'll move the player as if the player were a func_train. Then, it checks which path_corner the player is closest to, and it takes the player's original position, and interpolates between that and the path_corner's, so that the entrance could be smooth and arbitrary.
I'd do a proof of concept (this stuff requires coding just one entity), but it's 01:24 here, so. :/
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 weeks ago2019-03-30 16:09:29 UTC
in Brush distortions when using rotate Post #342366
Don't angles work on func_wall too?
It's a very old and useful mapping trick. :D
Admer456 Admer456Lean, mean, mapping machine :3
Posted 3 weeks ago2019-03-28 23:39:29 UTC
in Texture skewing in map editor Post #342360
I had done some testing, and it seems that J.A.C.K.'s UV-lock works best with triangles (was mentioned briefly in my ATC tutorial). But ONLY if you move the vertices in a single axis, and nudge them with arrow keys. Otherwise it's gonna be a load of texture baloney.

So yeah, either skew with the select tool, or nudge vertices carefully if you're using triangles.
ToTac has got some really neat guides that rely on the UV lock, actually. The thing is, the texture scale gets messed up, but the projection angles are right! This needs some more studying and documentation.

Also, do NOT use the clipping tool while the UV lock is on. It's gonna screw up the textures because it doesn't know how to project them.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 3 weeks ago2019-03-28 16:17:05 UTC
in Texture skewing in map editor Post #342352
Just toggle it, and skew the brush. It's like an additional texture lock. :P
Otherwise, you gotta use that method which may or may not work. xd
Admer456 Admer456Lean, mean, mapping machine :3
Posted 3 weeks ago2019-03-28 08:36:09 UTC
in Texture skewing in map editor Post #342346
From what I see, there is no other way. If you use J.A.C.K., there's the UV lock option: you can just skew a brush and it'll skew the texture properly in most cases.
In some Radiant editors (you're very likely not using these), there are actual UV map editors, but they work the best with triangles and (not a GoldSrc thing) patches.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-13 17:47:25 UTC
in A Utopia At Stake Post #342253
It's possible to detect if the game window has focus with SDL2
Yesss, that's exactly what I was thinking about!
On other OSes lile Linux, you will likely need a soundfont first.
GASP I almost forgot.
I gotta try compiling my mod's code for Linux one day. It's gonna be one hell of a ride IMO. :P
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-12 21:33:43 UTC
in A Utopia At Stake Post #342237
100% because I can. :)

But seriously, AFAIK FMOD supports MIDI music, so something like that would be amazing, because then you can save a lot on space. :D
And then there's OGG support.
and music will play even if you go to menu (and even if you minimize the game, AFAIR)
Sounds and music can be paused though, can't they? As for minimising the game... pretty sure there's a solution to that too, even if it's a bit ugly coding wise. :)
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-11 21:03:00 UTC
in A Utopia At Stake Post #342217
After a month of silence, it's time for some news. :3
  • The FMOD implementation is so-so. It loads the library, starts the system, creates and loads a sound, but fails to play it.
User posted image
User posted image
Yeah. But I think I know the cause. I'll get to it later on.
  • The Vehicle API has been enhanced, and simplified so I can make it easier for myself, and for others, to actually code the vehicles.
In the VehicleThink() function, you can now just place these two:
User posted image
...instead of manually and individually setting the origin of the player, the seats, setting the angles etc.
Basically, you have to set positions for each seat, then for the player, then the angles, listen to the commands from the player, and perhaps other things in the near future. Now you just need to call 3 functions or so, as opposed to writing 5-6 lines per seat (now imagine having a minibus vehicle with 16 seats - blimey!).

Support for studio model vehicles has been added, so now I can finally have vehicles with bones, controllers and whatnot. It was just sitting there and all I needed to do was precache and switch the model, if the mapper assigns a "model" keyvalue. It looks pretty neat:
User posted image
Currently this is just me debugging the seat position stuff. With the chair, it was really easy because you'd just snap the player to the centre of the chair, but now you gotta add a bit of trigonometry and vector maths. :P

Being based on the chair code, it behaves exactly like the chair: https://i.imgur.com/b5Bxqrn.mp4

Now, what's next?
  • A seat-switching algorithm (you can switch to another seat e.g. from the driver to the passenger seat if it's not taken by a player)
  • Motor/engine stuff, like switching gears according to the RPM. (manual transmission one day? Who knows)
  • Binding seats to bones, and utilising controllers for special vehicles (studio model only stuff - brush-based vehicles will use my maths xd)
  • Potentially a way of scripting vehicles in text files. Stuff like engine horsepower, gears, the model and whatnot. This way, it will not be hardcoded, nor "hardmapped" (even tho' you can ripent a map etc.), and it will still remain serverside. :D
  • More complex vehicles: aircraft, boats, and ultimately... cars and... maybe if I become mad enough, NPC vehicles
  • Eventually, NPCs that can drive vehicles. That would be insane, don't you agree?
Before I move on to that, I'll have to polish the current set of features and fix bugs (there's gotta be some!). I still have to code taking damage, exploding, switching the engine on and off, emitting sounds... Basically the smaller things. :)
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-09 23:19:58 UTC
in Better shadows? Post #342202
You simply can't get more high-res lightmaps without altering the scale.

As Bruce said, take a, for example, 128x128 texture and upscale it to 512x512, then apply that and scale it to 0.25 and 0.25.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-08 23:28:29 UTC
in The "-chop #" in the VHLT compiler. Post #342193
Your Celeron will surely handle it only slightly better than my Core 2 Duo T7500. :D

BTW you can find a bunch of other parameters here with screenshots:
link
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-08 17:43:24 UTC
in The "-chop #" in the VHLT compiler. Post #342190
User posted image
Chop 512, texchop 256. Compilation time on my 2007 laptop: a minute or two.
User posted image
Chop 8, texchop 4. Compilation time on my 2007 laptop: an hour. An hour for just this room.

The difference is in the corners of the room. And that's all. Literally. It's almost like some sort of AO. :P
For final compiles, -chop 32 and -texchop 16 would be reasonable enough, while you can freely increase them to 512 and 256 in non-final compiles.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-05 00:42:58 UTC
in More mods that never were... Post #342143
The mods I'm about to describe are actually the same mod, that actually got rewritten about 2 or 3 times between 2015 and 2017.

Admer: The Game

Premise

In late 2014, I had QBasic programming classes. Inspired, I decided to create a text adventure game with visuals. Inspired by Zork for the text adventure aspect, and Another World for the "another world" aspect, and the visuals. However, I was quite limited by QBasic and I would draw things line by line, manually, making animation super lengthy and tedious for myself. I only stuck to the textual component.
In 2015, I decided to convert my QBasic text game into a Half-Life single player map pack.
I made the first level and 13-year-old me wanted to do more. So, I wanted to do a total conversion.

Story:You wake up in a cave after getting knocked out by some bandits hours earlier. You get out of the cave, find an empty house with some things, pick those up, and try to find your way through the forest.

Progress

It was rapid at first. I made 3 maps within the first couple of months (albeit, very low quality maps).
The caveThe cave
Outside of the caveOutside of the cave
The houseThe house
The maps were really all that was made for the mod. It had around 3 or 4 maps.

What happened?

It was solely based on my QB text adventure game. I got bored of it, and I wanted to make it more interesting.

Rewrite!

An unknown game

Premise

You were playing as Admer (not me, rather an Admer from a parallel universe who's way more capable than me). You somehow ended up on a different planet called LoG (Land of Gamers - will be explained soon) with no memory of what happened within the past 24 hours. You had to get out of the cave by blowing up the TNT and fighting your way through a zombie-infested forest with abandoned houses, until you reached the city. [sudden end of footage]

Progress

New HUD sprites were made, a main menu background was added as well as AVI startup videos. I was developing that on a pirated Half-Life copy, which still had the D3D renderer and could play AVIs, so definitely before the Steampipe update. Either way, it ran. :)
BUGZ Inc.BUGZ Inc.
Most importantly, programming!

What happened?

This wouldn't last too long, as I wasn't satisfied with the mod's goal again, so I rethought of it once more.

Rewrite!

An unknown game, revision 1

Premise

It was 2016 when this revision occurred.

Story: In the 80s, scientists discovered a portal to a parallel universe. In the 90s, a rich dude gathered a team of researchers, scientists, and life-sentenced prisoners to create something he always wanted: a way to change the appearance of his body so that he could look like a furry. Gotta explain the humanoids on LoG somehow!
In 2017, you travel to that universe because of education, and a brighter future. It was called Land of Gamers because, pretty much, most people who lived there were gamers. The cave and forest level actually then became a "game inside a game", basically, the player would enter a friend's apartment somewhen in the 3rd chapter, and he'd ask the player to test his VR game.

Tech: New entities were planned, and some gameplay tweaks.

Progress

User posted image
User posted image
User posted image
Mapping skills improved, so I could deliver more interesting entity setups. New textures were also being added, as well as new sounds and voice acting.
DEBUGZ Corp. takes over BUGZ Inc.DEBUGZ Corp. takes over BUGZ Inc.
CRASH Inc. appears on the marketCRASH Inc. appears on the market
Finally, I had more success in coding and I could copy-paste things I wanted without errors. But still, not make my own code. xd

What ultimately happened?

The whole thing eventually fell apart, as I couldn't keep up with anything. I lost motivation completely, and I didn't want to continue. I was getting into making maps way more (and that's the skill that I've really developed the most, throughout those years - now I'm developing the rest to a similar level).
I'll quote what I originally said about that matter:
Like most of these Half-Life mods, this mod lacked a good coder. Back then, I understood none of the code, and I didn't know how to write my own code. I was a copy-paste coder. I only knew QBasic. Now I know some LUA, and I can code for Far Cry.
What's worse, I didn't know how to model. Now I do, but it's too late now. I had to make simple, low-poly models, but I didn't have the skill to model a simple rock. Now I can model cars, weapons, characters and many other things.
What's even more worse than that, is the fact that the mod actually had many characters in the story. Thus, a lot of voice actors would be required (voices for Barnes, George, Jody, random citizens, radio chatter etc.). And an awful lot of maps would be made (like, 40 of them).
Then, I simply stopped working, as I was getting deeper and deeper into CS mapping. 3 months ago, I transitioned completely to work with CryEngine 1.

I hope I will continue to work on this mod in the future, when I am capable of being a 1-man modding machine. This was simply too much work for 1 person.
But not any more. I've become just that, and I'm hoping to revive this.

It just definitely won't be the same. It'll be like a revision 2, except that's called 'Utopia at stake'.
I'm putting these here, because they're pretty much different than the mod I'm going to make. Admer: The Game was supposed to be an adventure, exploration, an expedition to an unknown planet gone wrong, with action. An unknown game would've initially been just like ATG except it'd be heavily story-based, so you'd get to know some characters. An unknown game, revision 1, would've been about saving the planet, and your love~

Bonus:

AUG: Quest for Burek (Far Cry)

Premise

2016. I wouldn't let the An unknown game franchise die so easily. I had to do something. So I decided to make a sequel for Far Cry. This time, the protagonist was one of Admer's friends from elementary school, and the year was 2023. Some terrorists came to Admer's and Roki's hometown and destroyed the local burek place.
Roki got mad, but he couldn't do a thing about it. Admer came in, speeding in his orange Zastava 750, listening to accordion mixes. They barely escaped the terrorist attack.
Throughout the mod, you'd visit LoG and come back to Earth occasionally, and you'd eventually learn about The Organisation, which is responsible for the civil war that Admer stopped, back in An unknown game/Utopia at stake. Eventually, you'd track down their leaders and kill them off one by one, and the boss would be the last.

From the technological aspect, I would've started using satellite mapping, and I planned to add entities that extend the functionality of Far Cry maps, even though it had quite a few entities by itself: ProximityTrigger, AreaTrigger, AITrigger, DelayTrigger etc.

The so-called AUGU (An unknown game universe) got most of its lore from this time period. I improved the story, added way more content to it, and laid the foundation for the whole plot. There is a blog on GB about it but, it's outdated.

Progress

This time, I had something I didn't have before. A plan. First, do the technical part, then the assets and to realise the concepts.
I stuck to it initially, and it worked. I coded some vehicles, weapons etc.
User posted image
User posted image
It always begins with a chair!It always begins with a chair!

What happened?

Well, I couldn't stick to the plan and alas, my laptop was from 2007 so it wasn't really suited for CryEngine 1.
I lost motivation for that one too, since I started working on the whole mod instead of finishing the damn technical part. It was a fun ride, though. Who knows, it might just get that sweet revenge of being revived as well. Not entirely sure, but I'd love to do it, since Far Cry is such a nice game to make mods for. :)

These old mods of mine are definitely merely historical papers right now, but they paved my way in various skills, and brought what can be years worth of thoughts, stories, and a bit of love. They may be definitely dead now, but I'll bring them back to life. One day.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-03 14:33:45 UTC
in Waypoints for this maps [Firearms] Post #342128
"The BSP_tool utility also allows you to automatically generate HPB bot waypoint files using the information in the BSP file to place the waypoints."
Oh neat. Didn't see that. ^^
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-02 10:00:20 UTC
in Waypoints for this maps [Firearms] Post #342116
"There is an open source tool on botman's sites"
The only Botman site I know is this: link
I didn't manage to find it there though.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-01 19:22:01 UTC
in Locked Door Post #342112
Here is something that has stuff about masters: link and link 2.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-03-01 18:39:17 UTC
in Locked Door Post #342110
Masters and optionally, multisources. I believe there's a tutorial on TWHL somewhere.

Doors are entities that can have masters, which control whether they are locked or unlocked. If the master entity is turned off, the door is locked and vice-versa.
So you could also select a Locked Sound and an Unlocked Sound, just to have an audio confirmation that the door is locked/unlocked.

Now, the master entity could be anything that has an on and off state, e.g. buttons. I don't know how the scene with Barney was exactly done, but this should give you an idea. :)
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-02-21 23:11:50 UTC
in Firebot problem Post #342067
@sample vodka

How did you fix the problem? What was the solution?

There we go. Hopefully he'll reply now. :)
Admer456 Admer456Lean, mean, mapping machine :3
Posted 1 month ago2019-02-20 15:45:10 UTC
in Post your screenshots! WIP thread Post #342062
Oh, now I've got even more plans for that drink machine. I know just the right thing to do. ;)
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-19 13:04:31 UTC
in I've returned once again with some more problems Post #342057
For the button, you can check the flags, so it's either X axis or Y axis.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-18 00:27:16 UTC
in Post your screenshots! WIP thread Post #342055
I've got lots of everything to deliver, lol.

@abbadon
Yes, that is my high school. :)
Recently a construction site was built around the school, they seem to be doing something about the facade. So I think it'll be a nice detail to add eventually.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-17 18:14:47 UTC
in Post your screenshots! WIP thread Post #342052
User posted image
User posted image
User posted image
User posted image
User posted image
I still haven't compiled this thing, lol.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-09 20:37:16 UTC
in Slight issue with map compiling (hlrad) Post #342002
Yay. :D
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-09 16:07:23 UTC
in Slight issue with map compiling (hlrad) Post #342000
"The only difference between the two is that one is stuck doing an idle animation whilst the other is free to move but I don't see how this would have an effect."
Think of it as one guard being busy. What does your entity setup look like? What entities are triggering what, and what keyvalues/entity properties are being used?
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-06 21:46:51 UTC
in Slight issue with map compiling (hlrad) Post #341986
Write this into the console:
developer 2
Restart the map and you'll see a real-time log of what is actually going on, what entities are being triggered etc., and then try to see what's the issue.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-06 15:15:19 UTC
in Slight issue with map compiling (hlrad) Post #341984
Oh right, one more thing: the point file's lines actually do end up in the void in the end. The thing is, you gotta track the line to see if it's going through a brush or not. The lines will "find their way" through any hole in the map, basically. Watch out for teeny tiny gaps.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-06 12:30:21 UTC
in Slight issue with map compiling (hlrad) Post #341982
I didn't mean it. No need to be sorry.
"I have literally no idea why this is happening because the entire map is completely sealed off from the void."
Do you have any entities outside of the map? All entities should be inside of the rooms, even things like lights, or info_ entities etc.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-05 19:50:45 UTC
in Slight issue with map compiling (hlrad) Post #341978
"Only problem now is how I bring up these blue lines so I can see what's causing the issue."
You don't read anything I write, do you? :V

Here:
You can open your map's portal file to analyse what VIS has to calculate.
Where your .bsp file resides, there will also be a .prt file. Open it with a text editor, and you'll see something like this:

1681
3982
2
1
1
10
1
1
1
4
15
4 688 45 ( 400, 500, 600 ) etc.

You'll want to skip the first two lines, because those are the number of portals and visleaves, IIRC. Then delete whatever is between them and the coordinates (basically, delete the "garbage" numbers):

1681
3982
4 688 45 ( 400, 500, 600 ) etc.

The last line that I wrote won't actually look like the one in a .prt file, but you can get the idea.
This file is generated per each compile.
Then, you open the .prt file with the map editor: Map->Open Portal File.
BTW you might wanna check if you accidentally func_detail'ed a wall or a ceiling or something. This is where screenshots would come in handy. Does the line go through walls? If yes, then check for errors with Alt+P, there might be an invalid brush.

And don't worry about the sins, it's a joke. Mapping is no religion. :P
Admer456 Admer456Lean, mean, mapping machine :3
I'm still pretty much running Windows XP SP3 on two PCs, albeit I turn them on rarely. We'll see what will happen in 5-10 years. :)
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-04 23:53:31 UTC
in Slight issue with map compiling (hlrad) Post #341965
An aiscripted_sequence forces the AI to do it. It's like the God of AI, even prevents death while it's being executed. :)

func_detail basically prevents the "cutting" of portals, and lets you control the contact BSP face splitting.
Without func_detailWithout func_detail
Now what would happen if we assign func_detail to these boxes?
User posted image
Firstly, there would be less portals and less stuff for VIS to calculate. In this case, it's just one room, so the portal file would actually be 'empty':
mapname.prt
-----------------
1
0
6
Secondly, these boxes would not "cut" the floor into multiple faces as they did previously.
User posted image
I added another block there just so the portal file wouldn't be empty. Basically, func_detail simplifies the map's portals (these blue rectangles), but it should absolutely not be used on walls, ceilings etc.
It acts as a non-entity, but it'll still be treated as an entity by the compiler, so it won't block any leaks.

Here's another example. (oh the mapping gods, please forgive me as this sin is for the purpose of enlightenment)
User posted image
Each of these volumes defined by these blue boundaries can be considered a room. Basically, VIS thinks there are multiple rooms in there, while it's just some space around a pipe. Doesn't make much sense. So it should be func_detail. You can use func_detail on basically anything that causes unneeded complications in VIS calculations. Chairs, tables, lamps, maybe window frames, furniture, static vehicles, pipes, signs, poles etc. should all be definite func_detail candidates.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-03 17:08:46 UTC
in Slight issue with map compiling (hlrad) Post #341946
If HL VIS is stuck, your map needs some optimisation. Can you show us some screenshots of the map?
Usually, tiny brushes that are merely architectural details (or even prop-like things like signs, fences, railings, tables, chairs, lamps, small rocks etc.) should definitely be func_detail.

The compile warning is really just a warning. It also means that the geometry is a bit funky or unusual, so the compiler can interpret the geometry in more than one way (hence ambiguous). Generally, it's completely fine, not much to worry about.

Are you triggering the sequence that the guard is supposed to do? Some more context is needed, and some of the keyvalues that are being used by the entity setup. Try the aiscripted_sequence entity, too.

Not much is wrong with J.A.C.K. except for the few bugs it has and it's closed-source (and the author pretty much hasn't updated it in a while). Sledge is open-source and will surpass J.A.C.K. one day, I hope. But hey, if it weren't for those two, almost all of us would be using hacked Hammers, or Hammer 3.4, or even worse, QuArK. D:

Oh, also:
You can open your map's portal file to analyse what VIS has to calculate.
Where your .bsp file resides, there will also be a .prt file. Open it with a text editor, and you'll see something like this:

1681
3982
2
1
1
10
1
1
1
4
15
4 688 45 ( 400, 500, 600 ) etc.

You'll want to skip the first two lines, because those are the number of portals and visleaves, IIRC. Then delete whatever is between them and the coordinates (basically, delete the "garbage" numbers):

1681
3982
4 688 45 ( 400, 500, 600 ) etc.

The last line that I wrote won't actually look like the one in a .prt file, but you can get the idea.
This file is generated per each compile.
Then, you open the .prt file with the map editor: Map->Open Portal File.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-03 16:46:56 UTC
in HL1 Machinima Post #341944
Well, it's a success. I'm thinking about creating maps for this.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-01 21:48:53 UTC
in HL1 Machinima Post #341911
What if he's got an Intel GPU or something else? Then there's no other option than stuff like OBS, Action etc.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-01 20:31:34 UTC
in HL1 Machinima Post #341909
"recording things with fraps"
Not necessarily. I've recorded mine with Mirillis Action. :3
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-02-01 19:56:02 UTC
in Slight issue with map compiling (hlrad) Post #341908
Pretty sure he'd have the same questions and problems even if he had used Sledge (if not some more stability issues too). Though, what I've just said won't be valid after the next couple of years. :P
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-01-29 14:50:47 UTC
in Slight issue with map compiling (hlrad) Post #341883
Confident as in, the AI will be 100% sure what way to go. Should the way they go be correct or not, eeeeh, it depends on the mapper and how the nodes are placed.
Admer456 Admer456Lean, mean, mapping machine :3
Posted 2 months ago2019-01-28 19:20:30 UTC
in Slight issue with map compiling (hlrad) Post #341877
"ai nodes"
AI nodes are just a 'GPS system' for the NPCs. When you place these nodes, you're giving NPCs confident information as to what way they can go. Without nodes, they use pathfinding and sometimes they're not too good at it.
Admer456 Admer456Lean, mean, mapping machine :3