Difference between revisions of "AddReputation"
imported>MrSlackPants (Cleaned up) |
imported>Dandys |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = VEGAS1 | |origin = VEGAS1 | ||
Line 21: | Line 20: | ||
}} | }} | ||
}} | }} | ||
'''AddReputation''' adds a certain amount of reputation to a faction, unlike [[AddReputationExact]], it only allows 1-5, whereas 1 is a small deed done, and 5 is a big deed. | |||
The first integer determines if infamy (0) of fame (1) should be added, whereas the second integer determines the exact amount (1-5) | |||
If one wishes to add an exact amount of reputation, use [[AddReputationExact]]. | |||
The amount of reputation points that these integers correspond to are determined by game settings. | |||
*(Integer) = (Amount of reputation points actually added) | |||
**1 = [[fReputationBumpVeryMinor]], Default Setting = 1 | |||
**2 = [[fReputationBumpMinor]], Default Setting = 2 | |||
**3 = [[fReputationBumpAverage]], Default Setting = 4 | |||
**4 = [[fReputationBumpMajor]], Default Setting = 7 | |||
**5 = [[fReputationBumpVeryMajor]], Default Setting = 12 | |||
=='''Examples'''== | =='''Examples'''== | ||
AddReputation RepNVGoodsprings 0 5 | AddReputation RepNVGoodsprings 0 5 | ||
The player has done a big deed ''against'' this faction, causing a big gain of infamy equal to [[fReputationBumpVeryMajor]]. | |||
AddReputation RepNVGoodsprings 1 | AddReputation RepNVGoodsprings 1 1 | ||
The player has done a small deed ''for'' this faction, causing a small gain of fame equal to [[fReputationBumpVeryMinor]]. | |||
==='''Notes'''== | |||
*This function can technically be used to remove reputation by having Amount be a negative number, however, it is better to use [[RemoveReputation]] for this purpose because with '''AddReputation''' the message will always say "gained" rather than "removed." | |||
=='''See Also'''== | =='''See Also'''== | ||
*[[GetReputation]] | *[[GetReputation]] | ||
*[[AddReputationExact]] | |||
*[[RemoveReputation]] | |||
[[Category:New Vegas Content]] | [[Category:New Vegas Content]] | ||
[[Category:Functions (GECK Vegas 1.1)]] | [[Category:Functions (GECK Vegas 1.1)]] |
Latest revision as of 01:44, 24 November 2012
A function included in the GECK Version 1.1.0.262 for Fallout: New Vegas.
Description
Adds a certain amount of reputation (fame/infamy) with a certain faction.
Syntax
AddReputation FactionID:editorID Fame/Infamy:int Amount:int
AddReputation adds a certain amount of reputation to a faction, unlike AddReputationExact, it only allows 1-5, whereas 1 is a small deed done, and 5 is a big deed.
The first integer determines if infamy (0) of fame (1) should be added, whereas the second integer determines the exact amount (1-5)
If one wishes to add an exact amount of reputation, use AddReputationExact.
The amount of reputation points that these integers correspond to are determined by game settings.
- (Integer) = (Amount of reputation points actually added)
- 1 = fReputationBumpVeryMinor, Default Setting = 1
- 2 = fReputationBumpMinor, Default Setting = 2
- 3 = fReputationBumpAverage, Default Setting = 4
- 4 = fReputationBumpMajor, Default Setting = 7
- 5 = fReputationBumpVeryMajor, Default Setting = 12
Examples
AddReputation RepNVGoodsprings 0 5
The player has done a big deed against this faction, causing a big gain of infamy equal to fReputationBumpVeryMajor.
AddReputation RepNVGoodsprings 1 1
The player has done a small deed for this faction, causing a small gain of fame equal to fReputationBumpVeryMinor.
=Notes
- This function can technically be used to remove reputation by having Amount be a negative number, however, it is better to use RemoveReputation for this purpose because with AddReputation the message will always say "gained" rather than "removed."