chipper 0 Posted August 9, 2006 Hey I'm trying to replace the default BIS Bus with another one into FFUR problem is I can't find it in ffur's config. Share this post Link to post Share on other sites
Ironsight 1 Posted August 9, 2006 Hey I'm trying to replace the default BIS Bus with another one into FFUR problem is I can't find it in ffur's config. I think it's in O.pbo's config. Share this post Link to post Share on other sites
chipper 0 Posted August 9, 2006 This is what I'm going to do. Tell me if im right. I'm going into the ffur config.cpp and just under the entry for the replacement motorcycle I'm going to insert a bus replacement thing. How do I open the config.bin in O.pbo? EDIT: I found it. BinView EDIT2: gah too many edits new post! Share this post Link to post Share on other sites
chipper 0 Posted August 9, 2006 Ok from what I have found out this is where the bus is defined. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class TruckV3SCivil:TruckV3SG { side=3; crew="Civilian"; displayName="PV3S Truck (Civilian)"; model="v3scivil"; }; Now to replace it with a bus inside another addon-pack I have to get the model path right? so it'd be like <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class TruckV3SCivil:TruckV3SG { side=3; crew="Civilian"; displayName="PV3S Truck (Civilian)"; model="busaddon\v3scivil"; }; Someone tell me if that is correct. Share this post Link to post Share on other sites
chipper 0 Posted August 9, 2006 Ok that didn't work. Here is the BIS Bus and the one I'm trying to replace it with. They are different so it didn't work  Share this post Link to post Share on other sites
Ironsight 1 Posted August 9, 2006 Ok from what I have found out this is where the bus is defined.<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class TruckV3SCivil:TruckV3SG { side=3; crew="Civilian"; displayName="PV3S Truck (Civilian)"; model="v3scivil"; }; Now to replace it with a bus inside another addon-pack I have to get the model path right? so it'd be like <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class TruckV3SCivil:TruckV3SG { side=3; crew="Civilian"; displayName="PV3S Truck (Civilian)"; model="busaddon\v3scivil"; }; Someone tell me if that is correct. Don't think this is where the bus is defined. That's the civilian PV3S truck. I don't know the exact classname of the BIS bus but it can't be hard to find as there are only few vehicles defined in the O.pbo config. Share this post Link to post Share on other sites
chipper 0 Posted August 9, 2006 I inserted the bus info in here and when I start the game with the new config.bin I get a error saying No entry 'config.bin.CfgWorlds'. and everything gets fucked up and weird <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class TruckV3SCivil:TruckV3SG { side=3; crew="Civilian"; displayName="PV3S Truck (Civilian)"; model="v3scivil"; }; class Bus:TruckV3SCivil { access="ReadOnly"; displayName="$STR_DN_OUT_BUS"; model="\pksmzk\ikarus"; crew="civilian5"; picture="\o\vehl\iskodasm11.paa"; icon="\O\vehl\bus.paa"; turnCoef=12.0; transportSoldier=27; driverAction="ManActBusDriver"; cargoAction[]={"ManActBusCargo"}; cargoIsCoDriver[]={0}; dammageHalf[]={"\o\vehl\bus_okna.paa","\o\vehl\bus_oknaR1.paa"}; dammageFull[]={"\o\vehl\bus_okna.paa","\o\vehl\bus_oknaR2.paa"}; class PaperCar:Car { scope=1; picture="itruck5t"; icon="truck"; displayName="$STR_DN_PAPER_CAR"; model="papAuto"; class Reflectors { }; }; EDIT: I think it's a missing bracket I found. Testing now. EDIT2: Well the game started fine it's just that the model still isn't replaced yet. Share this post Link to post Share on other sites
chipper 0 Posted August 9, 2006 I GOT IT!!!    This marks the first time I successfully modded ofp myself.    It's a great addition to FFUR!!! Maybe it'll be included in the next patch  Many thanks to pappy the creator of y2k3. He helped me a lot. Even though he gave up on me LOL. and thanks to vilas for the great bus. Share this post Link to post Share on other sites
chipper 0 Posted August 9, 2006 Ok now I need to optimize this. Right now I have to put the whole vilas car pack in my ffur2006 addons folder. I need to make it so I just use the model and textures I need in one pbo. E.g ffur_bus.pbo with just the stuff needed to replace the bus. Share this post Link to post Share on other sites
chipper 0 Posted August 9, 2006 Ok I took only the needed files from vilas pack for the bus. .p3d,.paa,.pac I put those files in ffur_bus.pbo changed the config.bin accordingly. But when I look at it ingame all I see is a white model. Heres the bus info. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class Bus:TruckV3SCivil { access=2; displayName="$STR_DN_OUT_BUS"; model="\ffur_bus\ikarus"; crew="civilian5"; picture="\o\vehl\iskodasm11.paa"; icon="\O\vehl\bus.paa"; turnCoef=12.0; transportSoldier=27; driverAction="ManActBusDriver"; cargoAction[]={"ManActBusCargo"}; cargoIsCoDriver[]={0}; dammageHalf[]={"\o\vehl\bus_okna.paa","\o\vehl\bus_oknaR1.paa"}; dammageFull[]={"\o\vehl\bus_okna.paa","\o\vehl\bus_oknaR2.paa"}; }; Does the ffur_bus.pbo need a config file? If it does how would I make it? Share this post Link to post Share on other sites
chipper 0 Posted August 9, 2006 I think I know what to do here. I have to rename the path in oxygen to ffur_bus\texture.paa etc... thats the right way, the short sloppy way would be to just leave the original .pbo name.... ehh why am i talking to myself. Share this post Link to post Share on other sites
chipper 0 Posted August 9, 2006 Ok it worked but the lights are on even in the day time and I'm not even in the bus. Share this post Link to post Share on other sites