So anyone know if it is possible to write to a file in GSC or CSC
I know you can read from a CSV file in GSC using TableLookUp as this is how i have done my weapons system (yes i know to it doesnt read the whole file just finds the file contens at the specifed spot but still reading)
I'd message blunt if he don't post here. I think he does it with his ranking system on the realism mod. I don't "know" of how to do it. Maybe savegame has something to do with it?I know how Blunt is doing the realism mod he is some how saving the ranks and stuff you earn to a CSV just like the old Realism mod but im not quite sure how he is doing it as all the times ive tried the game crashed saying "you need dev to get return value of this function prior to game start" or it just didnt work plain as day
http://wiki.modsrepository.com/index.php?title=Call_of_Duty_4:_Scripting_Reference_-_Save::SaveGame (http://wiki.modsrepository.com/index.php?title=Call_of_Duty_4:_Scripting_Reference_-_Save::SaveGame)
I know how Blunt is doing the realism mod he is some how saving the ranks and stuff you earn to a CSV just like the old Realism mod but im not quite sure how he is doing it as all the times ive tried the game crashed saying "you need dev to get return value of this function prior to game start" or it just didnt work plain as day
ive looked through the old Realism mod code but sadly no luck :(
Does it work if you start the map in dev mode? Maybe that is how its done?It does work but if thats how Blunts doing it then all games played with the Realism mod will be played in dev mode which to me sounds like a bad idea and can cause twice the amount of errors so less people will play it cause of how "buggy" it is
Does it work if you start the map in dev mode? Maybe that is how its done?I prob didnt make this clear but im trying to find out if it works out of dev mode (i know it works in dev mode)
EDIT: and the player who wants to play the game will have to rember to put it in to dev mode since it has to be set prior to game start so normal players (non modders) who want to play cant or have to look up how to start the gameI'm sure easily done in menu, but I see it isn't what you are going for.
I prob didnt make this clear but im trying to find out if it works out of dev mode (i know it works in dev mode)
I'm not using any of those functions for the Realism-mod. I use the .csv table's to retrieve available attachments/unlock levels/cost etc from, and functions allready in waw to save/load the stats.
I'm not sure if you can use read/write-file functions outside dev-mode. I wouldn't know how to..
I'm not using any of those functions for the Realism-mod. I use the .csv table's to retrieve available attachments/unlock levels/cost etc from, and functions allready in waw to save/load the stats.might i ask what these functions are called? i know TableLookUp for getting the CSV stuff but how are you saving / loading stats?
I'm not sure if you can use read/write-file functions outside dev-mode. I wouldn't know how to..