A challenge... Side scroller platform game in 1942

Ask questions, discuss ideas, get answers
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: A challenge... Side scroller platform game in 1942

Post by Vilespring »

well, I have a tank built, and it works. can I use it?
pLeAsE? :)
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: A challenge... Side scroller platform game in 1942

Post by Swaffy »

fo0k, I've never heard of anyone trying to make the soldier act like that. His shots can't come from the camera (fireInCameraDof) like vanilla Bf42 because the camera will be far away on the side. And he can't rotate side to side, just up and down. But because he can't rotate, how is he going to turn around and shoot on the other side?

Perhaps there can be a glitched PCO that is stuck to him, and he can enter and exit it at any time. The exit point of the PCO has its exit point NEVERMIND

My brain hurts.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: A challenge... Side scroller platform game in 1942

Post by Vilespring »

removal of the fire in direction of camera helps, but the soldier's animations don't shoot true. When standing still, shots go left and low.

A tank, on the other hand, works great for this. :)
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Re: A challenge... Side scroller platform game in 1942

Post by BotHunter »

Anyone know how to move and rotate the Solder camera?
Walk quietly and carry a sniper rifle
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: A challenge... Side scroller platform game in 1942

Post by Vilespring »

I swear, freddy put an answer up, and POOF! It's gone! :?
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: A challenge... Side scroller platform game in 1942

Post by freddy »

it didnt work, i swear there is something fishy goin on with that soldier camera!

my computer crashed before i could test it (then i gave up), but i was about to just try and delete the whole stupid camera as nothing seems to change it for what ever code i tried, would probably just have worked as normal anyway
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: A challenge... Side scroller platform game in 1942

Post by freddy »

the only thing that actually did something was when changing this code

Code: Select all

rem *** Different camera positions for different soldier poses.
objectTemplate.center1pHands -0.12/-1.56/0.1
ObjectTemplate.setPoseCameraPos c_BfSoldierStanding 0/0.65/0
ObjectTemplate.setPoseCameraPos c_BfSoldierCrouching 0/0.12/0
ObjectTemplate.setPoseCameraPos c_BfSoldierLying 0/-0.7/0
ObjectTemplate.setCharacterHeight -1.00
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Re: A challenge... Side scroller platform game in 1942

Post by BotHunter »

That'll do! But what about rotation?
Walk quietly and carry a sniper rifle
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: A challenge... Side scroller platform game in 1942

Post by freddy »

BotHunter wrote:That'll do! But what about rotation?
no go, i tried a lot but it just ignored the code
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Re: A challenge... Side scroller platform game in 1942

Post by BotHunter »

Can I see a video of your tank Vilespring? :)
Walk quietly and carry a sniper rifle
Post Reply