Page 5 of 6

Re: WORLD WAR 2

Posted: 24 Aug 2011, 18:48
by [FGS]Kalman
New preview video: http://www.xfire.com/video/4c9bd8/
I hope DJ, Nobody or someone can help me to fix the collisinoradius. I tried the SetCollision(true, true, true), but hte player flew away.

Re: WORLD WAR 2

Posted: 25 Aug 2011, 12:17
by ShadowRunner

Re: WORLD WAR 2

Posted: 25 Aug 2011, 13:16
by [FGS]Kalman
lol, it looks funny, but how can fly a tank with two weak wings?
about the vehicle mod, if i can fix the collision (only me, because no one will help me), i'll send the vehicle mod for you

Re: WORLD WAR 2

Posted: 25 Aug 2011, 13:20
by chin.democ.
Imagine having a racing track map, I'm imaging a wacky races vibe here.

Re: WORLD WAR 2

Posted: 25 Aug 2011, 13:40
by ShadowRunner
Racing could be cool... especially with shooting :D

Re: WORLD WAR 2

Posted: 25 Aug 2011, 14:47
by [FGS]Kalman
I test it online. More info later.

Re: WORLD WAR 2

Posted: 25 Aug 2011, 15:02
by [FGS]Kalman
Ok
I've got a problem: the behindview camera doesn't follow the player
Edit: I think i need to learn something about replication

Re: WORLD WAR 2

Posted: 25 Aug 2011, 18:25
by chin.democ.
If you can get this to work I don't mind making you a little racetrack :D

Re: WORLD WAR 2

Posted: 27 Aug 2011, 23:19
by ShadowRunner
Server is down, but I'm confused. I rented the server on a monday, but it went down about 4 days before the next month's monday, prolly some bank holiday bollox. Server should be back on Tuesday, I hope map upload isn't required again. What with moving house and starting a job, I didn't get a chance on Thursday or Friday to fix this.

Re: WORLD WAR 2

Posted: 28 Aug 2011, 20:19
by [FGS]Kalman
Nobody, or somebody, please read this post and help me to fix the vehicle in MP. I have enought time until Sept 01.

Re: WORLD WAR 2

Posted: 31 Aug 2011, 12:43
by ~][FGS][Nobody~
I am sorry.. due to the final steps on finishing my bachelor thesis, I wasn't around on the forum since 21th.
I've just checked your video, but I cannot see a collision problem from the first view.. perhaps I just don't know how it's supposed to look like.

For the replication issue.. on the first view, I don't see one, since you just assign the player properties that are already replicated.
bBehindView is being replicated to the client by the Pawn class. The same counts to ViewTarget within the PlayerPawn class. :?

Perhaps it helps if you use the cheatview code as reference.

So that you do

Code: Select all

Player.ViewTarget= Player;
Player.bBehindView = ( Player.ViewTarget != None );
if(Player.bBehindView )
	ViewTarget.BecomeViewTarget();
Also.. just some naive question.. where do you get your "vehicle-pawn" to follow the player movement?

Re: WORLD WAR 2

Posted: 31 Aug 2011, 13:15
by [FGS]Kalman
Currently, the vehicle's parent is the pickup class
I'll check this code. I hope it works. But why can't I use the exec function?

Re: WORLD WAR 2

Posted: 31 Aug 2011, 13:46
by ~][FGS][Nobody~
Well, if you didn't give it a try. Call the exec function. It's a normal function that can be called.
But it might not fulfill your demands because it checks for cheats being enabled on the player. :?

Re: WORLD WAR 2

Posted: 31 Aug 2011, 14:24
by [FGS]Kalman
I tried the exec function, but it says Unrecogzined command

Re: WORLD WAR 2

Posted: 03 Sep 2011, 00:21
by ~][FGS][Nobody~
You executed the command over the ConsoleCommand function? :?

I thought of calling the function like all other functions.

As in.. player.CheatView