Go Back   Project Reality Forums > Project Reality Mod Forums > PR Community Modding
PR Community Modding : Discussion on PR community mod projects.

Welcome to the Project Reality Forums! Join the Project Reality forums! Contact Us


Reply
 
LinkBack Thread Tools Display Modes
Old 04-08-2008, 05:12 PM   #1

coyote39's Avatar
[Question] Process to limit vehicle to certain kits?

This is my first post here, and I'm just beginning to try to understand how PR modding works. One of the questions I have is how the vehicles (tanks, apcs, transport trucks, etc) are done so that only certain kits can pilot them? Is it a python thing, or is it contained within the .tweak files for the vehicle itself? For instance, the M35 truck only allows the engineer or officer kit to pilot it ingame. How is this accomplished? Any help would be greatly appreciated.
coyote39 is offline Reply With Quote
Old 04-08-2008, 06:17 PM   #2
PR Developer
Supporting Member

[R-DEV]e-Gor's Avatar
It's all done with some rather clever python stuff, which is locked away in those .pyc files... basically whenever anyone enters a limited vehicle, the player kit is checked and if it's wrong, the vehicle gets disabled.
[R-DEV]e-Gor is offline Reply With Quote
Old 04-16-2008, 12:06 AM   #3

coyote39's Avatar
How do you edit them? I've tried opening them with python, but don't get anything. It seems that they're compiled. If so, is there any way to get the uncompiled versions? I'm just starting to create a mod based on PR, and am curious if the uncompiled versions are available. Thanks in advance for your time and patience.
coyote39 is offline Reply With Quote
Old 04-16-2008, 02:45 AM   #4

motherdear's Avatar
Quote:
Originally Posted by coyote39 View Post
How do you edit them? I've tried opening them with python, but don't get anything. It seems that they're compiled. If so, is there any way to get the uncompiled versions? I'm just starting to create a mod based on PR, and am curious if the uncompiled versions are available. Thanks in advance for your time and patience.
i understand what you want to do, but for your own sake you should properly ask the devs before you "steal" the work of the devs and built your own mod on their stuff without their permission.
motherdear is offline Reply With Quote
Old 04-16-2008, 10:27 AM   #5

coyote39's Avatar
I wasn't asking to "steal" anything, and I feel pretty offended by that remark.

The reason for posting my query on the forum was two-fold; so that it was public, and able to be viewed by the forum admins and devs. I wouldn't feel comfortable pm'ing someone who is not a dev/admin and asking them the same thing. If there is someone I should be directing this line of questioning to, I'm more than willing to take my query in that direction, rather than posting it in public to be falsely accused of trying to "steal" anyone else's ideas/creative license.

Thank you for attempting to make me look surreptitious, when there was absolutely no need to. I'd ask you to keep in mind that not everyone posting in online forums are 14 years old. Even though my question might seem simple to someone who has been modding for a while doesn't mean that it's not valid, or that I'm some immature punk-kid who seeks to "steal" and re-package PR for my own benefit. Please give everyone the benefit of the doubt before you go and slander them. Thank you for your time and patience.
coyote39 is offline Reply With Quote
Sponsored Links
Old 04-16-2008, 11:19 AM   #6

Maxfragg's Avatar
Send a message via ICQ to Maxfragg Send a message via MSN to Maxfragg Send a message via Skype™ to Maxfragg
the current PR builds contain compiled pyton code, which can't be viewed / edited

Maxfragg is offline Reply With Quote
Old 04-16-2008, 09:52 PM   #7

motherdear's Avatar
i did in no way mean to offend you m8, i really understand you question (sadly i can't answer it myself)but it sounded like some of the coding etc used for the mod was going to be used.
i'm very sorry for implying that you would "steal", but since you are new to the forums and modding (as you said in your post) i did not mean to offend you i just wanted to make sure that you were clear with the devs before you used any of their work (as i wrongly assumed that you were going to do) i'm sorry for the remark but no need to make enemies of me or the dev team.
motherdear is offline Reply With Quote
Old 04-17-2008, 05:04 PM   #8

coyote39's Avatar
Thank you for having the maturity to apologize. It is greatly appreciated. I also have to say that I probably over-reacted to your post, and I hope that there are no ill feelings because of this minor issue. I'm sorry that I made a mountain out of what is, in reality, a mole-hill. I understand your point of view on the creative license, and that you are just looking out for PR's best interests. There have certainly been no enemies made in my point of view, and I hope that yours is the same. Again, I appreciate your candor and maturity in your reply.

With that said, is there a dev in particular that I should be directing this to?

Any help on this matter would be greatly appreciated.
coyote39 is offline Reply With Quote
Old 04-17-2008, 05:41 PM   #9
PR Developer
Supporting Member

[R-DEV]e-Gor's Avatar
Currently the python code is not freely available, as a counter to various sorts of server side modding which went against the aims of the mod. If you want access to some of it, dbzao is the person to talk to. I don't know what the current policy about it is though.
[R-DEV]e-Gor is offline Reply With Quote
Old 04-22-2008, 01:24 AM   #10

coyote39's Avatar
Thank you for pointing me in the right direction - it's much appreciated.
coyote39 is offline Reply With Quote
Sponsored Links
Reply


Bookmarks

Tags
kits, limit, process, question, vehicle
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:59 AM.


Powered by: vBulletin. ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2008, Project Reality.