Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Custom Medals
#31
(09-06-2011, 14:30)Se7en Wrote:
(09-06-2011, 14:08)Pozzuh Wrote:
Code:
//get_csvtable("mp\medalTable.csv","50","50");
get_csvtable(table, rows, columns)
{
   for(i=0;i< rows;i++)
   {
      rowdata = "";
      for(j=0;j<columns;j++)
      {

         dataelement = tableLookupColumnForRow(table,i,j);

         rowdata = rowdata + dataelement + ",";
      }
      rowdata = rowdata + "\n";
      logprint(rowdata);
  
   }
}

what it does :?

The function name is 'get_csvtable' what do you think it does?
[Image: MaEIQ.png]
Reply

#32
(09-06-2011, 14:40)Pozzuh Wrote:
(09-06-2011, 14:30)Se7en Wrote:
(09-06-2011, 14:08)Pozzuh Wrote:
Code:
//get_csvtable("mp\medalTable.csv","50","50");
get_csvtable(table, rows, columns)
{
   for(i=0;i< rows;i++)
   {
      rowdata = "";
      for(j=0;j<columns;j++)
      {

         dataelement = tableLookupColumnForRow(table,i,j);

         rowdata = rowdata + dataelement + ",";
      }
      rowdata = rowdata + "\n";
      logprint(rowdata);
  
   }
}

what it does :?

The function name is 'get_csvtable' what do you think it does?
He never scripted anything. How the FUC* did he supposed to know?
Reply

#33
(09-06-2011, 16:10)iBanana Wrote:
(09-06-2011, 14:40)Pozzuh Wrote:
(09-06-2011, 14:30)Se7en Wrote:
(09-06-2011, 14:08)Pozzuh Wrote:
Code:
//get_csvtable("mp\medalTable.csv","50","50");
get_csvtable(table, rows, columns)
{
   for(i=0;i< rows;i++)
   {
      rowdata = "";
      for(j=0;j<columns;j++)
      {

         dataelement = tableLookupColumnForRow(table,i,j);

         rowdata = rowdata + dataelement + ",";
      }
      rowdata = rowdata + "\n";
      logprint(rowdata);
  
   }
}

what it does :?

The function name is 'get_csvtable' what do you think it does?
He never scripted anything. How the FUC* did he supposed to know?

I lol'd hard xD
Reply

#34
Is it possible to change the look of a medal somehow?
[Image: ctoc.jpg]
Reply

#35
(09-07-2011, 00:41)Tomsen1410 Wrote: Is it possible to change the look of a medal somehow?

i think it would be just find the iwi file for it and edit away i'll have a go at finding it later Big Grin
Reply

#36
How come this works:
[Image: 2359B2DEC91E07C39A6D418CBEEDA606307BE20A]
[Image: 03A1A954D4D13F69EA0D074E47C73DB3DF54A39F]

When this doesn't:
[Image: F7A4CE020B305944E12CB53D3A432D11605FDE16]



mod.csv:
Code:
weapon,mp\rebirth_hands_sp
weapon,mp\creek_knife_sp
weapon,mp\molotov_sp
fx,maps\hue_city\fx_mowdown_blood_geyser
stringtable,mp\medalTable.csv
localize,english\localizedstrings\modmedal
material,hudoverlay
weaponvariant,mp\spas_db_sp

medalTable.csv:
Code:
1,MEDAL_RANKUP,MODMEDAL_RANKUP,MODMEDAL_RANKUP_DESC,1,1,0
2,MEDAL_STEAL,MODMEDAL_STEAL,MODMEDAL_STEAL_DESC,1,1,0
3,MEDAL_HUMILIATED,MODMEDAL_HUMILIATED,MODMEDAL_HUMILIATED_DESC,-50,-50,0
4,MEDAL_SUICIDE,MODMEDAL_SUICIDE,MODMEDAL_SUICIDE_DESC,-50,-50,0
5,MEDAL_INFECT,MODMEDAL_INFECT,MODMEDAL_INFECT_DESC,1000,1000,0
6,MEDAL_INFECTED,MODMEDAL_INFECTED,MODMEDAL_INFECTED_DESC,-1000,-1000,0

modmedal.str:
Code:
VERSION "1"
CONFIG "C:\projects\cod\t5\bin\StringEd.cfg"
FILENOTES ""

REFERENCE RANKUP
LANG_ENGLISH "LEVEL UP"

REFERENCE RANKUP_DESC
LANG_ENGLISH "Increased 1 level!"



REFERENCE STEAL
LANG_ENGLISH "HUMILIATION"

REFERENCE STEAL_DESC
LANG_ENGLISH "You stole a level!"



REFERENCE HUMILIATED
LANG_ENGLISH "OWNED"

REFERENCE HUMILIATED_DESC
LANG_ENGLISH "Enemy stole a level from you!"



REFERENCE SUICIDE
LANG_ENGLISH "NOOB"

REFERENCE SUICIDE_DESC
LANG_ENGLISH "1 level subtracted for suicide!"



REFERENCE INFECT
LANG_ENGLISH "INFECTION"

REFERENCE INFECT_DESC
LANG_ENGLISH "You just screwed someone over!"



REFERENCE INFECTED
LANG_ENGLISH "^0INFECTED"

REFERENCE INFECTED_DESC
LANG_ENGLISH "^1YOU ARE SCREWED"

ENDMARKER
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#37
when it stop's working are you changeing anything then doing a fast restart? also dose it work everytime the first time or at random?
Reply

#38
(09-17-2011, 05:52)rotceh_dnih Wrote: when it stop's working are you changeing anything then doing a fast restart? also dose it work everytime the first time or at random?

no it just shows MODMEDAL_INFECT each time.

Edit: That canadian banana ish helped me fix it. Didn't know I had to put it in /raw/ and not my mod folder.
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#39
localize,english\localizedstrings\modmedal change to localize,modmedal
(09-06-2011, 16:40)Rendflex Wrote:
(09-06-2011, 16:10)iBanana Wrote:
(09-06-2011, 14:40)Pozzuh Wrote:
(09-06-2011, 14:30)Se7en Wrote:
(09-06-2011, 14:08)Pozzuh Wrote:
Code:
//get_csvtable("mp\medalTable.csv","50","50");
get_csvtable(table, rows, columns)
{
   for(i=0;i< rows;i++)
   {
      rowdata = "";
      for(j=0;j<columns;j++)
      {

         dataelement = tableLookupColumnForRow(table,i,j);

         rowdata = rowdata + dataelement + ",";
      }
      rowdata = rowdata + "\n";
      logprint(rowdata);
  
   }
}

what it does :?

The function name is 'get_csvtable' what do you think it does?
He never scripted anything. How the FUC* did he supposed to know?

I lol'd hard xD

me too Big Grin I meant not about function. I know how it works. But this is useless lol
iBanana go making comedies Troll
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#40
Code:
Localization ERROR: Unable to load "localizedstrings/modmedal.str"!
maps:
english/localizedstrings/modmedal.str

zone source:

localize,modmedal

how fix this?
Black Ops Mods:

RPG(rocket launcher) mod
Get the Specials

Old aliasses:

eliteCVDelite
CVD

Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Black Ops 2 Custom background? jotape99 10 11,818 10-29-2013, 07:22
Last Post: xInfinity.
  Custom xanims DidUknowiPwn 8 6,758 08-28-2013, 08:17
Last Post: RaZ
  Help Make ac130 shoot custom bullets Ra3shed 0 2,613 07-23-2013, 13:02
Last Post: Ra3shed
  [Tutorial] Custom gametype HUD iAegle 17 14,465 07-14-2013, 01:16
Last Post: Nekochan
Video Custom Facepaints? Cuddlyedits 5 4,229 07-01-2013, 14:58
Last Post: iPaddie
  Help dedicated servers and custom dvars mattyman 0 2,386 06-22-2013, 07:33
Last Post: mattyman
Information [Tutorial] Adding DLC Maps as Custom Maps. Nekochan 151 141,381 05-25-2013, 01:05
Last Post: Nero Z zero
  QS Mod by GeKKo v 6.5 with Custom Maps GeKKoFL0X 35 29,246 05-21-2013, 19:30
Last Post: [HARD] Tony.
  [Request] custom gun mod ColorCorrects 2 2,989 05-18-2013, 22:19
Last Post: mitchhacker
  Custom load screen mw3? balakent 4 4,245 05-04-2013, 14:48
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.