It is currently Thu May 08, 2025 2:47 am

RUNNING WITH RIFLES Multiplayer

test

Game servers 44 List provided by EpocDotFr | Players online 79


All times are UTC




Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Mon Jul 08, 2013 4:30 pm 
Offline

Joined: Tue May 08, 2012 9:57 pm
Posts: 159
How can I increase vest spawn rates for the AI? I've found the vest1 and vest2 files, but both state

commonness value="25.0"

A weapon's commonness value is always under 1.0, so I'm confused as to wether I'm supposed to increase or decrease this number to increase the spawnrate.

Changing it to 200.0 or 1.0 doesn't SEEM to have any effect...

(vest1 is for player characters I think, since it's identical to vest2 except with a speed modifier)

_________________
Moderator /u/Myrandall of the RWR subreddit.
http://www.reddit.com/r/RunningWithRifles


Top
 Profile  
 
PostPosted: Mon Jul 08, 2013 4:43 pm 
Offline
User avatar

Joined: Wed Jan 18, 2012 3:19 am
Posts: 567
Location: The States
From 0.88.2 changelog:

items: vest type I found in classic, turns a lethal bullet hit into a wounding hit, alters general movement speed by -15%
items: vest type II found in invasion, turns a lethal bullet hit or blast into a wounding hit, no speed penalty

Also, commonness values, at least for weapons, are relative. If the ak47 and G36 have commonness values of .25 and .5 respectively, then values of 25 and 50 would yield the same result. Not sure what the commonness value of the vest would be in relation to though.


ComJak

_________________
ComJak's house... stay out of it


Top
 Profile  
 
PostPosted: Mon Jul 08, 2013 5:06 pm 
Offline

Joined: Tue May 08, 2012 9:57 pm
Posts: 159
It's on the same list as RP items

<carry_item file="whiskey_bottle.carry_item"/>
<carry_item file="cigarettes.carry_item"/>
<carry_item file="dollars.carry_item"/>
<carry_item file="gamingdevice.carry_item"/>
<carry_item file="gem.carry_item"/>
<carry_item file="painting.carry_item"/>
<carry_item file="suitcase.carry_item"/>
<carry_item file="horny_magazine.carry_item"/>
<carry_item file="comic_book.carry_item"/>
<carry_item file="rwr_handbook.carry_item"/>
<carry_item file="oscar_statue.carry_item"/>
<carry_item file="vest1.carry_item"/>

I bumped it to 9999, so this will probably mean that any soldier normally carrying an RP item will now have a vest instead.

_________________
Moderator /u/Myrandall of the RWR subreddit.
http://www.reddit.com/r/RunningWithRifles


Top
 Profile  
 
PostPosted: Mon Jul 08, 2013 5:07 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
You can't, commonness is indeed relative to other items in the same "slot". The probability between spawning with an item type or without it is currently hardcoded.

Note that un-equippable carry items are not in the same slot as equippable carry items such as vest, slot 0 vs slot 1.


Top
 Profile  
 
PostPosted: Mon Jul 08, 2013 6:34 pm 
Offline

Joined: Tue May 08, 2012 9:57 pm
Posts: 159
So it's basically impossible to mod this then? :(

_________________
Moderator /u/Myrandall of the RWR subreddit.
http://www.reddit.com/r/RunningWithRifles


Top
 Profile  
 
PostPosted: Mon Jul 08, 2013 6:46 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Pretty much, unless you change the right bits in rwr_game.exe and manage to change the 0.04 value used for this.


Top
 Profile  
 
PostPosted: Mon Jul 08, 2013 6:55 pm 
Offline

Joined: Tue May 08, 2012 9:57 pm
Posts: 159
Would it be possible to make this moddable for 0.90...?

_________________
Moderator /u/Myrandall of the RWR subreddit.
http://www.reddit.com/r/RunningWithRifles


Top
 Profile  
 
PostPosted: Mon Jul 08, 2013 7:30 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Sorry, no, we need to close 0.90 to get it released, it's been a month since 0.89.

The possibility to control probabilities to spawn with carry items, weapons (a similar hardcode is in logic to spawn with no secondary weapon), grenades etc will be added when item commonness and availability in stock per faction is added.


Top
 Profile  
 
PostPosted: Sun Nov 03, 2013 4:58 pm 
Offline

Joined: Tue May 08, 2012 9:57 pm
Posts: 159
For 0.93 then perhaps? :P

_________________
Moderator /u/Myrandall of the RWR subreddit.
http://www.reddit.com/r/RunningWithRifles


Top
 Profile  
 
PostPosted: Mon Nov 04, 2013 11:18 am 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Yup, it's in 0.93.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group