Register for your free account! | Forgot your password?

You last visited: Today at 20:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] House System

Discussion on [Help] House System within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Question [Help] House System

How to make a house system? any ideas? with dynamic map? without dynamic map?
littlechris95 is offline  
Old 01/10/2014, 03:56   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
You would definitely want to use dynamic maps for a house system. Basically, the house owner loads a dynamic map, and loads terrain npcs to it for furniture. Some servers do it with static maps, saving each map which takes up a lot of space, but it can be done that way. I wouldn't recommend it though.
Spirited is offline  
Old 01/10/2014, 04:12   #3
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
You can structurize it like this (basic);
Quote:
HouseId | HouseMesh | Owner
-Where HouseId simply gets assigned by an increasing counter,
-HouseMesh stands for the corresponding map (Different house types have different map id's but you knew that of course),
-Owner which stands for the person who is in possession of the house described by player id or character name perhaps.



As for seperating people from being in each other's houses;
Quote:
Player A would be in map {HouseId} but actually really in {HouseMesh}.

When {HouseId} is actually used to define his MapId to the server, the {HouseMesh} is used to notifiy the client of his actual location.

I suck at explaining so I hope this made it clear to you.
ImmuneOne is offline  
Old 01/10/2014, 06:42   #4
 
drakejoe67's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 322
Received Thanks: 121
As for the furnitures, you might be close if you play around with NPC meshes, and I think you also need to assign a Flag to it. As most NPC will turn around to face you whenever they click them. Which is supposedly not suppose to happen for furnitures.

Well that's all I know though, I found some npc meshes before, don't remember em.
drakejoe67 is offline  
Reply


Similar Threads Similar Threads
How to Make A HOUSE SYSTEM in source 5530?
06/08/2013 - CO2 Private Server - 20 Replies
DOES ANYONE KNOW HOW TO MAKE A HOUSESYSTEM IN SOURCE 5530 I WANT TO KNOW WHICH FILES SHOULD I WORK ON IT.
110 Cap D11 Pve new Uninques new System / new Job System / Free Silk / Easy System
05/26/2013 - SRO PServer Advertising - 19 Replies
AT the Frist i will give Info about the game Server will start lv 1 Max Lv 110 Free Silk 500K New System for Job Egy A CaN Get From FGW So Easy :) Egy B Can Get From Uniques FGW Set Egy A Distraction With Coin Set Egy B Immortality With Coin
[help] House problem *make a seperate house for each character*
06/06/2009 - CO2 Private Server - 2 Replies
Ok so I made a house code like you would see in another post but they way I made it seems like everyone would be teleported to the same house. Here's an example of it. Simple house... if (MyChar.InventoryContains(721170, 1)) { MyChar.Teleport(1098, 32, 40); } The way it's put you can see it looks like everyone would be teleported to the same place. I haven't tried to see...



All times are GMT +2. The time now is 20:43.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.