Posts: 5,135
Threads: 241
Joined: Nov 2010
Reputation:
100
(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?
Posts: 317
Threads: 24
Joined: Mar 2011
Reputation:
10
(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?
Posts: 2,157
Threads: 120
Joined: Apr 2011
Reputation:
71
(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
Posts: 1,185
Threads: 72
Joined: Jan 2011
Reputation:
25
09-07-2011, 00:41
(This post was last modified: 09-07-2011, 00:42 by Tomsen1410.)
Is it possible to change the look of a medal somehow?
Posts: 13
Threads: 0
Joined: Jul 2011
Reputation:
0
(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
Posts: 4,530
Threads: 254
Joined: Nov 2010
Reputation:
65
How come this works:
When this doesn't:
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
Posts: 993
Threads: 86
Joined: Feb 2011
Reputation:
49
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?
Posts: 4,530
Threads: 254
Joined: Nov 2010
Reputation:
65
09-17-2011, 10:27
(This post was last modified: 09-17-2011, 11:56 by AZUMIKKEL.)
(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.
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
09-17-2011, 14:32
(This post was last modified: 09-17-2011, 14:37 by Nekochan.)
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 I meant not about function. I know how it works. But this is useless lol
iBanana go making comedies
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 623
Threads: 57
Joined: Jan 2011
Reputation:
14
04-08-2012, 11:09
(This post was last modified: 04-10-2012, 18:05 by Xzite.)
Code: Localization ERROR: Unable to load "localizedstrings/modmedal.str"!
maps:
english/localizedstrings/modmedal.str
zone source:
localize,modmedal
how fix this?
|