Weapons/Ammo CACHE

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
Merr
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 903
Joined: Mon Aug 16, 2010 2:00 pm

Weapons/Ammo CACHE

Post by Merr »

Reading some of the old threads ... Some players would like to see their troops re-man or capture an MG or MORTAR.

Here's how it would work ...

When an MG or MORTAR team is destroyed, it will drop an "effect-marker", shown like a victory point ... Now, I'll stop right there because players will say "That will clutter up the map! .... not true. There is a neat little script called "FUNCTION Keyboard_" that will allow the assignment of keys to perform a task. Well, simply create a toggle that will Show/Hide the markers.

Next, a new action_button can be displayed when the cursor is over the tile with the marker ... This will contain tooltip info that displays the contents of the cache.

Then, modeling the part where you take the cache can either be like a capture (removes 2-men from team, then adds the new unit), or the capturing unit can have an HE increase. For mortars, probably best to add new unit.

Just an idea I've thought up today.


Merr-E-Xmas.
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post by junk2drive »

First, clutter. We normally don't get many HMGs or mortars. Hopefully they don't all get killed early in the game.

Second, what kind of graphic do you want me to make?

Third, when you figure out how to toggle it on and off, you can do that for trees too.

I'm still at home. Hopefully we will go tomorrow.
You can call me junk - and type that with one hand.
Merr
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 903
Joined: Mon Aug 16, 2010 2:00 pm

Post by Merr »

junk2drive wrote:First, clutter. We normally don't get many HMGs or mortars. Hopefully they don't all get killed early in the game.
Could use AMMO caches for every type of infantry squad too ... perhaps an alternate way of recharging the APCharges.
Second, what kind of graphic do you want me to make?
Just an idea for the moment ... The graphic depends on which SF4 would fit properly on the map. I might look at Tim's minefield S3F and replace the sign with an ammo box or something ... that's where I would start.
Third, when you figure out how to toggle it on and off, you can do that for trees too.
Probably can't touch objects on the map ... unless Pip can help.
I'm still at home. Hopefully we will go tomorrow.
Have a safe holiday!

Rob
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

Being able to dynamically alter map objects is near the top of my task list, but it's somewhat complex. For now there is no way to effect them.

Cheers

Pip
Post Reply

Return to “Battle Academy : Modders Corner ”