Default Loadouts for newbies

Development area for FreeAllegiance's Community Core.
Bunnywabbit
Posts: 965
Joined: Sun May 15, 2005 7:00 am
Location: Amsterdam, the Netherlands

Post by Bunnywabbit »

Hi,

New players should be able to push the launch button in a scout and get an immediately useful loadout. Not 4x ammo in inventory.

I propose:

Probe Slot: EWS probe
Cargo: Nan, 1x prox, rest probes.

whaddayathank?
ImageImage current version r158 new beta as of jan 23 2012
notjarvis
Posts: 4629
Joined: Tue Jun 03, 2008 11:08 am
Location: Birmingham, UK

Post by notjarvis »

That would be nice.

It is however a Code change as far as I'm aware, as the initial loadout on launching is Code generated.

Think there was something about this in R6 though.
Bunnywabbit
Posts: 965
Joined: Sun May 15, 2005 7:00 am
Location: Amsterdam, the Netherlands

Post by Bunnywabbit »

well, PKK says it's taken from core
ImageImage current version r158 new beta as of jan 23 2012
Spunkmeyer
Posts: 2013
Joined: Fri Jun 27, 2003 7:00 am
Location: Contact me regarding: CC, Slayer and AllegWiki.

Post by Spunkmeyer »

It is, but you don't have fine control over it - you can't determine what goes into which slot. Basically if you have guns it'll fill it up with ammo and if you have a booster it'll fill it up with fuel. You get to pick what goes in the dispenser slot and the missile slot, then you get another one of each in a cargo slot.
Last edited by Spunkmeyer on Tue Jan 17, 2012 1:27 pm, edited 1 time in total.


Want bigger games? Log on to play at the official game time: 9pmET/8pmCT/7pmMT/6pmPT every day of the week. Also Saturdays 8pm UTC.

notjarvis
Posts: 4629
Joined: Tue Jun 03, 2008 11:08 am
Location: Birmingham, UK

Post by notjarvis »

pkk
Posts: 5419
Joined: Tue Jul 01, 2003 7:00 am
Location: Germany, Munich

Post by pkk »

Bunnywabbit wrote:QUOTE (Bunnywabbit @ Jan 17 2012, 02:20 PM) well, PKK says it's taken from core
Seems like I was wrong... :doh:
The Escapist (Justin Emerson) @ Dec 21 2010, 02:33 PM:
The history of open-source Allegiance is paved with the bodies of dead code branches, forum flame wars, and personal vendettas. But a community remains because people still love the game.
NightRychune
Posts: 3065
Joined: Tue Feb 17, 2004 8:00 am

Post by NightRychune »

if you removed the gat from default scout loadout and replaced it with a nan the loadout you start with would look like this

weapon slot 1: nan

missile slot 1: missile

probe/prox slot 1: probe/prox

shield slot: shield

chaff slot: chaff

cargo:

missile
probe/prox
empty
empty
empty
pkk
Posts: 5419
Joined: Tue Jul 01, 2003 7:00 am
Location: Germany, Munich

Post by pkk »

You find the function BuyDefaultLoadout() in \src\clintlib\clintlib.h line 1824.
The Escapist (Justin Emerson) @ Dec 21 2010, 02:33 PM:
The history of open-source Allegiance is paved with the bodies of dead code branches, forum flame wars, and personal vendettas. But a community remains because people still love the game.
ThePhantom032
Posts: 836
Joined: Sat May 09, 2009 11:00 am
Location: Germany

Post by ThePhantom032 »

I have a slightly different suggestion.

We already have a feature that allows us to save and load full loadouts. We could just use loadout nr 11 (currently there is only 10, but it looked easy to add another when i checked the code) to save a 'default loadout' for certain ships and distribute it together with the core files.

That allows specific ship customizations without core change instead of running into issues like fighters loading the cargo full with minepacks.

Edit: One would need a tool to create these files, or we can just use an existing slot and create them with allegiance but that is time-intensive and allows overwriting by accident and destroying the default.
Last edited by ThePhantom032 on Tue Jan 17, 2012 5:09 pm, edited 1 time in total.
Still ready to teach anyone who asks nicely whatever they want to know about playing alleg. Contrary to popular opinion I do not eat newbies. Voobs taste much better.
lexaal
Posts: 2612
Joined: Sun Oct 07, 2007 12:58 pm

Post by lexaal »

pkk wrote:QUOTE (pkk @ Jan 17 2012, 05:22 PM) You find the function BuyDefaultLoadout() in \src\clintlib\clintlib.h line 1824.
lol
I have a johnson photo in my profile since 2010.
Post Reply