EntityPlus - A single player Q3 mod

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
EmeraldTiger
Posts: 392
Joined: Fri Sep 17, 2010 1:53 am

Re: EntityPlus - A single player Q3 mod

Post by EmeraldTiger »

Congrats on B1! Cutscenes are nice.
[color=#00FF00][b]EmeraldProductions[/b][/color]
http://emeraldproductions.weebly.com/index.html
tehSandwich
Posts: 64
Joined: Thu Jun 11, 2009 5:49 am

Re: EntityPlus - A single player Q3 mod

Post by tehSandwich »

YES! A rotating thingy! Perfect for rising bridges.
deqer
Posts: 298
Joined: Mon Dec 28, 2009 6:30 pm

target_print subtitle spawnflag / wait problem issue

Post by deqer »

Congratulations.

I like seeing a huge update come out suddenly.

I've already updated my map to use deathmusic, subtitle, etc.

I'm going to look into the camera cutscene stuff, and in combination with the target_playerspeed -1 feature.

I also want to look into target_score a bit: I want the player to be rewarded some score points for picking up items, ammo, etc. I'm going to set like 5 points for +5 healths, and +15 points for green armor, +10 points for health, etc. etc. -- it will be a lot of target_score entities. Hmm, should make something like this default maybe? Similar to having a "default" like the bot health.

spawnflag subtitle! thx Eraser ;)

But, I'm having an issue.

It's showing the "wait" value as the message. See screenshot:
Image

This is my code:
// triggered by a target_delay(wait "6")

Code: Select all

classname "target_print"
spawnflags "8"
wait "4"
targetname "text_intro_6"
message "..."
---

Also, another issue is: "wait" does not work on target_print. Probably the two issues are related?

---

Edit:
Also, the map music is still playing when the deathmusic plays. Both music playing together sounds strange. Can I do something like target_script to disable music, and then do info_player_start spawn target to enable music ?
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Re: target_print subtitle spawnflag / wait problem issue

Post by Eraser »

deqer wrote:I'm going to look into the camera cutscene stuff, and in combination with the target_playerspeed -1 feature.
Not necessary. The player cannot move during cutscenes.
deqer wrote: I also want to look into target_score a bit: I want the player to be rewarded some score points for picking up items, ammo, etc. I'm going to set like 5 points for +5 healths, and +15 points for green armor, +10 points for health, etc. etc. -- it will be a lot of target_score entities. Hmm, should make something like this default maybe? Similar to having a "default" like the bot health.
You could just use one target_score entity for each score value and have all items target those entities.
deqer wrote: spawnflag subtitle! thx Eraser ;)

But, I'm having an issue.

It's showing the "wait" value as the message. See screenshot:

---

Also, another issue is: "wait" does not work on target_print. Probably the two issues are related?

---
That is really odd. It doesn't do this when I compile to code to .dll, but it does this when I compile the code to .qvm
Gonna have to go and figure out where that difference creeps in.
deqer wrote: Also, the map music is still playing when the deathmusic plays. Both music playing together sounds strange. Can I do something like target_script to disable music, and then do info_player_start spawn target to enable music ?
Weird, it doesn't do this for me :paranoid:
Ouija
Posts: 55
Joined: Tue Aug 16, 2011 9:11 pm

Re: EntityPlus - A single player Q3 mod

Post by Ouija »

Bug: Slowing down player via playerspeed screws up their speed when they duck.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: EntityPlus - A single player Q3 mod

Post by obsidian »

Eraser: Here is the entities.def file for Ritual's FAKK engine, it might give you some ideas for single player entities.

http://zero.robotrenegade.com/q3w/FAKKentities.def
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
deqer
Posts: 298
Joined: Mon Dec 28, 2009 6:30 pm

Re: EntityPlus - A single player Q3 mod

Post by deqer »

Eraser wrote:In-editor shots of a map I'm working on. Defining complex game logic using triggers and targets is a bit daunting sometimes:

Top-down shot:
Image

Side view:
Image

And that's not all, because GtkRadiant doesn't draw targeting lines for target2/targetname2 keys.
Now I realize how cool this is, once I've done it myself now. My map is getting pretty busy now, but in a good way. It's interesting to see how a person can use entities in this way to do certain things in the map. You also feel like a programmer. : )

Although I cannot understand what exactly is happening amongst your entities there, I do understand that it's very cool stuff to setup.
tehSandwich
Posts: 64
Joined: Thu Jun 11, 2009 5:49 am

Re: EntityPlus - A single player Q3 mod

Post by tehSandwich »

There's a problem with the func_rotating_door entity which it disregards any spawnflags. This leads to a drawbridge opening sideways. The info_backpack entity is also defective.

Image
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Re: EntityPlus - A single player Q3 mod

Post by Eraser »

I didn't code the func_rotating_door entity myself so I'm gonna have to dig into it to find the problem.

What exactly is wrong with the info_backpack entity?
tehSandwich
Posts: 64
Joined: Thu Jun 11, 2009 5:49 am

Re: EntityPlus - A single player Q3 mod

Post by tehSandwich »

Eraser wrote:I didn't code the func_rotating_door entity myself so I'm gonna have to dig into it to find the problem.

What exactly is wrong with the info_backpack entity?
Fir the first one, I found out the problem when I browsed the source code: the spawnflags in the code and the spawnflags in the editor doesn't match (Spawnflags 32 and 64 are used for X and Y axis in the source code while Spawnflags 8 and 16 are used in the editor). However, maybe for the same reason, the CRUSHER spawnflag doesn't work.

As for the info_backpack, the origin point is probably misplaced in the entity definition file.
Ouija
Posts: 55
Joined: Tue Aug 16, 2011 9:11 pm

Re: EntityPlus - A single player Q3 mod

Post by Ouija »

Eraser's map is probably a target practice tutorial like in TF2. That's what I see there, anyway.
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Re: EntityPlus - A single player Q3 mod

Post by Eraser »

Ouija wrote:Eraser's map is probably a target practice tutorial like in TF2. That's what I see there, anyway.
smart man ;)
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Re: EntityPlus - A single player Q3 mod

Post by Eraser »

tehSandwich wrote:Fir the first one, I found out the problem when I browsed the source code: the spawnflags in the code and the spawnflags in the editor doesn't match (Spawnflags 32 and 64 are used for X and Y axis in the source code while Spawnflags 8 and 16 are used in the editor). However, maybe for the same reason, the CRUSHER spawnflag doesn't work.

As for the info_backpack, the origin point is probably misplaced in the entity definition file.
Ah ok, the spawnflags thing shouldn't be hard to fix.
It's still not entirely clear what's wrong with the info_backpack though? What behavior is it showing?
tehSandwich
Posts: 64
Joined: Thu Jun 11, 2009 5:49 am

Re: EntityPlus - A single player Q3 mod

Post by tehSandwich »

Eraser wrote:It's still not entirely clear what's wrong with the info_backpack though? What behavior is it showing?
As it is, the model's origin is placed on the bottom instead of in the center. This lead me to place it halfway in the floor and like that, the game cannot use the entity for anything. I had to place the entity like on the in-editor shot below.

Image
Ouija
Posts: 55
Joined: Tue Aug 16, 2011 9:11 pm

Re: EntityPlus - A single player Q3 mod

Post by Ouija »

That's a problem with the model itself.
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Re: EntityPlus - A single player Q3 mod

Post by Eraser »

Oh I see. Yeah it seems that's a problem with the model itself. If it's really a problem, I could always remove the model reference from entities.def (you can do this yourself as well, it's easy to spot). Then it'll just render it as a square box like other non-item entities and that origin will be at the center.
GtkRadiant
Posts: 43
Joined: Fri Aug 26, 2011 3:18 pm

Re: EntityPlus - A single player Q3 mod

Post by GtkRadiant »

Will Ouija's sword be made into a weapon? it seems like he took over my idea and nobody even cares about what the sword was being made for...
GtkRadiant
Posts: 43
Joined: Fri Aug 26, 2011 3:18 pm

Re: EntityPlus - A single player Q3 mod

Post by GtkRadiant »

also, does anyone know how I could make custom footstep sounds for shaders? I want more footstep sound variety.
MrLego
Posts: 67
Joined: Tue Jul 21, 2009 11:00 pm

Re: EntityPlus - A single player Q3 mod

Post by MrLego »

It was mentioned in this post and some posts that follow.

There would have to be additional surface parameters coded in the mod - a change to the shader wouldn't be enough.
[color=#4040FF][b]www.mrlego.com[/b][/color]
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Re: EntityPlus - A single player Q3 mod

Post by Eraser »

GtkRadiant wrote:Will Ouija's sword be made into a weapon? it seems like he took over my idea and nobody even cares about what the sword was being made for...
I would like to try to implement a new sword weapon somewhere down the line, just not right now. Too many bugs to fix first. Also, I have no idea how to do weapon animations and stuff and I think that the md3 needs attack animations as well?
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Re: EntityPlus - A single player Q3 mod

Post by Eraser »

Aw, I still need someone to make a spiffy looking objectives overlay for the mod. It looks like this right now:

Image

Image

I'm sure someone can do better than that. If you want the original overlay image as reference, you can grab it here.

I think Noruen said he'd like to have a go at it but I haven't heard back from him since...
Noruen
Posts: 308
Joined: Thu Jan 28, 2010 11:45 pm

Re: EntityPlus - A single player Q3 mod

Post by Noruen »

Yes, I'll do it, just forgot about it because of my focus to MMC #3 :)
Noruen
Posts: 308
Joined: Thu Jan 28, 2010 11:45 pm

Re: EntityPlus - A single player Q3 mod

Post by Noruen »

Ok, what about this?

Image
deqer
Posts: 298
Joined: Mon Dec 28, 2009 6:30 pm

Re: EntityPlus - A single player Q3 mod

Post by deqer »

that's awesome.
EmeraldTiger
Posts: 392
Joined: Fri Sep 17, 2010 1:53 am

Re: EntityPlus - A single player Q3 mod

Post by EmeraldTiger »

Smexy scoreboard Nouren.
[color=#00FF00][b]EmeraldProductions[/b][/color]
http://emeraldproductions.weebly.com/index.html
Post Reply