Telescope / Binoculars

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Post Reply
con20or
Reactions:
Posts: 2541
Joined: Fri Jun 11, 2010 8:49 pm

Telescope / Binoculars

Post by con20or »

How difficult would it be to change the border of the screen when you press the 'z' key to simulate looking through a telescope? You could even reduce the field of view.

Wouldn't have to be anything fancy - if you can make a map pop up when press M, you could make a telescope or binoculars cut out pop up when you press the z key. It could be an amended on screen map, but sized to take up the screen with one or two holes in it.

Something like these

http://www.crownpoint.com/files/images/ ... .print.jpg

http://www.timhunkin.com/page_pictures/ ... e-view.jpg
Last edited by con20or on Tue Sep 20, 2011 9:55 pm, edited 1 time in total.
con20or
Reactions:
Posts: 2541
Joined: Fri Jun 11, 2010 8:49 pm

Re: Telescope / Binoculars

Post by con20or »

Just had a quick mess around with some csv's there. It's easy to change the keys so that a map will pop up when you press z. Thats where I hit the wall.

1. How do you make it so a key does two commands, whats the syntax?

2. How do I open the .dds files to edit a map into two big hollow semi circles.

3. Most of the open screen commands pause the game. How do I make it more like the movement map which doesn't pause the game?

These may be all hard-coded and unchangeable, but it's the first time ive ever thought of modding anything, so be gentle.
Last edited by con20or on Tue Sep 20, 2011 10:40 pm, edited 1 time in total.
User avatar
RebBugler
Reactions:
Posts: 4252
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: Telescope / Binoculars

Post by RebBugler »

This can probably be done via the gui and gscreens files. Design a Binoculars screen and call it up, loadscreen (Function 2), with 'Zoom'(Function 1), action on, however, the screen would have to be manually clicked off, CanButton.

Edit...Did a quickie mod, works somewhat, but way too many probs since the zoom function is several clicks. Also, can't pan with screen initiated.
Last edited by RebBugler on Wed Sep 21, 2011 1:13 am, edited 1 time in total.
Reason: added more info
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
con20or
Reactions:
Posts: 2541
Joined: Fri Jun 11, 2010 8:49 pm

Re: Telescope / Binoculars

Post by con20or »

ok, thats a shame.

Thanks for trying, you probably saved me weeks of experimenting in a couple of hours work!
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Telescope / Binoculars

Post by Davinci »

Reb - What would happen if you used the Follow Command as the binoculars?

Since, I don't know what you have done, I figured that you would know if this would work,, and it should allow you to rotate the view.

davinci
The only true logic is that, there is no true logic!
con20or
Reactions:
Posts: 2541
Joined: Fri Jun 11, 2010 8:49 pm

Re: Telescope / Binoculars

Post by con20or »

Do you think it's possible mister?

Image
Last edited by con20or on Thu Sep 22, 2011 6:36 pm, edited 1 time in total.
User avatar
RebBugler
Reactions:
Posts: 4252
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: Telescope / Binoculars

Post by RebBugler »

:laugh: :laugh: :laugh: :( Not even for the KittyCat.

Least I don't know how. 'Follow' just complicates matters, even more clicks. When any screen comes up, the toolbar is frozen, so you must click off the screen each time to continue 'sequence click' commands.

However, D loves mysteries, and making the impossible happen...have at it. :)
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
con20or
Reactions:
Posts: 2541
Joined: Fri Jun 11, 2010 8:49 pm

Re: Telescope / Binoculars

Post by con20or »

Sounds complicated alright.

What if you eliminated the first zoom, and only had the maximum one? I could live with that. Simple On:Off.

And what if instead of a screen like the in-game map (m) or courier menu, you used an amended version of the movement map (n), which doesn't freeze the game?
Last edited by con20or on Thu Sep 22, 2011 7:49 pm, edited 1 time in total.
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Telescope / Binoculars

Post by Davinci »

When any screen comes up, the toolbar is frozen, so you must click off the screen each time to continue 'sequence click' commands.
Correct , I forgot about that part of it. I was being lazy and didn't want to get into another mod at the moment!

Thanks, RebBugler after your response I'll going to pass on this one.

davinci
The only true logic is that, there is no true logic!
con20or
Reactions:
Posts: 2541
Joined: Fri Jun 11, 2010 8:49 pm

Re: Telescope / Binoculars

Post by con20or »

Jeez, how many cats do i have to post. Look into those eyes!
Post Reply