The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Poll: Which would you rather see for the Definition Naming in sphere base packs?
i_large_battle_axe
i_lg_battle_axe
i_axe_large_battle
i_axe_battle_lg
i_axe_battle_large
i_battle_axe_lg
i_battle_axe_large
[Show Results]
 
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BASE PACK DEFINITION NAMING
Author Message
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #1
BASE PACK DEFINITION NAMING
So I am running into a ton of issues with the naming conventions in the base packs. I am also running into a conundrum on what should be in there.

Now XuN and I talked. We can provide UO:R and UO:AoS+ damage and armor ratings. This would require at least two packs for weapon, armor, and possibly clothing (I would simply rar UO:R code and toss it in addons).

I need to get a proper naming structure put together though. The definitions are inconsistent I am noticing. So I found a rather interesting weapon for use to pick this naming convention...

RanXerox, XuN and I prefer the first. Mordaunt and others prefer the 5th. It is the argument of inheritance. Please read through these posts before making your decision.

  1. i_large_battle_axe
  2. i_lg_battle_axe
  3. i_axe_large_battle
  4. i_axe_battle_lg
  5. i_axe_battle_large
  6. i_battle_axe_lg
  7. i_battle_axe_large
(This post was last modified: 12-02-2013 04:47 AM by XuN.)
11-30-2013 08:33 PM
Find all posts by this user Like Post Quote this message in a reply
karma
Moderator
****

Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3



Post: #2
RE: BASE PACK DEFINITION NAMING
Lol, voted for i_battle_axe_large by mistake, intended i_axe_battle_large.

Anyway, i noticed that in the current script pack there isn't anymore the notation "c_m" or "c_h" for human or monster npcs, now all the defnames begin with "c_". Why this change? Wasn't it more ordered with "c_" for "base" chars and "c_m" or "c_h" for "derived" (from the base chars) ones?
11-30-2013 09:52 PM
Find all posts by this user Like Post Quote this message in a reply
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #3
RE: BASE PACK DEFINITION NAMING
also voted for i_axe_battle_large
i like more this notation.
11-30-2013 10:21 PM
Find all posts by this user Like Post Quote this message in a reply
Mulambo
Apprentice
*

Posts: 22
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 0

Dark Paradise

Post: #4
RE: BASE PACK DEFINITION NAMING
voted for i_axe_battle_large since its the same way I DEFNAMEd items on 51a, and its easier to lists for example all axes this way

Wars come and go, but my soldiers stay ethernal.

I broke the dam

Czech Shard Dark Paradise
11-30-2013 10:51 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: BASE PACK DEFINITION NAMING
The c_m and c_h honestly just makes for my typing in-game if you are adding characters there. Their names should be enough for you to know what you are adding...
It creates a more uniform naming system than we had previously.
Organizationally it doesn't make any difference.

[Image: 2nis46r.jpg]
11-30-2013 11:12 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #6
RE: BASE PACK DEFINITION NAMING
I think we shouldn't use abbreviations... use the word "large", not "lg"
12-01-2013 04:42 AM
Find all posts by this user Like Post Quote this message in a reply
karma
Moderator
****

Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3



Post: #7
RE: BASE PACK DEFINITION NAMING
@Mordaunt I think instead that c_m (maybe c_h only for vendors and that sort of things) makes scripts more ordered, it also prevents you doing dumb errors like using a derived char as base. It's a personal consideration, i prefer using that notation.
12-01-2013 08:23 AM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #8
RE: BASE PACK DEFINITION NAMING
c_m_
c_a_
naming would definitely be stricken from the packs for creatures.

c_man_bandit might be used or
c_human_bandit.

We already use c_garg_warrior_f (for pchar type ones), c_elf_bandit etc.

though we could do

c_h_
c_e_
c_g_

for pchar type npcs that aren't pchar.
(This post was last modified: 12-01-2013 10:56 AM by Khaos.)
12-01-2013 10:56 AM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #9
RE: BASE PACK DEFINITION NAMING
I hated c_m_ and c_a_ as the difference is often arbitrary.

I do like and use the h, e, h distinction.

I could see keeping the current system but in code I think simplicity means more than alphabetization and I prefer the i_large_battle_axe option.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
12-01-2013 05:11 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Anarch Cassius's post
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #10
RE: BASE PACK DEFINITION NAMING
Yeah. I personally prefer precise naming. i_large_battle_axe instead of i_axe_large_battle. I prefer i_assassin_spike versus i_spike_assassin.
12-01-2013 05:37 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)