ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
Give pistols and the spas12 fire modes?

1 2 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  02:20:10  11 October 2011
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
Messages: 6342
Just a couple of variables in a script somewhere.
  00:38:59  11 October 2011
profilee-mailreply Message URLTo the Top
ZippyDSMlee
(Novice)
 
On forum: 09/10/2010
Messages: 28

---QUOTATION---
There is a timer associated with each body, and a limit. When the timer expires, the body is recollected, or bodies are automatically recollected when the limit is reached, with the older bodies being recollected first. Bit immersion breaking when 10+ bodies disappear into thin air.

Still need to do that tutorial on upgrades for you. RL gets busy at this time of year.
---END QUOTATION---



So body count is hard coded and time limits are not?

Take your time I'd like to know how to do it.
  22:31:04  10 October 2011
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
Messages: 6342
There is a timer associated with each body, and a limit. When the timer expires, the body is recollected, or bodies are automatically recollected when the limit is reached, with the older bodies being recollected first. Bit immersion breaking when 10+ bodies disappear into thin air.

Still need to do that tutorial on upgrades for you. RL gets busy at this time of year.
  22:03:15  10 October 2011
profilee-mailreply Message URLTo the Top
ZippyDSMlee
(Novice)
 
On forum: 09/10/2010
Messages: 28
Instead of filling the forum with spam I will post here.

Is there a body count value somewhere? Alot of bodies are dissapearing for no good reason >>
  23:19:23  3 October 2011
profilee-mailreply Message URLTo the Top
ZippyDSMlee
(Novice)
 
On forum: 09/10/2010
Messages: 28

---QUOTATION---

How about this make a pistol automatic but work it in as so it starts in -1 or single fire mode, the first fire rate upgrade gives you full election 1, 3, -1, this way you have minimized adding stuff to the upgrade files. Would this be possible?
Yep. Although -1 is automatic fire for automatic weapons, so you'll want it to start in 1, then expand it out to 1,3,-1.

Still have to get a working automatic pistol,then figure out the shell load command in the shotgun file and try and make a new one with automatic settings.

How do I extract WP_SHOTG?
You can't. Not without hacking the engine. And it only supports single fire for Shotguns. An automatic shotgun engine class was added only in CoP. Changing a shotgun to use WP_AK74 results in it reloading instantly. Hard coded engine behaviour. Works well for a Saiga shotgun though.

Upgrades are hard to figure out. Most of the settings in the upgrade files are not well understood, some parts don't seem to do much, or anything at all, and the co-ordinate system for icon placement isn't that obvious, and getting the icon xml placement files sorted out is a pain. Modifying upgrade configs leads you down a modding path with plently of ACCESS_VIOLATION errors, so unless you happen to know exactly what you've done, you will often have no idea why its crashed. And even if you do know, you can still spend plenty of time struggling to figure out what has gone wrong.

I can tell you how to modify the files, and implement new upgrades, but it will require me to sit down and write a full blown tutorial, so it might take me a while.
---END QUOTATION---



Take your time brother.
  22:04:39  3 October 2011
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
 

Message edited by:
SetaKat
10/03/2011 22:07:28
Messages: 6342

---QUOTATION---

How about this make a pistol automatic but work it in as so it starts in -1 or single fire mode, the first fire rate upgrade gives you full election 1, 3, -1, this way you have minimized adding stuff to the upgrade files. Would this be possible?
---END QUOTATION---


Yep. Although -1 is automatic fire for automatic weapons, so you'll want it to start in 1, then expand it out to 1,3,-1.


---QUOTATION---
Still have to get a working automatic pistol,then figure out the shell load command in the shotgun file and try and make a new one with automatic settings.

How do I extract WP_SHOTG?
---END QUOTATION---


You can't. Not without hacking the engine. And it only supports single fire for Shotguns. An automatic shotgun engine class was added only in CoP. Changing a shotgun to use WP_AK74 results in it reloading instantly. Hard coded engine behaviour. Works well for a Saiga shotgun though.

Upgrades are hard to figure out. Most of the settings in the upgrade files are not well understood, some parts don't seem to do much, or anything at all, and the co-ordinate system for icon placement isn't that obvious, and getting the icon xml placement files sorted out is a pain. Modifying upgrade configs leads you down a modding path with plently of ACCESS_VIOLATION errors, so unless you happen to know exactly what you've done, you will often have no idea why its crashed. And even if you do know, you can still spend plenty of time struggling to figure out what has gone wrong.

I can tell you how to modify the files, and implement new upgrades, but it will require me to sit down and write a full blown tutorial, so it might take me a while.
  18:58:20  3 October 2011
profilee-mailreply Message URLTo the Top
ZippyDSMlee
(Novice)
 
On forum: 09/10/2010
 

Message edited by:
ZippyDSMlee
10/03/2011 21:30:27
Messages: 28

---QUOTATION---
So it worked? Eeeeeenteresting. What does your config for that upgrade section look like now?
---END QUOTATION---



For the slot change? I just added slot = 2 to the mag up grade

============
[up_sect_h_pm]
cost = 80
value = +4
ammo_mag_size = 4
Slot = 2
============

For adding a new upgrade I added ,up_sect_z_pm to it with the cost and slot change then added it to the weaopn file, the trouble is now I dunno where else to add it this causes the game to crash.

I also tested
[prop_reliability]
name = st_prop_reliability
icon = ui_wp_propery_014
functor = inventory_upgrades.property_functor_z

tho I bet it calls to nothing LOL

I always try a bit at a time turn it on see if it works then try something else, I already rolled back to default files.
===============

How about this make a pistol automatic but work it in as so it starts in -1 or single fire mode, the first fire rate upgrade gives you full election 1, 3, -1, this way you have minimized adding stuff to the upgrade files. Would this be possible?

Still have to get a working automatic pistol,then figure out the shell load command in the shotgun file and try and make a new one with automatic settings.

============
Edit

Ok so what dose ammo elapse do? Its how many bullets are loaded is it not?

edit

How do I extract WP_SHOTG?
  18:25:45  3 October 2011
profilee-mailreply Message URLTo the Top
PhoenixHeart
Senior Resident
 

 
On forum: 10/22/2008
Messages: 1165
So it worked? Eeeeeenteresting. What does your config for that upgrade section look like now?
  17:38:28  3 October 2011
profilee-mailreply Message URLTo the Top
ZippyDSMlee
(Novice)
 
On forum: 09/10/2010
 

Message edited by:
ZippyDSMlee
10/03/2011 17:40:10
Messages: 28
Interesting I put slot=2 on the Markovs mag size upgrade and it did indeed make it a slot 2 weaopn.

So how do I add an upgrade, just add it to the weaopn and upgrade files?
*goes off to tinker with it some more*

damn crashy..... Ok so.....how do you add a upgrade?
And how do you make it a on/off upgraded? IE you can re buy it to turn it on/off
  14:57:36  3 October 2011
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
Messages: 6342
Going by my experience with the upgrade configs, I'd say no. The game only seems to recognize and parse certain parameters in the upgrade configs. I tried changing scope textures and npc visuals with upgrades, but it didn't work.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2022 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.