Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Skills!
- To: Mark Wedel <master@rahul.net>
- Subject: Re: Skills!
- From: Bjørn Georg Ludvigsen <bjornlu>
- Date: Thu, 2 Jun 1994 20:52:18 +0200
- Cc: crossfire@ifi.uio.no, peterm@soda.berkeley.edu
- In-Reply-To: Mark Wedel <master@rahul.net>'s message of Tue, 31 May 1994 15:28:49 -0700
- References: <199405312228.AA28729@bolero.rahul.net>
> Having a multitude of weapon skills becomes fairly difficult to program.
>Either you need to have space for all the potential weapons in the player
>structure (which would be a lot), or some other method needs to be found
>to keep track of the skill levels.
> Keeping track of the specific weapon skills in the player also has the
>disadvantage of new weapons being added. If there is a set amount of
>space, and someone adds a new weapon, things really get more complicated.
Can't this be done pretty dynamically? For example (playerfile excerpt) :
-snip-
skillist begin 3
skill broadsword
level 3
endskill
skill pick_pocket
level 2
endskill
skill path_fire
level 6
endskill
endskillist
-snip-
Or something similar.
- Bjorn