Never tell your password to anyone. Friday, November 28, 2008 9:31 PM - Fred Dawes: 'Ello. 9:31 PM - The Colemanator: heya 9:34 PM - The Colemanator: I invited you to the chat 11:00 PM - Fred Dawes: So what exactly are you developing? 11:00 PM - The Colemanator: A RP mod. 11:00 PM - Fred Dawes: For Source? 11:01 PM - The Colemanator: Yep 11:01 PM - Fred Dawes: ...And you're coding for it? 11:01 PM - The Colemanator: Yep 11:01 PM - The Colemanator: I actually started it 11:02 PM - Fred Dawes: I can't imagine now difficult it can be, for something that low level. 11:02 PM - The Colemanator: Itll be the most difficult task yet 11:03 PM - Fred Dawes: Are characters specific to each server, or map, or are they just plain global? 11:04 PM - The Colemanator: Server 11:04 PM - The Colemanator: I might add MySQL support later 11:04 PM - Fred Dawes: I was about to ask. 11:04 PM - The Colemanator: But for now it will be all dealt with an internal SQL Lite server 11:05 PM - The Colemanator: If I do add MySQL it will never use it as the primary source 11:05 PM - The Colemanator: It will only update it 11:05 PM - The Colemanator: It will only update it on a separate thread 11:05 PM - The Colemanator: Since an internal SQL Lite server will be a lot more responsive 11:07 PM - Fred Dawes: And it frees the user of the responsibility of doing it themselves. 11:07 PM - The Colemanator: Exactly 11:07 PM - The Colemanator: The user will actually never know that there is a db 11:07 PM - The Colemanator: Since SQLite is serverless 11:08 PM - Fred Dawes: So how will you implement db administration? 11:08 PM - Fred Dawes: Like, will there be console commands eg 'set_user_money' 11:09 PM - The Colemanator: Yeah 11:10 PM - Fred Dawes: I remember digging through the database picking out property to edit the names and owners. 11:10 PM - Fred Dawes: Is it going to be designed after TSRP and improved upon it? 11:10 PM - The Colemanator: It will have a similar structure 11:11 PM - Fred Dawes: Centered around robbing the 7-11 / Edeka / Wawa / Diner? 11:11 PM - The Colemanator: Nope 11:11 PM - Fred Dawes: Woot. 11:11 PM - The Colemanator: Those things will have very dire consequences if you're caught or killed 11:11 PM - The Colemanator: Well 11:12 PM - The Colemanator: Depending on how much the server wants it to 11:13 PM - Fred Dawes: How will weapons and combat work? Is it going to be high flying, matrix style gun slinging, or more realistic one-shot one-kill type with bleeding and infection damage? 11:13 PM - Fred Dawes: That always bugged me about TSRP. It's like, "Find gunspawn, dance and shoot" 11:13 PM - The Colemanator: Yeah 11:14 PM - The Colemanator: There won't be any crazy stunts or anything 11:15 PM - The Colemanator: Im thinking of having a down system 11:15 PM - The Colemanator: If you go below 1 hp 11:15 PM - The Colemanator: Like in L4D 11:15 PM - The Colemanator: But it wont show your health 11:16 PM - The Colemanator: The screen will be slightly blurred and with full color at full down hp 11:16 PM - The Colemanator: Near the end it gets very blurred and unsaturated 11:17 PM - Fred Dawes: I was thinking, when you're downed and bleeding, crawling should be an option if a move key is held for more than one second, that way you can choose to move to somewhere safe at the cost of an increased bleeding rate. 11:17 PM - The Colemanator: Sounds great 11:18 PM - Fred Dawes: Is there a site for the mod? I'd love to help in any way I can. 11:18 PM - The Colemanator: http://unitedroleplay.com/forums/index.php 11:18 PM - The Colemanator: We just got it set up 11:20 PM - Fred Dawes: Are you going for a class system? Like, being employed to a job assigns you default weapons / health / speed / armor, then your equipment bonuses kick in? 11:21 PM - The Colemanator: ehh 11:21 PM - Fred Dawes: Or is it just like, mix and match equipment and training. 11:21 PM - The Colemanator: Mix and match 11:21 PM - Fred Dawes: Weird way to put it, but yeah. 11:21 PM - Fred Dawes: I'm interested how the skill system will work. The skills mod for TSRP was pretty fun. 11:22 PM - The Colemanator: Im thinking of having an oblivion style skills system 11:22 PM - The Colemanator: Use them, get better. 11:23 PM - Fred Dawes: Pistols, SMG, Shotgun, Rifle, Sniper, Blunt, Slice, Stab, Sprint, Jump..... 11:25 PM - Fred Dawes: Fists, no armor, light armor (cloth), heavy armor (bullet proof vest), cooking.... 11:25 PM - The Colemanator: medicine 11:25 PM - Fred Dawes: Right. 11:26 PM - Fred Dawes: I'm trying to think of job archetypes. 11:26 PM - Fred Dawes: And what skills would be needed. 11:27 PM - Fred Dawes: Food / Food service, Convenience store, Medical, Police, Crime... 11:27 PM - Fred Dawes: Repair would be interesting. Fortify doors and windows from being broken, as well as repairing them. 11:27 PM - The Colemanator: Yeah 11:28 PM - Fred Dawes: Electronics: Find a building's power box and mess with fuses. 11:29 PM - Fred Dawes: Security: Tweak and fortify locks for doors, gates, and cabinets, as well as accessing them. 11:30 PM - Fred Dawes: Electronics could be used to control electronic locks and could be used to disrupt police radio, alarms from going off, lights in a building, etc. 11:31 PM - The Colemanator: lol 11:31 PM - Fred Dawes: Hmm.... Should repair cover weapon maintainence? Or is that neglectable? 11:31 PM - The Colemanator: Yeah 11:31 PM - Fred Dawes: I would thing weapons would be more personal than in TSRP. 11:31 PM - Fred Dawes: think* 11:31 PM - The Colemanator: Weapons will 11:31 PM - The Colemanator: There will be no spawns 11:32 PM - Fred Dawes: Thank god. 11:32 PM - Fred Dawes: Thank you* 11:32 PM - The Colemanator: You can buy one (or find one some how) 11:32 PM - The Colemanator: Which will be very unlikely 11:32 PM - Fred Dawes: Security can cover pick pocket 11:32 PM - The Colemanator: Unless someone is going around giving out free guns 11:32 PM - The Colemanator: :P 11:32 PM - Fred Dawes: Hmm. 11:32 PM - Fred Dawes: Wait a minute. 11:32 PM - Fred Dawes: 1 sec. 11:32 PM - Fred Dawes: brb 11:32 PM - The Colemanator: You will also be able to mod weapons 11:33 PM - The Colemanator: Add Laser Sights, Reflex Sights 11:33 PM - The Colemanator: Assault scopes 11:33 PM - The Colemanator: Different types of sniping scopes 11:33 PM - The Colemanator: Silencers 11:33 PM - The Colemanator: Barrel extenders 11:34 PM - The Colemanator: Clip extenders 11:34 PM - The Colemanator: Thats what will really keep the crime orgs at bay 11:34 PM - The Colemanator: They may have guns 11:35 PM - The Colemanator: But the cops will have superior weaponry 11:35 PM - The Colemanator: Well 11:35 PM - The Colemanator: Authorities 11:36 PM - Fred Dawes: Alright. Back. 11:36 PM - Fred Dawes: To revise the skills before.... 11:37 PM - Fred Dawes: Carpentry: Building health and other simple material's repairing. 11:37 PM - Fred Dawes: Security: Pick pocketing and lock picking 11:37 PM - Fred Dawes: Mechanical: Lock tweaking, gun repair, gun modification 11:38 PM - Fred Dawes: Carpentry sounds a bit weak as is, it may need to cover more ground, but I think the others are fairly solid. 11:38 PM - The Colemanator: yeah 11:38 PM - The Colemanator: Well 11:38 PM - The Colemanator: Carpentry could be used to make furniture 11:39 PM - The Colemanator: To import furniture would be very expensive 11:39 PM - The Colemanator: But to use the skill and raw materials would be very cheap 11:39 PM - Fred Dawes: Yeah. There should be stackable items, like "2x4" and "roll of cloth" 11:40 PM - Fred Dawes: And possible clothes repair as well. Hmm, what would that be called? 11:40 PM - Fred Dawes: Someone who repairs windows, makes furniture, and tailors clothes... 11:41 PM - Fred Dawes: Or maybe Tailor can be a different skill 11:41 PM - Fred Dawes: Clothwork / Woodwork 11:41 PM - Fred Dawes: Electronics could be used to produce say, a gun-flashlight from common items once a recipe is found. 11:42 PM - Fred Dawes: And Mechanical could be used for silencers and such. 11:42 PM - The Colemanator: yeah 11:43 PM - Fred Dawes: So from a database point of view 11:43 PM - The Colemanator: Did you see the map layout so far? 11:43 PM - Fred Dawes: Each player needs seperate tables for skills, items, and health. 11:43 PM - Fred Dawes: Nope. 11:43 PM - The Colemanator: http://img.schmonet.com/meck08.jpg 11:44 PM - Fred Dawes: I was always curious about having that unused tunnel in Iburg connect to the bridge in Meck. 11:46 PM - The Colemanator: Dave proposed day/night cycles 11:47 PM - Fred Dawes: I like it. It does loads for player immersion, allows for interesting coding options, and seems to be relatively simple to implement. 11:47 PM - The Colemanator: Including for some addons later 11:48 PM - The Colemanator: :D 11:48 PM - Fred Dawes: Yeah. 11:48 PM - Fred Dawes: In the db would be the in-game date and time. 11:48 PM - Fred Dawes: How will you do sleeping? 11:49 PM - The Colemanator: eh 11:49 PM - The Colemanator: Not sure 11:51 PM - Fred Dawes: I like how Fallout 3 did it. Unnecissary, yet helpful. Sleeping somewhere good gives you a buff of quicker learning (due to an awake mind) and results in increased XP gain. It also lets you heal faster. Sleeping somewhere bad (anywhere non designated as a sleeping spot, like on a bed) would slowly heal over time, and still allow the user to participate in ooc chat, while susceptible to pick pocketing. If players sleep AFK, then they can't do much against pick pocketers, like hobos who sleep in deep sleep. 11:52 PM - The Colemanator: xD 11:53 PM - Fred Dawes: It would heal them and remove buffs, possibly. 11:53 PM - Fred Dawes: Negative buffs, too, like "bleeding foot" or "concussion" 11:56 PM - Fred Dawes: Buffs should be categorized based on effects. To register with the db that someone broke a foot, it would be something like, "breakFoot(int id, int severity){DoT[id] += 1, Speed[id] -= severity}" 11:58 PM - The Colemanator: hmm 11:58 PM - Fred Dawes: setConcussion(int id, int severity){Vision(id) = shitty, Speed(id) -= 50 11:58 PM - Fred Dawes: Something like that. 11:58 PM - Fred Dawes: Pseudo code. 11:59 PM - Fred Dawes: Having db variables governing max speed, current HP gain/loss rate, vision-altering flags, and other buff things may be tricky. Saturday, November 29, 2008 12:00 AM - Fred Dawes: You could code most of it into the mod itself and have a flag system for the db 12:00 AM - Fred Dawes: 1 = broken arm, 2 = broken leg, 4 = concussion, 8 = bleeding, 16 = downed 12:01 AM - Fred Dawes: 32 = well rested, 64 = sleeping 12:01 AM - Fred Dawes: Something like that. 12:02 AM - Fred Dawes: UPDATE players SET condition = 64 WHERE player_id = 12:02 AM - Fred Dawes: Would register that they are sleeping. 12:03 AM - Fred Dawes: 65 Would be sleeping with a broken leg, 24 would be downed and bleeding. 12:03 AM - Fred Dawes: Feasible? 12:03 AM - The Colemanator: Could be 12:05 AM - Fred Dawes: The mod would read the database every tick and adjust player's stats accordingly. 12:05 AM - The Colemanator: The database will be in the mod 12:05 AM - The Colemanator: No need to read it when the mod already knows 12:06 AM - Fred Dawes: Well, check up on it. 12:06 AM - The Colemanator: But nothing else can edit it but the mod 12:06 AM - The Colemanator: So if the mod never edits it 12:06 AM - Fred Dawes: Oh. 12:06 AM - The Colemanator: Or if it does 12:06 AM - The Colemanator: Then itll know 12:08 AM - Fred Dawes: I was thinking about how disconnects would work. 12:09 AM - Fred Dawes: It should leave their body behind for a set amount of time, say 1 minute, and act as if they passed out. 12:09 AM - Fred Dawes: After a minute of no one touching them, they will fade out, but until then, cops can move them and people can rummage through their things. 12:09 AM - Fred Dawes: They need to rest in a certain spot to be safe. 12:10 AM - Fred Dawes: Like the park, or their homes. Have them do the WoW. 12:10 AM - Fred Dawes: Or actually, everquest. 12:10 AM - Fred Dawes: 30 seconds left.... 12:10 AM - The Colemanator: ehh 12:11 AM - Fred Dawes: Or not. 12:11 AM - Fred Dawes: Disconnects can be dealth with by the server admin. 12:11 AM - The Colemanator: Well maybe if they have wanted level 12:12 AM - Fred Dawes: Wanted level sounds great. Fred Dawes is now playing Team Fortress 2. Click here to join.