Projectile detection script

Topics regarding Scripting with Reality Factory
Post Reply
dailoc
Posts: 58
Joined: Sun May 06, 2012 4:42 pm
Contact:

Projectile detection script

Post by dailoc » Fri Mar 15, 2013 12:44 pm

I need help with creating a projectile checking system for pawns. The reason is that my friends tend to mesh with the damage amounts of the projectiles in the weapon.ini file. I want the pawns to check for which type of projectile that hit it and check whether the damage amount that was given was mondified or not. (For example, the damage of a rifle shell is 23, if it is hit by a rifle_shell, it check whether the actual damage was 23 or not.)

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: Projectile detection script

Post by Veleran » Fri Mar 15, 2013 5:47 pm

Can you encrypt the demo using the utility in the tools folder.

dailoc
Posts: 58
Joined: Sun May 06, 2012 4:42 pm
Contact:

Re: Projectile detection script

Post by dailoc » Sat Mar 16, 2013 12:50 am

But the demo doesn't work with the encypted .txt files. It only allow to encrypt media files

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: Projectile detection script

Post by Veleran » Sat Mar 16, 2013 1:58 pm

I do not know much about computers but,is nt there a way to put a password for these texts to their properties?

dailoc
Posts: 58
Joined: Sun May 06, 2012 4:42 pm
Contact:

Re: Projectile detection script

Post by dailoc » Sat Mar 16, 2013 2:24 pm

Well, I'm trying to find one. But, I feel safer with a script that detects changes in the damage section of the projectile

Allanon
Posts: 493
Joined: Mon Aug 29, 2005 8:23 am

Re: Projectile detection script

Post by Allanon » Sat Mar 16, 2013 7:38 pm

Copy the weapon.ini file to something like log.ini then use the log.ini file in the character.ini as the weapon's file. But leave the weapon.ini file so he has a file to modify. You might also make the log.ini file read only and hidden.

dailoc
Posts: 58
Joined: Sun May 06, 2012 4:42 pm
Contact:

Re: Projectile detection script

Post by dailoc » Sun Mar 17, 2013 2:17 am

thanks you both of you, your advices was so useful. But, i'm wondering, can't reality factory reads a encrypted text file?

dailoc
Posts: 58
Joined: Sun May 06, 2012 4:42 pm
Contact:

Re: Projectile detection script

Post by dailoc » Sun Mar 17, 2013 4:21 pm

Well, the reason i wasn't able to encrypt the .ini files was beacause I didn't use VFS tool in the tools folder. Sorry guys. Thank you for helping me

Post Reply