Modding questions/answersRe: Modding questions/answersGuys, did someone encounter a need in simulating NAND logic in N scripts? It's when script effects take place if conditions look like "not (A and B)", where A, B are some conditions from conditions list - so it's "not and" logical fuction (NAND). Sheffer stroke (\) or I don't know how it's called in English. I find it impossible without some workarounds... perhaps tinkering with bars...
Re: Modding questions/answersSo, looks like no one knows. Sad, that is...
For the problem needed to solve, I've just found other condition that would do. However, if some other problem arises with same symptoms and no appropriate condition to use right away - I'd be screwed )) These common logic expressions in condition blocks are joined via AND logical operator in Notrium. Many conditions have a negated version of themselves. So, a simple use of them looks like
That's great but we lack the OR logical operator for (AND, OR, NOT) system. Also, the (AND, XOR, 1) system comprises a functionally complete system of logical functions, but it's not very natural for people to think that way, it's a bit harder... So this type of problems (as I see for now) could be solved in 2 ways: 1) complete logical calculation in bars, using some new bar like min = 0, max = 1 2) if-then-else simulation via script calls also needs some boolean bar to store current state The drawbacks of both are using one more bar, besides, if the condition check is nested, you'll need one more bar for each level of this hierarchy... If someone has something to add to these two ways, please tell.
Re: Modding questions/answersThis may Seam Stupid, But Where Do i Add Objects To The Map Randomly, ive done it before. but i just cannot find the Dam button.
(i have 6 bush types, 4 rivers, 10 or so rocks, 20 trees, all have Objectdiffinition Files and i cant find the random objects button.) Any Help?
Re: Modding questions/answersThere is a Random Objects floor tile in the editor built in to the game engine (IIRC). Just overlay it on the tiles you want to use with said feature.
Re: Modding questions/answersits not a random objects, its no random objects tile. and the random Terian One Only dose the tiles.
fount it, its the climates.
Re: Modding questions/answersOh, i got a new Question.
How to get a Weapon With a underslung Grenade Laucher. I have the Base Weapon (with out The GrenadeLaucher) And the Grenade Laucher Ive Got Them to Combine I have the gun Weapon The GL Main Weapon And a GL Secondary Weapon Its Not working, i have it setup so when you push 'G' the Grenade Laucher Fires. But It Fires, and it hits, then no damage taken to anyone but the person who was hit. Any Help?
Re: Modding questions/answersMost weapons in N have single target effect. If you just wrote Grenade Launcher's damage in hit_effects section of the weapons.dat, it will be applied to only one creature that is hit (if any). AFAIR, Pebble Shotgun's (for example) effects fire several pebbles (see begin_fire_effects in original weapons.dat about Shotgun (16)) in random directions with given spread/speed/time (45). That's some approach for a shottie, you'll have do design some algorithm for area-of-effect of your Grenade Launcher.
Re: Modding questions/answersYou could use shrapnel grenades. (I'm thinking of how the battery works when used as a weapon, except you launch it before it explodes.)
Re: Modding questions/answersyou may just be right. (you are)
now why dose the explosion spash damage me, but not my targets?
Re: Modding questions/answersWell that must be the same effect seen in self-hurt Psi Blast of Werivar mod
I was never able to investigate the matter, though you may try adding condition 23 - "creature IS/NOT player". Featuring realism, I would've left it as it is
Re: Modding questions/answersim not using any data from any other mods, its the default battery dischage blast with changed particals etc.. must of stuffed it up somewhere.
Re: Modding questions/answersI didn't mean you've taken it from Werivar. After all, UberWaffe made it all and thought it was OK, but then the testing shows... you know what
Still, please do try condition 23 and tell us what was the result.
Re: Modding questions/answerscondition 23 is contentious increase bar? hmmm....
Re: Modding questions/answers
What? No-no, that's EFFECT 23
Who is onlineUsers browsing this forum: No registered users and 1 guest |