Skybox picker doesn't pick non-camera objects?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Skybox picker doesn't pick non-camera objects?

Post by Cutmanmike »

Hmm, i'm trying to make some sort of drivable spaceship using a skybox skypicker on the actor. But it doesn't seem to work with it. It works with other cameras so why doesn't it work with anything else?

And I don't want to use the "setactor position, delay 1, repeat" method because it's way too jerky. Is there some way around this or do I have to feature request and wait?
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: Skybox picker doesn't pick non-camera objects?

Post by Macil »

Cutmanmike wrote:And I don't want to use the "setactor position, delay 1, repeat" method because it's way too jerky. Is there some way around this or do I have to feature request and wait?
Would an Actor Mover work? If you wanted to set its path in real-time, you could just have it set to use 4 interpolation points, and move the points it hasn't started going to to its intended path, and when it passes one, move that one up to the next spot, etc.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Yeah but the problem is I want it actually drivable, as in you're in the cockpit able to turn left/right and be able to go up and down. Really basic since it's just an overworld type thing. But I can't use a camera because it's a model that's moving and you can see the rest of it out the cockpit.

Looks like i'd better request.

Hmm I wonder if it would work if I inherited from the camera object? Better try that later.
User avatar
David Ferstat
Posts: 1113
Joined: Wed Jul 16, 2003 8:53 am
Location: Perth, Western Australia
Contact:

Post by David Ferstat »

Hmm ... you've probably thought of this, but, just to make sure ...

Have you considered creating a custom hud, with a cockpit graphic to replace wour weapons, and then turn off the gravity in your map. This way you can move freely, and the view will match your movements without any hacks or scripting.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Yeah I thought of that, but the ship is actually an area you and the other players can walk around in.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Well if you didn't need the vehicle to be drivable and allow the players to freely explore it at the same time, you could use [wiki]SetActorPosition[/wiki] to move the model when they stop and use DF's method of replacing the HUD when they're moving.

If nothing else you could say the vehicle has a safety and refuses to move unless all passengers are strapped into their seats. =:)
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

I've already made it so it thrusts the players back if they're not in their chairs.
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Post by Apothem »

If I remember correctly, you should be able to use changecamera to change your view to any object in the game, I remember doing it with a cacodemon on some camera tests a while back. With that in mind, you should be able to just assign your view to whatever (even a projectile) and do what you need to.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Changecamera works, but I don't want that.

I got it working anyway so here's a sneak preview with my friend trying to ram me with the thing.

For some reason it doesn't look right when I coopspy but it works when you're actually playing.
User avatar
DoomRater
Posts: 8270
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Post by DoomRater »

(droools)
User avatar
MasterOFDeath
... in rememberance ...
Posts: 2024
Joined: Sat Apr 03, 2004 10:58 am

Post by MasterOFDeath »

Now that is awesome...

Heh, I should really try and execute my idea for a space combat system...
User avatar
DoomRater
Posts: 8270
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Post by DoomRater »

What is the music anyway?
User avatar
Arcane
Posts: 544
Joined: Sun Sep 12, 2004 1:36 pm

Post by Arcane »

I'd like to see a vehicle you could explore WHILE driving it! Separate controls! >:D

Heck, you could probably do a "press space to enter vehicle" that'd warp you to a room that looks like the vehicle interior and has cameras as the windshields.

Woo! Ideas coming too late!
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Arcane wrote:Heck, you could probably do a "press space to enter vehicle" that'd warp you to a room that looks like the vehicle interior and has cameras as the windshields.
That's what i've done. My friend on coop is driving it, but coopspy displays it wrong for some reason.
What is the music anyway?
Gradius 3 on the snes.
User avatar
DoomRater
Posts: 8270
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Post by DoomRater »

Now I have to find the exact track you were playing. Any hint to what level it was?
Locked

Return to “Editing (Archive)”